ROWFA

An FA(3) invoice XML, line by line

FA(3) is the XML structure of invoices in KSeF, Poland's national e-invoicing system. This is one invented invoice, element by element, next to the workbook column the converter writes it to.

Download the sample ZIP

Three invented FA(3) invoices and a _metadata.json, in the layout of a KSeF export package.

The values

ElementValue in the exampleMeaningWorkbook column
Naglowek/KodFormularzaFAForm code. The attributes say which structure the file follows: kodSystemowy "FA (3)", wersjaSchemy "1-0E"-
Podmiot1/DaneIdentyfikacyjne/NIP5251000201Seller's NIP (Polish tax identification number)Seller NIP
Podmiot1/DaneIdentyfikacyjne/NazwaPrzykład Logistyka sp. z o.o.Seller's nameSeller name
Podmiot2/NrKlientaK-00917Customer number the seller uses for the buyerBuyer customer number
Fa/KodWalutyPLNCurrency code (ISO 4217)Currency
Fa/P_12026-03-04Issue dateIssue date
Fa/P_1MWarszawaPlace of issuePlace of issue
Fa/P_2FV/2026/03/0142Invoice number given by the sellerInvoice number
Fa/P_62026-03-02Date of supply or completion of the serviceSale date
Fa/P_13_118450.00Net amount at the standard rate (23% or 22%)VAT summary sheet
Fa/P_14_14243.50Tax on that amountVAT summary sheet
Fa/P_13_21200.40Net amount at the first reduced rate (8% or 7%)VAT summary sheet
Fa/P_14_296.03Tax on that amountVAT summary sheet
Fa/P_1523989.93Total amount due (gross)Gross total
Fa/Adnotacje/P_18A1Split payment mechanism: 1 = applies, 2 = does notSplit payment
Fa/RodzajFakturyVATInvoice type. VAT = standard invoiceInvoice type code
Fa/FaWiersz/NrWierszaFa1Line number (first line shown)-
Fa/FaWiersz/P_7Transport krajowy, trasa Warszawa–Gdańsk, zestaw 24 tName of the goods or serviceDescription (Lines sheet)
Fa/FaWiersz/P_8AkursUnit of measureUnit (Lines sheet)
Fa/FaWiersz/P_8B3QuantityQuantity (Lines sheet)
Fa/FaWiersz/P_9A4150.00Unit price netUnit price net (Lines sheet)
Fa/FaWiersz/P_1112450.00Net value of the lineNet value (Lines sheet)
Fa/FaWiersz/P_1223Tax rate codeVAT rate code (Lines sheet)
Fa/FaWiersz/GTUGTU_13Goods and services group markerGTU (Lines sheet)
Fa/Platnosc/TerminPlatnosci/Termin2026-03-18Payment due date-
Fa/Platnosc/FormaPlatnosci6Payment method code. 6 = bank transfer-
Fa/Platnosc/RachunekBankowy/NrRB00999999990000000000012345Bank account numberBank account

The file

The first part of the same file, with names and addresses left out for brevity.

<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns="http://crd.gov.pl/wzor/2025/06/25/13775/">
  <Naglowek>
    <KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
    <WariantFormularza>3</WariantFormularza>
    <DataWytworzeniaFa>2026-03-04T09:15:22Z</DataWytworzeniaFa>
  </Naglowek>
  <Podmiot1>
  </Podmiot1>
  <Podmiot2>
    <NrKlienta>K-00917</NrKlienta>
    <JST>2</JST><GV>2</GV>
  </Podmiot2>
  <Fa>
    <KodWaluty>PLN</KodWaluty>
    <P_1>2026-03-04</P_1>
    <P_1M>Warszawa</P_1M>
    <P_2>FV/2026/03/0142</P_2>
    <P_6>2026-03-02</P_6>
    <P_13_1>18450.00</P_13_1>
    <P_14_1>4243.50</P_14_1>
    <P_13_2>1200.40</P_13_2>
    <P_14_2>96.03</P_14_2>
    <P_15>23989.93</P_15>
    <Adnotacje>
      <P_16>2</P_16><P_17>2</P_17><P_18>2</P_18><P_18A>1</P_18A>
      <Zwolnienie><P_19N>1</P_19N></Zwolnienie>
      <NoweSrodkiTransportu><P_22N>1</P_22N></NoweSrodkiTransportu>
      <P_23>2</P_23>
      <PMarzy><P_PMarzyN>1</P_PMarzyN></PMarzy>
    </Adnotacje>
    <RodzajFaktury>VAT</RodzajFaktury>
    <FaWiersz>
      <NrWierszaFa>1</NrWierszaFa>

What to notice

Have a ZIP of KSeF XML invoices?
Turn it into an Excel workbook and PDFs. Free up to 5 files, nothing uploaded.

Open the converter

Questions

Is the example a real invoice?

No. The companies, numbers and amounts are invented for this site. The structure follows the FA(3) schema.

Where is the KSeF number in the file?

Nowhere. KSeF assigns the number after it accepts the file, so an FA(3) file never holds its own number. In the example the number is in the file name and in _metadata.json. See the KSeF number format.

Can I open the example in Excel?

Yes. Use "Try it with three sample invoices" on the converter, or download the workbook made from it.

Source: schemat_FA(3)_v1-0E.xsd (Ministry of Finance, KSeF documentation repository). Read 2026-11-10.

Related