curl --location --request POST 'https://test.your-api-server.com/makeup' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "INV-0001",
"date": "2023-01-01",
"branding": {
"logo": "string",
"favicon": "string",
"accent_color": "#000",
"foreground_color": "#fff"
},
"client": {
"name": "Jhon Doe",
"cif": "12345678A",
"address": "C/ Fake 123, 28080 Madrid",
"phone": "+34 666 123 123",
"email": "jhon@doe.com"
},
"business": {
"name": "Business S.L.",
"cif": "B12345678",
"address": "C/ Fake 456, 28080 Madrid",
"phone": "+34 911 123 123",
"email": "business@example.com"
},
"total": 1210,
"subtotal": 1000,
"tax_value": 210,
"tax_percent": 21,
"surcharge_value": 0,
"surcharge_percent": 0,
"observations": "Gracias por su compra!",
"payment_instructions": "Transferencia bancaria a la cuenta ES00 0000 0000 0000 0000 0000",
"RGPD": "string",
"type": "invoice",
"template": "classic",
"concepts": [
{
"name": "Papel A4",
"price": 10,
"quantity": 5,
"total": 50,
"subtotal": 41.32,
"discount_value": 8.68,
"discount_percent": 15
}
]
}'