Commit Graph
4 Commits
Author SHA1 Message Date
m3ta-chiron 0cf359d201 build(deps): upgrade factur-x to 6.8, commit lockfile and pin python 3.11
The venv had drifted (python 3.14 interpreter with python 3.13 packages)
because uv.lock was never committed. Lockfile is now tracked and CI syncs
from it with --frozen.
2026-09-11 16:06:13 +02:00
m3ta-chiron 7fcb3ff21d fix: extract tax number, price basis quantity, spaced VAT IDs and contact email
- supplier/buyer: extract FC tax registration (BT-32/BT-49) into new
  tax_number field; previously only VA (USt-IdNr.) was read
- pflichtfelder: critical error only when neither vat_id nor tax_number
  is present (EN 16931 BR-CO-26)
- ustid: tolerate formatting whitespace inside VAT IDs (e.g. 'DE 140 978 617')
- line items: normalize unit price by basis quantity (BT-149), so a
  price per 100 units no longer inflates line totals by factor 100
- supplier email: also look in DefinedTradeContact (BT-42)
- rewrite xrechnung fallback test to assert only our own behavior,
  independent of factur-x version specifics
2026-09-11 16:05:41 +02:00
m3ta-chiron e2e1d8c046 Allow zero-euro line item amounts 2026-06-03 07:52:52 +02:00
m3ta-chiron d497a4cb5b fix(extractor): detect xrechnung XML attachments 2026-05-21 14:45:20 +02:00