Print Format & QR Code
A KRA-compliant invoice printout must include:
- The CU Invoice Number
- A QR Code that customers can scan to verify the invoice on KRA's portal
The integration automatically generates the QR code from the Verify URL returned by INCOTEX. The QR code is stored as a field on the Sales Invoice.
To display it on a printed invoice, you need to create a custom print format in ERPNext that references:
cu_invoice_number: the official KRA invoice number- The QR code image field linked to
verify_url
You can build this using:
- ERPNext's built-in Print Format Builder (drag-and-drop)
- Or a Jinja2/HTML print format for fine-grained control over layout
A standard print format is planned for a future release. For now, each implementation will need to configure their own.
Last updated 5 days ago
Was this helpful?