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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Posting Date and Document date is Same while pushing purchase invoice using web services

(1) ShareShare
ReportReport
Posted on by 42

Hi All,

I am facing some issues related to posting date and document date while inserting records in purchase or sales invoices using page web services.

In request, I am taking the posting date and document date with different values but BC always takes value the same as the Posting date.

Is anything I am missing? I have tried both the way by passing the Posting date first and vice versa.

Errpr.png

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,407 Super User 2026 Season 1 on at

    hi

    try use this url

    pastedimage1666705345516v1.png

    learn.microsoft.com/.../dynamics_purchaseinvoice_create

    DAniele

  • Suggested answer
    Dallefeld Profile Picture
    225 User Group Leader on at

    If I'm not mistaken when you change the document date, you change the posting date. Change your code putting document date first and posting date second....see if that works.

  • Mohd Anas Profile Picture
    42 on at

    Thank you for your reply. But I am using page web services for this integration. You are suggesting using API. I know it will work with API but the question is why this is happening in page services. Is there anything I am missing? This service is working in Nav 2016 as expected.

  • Mohd Anas Profile Picture
    42 on at

    Hi

    I have tried both option still no luck

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans