What Makes these APIs special ?
You can onboard your entity with ZATCA and be compliant in 5 minutes!
curl --location -g --request POST 'http://{{hostname}}:/v1/e-invoicing/NjU5YTcyYTI2NGE4MmI5ZjNmMDY2NjY5OjMxMTI2MjA0NjYwMDAwMzpEZXZpY2VJZC0wMDE=/invoices' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoice_number": "inv-1008",
"invoice_type": "simplified",
"issue_date": "2023-08-19",
"issue_time": "10:09:00",
"payment_means": "cash",
"payment_means_instruction_note": "",
"actual_delivery_date": "2023-08-21",
"supplier_info": {
"vat_number": "311262046600003",
"tax_type": "VAT",
"registration_name": "Goagile Technologies",
"address": {
"street_name": "some street",
"building_number": "1232",
"plot_identification": "123",
"city_subdivision_name": "3232112",
"city_name": "Riyadh",
"postal_zone": "54321",
"country": "SA"
},
"party_identification": {
"scheme": "CRN",
"id": "2332132133"
}
},
"customer_info": {
"vat_number": "2323233325",
"tax_type": "VAT",
"registration_name": "ABC Inc.",
"address": {
"street_name": "some street",
"building_number": "1232",
"plot_identification": "123",
"city_subdivision_name": "3232112",
"city_name": "Riyadh",
"postal_zone": "12345",
"country": "SA"
},
"party_identification": {
"scheme": "NAT",
"id": "767687876"
}
},
"allowance_charge": {
"charge_indicator": false,
"reason": "discount",
"amount": 10,
"currency": "SAR",
"tax_category": {
"id": "S",
"percent": 15,
"tax_type": "VAT"
}
},
"tax_total": {
"currency": "SAR",
"tax_amount": 15,
"tax_subtotals": [
{
"taxable_amount": 90,
"tax_amount": 0,
"tax_percent": 0,
"tax_category": {
"id": "O",
"percent": 0,
"tax_type": "VAT",
"tax_exemption_reason_code": "VATEX-SA-OOS",
"tax_exemption_reason": "Other reason for exemption"
}
},
{
"taxable_amount": 100,
"tax_amount": 15,
"tax_percent": 15,
"tax_category": {
"id": "S",
"percent": 15,
"tax_type": "VAT",
"tax_exemption_reason_code": "",
"tax_exemption_reason": ""
}
}
]
},
"legal_monitory_total": {
"total_amount": 190,
"tax_exclusive_amount": 190,
"tax_inclusive_amount": 205,
"allowance_total_amount": 10,
"prepaid_amount": 0,
"payable_amount": 205
},
"invoice_lines": [
{
"id": "1",
"unit_code": "pce",
"quantity": 1,
"amount": 100,
"tax_total": {
"currency": "SAR",
"tax_amount": 0,
"rounding_amount": 90
},
"item": {
"name": "books",
"classified_tax_category": {
"id": "O",
"percent": 0,
"tax_type": "VAT",
"tax_exemption_reason_code": "VATEX-SA-OOS",
"tax_exemption_reason": "Other reason for exemption"
}
},
"price": {
"currency": "SAR",
"price_per_unit": 100,
"allowance_charge": {
"charge_indicator": false,
"reason": "discount",
"amount": 10,
"currency": "SAR"
}
}
},
{
"id": "2",
"unit_code": "pce",
"quantity": 1,
"amount": 100,
"tax_total": {
"currency": "SAR",
"tax_amount": 15,
"rounding_amount": 115
},
"item": {
"name": "books",
"classified_tax_category": {
"id": "S",
"percent": 15,
"tax_type": "VAT",
"tax_exemption_reason_code": "",
"tax_exemption_reason": ""
}
},
"price": {
"currency": "SAR",
"price_per_unit": 100,
"allowance_charge": {
"charge_indicator": false,
"reason": "discount",
"amount": 0,
"currency": "SAR"
}
}
}
]
}'{}