E-Invoicing API endpoints

A. FATOORA portal (production)

● Onboarding APIs:
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance (Request a pre-compliance CSID)
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance/invoices (Run compliance checks for reporting and clearance)
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/production/csids (Request or renew a production CSID)

● Core Solution APIs:
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/reporting/single (Reporting API for Invoices, Credit and Debit notes)
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/clearance/single (Clearance API for Invoices, Credit and Debit notes)

B. FATOORA Simulation portal
● Onboarding APIs:
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance (Request a pre-compliance CSID)
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance/invoices (Run compliance checks for reporting and clearance)
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids (Request or renew a production CSID)

● Core Solution APIs:
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/invoices/reporting/single (Reporting API for Invoices, Credit and Debit notes)
https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/invoices/clearance/single (Clearance API for Invoices, Credit and Debit notes)

● Note, since FATOORA Simulation portal is an independent environment when generating the CSR value, on the CSR Configuration use below values:

● For FATOORA Portal
a. Openssl: certificateTemplateName = ASN1:PRINTABLESTRING:ZATCA-Code-Signing
b. Fatoora command: default value

● For FATOORA Simulation Portal
a. Use openssl with certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA- Code-Signing

3 Likes