BR-52: Each additional document reference needs an ID (BT-122)

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

Warning: accepted with a warningAll invoicesFields: BG-24, BT-122

Checks that every cac:AdditionalDocumentReference has a non-empty cbc:ID.

How to fix it

Give each cac:AdditionalDocumentReference a non-empty cbc:ID; in the official samples these are values such as <cbc:ID>ICV</cbc:ID>, <cbc:ID>PIH</cbc:ID> and <cbc:ID>QR</cbc:ID>.

ZATCA's official text

[BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules

Fails when (the condition ZATCA's SDK runs)

not((cbc:ID) != '')

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