Context
DK
/ubl:Invoice/cac:LegalMonetaryTotal
VRBL-Invoice-DK-1p0 - Document Totals
Denmark |
VRBL-Invoice-DK-1p0
| Context ID | INV1115 |
| Usage | M |
| Mandate Business Term Code | BG-22 |
| Final Format Path | /ubl:Invoice/cac:LegalMonetaryTotal |
Description
A group of business terms providing the monetary totals for the Invoice.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:LineExtensionAmount |
Sum of Invoice Line Net Amount
The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount. |
0..1 |
| M | cbc:TaxExclusiveAmount |
Invoice Total Amount Without Tax
The monetary amount of an extended transaction line, exclusive of taxes. |
0..1 |
| M | cbc:TaxInclusiveAmount |
Invoice Total Amount With Tax
The monetary amount including taxes; the sum of payable amount and prepaid amount. |
0..1 |
| C | cbc:AllowanceTotalAmount |
Sum of Allowances on Document Level
The total monetary amount of all allowances. |
0..1 |
| C | cbc:ChargeTotalAmount |
Sum of Charges on Document Level
The total monetary amount of all charges. |
0..1 |
| O | cbc:PrepaidAmount |
Paid Amount
The total prepaid monetary amount. |
0..1 |
| O | cbc:PayableRoundingAmount |
Rounding Amount
The rounding amount (positive or negative) added to produce the line extension amount. |
0..1 |
| M | cbc:PayableAmount |
Amount Due For Payment
The amount of the monetary total to be paid. |
1..1 |
Details
Example: DK_PeppolBIS_380_invoice_tax_category_O.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="DKK">3200.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="DKK">3200.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="DKK">3200.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="DKK">0.00</cbc:AllowanceTotalAmount>
<cbc:PayableAmount currencyID="DKK">3200.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-M-21 | The Sum of Invoice Line Net Amount must exist within the Document Totals. |
| VRBL-INV-EN16931-M-22 | The Invoice Total Amount Without Tax must exist within the Document Totals. |
| VRBL-INV-EN16931-M-23 | The Invoice Total Amount With Tax must exist within the Document Totals. |
| VRBL-INV-EN16931-M-29 | The Sum of Invoice Line Net Amount must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-30 | The Sum of Allowances on Document Level must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-31 | The Sum of Charges on Document Level must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-32 | The Invoice Total Amount Without Tax must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-33 | The Invoice Total Amount With Tax must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-34 | The Paid Amount must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-35 | The Rounding Amount must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-36 | The Amount Due For Payment must have no more than 2 decimals. |