Skip to main content
SAP Business OneSaaS Tools

Poland KSeF E-Invoicing

A build-to-order SAP Business One add-on that turns your A/R Invoices into KSeF structured XML,

submits them to Poland's national e-invoicing system and writes the returned KSeF reference back onto the marketing document.

Built to order

What is Poland KSeF E-Invoicing?

A build-to-order SAP Business One add-on that turns your A/R Invoices into KSeF structured XML, submits them to Poland's national e-invoicing system and writes the returned KSeF reference back onto the marketing document. Built to order by ECOSIRE for SAP Business One (build-to-order) — indicative price from $1499.00 USD; request a quote for a scoped proposal.

Poland KSeF E-Invoicing — A build-to-order SAP Business One add-on that turns your A/R Invoices into KSeF structured XML, submits them to Poland's national e-invoicing system and writes the returned KSeF reference back onto the marketing document

What we build

  • Generates KSeF structured XML from A/R Invoices, A/R Credit Memos and Correction Invoices read via the Service Layer
  • Writes the returned KSeF reference number and issue timestamp back to locked UDFs on the source marketing document
  • Dedicated UDO submission ledger holding one row per attempt with payload, session id, response body and status
  • Idempotent resubmission guard — a document already carrying a confirmed KSeF reference cannot be transmitted twice
  • Automatic correction-chain resolution: pulls the original document's KSeF reference from the SAP B1 base-document link
  • Pre-submission validation of Business Partner NIP, line-level tax codes, currency rounding and numbering series integrity
  • VAT breakdown assembled from SAP B1 tax codes rather than re-keyed, so the XML totals reconcile to the posted Journal Entry
  • Business Partner master data UDFs for tax identifiers and addressing, driven by formatted searches instead of free text
  • Integration with standard SAP B1 approval procedures so high-value invoices require sign-off before transmission
  • Crystal Report showing submitted, accepted, rejected and pending documents by date range with drill-through to the document
  • Parsed rejection reasons surfaced in readable form on the submission record instead of raw platform fault codes
  • Configuration held in a setup UDT — endpoints, credentials reference, in-scope numbering series and thresholds — editable without a rebuild

About this Product

The problem

Polish businesses are required to issue invoices through KSeF (Krajowy System e-Faktur) in the mandated national XML structure. SAP Business One posts a perfectly good A/R Invoice, prints a perfectly good Crystal Report, and then stops. There is no native export in the required schema, no session handling against the national platform, no place to store the KSeF reference number that becomes the legal identifier of the invoice, and no way for an accountant to see at a glance which of yesterday's 140 documents were accepted and which were rejected for a missing NIP or a malformed line-level tax code.

The workaround most sites fall into is a spreadsheet: export invoices, hand them to a bookkeeper, upload them somewhere else, then type reference numbers back into a UDF one at a time. That is fine for five invoices a day. It is a liability at fifty, and it collapses entirely when a correction invoice has to reference the KSeF number of the original.

This is a fixed-deadline problem with no partial credit. Either the document reached KSeF and you hold the reference, or you have not legally issued it.

What ECOSIRE builds

We build a per-tenant SAP Business One add-on that closes the loop between your marketing documents and KSeF, using SAP's supported extensibility surfaces only — no direct writes to base tables, no unsupported schema changes.

Document capture and mapping

The add-on reads A/R Invoices, A/R Credit Memos and A/R Correction Invoices through the Service Layer (Invoices, CreditNotes, CorrectionInvoice) and maps them into the KSeF structured XML. Mapping is explicit and reviewable: Business Partner master data (NIP, address, GLN where used), document header fields, line-level item codes, quantities, unit prices, discount handling, and the VAT breakdown assembled from the document's tax codes. Where a required field has no natural home in standard SAP B1, we create a UDF on the correct object (OINV, OCRD, ODLN as relevant) and drive it from a validated dropdown or a formatted search rather than free text.

Submission and session handling

A dedicated UDO holds the submission record: one row per attempt, carrying the source document key, the generated XML payload, the timestamp, the session identifier, the response body and the resulting status. Authentication and session lifecycle against the national platform are handled inside the add-on service, with credentials held outside the company database. Retries are idempotent — a document that already carries a confirmed KSeF number cannot be resubmitted by accident.

