API-TOKEN: ********************{
"device_id": 8,
"invoice_json": {
"invoice_type": "simplified",
"document_type": "invoice",
"line_items": [
{
"name": "Product A",
"quantity": 5,
"unit_price": 100.00
}
]
}
}curl --location --request POST 'https://api.flavours.sa/dev/api/v2/zatca/invoice/send' \
--header 'API-TOKEN: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_id": 8,
"invoice_json": {
"invoice_type": "simplified",
"document_type": "invoice",
"line_items": [
{
"name": "Product A",
"quantity": 5,
"unit_price": 100.00
}
]
}
}'{
"detail": "string"
}