# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://masters-india-1.gitbook.io/ksa-e-invoicing-api/intro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
