WuseBox ← Back to tools

Office / Finance · 100% locally

KSeF XML Invoice Viewer and Generator

Open KSeF XML files, and validate and create FA(3)-compliant invoices. Processing runs locally in your browser - financial data is never sent to a server.

Business tool

Test tools

Load an XML invoice

The file is read only in this browser tab.

Paste raw invoice XML

How to safely open, validate, and create a KSeF XML invoice in your browser

Poland's mandatory National e-Invoicing System (KSeF - official Ministry of Finance portal ↗) uses structured XML files. This tool generates and validates documents in the current FA(3) schema; older XML files can still be opened and visualized. Raw XML consists of technical tags (such as <Podmiot1>, <FaWiersz>, <P_13_1> or <P_15>), which are difficult to read for business owners, office staff, and accountants.

The KSeF Viewer, Validator, and Generator on WuseBox is a comprehensive tool that runs 100% locally in your browser. It turns raw XML into a readable VAT invoice for PDF printing, creates a payment QR code, exports invoices to an Excel-ready CSV, and generates KSeF XML files.

Why is 100% client-side privacy important when handling KSeF invoices?

Purchase and sales invoices contain highly sensitive business information, including unit prices, negotiated discounts, customer details, bank account numbers, and cost structures:

  • No files sent to external servers: Most free KSeF viewers send uploaded XML files to external servers or require an account and email address. WuseBox parses the XML tree in your device's memory using the browser's built-in engine DOMParser.
  • Privacy for GDPR and corporate procedures: Because no invoice data leaves your computer, accounting offices, tax advisors, corporate finance departments, and public institutions can use the tool.
  • No login or certificates required: The tool does not require a trusted profile, qualified signature, or KSeF token - use it immediately with files .xml received from contractors, exported from ERP systems, or generated for IT testing.

KSeF FA(3) structure: what does the tool validate and display?

Every e-invoice in the National e-Invoicing System must strictly comply with the mathematical and semantic rules of the official schema published in the Central Repository of Document Templates (CRWD):

  • NIP and IBAN/NRB checksum validation: The tool checks the mathematical validity of the seller's NIP number (Podmiot1) and the buyer's NIP (Podmiot2) and validates the Modulo 97 checksum of the bank account number provided for payment (using algorithms from the Test Data - PESEL, NIP, IBAN).
  • VAT and total due audit: The tool compares the total net value from invoice lines (FaWiersz/P_11) with the tax rate summary fields (P_13_1 through P_13_7 and P_14_1 through P_14_5) and checks that they match the gross amount due (P_15) and generates the amount in words according to the rules of the net/gross VAT calculator.
  • Required tax annotations: The viewer clearly highlights key legal flags in the node <Adnotacje>, including Split payment mechanism (Split Payment - field P_18A), cash accounting (P_16), self-billing (P_17), reverse charge (P_18) and the legal basis for VAT exemption (P_19).
  • Automatic payment QR code (ZBP standard): The tool creates a QR code using recipient details, bank account number, gross amount, and invoice number read from the XML. Scan it with your bank's mobile app to fill in the transfer form without manually entering the 26-digit account number.

Bulk extraction (XML to CSV / Excel) and an XML generator for developers

Working with a single document is only part of the everyday work in accounting and IT:

  • Bulk processing (multi-XML extractor): Drop dozens or hundreds of invoice XML files at once to create a summary table with net, VAT, and gross totals. Download the table as an Excel-ready CSV with UTF-8 BOM or copy it directly to a spreadsheet.
  • KSeF invoice generator and QA test data generator: The built-in generator creates XML files only in the FA(3) schema. Developers and QA testers can fill the form with synthetic company data in one click, including valid NIP and IBAN checksums and random invoice lines, to speed up ERP and accounting parser tests.

Frequently asked questions (FAQ)

Is it safe to load confidential KSeF XML invoices on this page?

Yes. The tool uses a client-side, zero-data-retention architecture. XML files selected from your device are read locally by your browser and are never sent to WuseBox or any third party.

What is the difference between the KSeF FA(2) and FA(3) schemas?

FA(2) is an earlier logical structure, while FA(3) is a newer schema adapted to current requirements (the Ministry of Finance publishes the full technical documentation on ksef.podatki.gov.pl ↗). The viewer can open older FA(2) files, while validation and generation focus on the current FA(3) schema.

How do I pay a KSeF invoice with the generated QR code?

After loading XML, the tool creates a QR code in the Polish Bank Association (ZBP) standard. Open your bank's mobile app, select its QR transfer option, and point the camera at the screen. The account number, amount, seller name, and invoice number will be filled in automatically.

How do I open a CSV exported from bulk mode in Microsoft Excel?

The CSV uses a UTF-8 BOM and formatting for Polish regional settings. When opened in Excel, Polish characters and column separators are preserved.

Does this tool send invoices directly to the government KSeF system?

No. WuseBox is a private, local XML viewer, validator, and generator. It does not connect to Ministry of Finance gateways or require authentication tokens. You can save the generated XML file and import it into your accounting software or the official KSeF Taxpayer Application ↗.

Sources and legal basis

Author: · Legal status as of:

Use the tool ↑