Back

KSeF Collective Identifier in Dynamics 365 Finance – How to Prepare for 2027 Payments

November 26, 2026
INSIGHT
Dynamics 365 Finance – KSeF i rozliczenia

KSeF is more than electronic invoicing. From 1 January 2027, the requirements for making payments will also change.

Companies using Microsoft Dynamics 365 Finance must prepare their financial processes to include KSeF invoice numbers or Collective Identifiers (IZ) in specified payments.

Even if an organisation has already integrated Dynamics 365 with KSeF, this does not automatically mean its system is ready for the new requirements. The entire process must be reviewed – from purchase invoices and preparing bank transfers to identifying and settling incoming payments.

What will change for KSeF payments from 1 January 2027?

From 1 January 2027, an active VAT taxpayer paying for invoices covered by the relevant regulations to another active VAT taxpayer will be required to indicate the KSeF number or Collective Identifier if the payment is made by bank transfer or another instrument allowing a payment reference to be provided.

In practice:

  • 01
    One invoice – its KSeF number is indicated in the payment.
  • 02
    Several invoices – a Collective Identifier or multiple KSeF numbers can be used, subject to technical limitations.
  • 03
    Split payment mechanism (MPP) – the new requirements also apply to relevant payments made under the split payment mechanism.

The obligation does not apply to all B2B payments. The taxpayers' status, invoice type and payment method all matter.

What is the KSeF Collective Identifier?

The Collective Identifier is a 35-character number assigned by the National e-Invoicing System (KSeF). It makes it possible to associate at least two structured invoices issued by the same seller with one identifier.

For example, a company receives five invoices from one supplier and intends to pay them with a single bank transfer. Instead of placing five separate KSeF numbers in the payment reference, it can generate one IZ covering those documents.

The identifier is generated using the invoices' KSeF numbers and can then be used in the payment process.

One IZ can normally include up to 500 KSeF numbers, with the possibility of increasing this limit individually.

KSeF also allows an IZ to be decoded to retrieve the list of invoices associated with the identifier.

5 invoices. 1 supplier. 1 IZ.
Invoice 1
KSeF number
Invoice 2
KSeF number
Invoice 3
KSeF number
Invoice 4
KSeF number
Invoice 5
KSeF number
KSeF Collective Identifier
Generated using KSeF numbers
One bank transfer
35
Characters in IZ
2
Minimum invoice count
500
Standard KSeF API limit
The standard KSeF API limit may be increased individually.

Why might implementing KSeF in Dynamics 365 Finance not be enough?

Integrating Dynamics 365 Finance with KSeF can enable sales invoices to be submitted, purchase invoices to be downloaded and KSeF numbers to be recorded.

However, the new requirements also affect subsequent stages of the financial process.

An organisation should verify whether Dynamics 365 Finance can:

KSeF invoice integration
  • Submitting sales invoices
  • Downloading purchase invoices
  • Recording KSeF numbers
Readiness for 2027 payments
  • Use KSeF numbers from posted invoices when preparing payments.
  • Generate a Collective Identifier for selected supplier invoices.
  • Include the correct identifier in bank transfer details.
  • Read the KSeF number or IZ from an incoming bank statement.
  • Match an incoming payment to the appropriate invoices and open transactions.

Merely storing a KSeF number on an invoice does not ensure that it can be used in banking and settlement processes.

How is the Collective Identifier handled in Dynamics 365 Finance?

System preparation should address two separate but connected processes.

Outgoing payments – purchase invoices

Dynamics 365 Finance
Select posted supplier invoices
01
Validation
Verify KSeF numbers
02
KSeF API
Generate the Collective Identifier
03
Payment file
Transfer IZ to the appropriate field
04
Bank
Execute payment
05

A finance team member prepares a payment covering several posted invoices from one supplier.

The system should allow the user to select the appropriate documents, validate their KSeF numbers and generate an IZ through the KSeF API.

The resulting identifier is linked to the payment and should be placed in the appropriate field in the file sent to the bank.

How the KSeF number or IZ is transferred depends on the payment file format and the bank's requirements.

Incoming payments – sales invoices

Bank
Receive payment containing IZ
01
Statement import
Read the identifier from payment data
02
KSeF API
Decode the Collective Identifier
03
Dynamics 365 Finance
Match invoices and open transactions
04
Settlement
Follow established financial rules
05

When a customer pays several invoices with one transfer, the payment details may contain a Collective Identifier.

After importing the bank statement, the system should recognise the IZ, retrieve the associated invoice numbers from KSeF and use them to match the incoming payment to the appropriate open transactions.

When data and amounts match, settlement can be automated according to the organisation's established rules.

Exception handling

If there is an overpayment, underpayment, incorrect IZ or another discrepancy, additional user verification may be necessary.

How to prepare Dynamics 365 Finance for KSeF requirements in 2027

Before implementing Collective Identifier handling, six areas should be reviewed:

Check your system readiness
0/6Areas reviewed0%

1. Availability of KSeF numbers

Do posted purchase and sales invoices have valid KSeF numbers that can be used when preparing payments and settlements?

2. Collective payment handling

Does the organisation make transfers covering multiple invoices from a single supplier? How are invoices grouped, and how are payment proposals created?

3. Banking formats

Do the payment files used, such as XML files compliant with ISO 20022, allow the KSeF number or IZ to be included in the field required by the bank?

4. Communication with KSeF

Does the system have the permissions and authentication mechanisms needed to use the KSeF API?

5. Bank statement imports and receivables settlement

Do the bank statement formats used, such as MT940 or camt.053, allow the complete identifier to be read and used in the settlement process?

6. Exception handling

How does the system respond to an incorrect IZ, a missing KSeF number, API unavailability, a partial payment or differences in amounts?

The counter shows the number of areas reviewed, not actual compliance with KSeF requirements.

The answers help determine the required changes and prepare appropriate test scenarios.

How does Retcon help prepare Dynamics 365 Finance for KSeF payments?

Retcon has developed a solution that extends Microsoft Dynamics 365 Finance financial processes to handle KSeF invoice numbers and Collective Identifiers.

The solution supports IZ generation for outgoing payments, decoding identifiers received with incoming payments and matching payments to the appropriate invoices.

It uses existing Dynamics 365 Finance mechanisms, including payment preparation and open-transaction settlement.

The scope of banking integrations, format adjustments and additional automation is determined by the system configuration and the organisation's requirements.

IZ generation
Collective Identifier handling for outgoing payments.
IZ decoding
Identify invoices associated with an incoming payment.
Financial process integration
Use existing Dynamics 365 Finance mechanisms.
Individual configuration
Banking integrations, payment formats and additional automation.

Explore the detailed features of the Retcon solution for Dynamics 365 Finance.

RETCON SOLUTION
Retcon solution for Dynamics 365 Finance – IZ handling, payment automation and settlement.
Explore the detailed features →

Prepare Dynamics 365 Finance for changes from 1 January 2027

Implementing KSeF invoice handling is not the end of the preparation process. The next step is ensuring consistent invoice identification throughout payments and settlements.

Check whether your organisation is ready for KSeF payments in 2027.

Retcon experts can help analyse your current financial processes and determine the changes required in Microsoft Dynamics 365 Finance.

Discuss your system readiness

Learn more about the KSeF Collective Identifier