Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Posting Purchase Invoice / Journals using APIs

Posted on by 175
Hi Techis,
 
Is it possible to POST created Purchase Invoices or Payment/General Journals using Microsoft Standard API's ?
 
Or we need to do customization in Business Central to achieve this?
 
Thanks
Raj
  • Rajaneesh H Profile Picture
    Rajaneesh H 175 on at
    Posting Purchase Invoice / Journals using APIs
    Thanks for the response Yi Yong!!
  • Verified answer
    Yi Yong Profile Picture
    Yi Yong 796 Super User 2024 Season 2 on at
    Posting Purchase Invoice / Journals using APIs
    Hello Rajaneesh,
     
    You will need to create a custom Codeunit or Page and expose it to Web Service for external API call.
     
    Then using the Codeunit or Page, you can filter the journal line and run the journal posting CU.
  • gdrenteria Profile Picture
    gdrenteria 9,483 Most Valuable Professional on at
    Posting Purchase Invoice / Journals using APIs
  • Suggested answer
    Rajaneesh H Profile Picture
    Rajaneesh H 175 on at
    Posting Purchase Invoice / Journals using APIs
    Hi Yi Young,
     
    Thanks for the response. I am able to create it successfully. However my query is how to POST the the created PI or Journals?
     
    Thanks
    Raj
  • Yi Yong Profile Picture
    Yi Yong 796 Super User 2024 Season 2 on at

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans