Context
AD
/ubl:Invoice/cac:InvoiceLine/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
VRBL-Invoice-AD-PeppolBIS-3p0 - Invoice Line Charges
Andorra |
VRBL-Invoice-AD-PeppolBIS-3p0
| Context ID | INV1268 |
| Usage | O* |
Description
A group of business terms providing information about charges applicable to the individual invoice line.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:ChargeIndicator |
Invoice Line Charge Indicator
An indicator that this AllowanceCharge describes a charge (true) or a discount (false). |
1..1 |
| O | cbc:AllowanceChargeReason |
Invoice Line Charge Reason
The reason for this allowance or charge. |
0..n |
| M | cbc:Amount |
Invoice Line Charge Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
Details
Example: AD_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Sample Description</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="EUR">10</cbc:Amount>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-M-115 | Each Invoice Line Charges must have an Invoice Line Charge Reason or an Invoice Line Charge Reason Code. |
| VRBL-INV-EN16931-M-117 | Each Invoice Line Charges must contain an Invoice Line Charge Reason or an Invoice Line Charge Reason Code, or both. |
| VRBL-INV-EN16931-M-118 | The Invoice Line Charge Amount must have no more than 2 decimals. |
| VRBL-INV-EN16931-M-119 | The Invoice Line Charge Base Amount must have no more than 2 decimals. |
| VRBL-INV-CORE-476 | The Invoice Line Charges expects a maximum of one Invoice Line Charge Reason. |