/ubl:Invoice/cbc:DocumentCurrencyCode

Document Currency Code

Mexico | VRBL-Invoice-MX-1p0
Context ID INV0147
Usage M

Description

The currency in which all Invoice amounts are given, except for the Total TAX amount in accounting currency.

Details

Example: VRBL_MX_BasicInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cbc:DocumentCurrencyCode>MXN</cbc:DocumentCurrencyCode>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-MX-1p0-34 The value of the Document Currency Code must be contained in Document Currency Code [VRBL-CL-MX-DocumentCurrencyCode].
VRBL-INV-MX-1p0-19 When the Document Currency Code is different from MXN or XXX, the Tax Exchange Rate Calculation Rate must exist and be greater than 0.
VRBL-INV-MX-1p0-20 When the Document Currency Code is XXX, the Tax Exchange Rate must not exist.
VRBL-INV-MX-1p0-21 When the Document Currency Code is MXN, the Tax Exchange Rate must not exist or be equal to 1.
VRBL-INV-CORE-60 The value of the Document Currency Code must be contained in ISO 4217 Alpha-3 currency [VRBL-CL-CurrencyCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/