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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

API - Postman journalLines POST with balancing account

(0) ShareShare
ReportReport
Posted on by 3,253

Hi Guys

I'm trying to POST journalLines using postman with a BALANCING ACCOUNT. No errors and the journal created but balancing account not populated. Here's the code :

                {
                     "accountType""G/L Account",
                    "accountNumber""7777",
                    "postingDate""2021-08-15",
                    "documentNumber""GJ00000001",
                    "externalDocumentNumber""Ext 123456",
                    "amount"100,
                    "description""TEST",
                    "comment""TEST",
                    "balanceAccountType""G/L Account",
                    "balancingAccountId""649e8623-dd44-eb11-900b-000d3a6ab899",

                    "balancingAccountNumber""3333"
                }
Has anyone created journal with balancing account from the APIV2?  xxxxxx/journalLines end point?
I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    The balancing fields are part of the api page but not mentioned in the documented usage of the api. I’ve had more joy with using the standard page as a web service. I’d assume the api page is more geared towards receiving many lines to result in a balanced journal or it uses the ability to set a balancing account at batch level

  • Samantha73 Profile Picture
    3,253 on at

    Thanks Josh. I feel these APIs are half baked solutions and we should not spend so much time trying to do simple things..Will tray batch calls...

  • Vasylyna Profile Picture
    5 on at

    Hi, so have you found a solution? If you have, could you share this with me, please?

  • Suggested answer
    steveendow Profile Picture
    2,281 on at

    This appears to be due to a bug in the Journal Line API v2 page.  (as of April 6, 2022)

    AJ Kauffman found the syntax error that is causing the Balancing Account Number to always get wiped out.

    twitter.com/.../1511765845688655877

    I don't know how long it takes for fixes to be integrated, but hopefully this syntax error is relatively simple to fix and include in a new minor release.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans