/ubl:Invoice/cac:InvoiceLine

Invoice Line

Philippines | VRBL-Invoice-PH-1p0
Context ID INV1150
Usage M
Usage Description

Line details are only mandatory for CAS invoices. In case of POS invoices, a dummy invoice line should be included due to UBL syntax requirements.

Description

A group of business terms providing information on individual Invoice lines.

For Philippines e-invoicing, it is possible to include up to 1000 lines per Tax Category Code.

Child elements
Usage Element Description Cardinality
M cec:UBLExtensions Invoice Line Extensions Group 0..1
M cbc:ID Invoice Line ID

An identifier for this invoice line.

1..1
M cbc:InvoicedQuantity Invoiced Quantity

The quantity (of items) on this invoice line.

0..1
M cbc:LineExtensionAmount Invoice Line Net Amount

The total amount for this invoice line, including allowance charges but net of taxes.

1..1
O cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] Invoice Line Allowances

An allowance or charge associated with this invoice line.

0..n
O cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode] Invoice Line Invoice Tax

A total amount of taxes of a particular kind applicable to this invoice line.

0..n
M cac:Item Item Information

The item associated with this invoice line.

1..1
M cac:Price Price Details

The price of the item associated with this invoice line.

0..1
M cac:ItemPriceExtension Invoice Line Price Extension Group

The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line.

0..1
Details

vrbl-invoice-ph-1p0

Dummy invoice line for POS scenario:

<cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:LineExtensionAmount currencyID="PHP">0</cbc:LineExtensionAmount>
    <cac:Item/>
</cac:InvoiceLine>

Example: VRBL_PH_CAS_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="SET">5</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="PHP">312.50</cbc:LineExtensionAmount>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:Amount currencyID="PHP">133.95</cbc:Amount>
    </cac:AllowanceCharge>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="PHP">37.5</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxAmount currencyID="PHP">37.5</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:ID>S</cbc:ID>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Description>MICARDIS.TABS/30/40MG BLIBR</cbc:Description>
      <cbc:Name>301357</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="PHP">89.29</cbc:PriceAmount>
    </cac:Price>
    <cac:ItemPriceExtension>
      <cbc:Amount currencyID="PHP">446.43</cbc:Amount>
    </cac:ItemPriceExtension>
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PH-1p0-38 When the Document Currency Code is different from PHP, the Invoice Line Item Price Extension in Tax Currency Amount must exist within the Invoice Line.