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

Currency on journal lines

(1) ShareShare
ReportReport
Posted on by 5

Hi guys,

We are using the business central API to create journal lines to our journals.

I have a handful of journals: A, B, C, D, E

On journal B, I would like all journal lines to be set with a specific currency code automatically.

Can anyone help me out here? :-)

  • Daniel Rimmelzwaan Profile Picture
    3,485 on at

    Which journal are you talking about? How is the system going to know which currency to use?

  • Tolvstein Profile Picture
    5 on at

    We are creating the journal lines via POST requests to:

    https://{businesscentralPrefix}/api/v1.0/companies({id})/journals({id})/journalLines

    Docs: docs.microsoft.com/.../dynamics_create_journalline

    My initial idea was to setup an API template setting the currency on the journal line. But, im facing two issues at the time being:

    1. Right now the setup should target all lines in any journals, but no data is added from the template to the lines.

    2. I haven't been able to find out how I target a specific journal through with the API template setup.

  • TSAmulraj Profile Picture
    55 on at

    Hi Tolvstein,

    Based on the question, I assume that you are talking about the General Journal.

    If you select the Account Type as customer / Vendor, then the currency code mentioned in the corresponding master will populate in the journal, You need to consider this while making any minor customization.

    Regards,

    TSAmulraj

    Don't forget to help the community by verifying the answer

  • Iamnewtobc Profile Picture
    5 on at

    Hi Tolvstein,

    I am facing the above same issue of unable to update the currency code through the API.  I have tried creating a template in API setup for updating the currency code field but did not work.

    Can you please let me know whether you are able to solve this issue and recommend the solutions.

    Many Thanks

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 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans