NOTA: withholding
es un boleano para marcar el impuesto como retención.
{
"customer": {
"legal_name": "John Wick",
"tax_id": "WXKE800401B12"
},
"items": [{
"quantity": 1,
"product": {
"description": "Mi producto",
"product_key": "60131324",
"price": 123.45,
"taxes": [{
"type": "IVA",
"rate": 0.16
}, {
"type": "IVA",
"rate": 0.1,
"withholding": true
}, {
"type": "ISR",
"rate": 0.28,
"withholding": true
}]
}
}],
"payment_form": "08"
}
Consulta la documentación completa