China (GTS): Invoice Document Reference ID

Configure the Invoice Document Reference ID for your China documents.

Invoice Document Reference ID

The identification of an Invoice that was previously sent by the Seller. In China, it is used to provide the original invoice number in case of credit notes.

Element metadata

PathCardinalityUsageUsage DescriptionExample ValueFormatFinal Format Path
Invoice/BillingReference/InvoiceDocumentReference/ID1..1CRequired for credit notes (cbc:InvoiceTypeCode equals 381). Not used for regular invoices (cbc:InvoiceTypeCode equals 380).EC2601000000Document Reference$.oldInvoiceNo

Example

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:BillingReference>
    <!-- ... omitted for readability -->
    <cac:InvoiceDocumentReference>
      <cbc:ID>1234</cbc:ID>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
</ubl:Invoice>

Did this page help you?