FA(3) field reference

Podmiot2 in FA(3): the buyer block

How to fill Podmiot2 (the buyer) in a KSeF FA(3) invoice: NIP, name, address and the JST/GV flags, with a valid XML example.

Updated

Overview

Podmiot2 is the buyer block of the FA(3) invoice (in Polish, "podmiot nabywcy"). It identifies the customer that receives the invoice.

Podmiot2 mirrors the structure of Podmiot1. It contains a DaneIdentyfikacyjne block with the buyer's NIP and name, and an Adres block with KodKraju (the two-letter country code) plus the address lines. Unlike Podmiot1, Podmiot2 also carries two flags, JST and GV, after the address. JST says whether the invoice concerns a subordinate unit of a local government unit (jednostka samorządu terytorialnego); GV says whether it concerns a member of a VAT group. Both are present on every FA(3) invoice, each with the value 1 (yes) or 2 (no). The value 1 also requires a Podmiot3 section with the right role; see the JST and GV page for details.

In Notaly the buyer NIP is checked the same way as the seller NIP: it must be ten digits with a correct check digit, or the API answers 422 before anything is sent. In the sandbox you can use any NIP with a valid checksum — it does not need to belong to a real registered company — which makes testing easy. On a connected KSeF account the buyer NIP is sent exactly as you provide it, so it should be the real NIP of your customer.

Three practical rules. First, always send the buyer NIP for B2B invoices between Polish VAT taxpayers. Second, use your customer's full legal name as it appears in their registration, so the buyer and their accountant can match the document. Third, if your buyer is a subordinate local government unit or a VAT group member, check the case with your accountant first: Notaly always writes JST=2 and GV=2 and does not generate Podmiot3 today.

Because Notaly validates the NIP checksum and the required fields on the way in, most mistakes in this block are caught without spending one of your three free sandbox invoices.

A snippet of the Podmiot2 block as it appears in the FA(3) XML:

<Podmiot2>
  <DaneIdentyfikacyjne><NIP>1234563218</NIP><Nazwa>Test Customer S.A. (FICTIONAL)</Nazwa></DaneIdentyfikacyjne>
  <Adres><KodKraju>PL</KodKraju><AdresL1>ul. Probna 2, 30-001 Kraków</AdresL1></Adres>
  <JST>2</JST>
  <GV>2</GV>
</Podmiot2>

This snippet shows only the field(s) on this page. Mandatory FA(3) sections (Nagłówek, Podmiot1, Podmiot2, the remaining Fa fields, Adnotacje, RodzajFaktury and at least one FaWiersz) are omitted for brevity. It is not a complete or valid invoice on its own.

Sources

Source: crd.gov.pl

Frequently asked questions

Is Podmiot2 mandatory in FA(3)?

Yes. Podmiot2 identifies the buyer and is required in every FA(3) invoice sent to KSeF.

What are the JST and GV flags in Podmiot2?

JST says whether the invoice concerns a subordinate unit of a local government unit, GV whether it concerns a member of a VAT group. Both are present on every FA(3) invoice with the value 1 or 2; Notaly always sends 2.

Issue your first KSeF test invoice today

Create a sandbox account: API key in seconds, 3 free test invoices on KSeF TEST, no credit card.