Back

Retcon Solution for Dynamics 365 Finance – KSeF Collective Identifier, Payment Automation and Settlement

November 26, 2026
INSIGHT
Dynamics 365 Finance – KSeF i rozliczenia
RETCON SOLUTION · MICROSOFT DYNAMICS 365 FINANCE
Many invoices. One bank transfer. One KSeF Collective Identifier.
Invoices
Collective Identifier
Payments and settlements

From 1 January 2027, new KSeF requirements will also cover payment processes. For companies using Microsoft Dynamics 365 Finance, this means ensuring links between invoices, KSeF numbers, bank transfers and settlements.

Having an ERP integration with KSeF does not solve every challenge. The KSeF number must be available not only when issuing and receiving invoices, but also when a company prepares a transfer or identifies a payment received from a counterparty.

The Retcon solution for Microsoft Dynamics 365 Finance extends existing financial processes by generating and decoding KSeF Collective Identifiers, supporting payment automation and improving invoice identification and settlement.

Why is handling the Collective Identifier in Dynamics 365 Finance important?

Consider a company that makes hundreds of supplier payments and receives transfers from many customers every month.

With collective payments, a single transfer may cover several, a dozen or even dozens of invoices.

Without suitable automation, finance team members may have to find KSeF numbers manually, generate Collective Identifiers outside the ERP, copy identifiers into payments and determine which documents an incoming transfer covers.

At high transaction volumes, this means additional work, longer settlement times and a greater risk of errors.

The Retcon solution connects Collective Identifier handling with the processes users already perform in Dynamics 365 Finance. Identifiers therefore become part of the financial workflow instead of a separate task performed outside the ERP.

Without suitable automation
  • Manual search for KSeF numbers
  • Generating Collective Identifiers outside ERP
  • Copying identifiers into payments
  • Manually identifying related documents
Additional work and greater risk of errors
With the Retcon solution
  • Using KSeF numbers in ERP
  • Generating IZ in the payment process
  • Linking identifiers to documents
  • Supporting payment identification and settlement
IZ handling as part of the financial process

How does the Retcon solution work in Dynamics 365 Finance?

The extension supports two key areas: preparing supplier payments and settling payments received from customers.

1. Outgoing payments – generating Collective Identifiers for purchase invoices

For example, a company wants to pay six invoices from one supplier with a single transfer.

The Retcon solution supports this process in several steps.

Invoice 1
Invoice 2
Invoice 3
Invoice 4
Invoice 5
Invoice 6
6 invoices · 1 supplier · 1 transfer

Step 1. Select invoices

The user prepares a payment in the standard Dynamics 365 Finance payment journal and selects the supplier's posted, unsettled invoices.

Step 2. Validate KSeF numbers

The solution checks the availability of KSeF numbers and the conditions required to generate a Collective Identifier.

Step 3. Generate the Collective Identifier

Using the selected KSeF numbers, the system communicates with the KSeF API and obtains a Collective Identifier for the specified set of invoices.

Step 4. Record the identifier and its history

The resulting Collective Identifier is linked to the payment and documents. The system stores communication history, allowing the completed operations to be checked later.

Step 5. Prepare transfer details

The KSeF number or Collective Identifier can be included in the payment file sent to the bank. The way it is recorded depends on the file format and banking configuration.

Benefit for the finance department: collective payments are prepared using existing Dynamics 365 Finance processes, without manually generating and copying identifiers between separate systems.

2. Incoming payments – identifying and settling receipts

The second part of the solution handles payments received from customers.

Suppose a customer has paid several invoices with one transfer and included a Collective Identifier in the payment reference.

The Retcon solution supports the following process:

  1. Reading the identifier from imported bank statement data.
  2. Decoding the Collective Identifier through the KSeF API and retrieving the associated invoice numbers.
  3. Finding documents in Dynamics 365 Finance using the retrieved KSeF numbers.
  4. Verifying open transactions – checking document status, available balances and whether the received payment amount matches.
  5. Supporting settlement – using standard Dynamics 365 Finance mechanisms and agreed automation rules.

In unambiguous cases, payment settlement can be automated according to established rules. Cases requiring further decisions can be assigned to a user.

Benefit for the finance department: accountants receive support in identifying invoices linked to a collective payment instead of having to establish them manually through additional correspondence or payment descriptions.

Key features of the Retcon solution

Generating and decoding Collective Identifiers directly in the ERP

