Context
ES
/ubl:Invoice/cac:AllowanceCharge
VRBL-Invoice-ES-PeppolBIS-3p0 - Allowance Charge Group
Spain |
VRBL-Invoice-ES-PeppolBIS-3p0
| Context ID | INV0850 |
| Usage | O |
Description
A discount or charge that applies to a price component.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:ChargeIndicator |
Allowance Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false). |
1..1 |
| O | cbc:AllowanceChargeReasonCode |
Allowance Charge Reason Code
A mutually agreed code signifying the reason for this allowance or charge. |
0..1 |
| O | cbc:AllowanceChargeReason |
Allowance Charge Reason
The reason for this allowance or charge. |
0..n |
| O | cbc:MultiplierFactorNumeric |
Allowance Charge Multiplier Factor Numeric
A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. |
0..1 |
| O | cbc:Amount |
Allowance Charge Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
| O | cbc:BaseAmount |
Allowance Charge Base Amount
The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. |
0..1 |
| O | cac:TaxCategory |
Allowance Charge Tax Category Group
A tax category applicable to this allowance or charge. |
0..n |
Details
Example: ES_creditnote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Sample Description</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="EUR">100</cbc:Amount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>6</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PEPPOL-RS-15 | The Allowance Charge Base Amount must be provided when the Allowance Charge Multiplier Factor Numeric is provided. |
| VRBL-INV-PEPPOL-RS-17 | The Allowance Charge Indicator value must equal 'true' or 'false' |