# FX-SCH-A-000008

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

> The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.

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

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