PL EN
// Case study · automation · KSeF

Invoicing and settlement automation for 4 companies

A group of four companies recovers tax that their clients paid abroad. We built a panel that takes over the paperwork: from the tax office decision in the inbox, through the commission and the KSeF invoice, to the refund transfer and bank statement reconciliation.

See the prototype ↗
4companies, each with its own invoice series
8PLN and EUR accounts in one reconciliation
8 stagesper case — from decision to closing
0access to the bank account
// What we did

From a decision in the inbox to a reconciled transfer

Three modules replace retyping decisions, calculating commissions in Excel and preparing transfers by hand.

// 01

Decisions straight from email

Module A pulls messages with decisions from the foreign and Polish tax offices over IMAP and reads the client, country, year, decision numbers, and the claimed and granted amounts from the PDFs.

// 02

Automatic data checks

The client is matched by PESEL and surname, and the system checks that both decisions concern the same person and that the granted amount matches the claim. Mismatches go to “Needs clarification”.

// 03

Commission calculator

Rate per country (percentage of the refund and a minimum), the NBP EUR rate from the day before the invoice and VAT — calculated automatically, with manual adjustments and full change history.

// 04

Invoices and KSeF

The invoice is created through the Faktura XL API in the right company’s series, sent to KSeF and then emailed to the client. Every case goes through 8 stages shown on a timeline.

// 05

Payment batches

Module B turns the tax refund minus the invoice (offset) into a transfer file for Erste Bank Polska — one per company. IBANs are validated and an account that differs from the client record is flagged.

// 06

Payment reconciliation

Module C imports MT940, CSV or camt.053 statements from 8 accounts, recognises the company and account, matches payments and marks invoices as paid in Faktura XL. Exceptions go to manual review with a reason.

// Screens

What the panel looks like

Screens from the prototype in demo mode. Clients, accounts and amounts are sample data.

// Security

Client money under control

The system prepares everything for the transfer but has no access to online banking — a person authorises the transfers in the bank.

  1. 012FA for every account and an encrypted connection.
  2. 02Decisions accepted only from trusted tax office domains; attachments scanned for viruses.
  3. 03A warning when a client’s bank account differs from the one on file.
  4. 04Every rule change and commission adjustment is written to the event log.
  5. 05Daily report: invoices, dispatches and exceptions — with CSV export.

Want to automate invoicing in your company? AI process automation →

// Let’s talk

Want to stop invoicing by hand?

Free online consultation. We will show you which steps from email to transfer can be automated in your company.

info@axisway.com+48 791 793 584ul. Szewska 8, 50-122 Wrocław