You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Discounts and charges on the whole invoice (discounts, charges): a percentage, an amount or both, a reason and
the VAT category and rate they belong to. A percentage is taken of each VAT rate of the lines; an amount is never
split between rates. They are checked, written into the XML, read back from an e-invoice and entered in the web app.
check refuses category O beside any other VAT category (BR-O-11).
Changed
calculate throws for a discount or charge it cannot place in a VAT group; check says why. readInvoiceXml and validateEInvoice return percentages, which check takes as an option.