/ubl:Invoice/cbc:DocumentCurrencyCode

Document Currency Code

Context ID INV0147
Cardinality 0..1
Usage M

Description

A code signifying the default currency for this document.

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

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/