Context
NZ
/ubl:Invoice/cac:LegalMonetaryTotal
VRBL-Invoice-NZ-1p0 - Document Totals
New Zealand |
VRBL-Invoice-NZ-1p0
| Context ID | INV1115 |
| Usage | M |
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 |
| O | cbc:AllowanceTotalAmount |
Sum of Allowances on Document Level
The total monetary amount of all allowances. |
0..1 |
| O | 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: NZ_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="NZD">159.43</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="NZD">159.43</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="NZD">183.34</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="NZD">183.34</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-45 | The Sum of Invoice Line Net Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-46 | The Invoice Total Amount Without Tax must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-47 | The Invoice Total Amount With Tax must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-51 | The Sum of Allowances on Document Level must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-50 | The Sum of Charges on Document Level must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-49 | The Paid Amount must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-48 | The Amount Due For Payment must have a maximum of 13 digits before the decimal separator, and a maximum of 2 digits after the decimal separator. |
| VRBL-INV-PEPPOL-PINT-AUNZ-1p0-52 | In case the Amount Due For Payment is positive, either the Payment Terms Note or the Payment Due Date must be present. |
| VRBL-INV-PEPPOL-PINT-73 | The Sum of Invoice Line Net Amount must exist within the Document Totals. |
| VRBL-INV-PEPPOL-PINT-74 | The Invoice Total Amount Without Tax must exist within the Document Totals. |
| VRBL-INV-PEPPOL-PINT-75 | The Invoice Total Amount With Tax must exist within the Document Totals. |
| VRBL-INV-PEPPOL-PINT-77 | The Sum of Allowances on Document Level must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-78 | The Sum of Charges on Document Level must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-79 | The Amount Due For Payment must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-80 | The Invoice Total Amount Without Tax must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-81 | The Invoice Total Amount With Tax must have no more than 2 decimals. |
| VRBL-INV-PEPPOL-PINT-82 | If there is a Paid Amounts then Paid Amount must exist. |