
Announcements
Has anyone successfully implemented the standard Customer 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:
BR-CO-15: EN_16931: Invoice total amount with VAT (BT-112)
BR-CO-04: EN_16931: Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).
BR-KSA-F-01: KSA: A date MUST be formatted YYYY-MM-DD, in accordance to the “Calendar date complete representation“ as specified by ISO 8601:2004, format YYYY-MM-DD.
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?