/ubl:Invoice/cac:InvoiceLine

Invoice Line

Taiwan | VRBL-Invoice-TW-TX-B2C-1p0
Context ID INV1150
Usage M+

Description

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

Child elements
Usage Element Description Cardinality
M cbc:ID Invoice Line ID

An identifier for this invoice line.

1..1
O* cbc:Note Invoice Line Note

Free-form text conveying information that is not contained explicitly in other structures.

0..n
O 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:OrderLineReference Order Line Reference

A reference to an order line associated with this invoice line.

0..n
C cac:BillingReference Invoice Line Billing Reference Group

A reference to a billing document associated with this invoice line.

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

An allowance or charge associated with this invoice line.

0..n
O* cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] Invoice Line Charges

An allowance or charge associated with this invoice line.

0..n
M cac:Item Item Information

The item associated with this invoice line.

1..1
O cac:Price Price Details

The price of the item associated with this invoice line.

0..1
Details

Example: TW_invoice_380.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>000010</cbc:ID>
    <cbc:Note>ItemDecription</cbc:Note>
    <cbc:InvoicedQuantity unitCode="H87">3</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">300</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>000001</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Name>ItemName</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>730430</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID schemeID="0160">1234567890128</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>5</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
      <cac:AdditionalItemProperty>
        <cbc:Name>Purchase Order Number</cbc:Name>
        <cbc:Value>PO987654</cbc:Value>
      </cac:AdditionalItemProperty>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">100</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-TW-TX-B2C-1p0-14 The allowed maximum number of characters for the Invoice Line ID is 64.
VRBL-INV-TW-TX-B2C-1p0-15 The allowed maximum number of characters for the Item Name is 256.
VRBL-INV-TW-TX-B2C-1p0-18 For Credit Memos with Invoice Document Reference Correction Method equal to 'VRBL:TW:Partial', the Invoice Line Billing Reference Line Group must exist within the Invoice Line.
VRBL-INV-TW-TX-B2C-1p0-19 For Credit Memos with Invoice Document Reference Correction Method equal to 'VRBL:TW:Partial', the Invoice Line Invoice Document Reference Correction Reason must exist within the Invoice Line.