Fixture ID: lineBaseQuantityZero · XPath: /ubl:Invoice/cac:InvoiceLine[1]/cbc:LineExtensionAmount
Line 1 (id "1") has no invoice line net amount (BT-131), because the item price base quantity (BT-149) is 0, and dividing by it is undefined. BT-131 is not an input in this model — it is derived as invoiced quantity (BT-129) x item net price (BT-146) / item price base quantity (BT-149) — so a factor that makes the division impossible removes the line amount, and with it the document totals and the whole VAT breakdown.
BR-24Set line.baseQuantity to the number of units the price refers to, and never to zero. Use 1 (the default) when the price is per single unit; use 100 when you quote "€12.50 per 100 sheets" with quantity in sheets. Omit the field entirely if you are not pricing per bundle.
"quantity": 500, "unitPrice": 12.5, "baseQuantity": 100