Generate Einvoice API
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. Please note we are in the development phase and 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 A/3 Invoices with Embedded XML
Pre-requisites
Before you can begin generating e-invoices you will need to do first do the following
- Onboard your company to the zatca Fatoora portal
To generate Einvoice you will need to integrate the following APIs
post
https://qa-globalback.mastersindia-einv.com/api/v2/token-auth/
Generating the access token
Authentication
Authentication Masters India supports access-token-based authentication. After a user login request, our API generates an access_token to a user after validating his credentials. This key can be used in subsequent requests but expires after 24 hours which must be requested again by re-initiating a login. The key needs to be passed as a request parameter. To generate the Authorization token by clicking on the Send button. Once the Token Is generated. We need to the token in Authorization header with the prefix JWT so the token will be passed as JWT <token>
post
https://qa-globalback.mastersindia-einv.com/api/v2/ksa_einvoice/generate_einvoice/
API to generate the invoice
Need Help in Getting Started
Last modified 9d ago