# FX-SCH-A-000054

Source: https://xmlvalid.com/rules/FX-SCH-A-000054

> The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2.

- Level: error
- Rule sets: Factur-X BASIC rules 1.09
- Context: `//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax`
- Test: `string-length(substring-after(ram:CalculatedAmount,'.'))<=2`

Validate a document against these rules: https://xmlvalid.com/validate
