| Parameter | Type | Description | Values /Default |
|---|---|---|---|
currency | string | Required. The currency of the transaction | PEN USD |
iva | number | Required. Value added Tax (VAT). Send it in 0 in case the transaction does not include this tax | |
subtotal_iva | number | Required. Net amount of a transaction where iva or any other tax applies. (iva, ica, etc.) but not including the amount of the tip (if applicable). In case the transaction does not have any tax, set this parameter to 0 and send the subtotal in the subtotal_iva0 field | |
subtotal_iva0 | number | Required. Send in this field the subtotal of the transaction if the transaction does not have any tax included. Don't include the amount of the tip (if applicable). In case the transaction does have taxes, set this parameter to 0 and send the subtotal in the subtotal_iva field | |
tip | number | Optional. The amount of the tip. Skip this field in case you don't want to include a tip. | |
extra_taxes | object | Optional. Additional taxes | |
airport_tax | number | Optional. Airport tax | |
travel_agency | number | Optional. Used in airlines | |
iac | number | Optional. Industry and Trade Tax | |
ice | number | Optional. Special Consumption Tax |
"amount": {
"currency": "PEN",
"iva": 90,
"subtotal_iva": 500,
"subtotal_iva0": 0
},"amount": {
"currency": "PEN",
"iva": 0,
"subtotal_iva": 0,
"subtotal_iva0": 500
},"amount": {
"iva": 90,
"tip": 50,
"currency": "PEN",
"subtotal_iva": 590,
"subtotal_iva0": 0
},