Mexico (CFDI): Original Invoice Document Type Code
Indicates the type of the original referenced invoice in the document.
| Name | Description | XPath | Cardinality |
|---|---|---|---|
| Original Invoice Document Type Code | A coded document type of the referenced invoice. | /Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:DocumentTypeCode | 1..1 |
These codes are allowed:
| Code | UNCL 1001 | Description |
|---|---|---|
VRBL:MX:I | 380 or 383 | Invoice (Ingreso) |
VRBL:MX:E | 381 | Credit Note (Egreso) |
Example:
<ubl:Invoice>
<!-- Code omitted for clarity -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<!-- Code omitted for clarity -->
<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<!-- Code omitted for clarity -->
</ubl:Invoice>Updated 4 days ago
Did this page help you?
