Generar Facturas
1 min
Generar Factura
POST
https://staging-api.mobbex.com/p/billing
{
"type": "invoice",
"date": {
"day": 12,
"month": 10,
"year": 2021
},
"currency": "ARS",
"condition": {
"type": "credit_card",
"installments": 12
},
"total": 1000.10,
"reference": "unique_id:123",
"customer": {
"type": "arg.cuit",
"id": "20121231235",
"email": "[email protected]",
"phone": "12123123",
"street": "",
"streetNumber": "",
"addressNote": "",
"state": "",
"city" : "",
"zipCode": "5000"
},
"items": [
{
"quantity": 1,
"description": "Producto 1",
"unitPrice": 12.50,
"vat": "arg.21",
"discount": 1,
"surcharge": 2
}
],
"surcharge": {
"description": "Esto es un Recargo General",
"total": 10.2
},
"discount": {
"description": "Esto es un Descuento General",
"total": 10.2
},
"webhook": ""
}