This page is also available in your language:
CRATEAPI Error reference EN · FR · DE · RO

BR-DEC-18

EN 16931 FATAL

Official rule text

The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.

What this error means

This is a decimal precision rule: the amount referenced above is written with more decimal places than the standard allows (2 for monetary amounts).

How to fix it

  1. Format the amount with at most 2 decimals, e.g. 1190.00, not 1190.0000.
  2. Apply the formatting at serialization time, not by changing your internal precision.
  3. Unit prices (BT-146) are the exception - they may carry more decimals.

Related rules

Fix it faster

Paste your invoice XML in our free validator - every finding comes with its rule ID. Then generate, convert and render compliant invoices through one API.