Skip to content
Omar Bahareth edited this page Nov 21, 2023 · 19 revisions

Welcome to the zatca wiki!

These docs are a work in progress and are based on an unmerged pull request (pending to verify some things from ZATCA's side)

Getting Started

  1. Generate a Private Key
  2. Generate a CSR and Compliance Certificate (this gives you credentials from ZATCA to run compliance checks)
  3. Generate a Certificate (You need the certificate to report invoices)
  4. Construct an Invoice
  5. Check the Compliance of an Invoice
  6. Report Simplified Invoice to ZATCA
  7. Clear Standard Invoice (This is signing from ZATCA's side and reporting, only for Standard invoices)
  8. Render the QR Code(to show it in your app/website)

Other Actions

  1. TODO: Renew the Certificate

Invoice Codes

Invoices have quite a few codes, some that behave like masks.

  1. Invoice type codes
  2. Invoice Subtypes (Name Attribute)
  3. Payment Means