When a Sales Invoice is submitted in ERPNext, it is automatically picked in the background and transmitted to KRA eTIMS, provided that auto submission is enabled in eTims Settings. This applies to both normal Sales Invoices and Sales Invoice Returns (credit notes). The process runs asynchronously to avoid blocking the user workflow, ensuring smooth invoice processing in ERPNext.
Once successfully processed, eTIMS returns compliance data including a QR code and official reference details. These are automatically stored against the Sales Invoice or Credit Note and used for compliant printing and reporting.
If the submission fails, the document remains available in ERPNext with the relevant error details. Users can then review the issue and retry submission or perform a manual submission using the available eTims actions on the transaction.