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

API - Postman journalLines POST with balancing account

(0) ShareShare
ReportReport
Posted on by 3,426

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?
  • Suggested answer
    JAngle Profile Picture
    161 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,426 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 360 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 201 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans