/ubl:Invoice/cac:InvoiceLine

Invoice Line

China | VRBL-Invoice-CN-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
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 cbc:TaxInclusiveLineExtensionAmount Invoice Line Tax Inclusive Line Extension Amount

The total amount for this invoice line, including all allowances, charges and taxes.

0..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
Details

Example: CN_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>000010</cbc:ID>
    <cbc:InvoicedQuantity unitCode="H87">3</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="CNY">290</cbc:LineExtensionAmount>
    <cbc:TaxInclusiveLineExtensionAmount currencyID="CNY">327.70</cbc:TaxInclusiveLineExtensionAmount>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="CNY">37.70</cbc:TaxAmount>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Description>Spec A</cbc:Description>
      <cbc:Name>ItemName</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>730430</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="VRBL:CN:TaxClassificationCode">AAAAA</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>13.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CN-1p0-15 The Invoice Line Tax Inclusive Line Extension Amount must exist within the Invoice Line.
VRBL-INV-CN-1p0-16 The Invoice Line Tax Amount must exist within the Invoice Line.
VRBL-INV-CN-1p0-17 When the Invoice Type Code is 380, the Price Details must exist within the Invoice Line.