web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Customer Prepayment Invoice submission to Zatca (KSA)

(1) ShareShare
ReportReport
Posted on by 27

Has anyone successfully implemented the standard Customer Prepayment Invoice feature in D365 Finance & Operations and managed to submit both:

  1. The first prepayment invoice, and

  2. 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?

Categories:
I have the same question (0)
  • Verified answer
    AJ-13011347-0 Profile Picture
    27 on at
    We should create customer payment journal for the prepayment invoice and then submit the customer payment journal record to Zatca

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 569 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 323 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans