Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 17:12
60a37f9

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.