Skip to content
All projects

AI Worker for describing and posting cost invoices at a factoring company

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
Invoices arrive through KSeF, e-mail, and paper, and accountants manually assign them to cost centers and accounts.
Approach
Digitization first: all invoices go into one queue, including those from KSeF.
Goal
Handling time per case: cut in half compared to the baseline measurement; Accuracy of AI Worker proposals accepted without corrections: ≥ 80% on the test set before production.

Client context

Non-bank financial institutions (leasing, factoring, investment fund companies, brokerage houses, payment institutions) compete on the speed of decisions and service, while their reporting obligations keep growing. The client is a mid-sized factoring company whose accounting department handles thousands of cost invoices and documents from factoring clients.

Challenge

Invoices arrive through KSeF (Poland's National e-Invoicing System), e-mail, and paper, and accountants manually assign them to cost centers and accounts. The month-end close keeps slipping because descriptions come back from managers with corrections.

Requirements and constraints

  • KSeF (Poland's National e-Invoicing System) introduces mandatory structured invoices in the FA(3) format. Finance and accounting systems must handle sending, receiving, fallback modes, and KSeF numbers throughout the document flow. (source)
  • GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, an impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
  • The AI Act, i.e. Regulation (EU) 2024/1689, introduces obligations that depend on the risk category of the AI system: transparency toward users, human oversight, technical documentation, and event logging. Systems that affect creditworthiness or employment may fall into the high-risk category. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every element delivered with documentation that the client's team can take over.

Approach and architecture

We deploy Jarvis as several separate tickets in Elevate rather than one large project: first digitization (data from e-mails, Excel, and paper goes into one database), then automation of repeatable steps, and finally AI Workers that prepare cases for approval by a human. An AI Worker never sends anything outside on its own. Every external action requires human approval, and every step of the AI Worker is logged.

Digitization first: all invoices go into one queue, including those from KSeF. Then the AI Worker proposes a description, cost center (MPK), and posting based on history and contracts, and a manager approves or corrects it in a single view. Corrections teach the AI Worker to make better proposals.

Key elements of the solution:

  • Receiving invoices from KSeF, the mailbox, and scans into one queue
  • A proposed description and posting with a rationale
  • An approval path for managers
  • Export to the finance and accounting system

Team and roles

RoleCountResponsibility
AI engineer1AI Worker design, tools, test sets, logging
Process automation engineer2automations, integrations, RPA as a bridge
B2B.NET account manager1single point of contact, escalations, selecting further people
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Free diagnosis and process selection1–1process map, diagnosis result
2. Data digitization2–4one database, order in the data
3. Step automation5–7automations, integrations
4. AI Worker in assist mode8–10AI Worker, test set, logs
5. Acceptance and extension to the next department11–12acceptance, plan for further tickets

Technology stack

Elevate platform, KSeF API integration, OCR, a language model hosted in the EU region, the client's accounting system.

Risks and how we mitigate them

RiskHow we mitigate it
Incorrect answers from the language modelanswers only from sources with citations, a test set, refusal outside the defined scope, human approval
Low adoption by usersambassadors in departments, training on their own cases, measuring usage from day one
Errors in data migrationdata profiling, trial migrations with reconciliation, quality criteria before cutover

Measurable goals and KPIs

The values below are targets that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Handling time per casecut in half compared to the baseline measurementtime measurement before and after
Accuracy of AI Worker proposals accepted without corrections≥ 80% on the test set before productiontest set, approval log
Share of cases handled without manual re-keying≥ 60% in the process covered by the pilotautomation log

Lessons learned and good practices

KSeF makes automation easier, because a structured invoice does not need OCR. It is worth starting there. A proposal with a rationale speeds up approval more than the proposal alone. An AI Worker is only as good as the order in the data it works on.

Why DYNAMINDS Labs

DYNAMINDS Labs is the R&D division of B2B.net S.A. On the Elevate platform, which works as an external IT department, we deploy AI Workers that bring order to data and take over repetitive work. Every step is a separate ticket with a price and a deadline within 24 hours, and payment is made after acceptance. The diagnosis is free.

Acceptance criteria

Every phase ends with a formal acceptance against criteria agreed at the start. In this deployment, acceptance covers: process map, diagnosis result; one database, order in the data; automations, integrations; AI Worker, test set, logs; acceptance, plan for further tickets. Final acceptance requires a KPI measurement report against the starting point, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with an estimate of the cost and risk of each.

Next step

Start with a free DYNAMINDS Labs diagnosis: in one meeting we will check which departments are ready for automation and AI Workers, and which first need digitization.

Start with one task.

Describe it in your own words. We start with a free diagnosis and reply within 24 hours.

Meet DYNAMINDS Labs

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Finance