KSeF FA(3) — prepayment invoice (faktura zaliczkowa, ZAL)
Una factura de anticipo (RodzajFaktury = ZAL): factura un depósito sobre un pedido aún no entregado. Por eso no lleva NINGUNA línea FaWiersz: los bienes están en el bloque Zamowienie (pedido), con sus propias etiquetas P_7Z / P_11NettoZ / P_11VatZ, mientras que P_15 solo muestra el anticipo de 12.300,00 PLN sobre un pedido de 61.500,00 PLN.
FA(3) 1-0E — Válido
Una factura de anticipo (RodzajFaktury = ZAL): factura un depósito sobre un pedido aún no entregado. Por eso no lleva NINGUNA línea FaWiersz: los bienes están en el bloque Zamowienie (pedido), con sus propias etiquetas P_7Z / P_11NettoZ / P_11VatZ, mientras que P_15 solo muestra el anticipo de 12.300,00 PLN sobre un pedido de 61.500,00 PLN.
Lo que muestra este fichero
Una factura de anticipo (RodzajFaktury = ZAL): factura un depósito sobre un pedido aún no entregado. Por eso no lleva NINGUNA línea FaWiersz: los bienes están en el bloque Zamowienie (pedido), con sus propias etiquetas P_7Z / P_11NettoZ / P_11VatZ, mientras que P_15 solo muestra el anticipo de 12.300,00 PLN sobre un pedido de 61.500,00 PLN.
| Transacciones | 0 |
|---|---|
| Total | 12.300,00 PLN |
| Fecha en el fichero | 2026-07-06 |
Todas las partes, IBAN e importes siguientes son ficticios. Los IBAN son estructuralmente válidos —superan el mod-97— pero no corresponden a ninguna cuenta real.
Contenido del fichero
<?xml version="1.0" encoding="UTF-8"?>
<!--
KSeF FA(3) — PREPAYMENT INVOICE (faktura zaliczkowa, RodzajFaktury = ZAL).
A prepayment invoice does NOT bill goods that have been delivered: it bills a deposit
paid against an order that is still to come. FA(3) therefore builds it differently
from a plain VAT invoice, and the difference is the point of this sample:
· there are NO <FaWiersz> invoice lines at all. The goods live in the <Zamowienie>
(order) block instead, as <ZamowienieWiersz> lines with their own tags — P_7Z,
P_8AZ, P_11NettoZ, P_11VatZ, P_12Z;
· <WartoscZamowienia> is the value of the WHOLE order (61 500,00 PLN gross), while
P_13_1 / P_14_1 / P_15 carry only the deposit actually invoiced: 10 000,00 net,
2 300,00 VAT, 12 300,00 gross;
· the deposit is already paid, so <Platnosc> carries Zaplacono = 1 with its date.
The settlement invoice (ROZ) issued later will net this prepayment off.
-->
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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-07-12T08:40:00Z</DataWytworzeniaFa>
<SystemInfo>ValidateFin</SystemInfo>
</Naglowek>
<Podmiot1>
<DaneIdentyfikacyjne>
<NIP>9999999999</NIP>
<Nazwa>Developex Nieruchomości sp. z o.o.</Nazwa>
</DaneIdentyfikacyjne>
<Adres>
<KodKraju>PL</KodKraju>
<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
<AdresL2>30-002 Kraków</AdresL2>
</Adres>
<DaneKontaktowe>
<Email>[email protected]</Email>
<Telefon>126667788</Telefon>
</DaneKontaktowe>
</Podmiot1>
<Podmiot2>
<DaneIdentyfikacyjne>
<NIP>1111111111</NIP>
<Nazwa>F.H.U. Jan Kowalski</Nazwa>
</DaneIdentyfikacyjne>
<Adres>
<KodKraju>PL</KodKraju>
<AdresL1>ul. Polna 7</AdresL1>
<AdresL2>00-001 Warszawa</AdresL2>
</Adres>
<JST>2</JST>
<GV>2</GV>
</Podmiot2>
<Fa>
<KodWaluty>PLN</KodWaluty>
<P_1>2026-07-06</P_1>
<P_1M>Kraków</P_1M>
<P_2>FZ/2026/07/018</P_2>
<P_6>2026-07-06</P_6>
<P_13_1>10000.00</P_13_1>
<P_14_1>2300.00</P_14_1>
<P_15>12300.00</P_15>
<Adnotacje>
<P_16>2</P_16>
<P_17>2</P_17>
<P_18>2</P_18>
<P_18A>2</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>ZAL</RodzajFaktury>
<DodatkowyOpis>
<Klucz>wysokość wpłaconej zaliczki</Klucz>
<Wartosc>12 300,00 zł</Wartosc>
</DodatkowyOpis>
<Platnosc>
<Zaplacono>1</Zaplacono>
<DataZaplaty>2026-07-06</DataZaplaty>
<FormaPlatnosci>6</FormaPlatnosci>
</Platnosc>
<Zamowienie>
<WartoscZamowienia>61500.00</WartoscZamowienia>
<ZamowienieWiersz>
<NrWierszaZam>1</NrWierszaZam>
<UU_IDZ>aaaa111144445550</UU_IDZ>
<P_7Z>prace wykończeniowe lokalu 45 m2</P_7Z>
<P_8AZ>szt.</P_8AZ>
<P_8BZ>1</P_8BZ>
<P_9AZ>50000.00</P_9AZ>
<P_11NettoZ>50000.00</P_11NettoZ>
<P_11VatZ>11500.00</P_11VatZ>
<P_12Z>23</P_12Z>
</ZamowienieWiersz>
</Zamowienie>
</Fa>
<Stopka>
<Informacje>
<StopkaFaktury>Kapitał zakładowy 1 000 000 zł</StopkaFaktury>
</Informacje>
<Rejestry>
<KRS>0000088888</KRS>
<REGON>888888888</REGON>
</Rejestry>
</Stopka>
</Faktura>
Cómo sabemos que estos resultados se sostienen
Cada fichero de esta biblioteca pasa por el propio validador del sitio en cada build. El resultado esperado indicado arriba lo verifica un test automatizado: si un fichero dejara de coincidir con lo que afirma esta página, el build fallaría. Dos fixtures heredadas se repararon así antes de publicarse: tres IBAN no superaban el mod-97 y varios nombres usaban caracteres fuera del juego SEPA básico.
Factura KSeF (Polonia, FA(3))
- KSeF FA(3) — valid invoice (official MF example)
- KSeF — invoice still using the retired FA(2) schema
- KSeF FA(3) — bad NIP check digit and mismatched total (warnings only)
- KSeF FA(3) — correcting invoice (faktura korygująca, KOR)
- KSeF FA(3) — mandatory element missing (rejected by the official XSD)
- KSeF FA(3) — buyer NIP failing its mod-11 check digit (warning only)