Solution Architecture
DigiTax and FIRS Solution Achitecture - System Integrator and Access Point Provider flow
-
ERP/accounting system submits an invoice/credit or debit note to the DigiTax ingestion flow.
-
The payload schema check validates the submitted invoice.
- If the schema check fails, an error is returned to the ERP and the flow stops.
-
If the schema check passes, the invoice proceeds into the DigiTax system.
-
DigiTax generates an IRN (invoice reference number) and prepares the QR code data, then saves the invoice, IRN and QR code to the database.
-
DigiTax submits the invoice to FIRS for validation.
-
FIRS returns a validation response to DigiTax.
-
If the validation response indicates an error, DigiTax returns the validation error response to the ERP.
-
If validation is successful, DigiTax submits a signing request to FIRS.
-
FIRS returns the signing response (signed invoice / confirmation) to DigiTax.
-
DigiTax returns the final response to the ERP — this includes the invoice data, IRN number and QR code data.
Notes:
- The initial API response (implied earlier) confirms invoice creation on DigiTax, but the QR code is available only after signing/IRN generation.
- Error handling occurs at schema validation and FIRS validation stages; success moves the invoice forward to signing and finalization.

Updated 18 days ago
