Context
US
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']
VRBL-Invoice-US-DBNA-1p0 - Document Level Charges
United States |
VRBL-Invoice-US-DBNA-1p0
| Context ID | INV0902 |
| Usage | O* |
Description
A group of business terms providing information about charges and taxes other than tax, 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 |
| O | cbc:AllowanceChargeReasonCode |
Document Level Charge Reason Code
A mutually agreed code signifying the reason for this allowance or charge. |
0..1 |
| O | cbc:AllowanceChargeReason |
Document Level Charge Reason
The reason for this allowance or charge. |
0..n |
| O | cbc:MultiplierFactorNumeric |
Document Level Charge Percentage
A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. |
0..1 |
| M | cbc:Amount |
Document Level Charge Amount
The monetary amount of this allowance or charge to be applied. |
1..1 |
| O | cbc:BaseAmount |
Document Level Charge Base Amount
The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. |
0..1 |
Details
Example: VRBL_US_INVOICE_Core_DBNA_UBL_2.3_Valid.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>VRBL:X12:A020</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Additional service charge</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="USD">27.3</cbc:Amount>
</cac:AllowanceCharge>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-320 | The Document Level Charges expects a maximum of one Document Level Charge Reason. |