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

Trial balance by month BC API

(1) ShareShare
ReportReport
Posted on by 7

Hi guys, 

Is it possible to get the trial balance by month with the standard BC API? (Without having to use the General Ledger entries API)

Tried the Trialbalance API (Object ID 5502), but it only gives me the current date. 

Excel-PQ-output.png

ExcelTemplateTrialBalance.pngBC-WEB-services-API.png

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

    hi

    look this

    learn.microsoft.com/.../dynamics_trialbalance_get

    DAniele

  • Verified answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at

    Hi, You can find out if it is available in the standard APIs, or the new reportsFinance APIs.
    If not, customization is required.

    Standard Apis:

    https://yzhums.com/22845/

    https://yzhums.com/6117/

    New dedicated APIs for financial reporting: 

    https://yzhums.com/29540/

    Hope this helps.

    Thanks.

    ZHU

  • TobiasHolm Profile Picture
    7 on at

    Hi Daniele and ZHU

    Thank you so much for your suggestions - with your input I managed to get the trial balance YTD for a given period.

    Is it possible to get the trial balance YTD for each month in 2022 in one API, without having to do 12 individual API´s? (As shown with examples below)

    Etc. January 2022: OData.Feed(XXXX/trialBalance?$orderby number&$filter=dateFilter ge 2022-01-01 and dateFilter le 2022-01-31", null, [Implementation="2.0"])

    Etc. January 2022-February 2022: OData.Feed(XXXX/trialBalance?$orderby number&$filter=dateFilter ge 2022-01-01 and dateFilter le 2022-02-28", null, [Implementation="2.0"])

    And so on until:

    January 2022-December 2022: OData.Feed(XXXX/trialBalance?$orderby number&$filter=dateFilter ge 2022-01-01 and dateFilter le 2022-12-31", null, [Implementation="2.0"])

  • TobiasHolm Profile Picture
    7 on at

    Managed to get it to work by invoking a custom function (Setup for my specific API) on a table with end dates of every month (text.format).

  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at

    Hi, As far as I know, this won't work because you're filtering differently each time.

    But you can group requests in collections.

    For example, in Post Man

    https://learning.postman.com/docs/sending-requests/intro-to-collections/

    Hopefully other experts can give you better advice.

    Thanks.

    ZHU

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans