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

AP and AR mass settlement with Flow - or other

(0) ShareShare
ReportReport
Posted on by 45

Dear Community,

I am now facing a problem most of us must have faced at one point : after having migrated many invoices & payments from the legacy system (3 years worth of accounting history)  I now have to settle these transactions.

As of today, they are not settled which the makes invoices appear in the aging report and in the open customer/vendor invoices.

The transactions were migrated with a special code written in the description, so I know which are supposed to be settled together. I have now 2 main issues :

1) Is there a way to settle them in bulk ?

2) how can I have a common settlement reference in case of an N to M relationship ? (for example 2 payments for 3 invoices).

I have already given it some thought and here are my comments/ideas :

1) What I want to do is to settle posted transactions as if I was doing it manually from the customer/vendor transactions form, but in bulk.

 I am trying to find a way with Flow, using the 2 entities (Vendor)PaymentJournalLineSettledInvoices. It seems that all settlements do not use these entities. 

When settling transactions directly from the customer/vendor transactions form, no record is created in these entities. It means that the settlement is stored somewhere else, using another entity. Could someone point me to the correct data entity ? 

2) I believe the standard works something like this (see image below). P1 settles F1 fully and F2 partially. P2 settles F2 partially and F3 fully. So P1 and F3 have no link at all, even though the customer said "these 2 payments are for these 3 invoices in no particular order". In other words, I should be able to see a common reference for all the transactions (P1 P2 F1 F2 F3). Is there a way to find that common reference ?

standard-settlement.png

thank you very much for your help,

Alexis

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Alexis,

    What is the reason to convert so many historical transactions? Usually, you can access the old system for multiple years with view only rights. You can also create reports with e.g. Power BI and combine different data sources for a single overview of old and new ERP systems.

    To answer your questions:

    1) There is no support to settle the transactions in bulk. You can only do this per customer or per vendor. There is no data entity support to do this via Power Automate.

    2) This is possible by marking multiple transaction and then post the settlement. However, like you discovered, it is not linked to all of them. It is splitting it by parts based on FIFO.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    I agree with Andre.  It is not typical to migrate historical subledger transactions.  The lift is just too heavy for limited benefit.

  • Alexis C Profile Picture
    45 on at

    Hi André,

    thanks for taking the time to answer.

    1) So where are the settlements stored when done from the customer/vendor transaction form ? Does it go straight to the CustSettlement table without the use of an entity ?

    2) I know there is the Customer Account Statement report - France that highlights the transactions that are settled together. It uses a letter to match the corresponding payments and invoices. Maybe I can use something similar. Is it worth looking into ?

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Alexis,

    An entity is used for data integrations (import, export, OData). The settlements are not only stored in the CustSettlement table. There are updates on the CustTrans and CustTransOpen records. In certain cases, for example exchange rate differences, there will be new accounting entries posted.

    I was not aware of the report in the France localization. You can indeed check if that meets your requirement. It would be possible to extend this feature, so it will be available for more countries.

    You also posted an update on an old threat. To have a data entity available, you would need a developer. This would not be the most easy one to build as it should take care of the full settlement posting logic as mentioned above.

  • Alexis C Profile Picture
    45 on at

    Hi André,

    We are exploring 2 possibilities : one with a developer, another with a a bot that mimics the manual tasks done by a human.

    I think we will be able to handle thousands of transactions this way.

    Thank you very much.

    Alexis

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    We'll be interested to learn how this turns out.  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

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans