• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andgineer / dinary / 29629336073

11 Jul 2026 06:48PM UTC coverage: 82.113% (-5.7%) from 87.862%
29629336073

push

github

claude
Support Montenegro fiscal receipts

Scan and process Montenegrin EFI receipts alongside Serbian ones. The
country is detected from the QR URL host, with no user-facing switch.

- Add a Montenegrin parser that reads amount/date from the verify URL
  (params after the `#` fragment; restores the `+` offset mangled to a
  space) and fetches full contents from the tax authority's verifyInvoice
  service, reusing the transient/permanent/not-indexed error taxonomy.
- Move the shared parsed-receipt/item structures and error types into a
  dependency-free receipt_types module; add a dispatch layer that picks
  the parser and the receipt currency (RSD vs EUR) by URL host.
- Persist and manual-resolution flows now derive the receipt currency
  per receipt instead of assuming RSD; EUR amounts convert to the
  accounting currency through the existing exchange-rate path.
- Frontend recognizes the Montenegrin hosts and decodes prc/crtd,
  reporting EUR in the queue and flush toasts.
- Fixture-driven parser tests captured from a real receipt, plus dispatch,
  currency, and manual-resolution coverage; frontend host/decoding tests.
- Update receipt-fetching and architecture specs; remove the plan file.

Closes #23

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HJfBtjN6ktrwnZJkiRe6Rg

142 of 151 new or added lines in 8 files covered. (94.04%)

404 existing lines in 9 files now uncovered.

4058 of 4942 relevant lines covered (82.11%)

0.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.59
/src/dinary_analytics/paths.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc