InvoiceLine/AllowanceCharge
Use this element to specify an allowance or charge at the line level.
General information is provided in the Allowances and Charges topics.
Use the AllowanceCharge element to specify Allowances or Charges at the Document level.
Elements
Element | Cardinality | Description |
---|---|---|
Invoice Line - Allowances and Charges (Invoice/InvoiceLine/AllowanceCharge ) | 0..n | Groups information about Allowances and Charges. |
Invoice Line - Charge Indicator (Invoice/InvoiceLine/AllowanceCharge/ChargeIndicator ) | 1..1 | 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. |
Invoice Line - Allowance Charge Reason Code (Invoice/InvoiceLine/AllowanceCharge/AllowanceChargeReasonCode ) | 0..1 | Code that specifies the reason for the allowance or charge. For countries without specific required values; you must use the UNCL 5819 codes listed here for allowances and the UNCL 7161 codes listed here. |
Invoice Line - Allowance Charge Reason (InvoiceLine/AllowanceCharge/AllowanceChargeReason ) | 0..1 | Text that describes the reason the Allowance or Charge is permitted. |
Invoice Line - Percentage (Invoice/InvoiceLine/AllowanceCharge/MultiplierFactorNumeric ) | 0..1 | The percentage that may be used, in conjunction with the document-level allowance base amount, to calculate the document-level allowance or charge amount. |
Invoice Line - Amount (Invoice/InvoiceLine/AllowanceCharge/Amount ) | 1..1 | The amount of the charge or allowance. |
Invoice Line - Base Amount (Invoice/InvoiceLine/AllowanceCharge/BaseAmount ) | 0..1 | The base amount to which a charge is added or an allowance is subtracted. |
Restrictions
- You must specify the currency in the
@currencyID
attribute. - You must use one of the values from the ISO4217 list for the
@currencyID
attribute.
Examples
Allowance
<Invoice>
<!-- code omitted for clarity -->
<cac:InvoiceLine>
<!-- code omitted for clarity -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">1.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">10.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:InvoiceLine>
<!-- code omitted for clarity -->
</Invoice>
Charge
<Invoice>
<!-- code omitted for clarity -->
<cac:InvoiceLine>
<!-- code omitted for clarity -->
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>CG</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Cleaning</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">1.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">10.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:InvoiceLine>
<!-- code omitted for clarity -->
</Invoice>
Updated 1 day ago