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

Decimal value formatting for payment export

(0) ShareShare
ReportReport
Posted on by 90

Hi All,

Trying to solve an issue with a Payment Export file, where it is formatted as a decimal but outputs no decimal when there is a whole number.

Example: 100.00 is outputted as 100

pastedimage1643894207754v1.png

Although this is being accepted by the bank it is showing as £1.00, once imported.

Another possibility is using the text padding, instead of decimals but i cant get this to work correctly.

Does anyone have any experience with this issue and can you show me the correct method to set this up in Data Exchange Definitions.

I have the same question (0)
  • Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    You have to add a data format to your colum:

    docs.microsoft.com/.../standard-numeric-format-strings

  • James De Filippo Profile Picture
    90 on at

    Hi Inge,

    We do have that in place, but is it incorrect?

    pastedimage1643895019437v1.png

    Edit: Noticed <Decimal> should be <Decimals>...however doesn't resolve the issue.

  • Verified answer
    Dirk Profile Picture
    on at

    Did you try with something similar to this:

    <Precision,2><Sign,1><Filler Character, ><Integer,7><Filler Character, ><Decimals>



    Found it for a different example:

    The expected result is an amount with 11 digits, and "0" as filler in case the number is smaller than 11 digits.

    How to achieve this result:

    In the column definition of the Data Exchange Definition for field amount you should have the following values.

    Data Type = Amount
    Data Format = <Precision,2><Sign,1><Filler Character,0><Integer,7><Filler Character,0><Decimals>

    With this data format, you get the following results when exporting the payment file:

    The amount of 100,11 is converted into:
    00000100,11

    The amount of 100,00 is converted into:
    00000100,00

    If the filling zeros are not needed, it is also possible to change the data format to this:

    <Precision,2><Sign,1><Filler Character, ><Integer,7><Filler Character, ><Decimals>

  • Suggested answer
    James De Filippo Profile Picture
    90 on at

    Hi Dirik,

    That's what i was missing! Now added the <Precision,2> to the data format!

    pastedimage1643906138687v1.png

    pastedimage1643906157257v2.png

    Thank You!

  • Dallefeld Profile Picture
    211 User Group Leader on at

    In the field mapping for the amount field there is a 'multiplier field'. It which is hidden by default and is set to 1.00 by default. I needed 100 to show in the file as 10000 (no decimal in the file) and I was getting 100. By simply changing the multiplier to 100.00, the issue was solved. Not sure if it will work for you.

    pastedimage1643912684898v1.png

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 3,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans