BR-24: Each invoice line needs a line net amount (BT-131)

Explained by Matheel from ZATCA's rule text and the condition SDK 3.4.8 executes · Updated

Error: the invoice is rejectedAll invoicesFields: BG-25, BT-131

Checks that every cac:InvoiceLine (or cac:CreditNoteLine) contains a cbc:LineExtensionAmount element.

How to fix it

Add the line net amount to every line, e.g. <cbc:LineExtensionAmount currencyID="SAR">100.00</cbc:LineExtensionAmount>.

ZATCA's official text

[BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules

Fails when (the condition ZATCA's SDK runs)

not(exists(cbc:LineExtensionAmount))

Related rules

Validate your invoice against ZATCA's rules

Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.

Validate an invoice or try Matheel