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/{{onboard_id}}/debit-notes' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"debitnote_number": "dn-10081",
"debitnote_type": "simplified",
"billing_reference": "Invoice Number: inv-84; Invoice Issue Date: 2023-08-16",
"issue_date": "2023-08-19",
"issue_time": "10:09:00",
"payment_means": "cash",
"payment_means_instruction_note": "cancellation",
"actual_delivery_date": "2023-08-21",
"latest_delivery_date": "2023-08-23",
"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"
}
},
"tax_total": {
"currency": "SAR",
"tax_amount": 9,
"tax_subtotal": {
"taxable_amount": 60,
"tax_amount": 9,
"tax_percent": 15,
"tax_category": {
"id": "S",
"percent": 15,
"tax_type": "VAT"
}
}
},
"legal_monitory_total": {
"total_amount": 60,
"tax_exclusive_amount": 60,
"tax_inclusive_amount": 69,
"payable_amount": 69
},
"invoice_lines": [
{
"id": "1",
"unit_code": "pce",
"quantity": 20,
"amount": 60,
"tax_total": {
"currency": "SAR",
"tax_amount": 9,
"rounding_amount": 69
},
"item": {
"name": "books",
"classified_tax_category": {
"id": "S",
"percent": 15,
"tax_type": "VAT"
}
},
"price": {
"currency": "SAR",
"price_per_unit": 3
}
}
]
}'{}