China (GTS): Invoice Line Tax ID
Configure the Invoice Line Tax ID for your China documents.
Invoice Line Tax ID
The tax category code for the invoiced item. In China, e-invoicing only uses tax category codes for special scenarios, such as tax-exempt, zero-rate, or non-taxable transactions. As a result, only a limited set of codes is supported. While you can enter the code S to indicate a standard tax rate, the system simply ignores it.
Element metadata
| Path | Cardinality | Usage | Usage Description | Example Value | Format | Final Format Path |
|---|---|---|---|---|---|---|
Invoice/InvoiceLine/Item/ClassifiedTaxCategory/ID | 1..1 | C | Required for regular invoices (cbc:InvoiceTypeCode equals 380). Not used for credit notes (cbc:InvoiceTypeCode equals 381). | S | Code | $.Detail[0].zeroTaxRateIndicator |
Mapping logic
if /ubl:Invoice/cbc:InvoiceTypeCode = 380
zeroTaxRateIndicator value map:
E-> 1: Tax Exempt
O-> 2: Not Subject to Tax
Z-> 3: Standard Zero Tax Rate (discountPolicyIndicator must be set to "1")
Details
When providing a Standard Zero Tax Rate Z in the final format, the discountPolicyIndicator is set.
The following codes are allowed:
| Code | Description |
|---|---|
S | Standard |
O | Not Subject to Tax |
Z | Standard Zero Tax Rate |
Example
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:Item>
<!-- ... omitted for readability -->
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<!-- ... omitted for readability -->
</cac:ClassifiedTaxCategory>
</cac:Item>
</cac:InvoiceLine>
</ubl:Invoice>Updated 2 days ago
Did this page help you?
