Skip to content

feat:Regenerate invoice QR codes with the KRA eTIMS URL once it is av… - #292

Open
maniamartial wants to merge 1 commit into
version-15-hotfixfrom
fix/qr_code
Open

feat:Regenerate invoice QR codes with the KRA eTIMS URL once it is av…#292
maniamartial wants to merge 1 commit into
version-15-hotfixfrom
fix/qr_code

Conversation

@maniamartial

@maniamartial maniamartial commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator
  1. Auto-regenerate QR with eTIMS URL when etims_qr_code_url is received:

    • On successful eTIMS submission (sales_information_submission_on_success)
    • When ledger sync runs (update_sales_invoice_etims_details)
  2. Regenerate QR Code button now prefers etims_qr_code_url over the site verification URL.

  3. Smarter ledger lookup via get_etims_ledger_for_verification():

  • Prefers ledger matching current reference_number (e.g. SINV-0001-REV1)
  • Orders by is_signed desc, creation desc instead of arbitrary first match

Still under testing,

@muruthigitau

Copy link
Copy Markdown
Collaborator

There's a new setting to enable verification url. By default it's disabled on version-15

Check this feature here - 2933b7f

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants