> For the complete documentation index, see [llms.txt](https://masters-india-1.gitbook.io/ksa-e-invoicing-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://masters-india-1.gitbook.io/ksa-e-invoicing-api/intro.md).

# Intro

Masters India has created a solution to seamlessly integrate your invoice generation software with the KSA Government Service (ZATCA) to ensure both B2B and B2C Invoices are generated in accordance with the phase II regulations. **New features will be documented as and when they are complete.**

As part of our responsibilities, we handle the following

* Invoice Chaining and Counter Management
* UUID Generation
* Invoice Hash Generation
* Addition of the QR Code
* XML Extensions
* XML Signing

Apart of Einvoice Generation we also handle the following

* Onboarding of your company to the ZATCA Fatoora Portal
* Archival of the Invoice post Reporting/Clearance to ZATCA
* Generation of PDF Invoices as per requirement of the customer

### Pre-requisites

Before you can begin generating e-invoices you will need to do first do the following

* Register your company and user credentials in our website[ ](https://qa-global.mastersindia-einv.com/)(website depends on which ZATCA endpoint you want to connect to) refer to the this [page](/ksa-e-invoicing-api/environments.md)&#x20;
* It recommended that all testing be done in SIMULATION and SANDBOX environments first before moving to PRODUCTION
* Onboard your company to the zatca Fatoora portal
