Context
SG
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount
VRBL-Invoice-SG-1p4 - Sum of Allowances on Document Level
Singapore |
VRBL-Invoice-SG-1p4
| Context ID | INV1140 |
| Usage | O |
| Mandate Business Term Code | IBT-107 |
| Final Format Path | /ubl:Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount |
Description
Sum of all allowances on document level in the invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Legal Monetary Total Allowance Total Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: 1A_VRBL_PINT-SG_INV_example_02_full_valid_invoice_1.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
<cbc:AllowanceTotalAmount currencyID="SGD">0.00</cbc:AllowanceTotalAmount>
<!-- ... omitted for readability -->
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-SG-1p4-29 | The Sum of Allowances on Document Level must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-183 | The Legal Monetary Total Allowance Total Amount Currency Code must have the same value as the Document Currency Code, except for the invoice Total Tax Amount in accounting currency. |
| VRBL-INV-PEPPOL-PINT-219 | The value of the Legal Monetary Total Allowance Total Amount Currency Code must be contained in ISO 4217 Alpha-3 currency [VRBL-CL-PINT-CurrencyCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/ |
| VRBL-INV-CORE-404 | The Legal Monetary Total Allowance Total Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |
| VRBL-INV-CORE-385 | The Sum of Allowances on Document Level must have no more than 2 decimals. |