/ubl:Invoice/cac:InvoiceLine

Invoice Line

Philippines | VRBL-Invoice-PH-POS-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

Group for invoice line details.

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

Child elements
Usage Element Description Cardinality
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
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
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_POS_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="EA">0</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="PHP">0</cbc:LineExtensionAmount>
    <cac:Item/>
    <cac:Price>
      <cbc:PriceAmount currencyID="PHP">0</cbc:PriceAmount>
    </cac:Price>
  </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.