Status tracking and the reference number

On acceptance, the KSeF reference number and issue timestamp are written back to UDFs on the source document and locked against manual edit. On rejection, the platform's error payload is parsed into a readable reason and surfaced on the submission record, so the person fixing it sees "buyer NIP missing on BP C10023" rather than a raw fault code. A Crystal Report layout is delivered showing submitted, accepted, rejected and pending documents for any date range, with drill-through to the offending document.

Corrections and the reference chain

Correction invoices must point at the KSeF identifier of the document they correct. The add-on resolves that chain automatically from the SAP B1 base-document link, so a user issuing a correction from the original invoice does not have to know or type the reference.

Controls before the document leaves

Pre-submission validation runs against the same rules as the schema: mandatory Business Partner tax identifiers, tax code completeness on every line, currency and rounding consistency, and document numbering series integrity. Failures are shown before submission, not after rejection. Where you want a human gate, the add-on hooks into standard approval procedures so that an invoice above a threshold requires sign-off before it is transmitted.

Logging and audit

Every request and response is retained on the UDO with its payload, so an auditor asking "prove this invoice was issued and when" gets an answer from inside SAP B1 rather than from a mailbox.

Who this is for

Companies running SAP Business One with a Polish legal entity that issue A/R Invoices in Poland — manufacturers, distributors, wholesalers and services businesses. It is equally relevant to multi-country groups where the Polish subsidiary is one company database among several and the group wants Poland handled without a separate finance system running beside SAP B1.

It is not for you if your invoice volume is a handful per month and you are content to key them into the government portal by hand. The value of this add-on is in removing repeated manual handling and in making the reference number a first-class field on the document.

Technical framing

Built as a SAP Business One add-on and integration layer using the Service Layer (REST) for document read and UDF write-back, the DI API where a transaction requires it, and UDO/UDF/UDT for the submission ledger and configuration. Compatible with SAP Business One 10.0 on Microsoft SQL Server and on SAP HANA, on-premise or cloud-hosted. Configuration — endpoints, credentials reference, numbering series in scope, threshold rules — lives in a setup UDT rather than in code, so a change of environment does not need a new build.

How delivery works

Nothing here is pre-built and there is no instant download. Every deployment is built for your company database and your document flow.

1. Scoping call. We walk your actual invoice types, numbering series, tax codes, Business Partner master data quality and correction process. We identify what is missing for the schema before anything is quoted. 2. Fixed quote. You receive a written scope and a fixed price. No hourly drift. 3. Build. Typical lead time is one working week from signed scope, depending on how many document types and how much master-data remediation is in scope. 4. Install into your test company. We install into your test database first and run your own real documents through it end to end, including a rejection and a correction, so you see the failure path as well as the happy path. 5. Install into production. Once you sign off on test, we install into the production company database and run a supervised first submission window. 6. Support. A support window follows go-live for defect fixes and for adjustments arising from real use.

You own the deployment. Source is delivered with it, documented, and installable by your own team or your SAP B1 partner.

How delivery works

  1. 1

    Scoping call

    A short call to confirm the workflow, your platform version and where the integration boundaries sit.

  2. 2

    Fixed quote

    You receive a written scope and a fixed price. Nothing is built until you approve it.

  3. 3

    Build and test

    We develop against a copy of your configuration and test it there. Typically two to four weeks.

  4. 4

    Install and support

    We install on your instance, hand over the source, and include two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

What you get

  • The compiled SAP Business One add-on package plus full source code, licensed to your company
  • Installation into your test company database with your own documents run end to end
  • Installation into your production company database with a supervised first submission window
  • All UDF, UDT and UDO definitions applied to the target databases, with a documented object inventory
  • Crystal Report layout for KSeF submission status, deployed into your report tree
  • Technical and user documentation: mapping specification, configuration guide, rejection-handling runbook
  • Live training session for finance and IT staff plus a post-go-live support window for defect fixes

Who this is for

Chief Accountant

Owns the legal correctness of every issued invoice and is accountable if a document was never lodged with KSeF. Gets a single status view inside SAP B1 showing exactly which documents were accepted, which were rejected and why, without leaving the ERP or reconciling against a separate portal.

Finance Systems Manager