The solution handles Collective Identifiers through communication between Dynamics 365 Finance and the KSeF API.

Users can prepare a set of invoices for payment and obtain a Collective Identifier; after receiving a payment, they can use its identifier to retrieve the related KSeF numbers.

Linking invoices, identifiers and payments

The solution records identifier information in the context of documents and financial transactions.

This makes it easier to determine which invoices a payment relates to, including when one invoice has been included in more than one Collective Identifier.

Data validation before executing an operation

Before generating a Collective Identifier, the solution checks the relevant conditions, including whether KSeF numbers are available and whether the invoice set meets the requirements.

This helps detect problems early that could otherwise make payment preparation more difficult.

KSeF communication history

Information on completed operations, statuses, service responses and errors supports process control and problem analysis.

Users and IT teams can more easily determine whether an operation succeeded or needs to be retried or investigated.

Controlled exception handling

Not every payment should be settled automatically.

For example, the amount received may differ from the current invoice balance, a document may have been settled earlier, or KSeF may not return a valid list of invoice numbers.

The solution provides validation and allows such cases to be referred for manual handling, in accordance with the organisation's settlement rules.

What does the finance department gain?

Fewer manual tasks

Generating and decoding Collective Identifiers within ERP processes reduces the need for additional tools and manual data transfer.

More efficient identification of incoming payments

Linking a received identifier to specific invoices makes collective payments easier to process.

Lower risk of incorrect settlements

Validation and balance checks help identify discrepancies before settlement is completed.

Greater process transparency

KSeF communication history and links between documents make it easier to analyse transactions, investigate errors and perform internal controls.

Using the existing Dynamics 365 Finance environment

The extension works with the system's financial processes, so there is no need to build an entire payment workflow in a separate application.

What does the solution include, and what is tailored individually?

Retcon offers Collective Identifier capabilities that can be adapted to an existing Microsoft Dynamics 365 Finance environment.

CORE SOLUTION
Core solution scope

The core scope of the solution includes:

  • Generating and decoding Collective Identifiers through the KSeF API.
  • Linking Collective Identifiers to invoice KSeF numbers and relevant payments.
  • Validation related to identifier handling.
  • A history of communication with KSeF.
  • Supporting payment preparation and incoming payment identification in Dynamics 365 Finance processes.
CUSTOM CONFIGURATION
Individual configuration

The following may require individual arrangements:

  • Adapting payment files to bank requirements, including ISO 20022 formats.
  • Integration with specific bank statement formats, such as MT940 or camt.053.
  • Handling collective payments under the split payment mechanism (MPP).
  • Custom rules for automatically settling overpayments, underpayments and partial payments.
  • Integration with additional solutions used by the organisation.

This approach makes it possible to adapt the implementation scope to actual financial processes and reduces the risk of introducing unnecessary changes into a particular environment.

Why choose the Retcon solution for Dynamics 365 Finance?

Implementing the Collective Identifier should not simply mean adding another field to the system.

The essential requirement is to ensure a consistent flow of data between invoices, payments, banks and open transactions.

The Retcon solution focuses on the entire financial process, not solely on generating the Collective Identifier.

It connects identifier handling with existing Dynamics 365 Finance mechanisms, supports accounts payable and receivable processes, and enables monitoring of communication with KSeF.

Retcon also analyses the specifics of the customer's environment, bank file formats, payment configuration and settlement rules. This provides the basis for defining the necessary adaptations and test scenarios.

Companies can therefore prepare their financial processes for the new requirements while accounting for the finance team's actual ways of working.

One consistent financial process
INVOICESPurchase and salesKSeFGenerate anddecode IZBANKPayments and statementsSETTLEMENTSIdentificationand settlementretcon.Dynamics 365Finance

See the Retcon solution in action

Is your Dynamics 365 Finance system ready to handle KSeF Collective Identifiers from 1 January 2027?

Find out how to improve the preparation of supplier payments, the identification of incoming receipts and invoice settlements.

During a demonstration of the Retcon solution, you will see how Collective Identifiers are generated and decoded, and how the solution can be adapted to your Dynamics 365 Finance environment.

During the demonstration you will learn about:
  • Collective Identifier generation
  • IZ decoding
  • Support for payment identification and settlement
  • Options to adapt the solution to your environment

Book a demonstration of the Retcon solution

Learn more about the KSeF Collective Identifier