Repository navigation
-
Added the total VAT amount in the tax currency (BT-111). A new
optionaltaxTotalInTaxCurrencyfield onInvoiceTotalsInputemits a
secondram:TaxTotalAmountwithcurrencyIDset totaxCurrency(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 itembedFacturX, now
rejects ataxCurrencywithouttaxTotalInTaxCurrency, ataxCurrency
equal tocurrency, and ataxTotalInTaxCurrencywithouttaxCurrency.
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 settingtaxCurrencyproduced
XSD-invalid XML. It is now dropped below BASIC WL, like BT-111.