Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:50
  • Added the total VAT amount in the tax currency (BT-111). A new
    optional taxTotalInTaxCurrency field on InvoiceTotalsInput emits a
    second ram:TaxTotalAmount with currencyID set to taxCurrency (BT-6),
    so an invoice in a foreign currency can also state its VAT in the national
    currency where it is due, e.g. a USD invoice with German VAT in EUR.
    Omitting the field keeps the output byte-for-byte identical.
    Behaviour change: validateInput, and with it embedFacturX, now
    rejects a taxCurrency without taxTotalInTaxCurrency, a taxCurrency
    equal to currency, and a taxTotalInTaxCurrency without taxCurrency.
    The first two already failed BR-53 in the schematron.

  • Fixed ram:TaxCurrencyCode (BT-6) being written for MINIMUM. The
    MINIMUM XSD does not define it, so setting taxCurrency produced
    XSD-invalid XML. It is now dropped below BASIC WL, like BT-111.