Fixture ID: taxCurrencyNoAmount · XPath: /ubl:Invoice/cac:TaxTotal[2]/cbc:TaxAmount
The invoice declares a VAT accounting currency (BT-6 = "SEK"), so it must also state the invoice total VAT amount in that currency (BT-111). BT-6 exists for the case where VAT is invoiced in one currency and must be *accounted for* in another — a euro invoice from a seller who reports VAT in Polish złoty, say. Declaring the currency and omitting the amount tells the tax authority which currency the figure will be in without giving them the figure. This library cannot derive it: it depends on the exchange rate the authority prescribes for the tax point, which is not on the invoice.
BR-53Set taxAmountInAccountingCurrency to the total VAT converted at the rate your tax authority prescribes for the tax point, rounded to 2 decimals. Remove vatAccountingCurrency if VAT is accounted for in the invoice currency.
"vatAccountingCurrency": "PLN", "taxAmountInAccountingCurrency": 1218.45