Invoice Lines
The details of the goods or services are specified in the invoice lines. You can also specify individual items.
A Document such as an invoice or credit usually contains invoice lines that detail individual elements or items in a transaction.
Depending on the country or business requirement, you can specify information at a Document or Line-Level.
Invoice Lines
You use the Invoice Line object to capture information such as the following:
- Prices
- Parties and Party Identification
- Items
- Tax
- Line Extensions
The referenced item.
Elements
Here are some of the elements in the InvoiceLine element:
Element | Description |
---|---|
InvoiceLine/ID | The identifier for the line. |
InvoiceLine/InvoicedQuantity unitCode= | The quantity of items specified on this line. |
InvoiceLine/LineExtensionAmount CurrencyID= | Any extended amounts for this line. |
InvoiceLine/Item/ | You use the Item object to specify the details of the item for this line. |
Multiple Lines and Items
Your documents may use a single invoice line or you may want to use multiple lines.
If you want you can specify multiple items, you can use multiple instances of the the Item element.
Alternatively, you can specify multiple invoice lines. See Invoice Lines.
Line Extensions
Lines can be extended for a number of reasons.
Example
The following example is from the Malaysian Credit Note described in Malaysia: Example Documents:
<cac:InvoiceLine>
<cbc:ID>0001</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">5</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="MYR">6000.00</cbc:LineExtensionAmount>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<!-- MY: Tax amount and taxable amount mandatory on invoice line level -->
<cbc:TaxableAmount currencyID="MYR">6000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<!-- Default value: VAT -->
<!-- MY tax type in "cac:ClassifiedTaxCategory\cbc:ID" -->
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Name>Laptop Peripherals 2</cbc:Name>
<cac:OriginCountry>
<cbc:IdentificationCode>MY</cbc:IdentificationCode>
</cac:OriginCountry>
<cac:CommodityClassification>
<!-- MY: Product Tariff Code (only goods) (optional) -->
<!-- identifier used for @listID not UNCL7143 compliant -->
<!-- use "MY" prefixed malaysian identification scheme identifiers -->
<cbc:ItemClassificationCode listID="VRBL:MY:PTC">9800.00.0010</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:CommodityClassification>
<!-- MY: Category of products or services code list (https://sdk.myinvois.hasil.gov.my/codes/classification-codes/) (mandatroy) -->
<!-- @listID - see above -->
<cbc:ItemClassificationCode listID="VRBL:MY:CLASS">VRBL:MY:003</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:ClassifiedTaxCategory>
<!-- MY Tax types code list: https://sdk.myinvois.hasil.gov.my/codes/tax-types/ (not UNCL5305 compliant) -->
<!-- MY original code: E - Tax exemption -->
<!-- expected code: MY:E - Tax exemption -->
<cbc:ID>VRBL:MY:E</cbc:ID>
<cbc:Percent>0.00</cbc:Percent>
<cbc:TaxExemptionReason>tax exemption reason free text description</cbc:TaxExemptionReason>
<cac:TaxScheme>
<!-- Default value: VAT -->
<!-- MY tax type in "cac:ClassifiedTaxCategory\cbc:ID" -->
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="MYR">1200.00</cbc:PriceAmount>
</cac:Price>
<cac:ItemPriceExtension>
<cbc:Amount currencyID="MYR">6000.00</cbc:Amount>
</cac:ItemPriceExtension>
</cac:InvoiceLine>
Country Specific Configurations
Country specific configurations are explained in these topics:
Updated 2 months ago