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 :
Finance | Project Operations, Human Resources, ...
Answered

AP Invoice Matching - Exchange Variance

(0) ShareShare
ReportReport
Posted on by 2,487

I have product cost setup as Moving Average.

If i process a product receipt with exchange rate 1:1.5 and process the invoice at a different exchange rate (1:1.6), i see that the system reverses the inventory value at 1:1.5, and post it back in at 1:1.6. 

Is it possible to have the invoice post the inventory value at 1:1.5 (the same exchange rate as the product receipt) and the exchange rate difference to post to another GL account? 

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello James,

    What GL account do you think of that you want to post the exchange rate difference to?

    Best regards,

    Ludwig

  • Verified answer
    André Arnaud de Calavon Profile Picture
    308,218 Super User 2026 Season 2 on at

    Hi James,

    This is not possible. When the goods were not sold yet, the moving average will value the inventory as per the cost on the invoice. When the goods were sold already before you post the invoice, then it will be on a general variance account, but not an exchange results.

    As workaround, but don't know if your accountant will accept it, is to post the invoice at 1:1.5 and have the exchange difference posted at time of payment settlement.

  • SU-22040800-0 Profile Picture
    2,487 on at

    Thanks Andre & Ludwig

  • SU-22040800-0 Profile Picture
    2,487 on at

    hi Andre

    I'm replicating the scenario you mentioned above, and just checking if you could help with the logic the system uses.

    Exch 0.1 at product receipt, and 0.15 at invoice (with a sale of the stock in between PR and PI). I have two results:

    Amount Posting type

    880.00 Cost of purchased materials invoiced

    -880.00 Cost of purchased materials received

    440.00 Price difference for moving average

    880.00 Purchase, accrual

    -1 320.00 Vendor balance

    The above is simple enough to understand. 440 is the exch rate difference, and thus posted to "Price difference for moving average".

    But, when i add a 7% charge to the line, and process the exact same transaction, i get the below:

    Amount Posting type

    -941.60 Cost of purchased materials received

    61.60 Purchase freight

    1 177.00 Cost of purchased materials invoiced

    235.40 Price difference for moving average

    -92.40 Purchase freight

    880.00 Purchase, accrual

    -1 320.00 Vendor balance

    The first two lines are the reversal of the initial transactions (941.60 minus 61.60 equals 880, like in the first transaction)

    1177+235.4-92.4=1320 (which is breakdown of the invoice itself, at the new rate of 0.15)

    I know the charge is 7%, so that is easy to calculate..

    My question is how does the system get to the number 1177 ? (or 235.40).

  • André Arnaud de Calavon Profile Picture
    308,218 Super User 2026 Season 2 on at

    Hi James, what kind of charge do you have if the vendor balance in the second example is not including the 7% charge?

  • SU-22040800-0 Profile Picture
    2,487 on at

    Hi Andre - It is an item charge, we post at the PR stage. It is not included in the vendor balance.

  • SU-22040800-0 Profile Picture
    2,487 on at

    Hi Andre - I've been carrying out some more testing, and found something interesting.. When i process the Sales Order (between the PR and PI), if i reduce the stock to zero (i.e. sell the full quantity i have in stock) then the postings are accurate. The difference in value causes by the exchange rate is posted to the "Price difference for moving average". I even included the charges that i mentioned, and those posted correctly as well (removed at PR amount, and posted back in at PI amount)

    However, if i do not reduce the stock to zero in the SO, i get the strange calculation i sent you above, with the 1177.

    So what I've uncovered is that the calculation must be based on the stock qty..? Is that possible?

  • André Arnaud de Calavon Profile Picture
    308,218 Super User 2026 Season 2 on at

    Hi James,

    Your observation is correct. As mentioned above, there is a difference when the goods or parts of it have been sold already. This is done to ensure there is no recalculation or closing required for the moving average.

    You can read some more about this costing method here: docs.microsoft.com/.../moving-average

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans