The amount object represents the transaction total for a Card Present charge in Chile. This page details each field and shows how to calculate them for common tax scenarios.
Attributes#
| Field | Type | Required | Description |
|---|
currency | string | Yes | Transaction currency. For Chile, always "CLP". |
iva | number | Yes | Value Added Tax (VAT) amount. Set to 0 if the transaction has no VAT. |
subtotal_iva | number | Yes | Net amount subject to VAT (does not include tip). Set to 0 if the transaction has no VAT — send the subtotal in subtotal_iva0 instead. |
subtotal_iva0 | number | Yes | Total amount of the transaction if it is not taxed (does not include tip). Set to 0 if the transaction has VAT — send the subtotal in subtotal_iva instead. |
tip | number | No | Tip amount. Omit if there is no tip. |
extra_taxes | object | No | Additional taxes — see below. |
extra_taxes.airport_tax | number | No | Airport tax. |
extra_taxes.travel_agency | number | No | Travel agency surcharge, used in airlines. |
extra_taxes.iac | number | No | Aggregate Consumption Tax. |
extra_taxes.ice | number | No | Special Excise Tax. Set to 0 if the transaction has no ICE tax. |
Exactly one of subtotal_iva or subtotal_iva0 carries the transaction's net amount — the other must be 0.
Examples#
Transaction with VAT (IVA)#
Net amount: 100000 CLP · VAT: 19000 CLP · Total: 119000 CLP"amount": {
"currency": "CLP",
"iva": 19000,
"subtotal_iva": 100000,
"subtotal_iva0": 0
}
VAT-exempt transaction#
Net amount: 100000 CLP · VAT: 0 · Total: 100000 CLP"amount": {
"currency": "CLP",
"iva": 0,
"subtotal_iva": 0,
"subtotal_iva0": 100000
}
Transaction with VAT and tip#
Net amount: 100000 CLP · VAT: 19000 CLP · Tip: 10000 CLP · Total: 129000 CLP"amount": {
"currency": "CLP",
"iva": 19000,
"subtotal_iva": 100000,
"subtotal_iva0": 0,
"tip": 10000
}
Got a suggestion on this documentation? Contact us.