Baytelmal e-invoice API

E-invoice files for Saudi Arabia and the UAE, from one JSON API

Send an invoice as JSON. Get back ZATCA UBL 2.1 XML (Saudi) or PINT-AE XML (UAE), the Saudi invoice hash, counter and QR payload, and a plain-English list of anything wrong with the figures. Free to try, no sign-up.

Check an invoice free Read the API docs

Build

POST /v1/ksa/invoice returns unsigned ZATCA XML with hash, ICV, PIH and QR (tags 1 to 6). POST /v1/uae/invoice returns a PINT-AE invoice or credit note.

Check

POST /v1/ksa/check and /v1/uae/check catch wrong totals, wrong tax, wrong rates, malformed VAT numbers and missing credit-note references before your customer's file is rejected.

Use from an AI assistant

The same six tools are available as an MCP server at https://baytelmal.com/mcp, so Claude, ChatGPT and IDE agents can build and check invoices.

Try it

Your invoice is processed in memory and not stored. Free: 100 calls a day.

Deadlines your customers are working to

  • Saudi Arabia, wave 25: VAT payers with taxable revenue above SAR 187,500 in any year 2022 to 2025 must connect to ZATCA's Fatoora platform by 1 February 2027.
  • UAE, revenue AED 50m or more: the deadline to appoint an Accredited Service Provider was 30 October 2026; e-invoicing from 1 January 2027.
  • UAE, everyone else: appoint by 31 March 2027; e-invoicing from 1 July 2027.

Sources: ZATCA wave 25 announcement; UAE Ministry of Finance timetable as summarised by advisers. Checked 20 Nov 2026. Find your UAE date.

Exactly what it is

Baytelmal prepares and checks e-invoice files. It does not sign Saudi invoices with your certificate, does not submit to ZATCA, and does not deliver UAE invoices (that must go through an Accredited Service Provider). The output has not yet been run through ZATCA's validator or the official PINT-AE rules; we will publish those results on What works today.

Free tools