Context
PT
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
VRBL-Invoice-PT-SAF-T-1p0 - Document Level Allowances
Portugal |
VRBL-Invoice-PT-SAF-T-1p0
| Context ID | INV0879 |
| Usage | O* |
Description
Group for allowances applicable to the invoice as a whole.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ChargeIndicator |
Document Level Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false). |
1..1 |
| M | cbc:Amount |
Document Level Allowance Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
Details
Example: VRBL_MAX_CREDIT_NOTE.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">4.00</cbc:Amount>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-299 | The Document Level Allowances expects a maximum of one Document Level Allowance Reason. |
| VRBL-INV-CORE-556 | Each Document Level Allowances must have a Tax Breakdown corresponding to its Document Level Allowance Tax Category Code and Document Level Allowance Tax Rate. |