Skip to content

v1.4.5

Choose a tag to compare

@github-actions github-actions released this 14 Nov 15:03
· 20 commits to main since this release
  • Fixed derived line net amount ignoring basisQuantity. When a line
    omits lineTotal, buildXml and the BR-CO-10 check in validateInput
    computed it as quantity * unitPrice, so a price per 100 units produced a
    line total 100× too high and a correct totals.lineTotal was rejected. The
    amount is now quantity * unitPrice / basisQuantity (EN 16931 BT-131),
    rounded per line in both places. Reported by @trackoor (#26).
  • validateInput rejects a basisQuantity that is not greater than zero.