Charges
A Charge increases the total of the Document.
Use the AllowanceCharge element to model Charges. You can add it on the Document or Line Level.
Restrictions
- You must use the UNCL 7161 codes listed here.
- For Charges, you must set the
ChargeIndicator
totrue
. If you do not, theAllowanceCharge
is treated as an allowance. See Allowances.
Elements
Element | Description |
---|---|
ChargeIndicator | True or false flag that indicates if this element is modeling an allowance or a charge. If set to false, it is an allowance. If set to true, it is a charge. |
AllowanceChargeReasonCode | Code that specifies the reason for the allowance or charge. For allowances, you must use the UNCL 5819 codes listed here. For charges, you must use the UNCL 7161 codes listed here. |
AllowanceChargeReason | Text that describes the reason the Allowance or Charge is permitted. |
MultiplierFactorNumeric | The percentage that may be used, in conjunction with the document-level allowance base amount, to calculate the document-level allowance or charge amount. |
Amount | The amount of the charge or allowance. |
BaseAmount | The base amount to which a charge is added or an allowance is subtracted. |
TaxCategory | See TaxCategory. |
Country-Specific Variations
The following country variations exist:
Example
The following example models a charge for advertising:
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>AA</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Advertising</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="RON">101.51</cbc:Amount>
<cbc:BaseAmount currencyID="RON">676.89</cbc:BaseAmount>
<TaxCategory xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2">
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<TaxScheme>
<cbc:ID>VAT</cbc:ID>
</TaxScheme>
</TaxCategory>
</cac:AllowanceCharge>
Updated about 1 month ago