Hi,
Has anyone successfully implemented the standard Prepayment Invoice feature in D365 Finance & Operations and managed to submit both:
-
The first prepayment invoice, and
-
The second (final/original) invoice
to ZATCA using standard D365FO functionality (no custom XML manipulation)?
In our case, posting and submitting the first prepayment invoice always results in the following validation errors:
-
EN_16931: An Invoice shall have at least one VAT breakdown group (BG-23).
-
EN_16931: Each invoice line (BG-25) shall be categorized with an invoiced item VAT category code (BT-151).
-
KSA: A date MUST be formatted as
YYYY-MM-DD, in accordance with ISO 8601:2004 (Calendar date complete representation).
Also, the second (final) invoice is submitted successfully without validation errors.
XML sent to ZATCA for the second invoice is missing required XML attributes, which causes compliance concerns even though the submission technically succeeds.
Has anyone encountered this behavior with standard D365FO prepayment invoices and ZATCA integration?
If so, how was it resolved?
Regards
