Invoice Structure
DebitNoteLine

cac:InvoiceLine

A specific line of an invoice that describes a product or service.

About

  • Occurrence: [1..n]
  • Namespace: urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2

Child elements

Data FieldOccurrenceDefinition
cbc:ID[1..1]An identifier for this invoice line.
cbc:DebitedQuantity[1..1]The quantity (of items) on this debit note line.
cbc:LineExtensionAmount[1..1]The total amount for this invoice line, including allowance charges but net of taxes.
cac:AllowanceCharge[0..*]An allowance or charge associated with this invoice line.
cac:TaxTotal[0..1]A total amount of taxes of a particular kind applicable to this invoice line.
cac:Item[1..1]The item associated with this invoice line.
cac:Price[0..1]The price of the item associated with this invoice line.

Example

 <cac:DebitNoteLine>
      <cbc:ID>1</cbc:ID>
      <cbc:DebitedQuantity unitCode="none">1</cbc:DebitedQuantity>
      <cbc:LineExtensionAmount currencyID="USD">150</cbc:LineExtensionAmount>
      <cac:TaxTotal>
         <cbc:TaxAmount currencyID="USD">15</cbc:TaxAmount>
         <cac:TaxSubtotal>
            <cbc:TaxAmount currencyID="USD">15</cbc:TaxAmount>
            <cac:TaxCategory>
               <cbc:ID>S</cbc:ID>
               <cbc:Percent>10</cbc:Percent>
               <cac:TaxScheme>
                  <cbc:ID>VAT</cbc:ID>
               </cac:TaxScheme>
            </cac:TaxCategory>
         </cac:TaxSubtotal>
      </cac:TaxTotal>
      <cac:Item>
         <cbc:Description>Generic Keyboard</cbc:Description>
         <cbc:Name>Generic Keyboard</cbc:Name>
         <cac:ClassifiedTaxCategory>
            <cbc:ID>S</cbc:ID>
            <cbc:Percent>10</cbc:Percent>
            <cac:TaxScheme>
               <cbc:ID>VAT</cbc:ID>
            </cac:TaxScheme>
         </cac:ClassifiedTaxCategory>
      </cac:Item>
      <cac:Price>
         <cbc:PriceAmount currencyID="USD">150</cbc:PriceAmount>
      </cac:Price>
   </cac:DebitNoteLine>
   <cac:DebitNoteLine>
      <cbc:ID>2</cbc:ID>
      <cbc:DebitedQuantity unitCode="none">3</cbc:DebitedQuantity>
      <cbc:LineExtensionAmount currencyID="USD">30</cbc:LineExtensionAmount>
      <cac:TaxTotal>
         <cbc:TaxAmount currencyID="USD">6.3</cbc:TaxAmount>
         <cac:TaxSubtotal>
            <cbc:TaxAmount currencyID="USD">3</cbc:TaxAmount>
            <cac:TaxCategory>
               <cbc:ID>S</cbc:ID>
               <cbc:Percent>10</cbc:Percent>
               <cac:TaxScheme>
                  <cbc:ID>SP</cbc:ID>
               </cac:TaxScheme>
            </cac:TaxCategory>
         </cac:TaxSubtotal>
         <cac:TaxSubtotal>
            <cbc:TaxAmount currencyID="USD">3.3</cbc:TaxAmount>
            <cac:TaxCategory>
               <cbc:ID>S</cbc:ID>
               <cbc:Percent>10</cbc:Percent>
               <cac:TaxScheme>
                  <cbc:ID>VAT</cbc:ID>
               </cac:TaxScheme>
            </cac:TaxCategory>
         </cac:TaxSubtotal>
      </cac:TaxTotal>
      <cac:Item>
         <cbc:Description>Generic Beer</cbc:Description>
         <cbc:Name>Generic Beer</cbc:Name>
         <cac:ClassifiedTaxCategory>
            <cbc:ID>S</cbc:ID>
            <cbc:Percent>10</cbc:Percent>
            <cac:TaxScheme>
               <cbc:ID>SP</cbc:ID>
            </cac:TaxScheme>
         </cac:ClassifiedTaxCategory>
         <cac:ClassifiedTaxCategory>
            <cbc:ID>S</cbc:ID>
            <cbc:Percent>10</cbc:Percent>
            <cac:TaxScheme>
               <cbc:ID>VAT</cbc:ID>
            </cac:TaxScheme>
         </cac:ClassifiedTaxCategory>
      </cac:Item>
      <cac:Price>
         <cbc:PriceAmount currencyID="USD">10</cbc:PriceAmount>
      </cac:Price>
   </cac:DebitNoteLine>