/ubl:Invoice/cac:InvoiceLine

Invoice Line

Portugal | VRBL-Invoice-PT-SAF-T-1p0
Context ID INV1150
Usage M+

Description

Group for invoice line details.

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
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:OrderLineReference Order Line Reference

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

0..n
O cac:Delivery Invoice Line Delivery Group

A delivery 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: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
O cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode] Invoice Line Accounting 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: VRBL_BASIC_CREDIT_NOTE.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>000010</cbc:ID>
    <cbc:Note>Line Notes</cbc:Note>
    <cbc:InvoicedQuantity unitCode="H87">3.00</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">300.00</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>1</cbc:LineID>
      <cac:OrderReference>
        <cbc:ID>ORDER1</cbc:ID>
        <cbc:IssueDate>2026-07-05</cbc:IssueDate>
      </cac:OrderReference>
    </cac:OrderLineReference>
    <cac:Delivery>
      <cac:Shipment>
        <cac:ShipmentStage>
          <cac:TransportMeans>
            <cac:RoadTransport>
              <cbc:LicensePlateID>AA-01-AA</cbc:LicensePlateID>
            </cac:RoadTransport>
          </cac:TransportMeans>
        </cac:ShipmentStage>
      </cac:Shipment>
    </cac:Delivery>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">69.00</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="EUR">300.00</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="EUR">69.00</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:ID>VRBL:PT:IVA</cbc:ID>
          <cbc:Name>IVA</cbc:Name>
          <cbc:Percent>23.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VRBL:PT:NOR</cbc:ID>
            <cac:JurisdictionRegionAddress>
              <cac:Country>
                <cbc:IdentificationCode>PT</cbc:IdentificationCode>
              </cac:Country>
            </cac:JurisdictionRegionAddress>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Description>Item Description</cbc:Description>
      <cbc:Name>Item Name</cbc:Name>
      <cbc:ItemTypeCode>VRBL:PT:P</cbc:ItemTypeCode>
      <cac:SellersItemIdentification>
        <cbc:ID>730430</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID schemeID="0160">5601234567892</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="VRBL:PT:ProductGroup">ProductGroup</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="TSP">CNCode</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode listID="SSO">UNNumber</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>23.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
      <cbc:BaseQuantity unitCode="H87">1.00</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-SAF-T-1p0-35 The Invoice Line Note must exist within the Invoice Line.