Fixture ID: declaredLineAndBreakdownDisagree · XPath: /ubl:Invoice/cac:InvoiceLine[1]/cbc:LineExtensionAmount
Line 1 states a net amount (BT-131) of 77.77, but its own quantity, price and line-level allowances and charges compute to 1500.00 — a difference of -1422.23 EUR. The line net amount is not a figure you get to state independently: it is BT-129 × (BT-146 / BT-149) − Σ BT-136 + Σ BT-141.
PEPPOL-EN16931-R120Either correct the quantity (BT-129), the item net price (BT-146), the base quantity (BT-149) or the line allowances and charges so they produce 77.77, or drop declaredTotals.lineNetAmounts and let the library compute the line. Round the line once, at the end, to two decimals — rounding the price first is the usual cause of a one-cent break.
"quantity": 10, "unitPrice": 150