> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/e-invoicing-ksa-api/learn-e-invoicing-ksa-api-basics/ksa-e-invoicing-integration-architecture.md).

# KSA E-Invoicing Integration Architecture

## Sequence Diagram for Onboarding and E-Invoice Generation

![](/files/EwIasTaYzOd4oX9p2QTk)

## Flow Diagram for Standard Controls and Checks on the ERP Side

![](/files/EVJWj6QstkByit8jGIrm)
