Discussions
Rounding tolerance between invoice header total and posted line items
7 days ago by Daniel Reeves
Question about rounding on the purchase-invoice endpoint.
Our ingest step reads the line table out of supplier invoices before posting. The supplier total is stated once in the document, but our parsed lines sum to a few cents more or less depending on how many decimals each unit price carries.
Row grouping itself got much more reliable after we convert the source to a Markdown table first, but the arithmetic question stands.
Is there a documented tolerance between the header total and the sum of posted line items, or does any difference reject the document? If a difference is allowed, is it absorbed into a rounding account automatically, or should we post an adjustment line ourselves?