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.
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.
Three modules replace retyping decisions, calculating commissions in Excel and preparing transfers by hand.
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.
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”.
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.
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.
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.
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 from the prototype in demo mode. Clients, accounts and amounts are sample data.
Want to automate invoicing in your company? AI process automation →
Free online consultation. We will show you which steps from email to transfer can be automated in your company.