Has to make compliance work without bolting a second finance system onto SAP Business One or paying for manual re-keying. Gets a supported add-on built on the Service Layer and UDO extensibility, with source code and a documented mapping they can maintain.

Accounts Receivable Clerk

Issues invoices and corrections daily and currently copies reference numbers between systems by hand. Issues the document as normal in SAP B1, sees validation errors before submission rather than after rejection, and never types a KSeF reference again.

How Poland KSeF E-Invoicing Compares

CriterionECOSIRECustom BuildCompetitorSAP Business One Native
Generates the mandated KSeF structured XML from SAP B1 documentsIncludedPartial supportIncludedNot included
KSeF reference number written back onto the source A/R InvoiceIncludedPartial supportPartial supportNot included
Full submission ledger with request and response payload retained in SAP B1IncludedNot includedPartial supportNot included
Correction-invoice reference chain resolved automaticallyIncludedNot includedPartial supportNot included
Pre-submission validation before the document leaves SAP B1IncludedPartial supportPartial supportNot included
Source code delivered and owned by the customerIncludedIncludedNot includedNot included
Built on Service Layer and UDO extensibility with no base-table writesIncludedPartial supportPartial supportIncluded
Fixed-price scope agreed before build startsIncludedNot includedPartial supportNot included

Frequently asked questions

Is this ready to download and install today?
No. Every deployment is built to order for your company database, your document types and your tax code setup. After a scoping call you receive a fixed quote, and typical lead time is one working week from signed scope to installation in your test company. There is no trial download and no shelf product.
Which SAP Business One versions and databases are supported?
SAP Business One 10.0 on Microsoft SQL Server and on SAP HANA, on-premise or cloud-hosted. We confirm your exact patch level during scoping. If you are on an earlier major release we will tell you before quoting rather than after building.
What happens to invoices that KSeF rejects?
The rejection payload is parsed and stored on the submission UDO with a readable reason, and the source document is left in a resubmittable state. Nothing is silently swallowed. The Crystal Report lists every rejected document for the period so a clerk can work the queue rather than discovering the gap at month end.
Can it handle correction invoices that must reference the original?
Yes. When a correction is created from the original A/R Invoice, SAP B1 already records the base-document link. The add-on follows that link, reads the original's stored KSeF reference from its UDF, and populates the correction's reference chain automatically. If the original was never accepted, submission is blocked with an explicit message.
Where are the platform credentials stored?
Outside the company database, in configuration held on the application host, with only a reference to them stored in the setup UDT. Credentials are never written into a UDF, never included in the delivered source, and never logged in the submission payload records.
Do you handle master data cleanup as part of the build?
We identify it during scoping — missing Business Partner tax identifiers, incomplete addresses, invoice lines with no tax code — and quote remediation separately if you want us to do it. The add-on itself will refuse to submit a document that fails validation, so the data has to be fixed one way or another before go-live.

Request a Quotation

Tell us about your Poland KSeF E-Invoicing requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.

Pairs well with

Payment Gateway Hub
Built to order

Payment Gateway Hub

A build-to-order SAP Business One add-on that captures card and wallet payments against A/R Invoices, posts Incoming Payments and fees, and reconciles settlement files. Built for your gateways and your chart of accounts.

From $999.00Starting point — quoted to your scope
View specification
Payment Links and Automated Collection Reminders
Built to order

Payment Links and Automated Collection Reminders

A build-to-order SAP Business One add-on that emails a secure per-invoice payment link, escalates reminders on an aging-based schedule, and posts settlements back as Incoming Payments. Scoped and quoted before we build.

From $999.00Starting point — quoted to your scope
View specification
QuickBooks Migration Toolkit
Built to order

QuickBooks Migration Toolkit

A build-to-order SAP Business One toolkit that maps, validates and imports QuickBooks chart of accounts, master data, open items and history — with reconciliation proof at every step, before go-live.

From $999.00Starting point — quoted to your scope
View specification
Quotation Configurator and Guided Selling
Built to order

Quotation Configurator and Guided Selling

A build-to-order SAP Business One add-on that adds rule-based product configuration, guided selling, live costing and margin approval to B1 quotations. Built for your product rules after a fixed quote.

From $999.00Starting point — quoted to your scope
View specification