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...
Answered

Business Central API question

(0) ShareShare
ReportReport
Posted on by 30
Hi
I'm looking for some assistance with the Business Central API. Currently I'm making calls to BC using the api v2.0 https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/ which is working well but I'm now trying to get the posted creditor and debtor transaction data. On the debtor side I want the data from the 'Cust. Ledger Entry' table but there is no api endpoint for that table. (Nor the creditor side)
Have anyone got any idea how to query this data from the api?
BC-Tables.png
I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    There is no standard API avalible for the Custom Ledger Entries or the Vendor Ledger entries. 

    So you would either have to use the Odata V4 webservice or create a custom API.

    Best practice these days is to create a custom API for this.

    docs.microsoft.com/.../devenv-develop-custom-api

  • Verified answer
    YUN ZHU Profile Picture
    98,337 Super User 2026 Season 1 on at

    Hi, for 'Cust. Ledger Entry', there is a standard OData V4 URL in BC. You can try this first.

    For example: https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox02/ODataV4/Company('My%20Company')/Cust_LedgerEntries

    pastedimage1643165098328v2.png

    If it's not available, as Igne said, you need to customize the new API.

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    aksmith Profile Picture
    30 on at

    Thanks for your help - I have had a look through the OData V4 web services and I can get the data I required

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,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans