Overview
DaneIdentyfikacyjne is the identification block inside Podmiot2, the buyer of a FA(3) invoice. Unlike the seller, the buyer can be identified in several ways, and the XSD requires exactly one of them. The block also carries the buyer's name (Nazwa).
The four identification options
The buyer block accepts one of four branches:
- NIP — a Polish tax identification number.
- KodUE plus NrVatUE — an EU VAT identifier for a foreign EU customer: the two-letter country code plus the VAT number.
- KodKraju plus NrID — a non-Polish, non-EU tax identifier together with the country code that issued it.
- BrakID — value 1 (schemat.xsd:1599), used when the buyer has no tax identifier, for example a private individual in a B2C transaction.
Because the XSD models these as a choice, sending two branches at once fails validation. Nazwa (the buyer's name) is part of the same block.
Which one to pick
For a Polish business customer, send NIP. For a customer in another EU country, send KodUE and NrVatUE. For a customer outside the EU with a local tax identifier, send KodKraju and NrID. For a private individual with no tax identifier, send BrakID.
NrID is a free-text identifier and must be accompanied by the two-letter KodKraju of the country that issued it. If you are not sure whether a buyer has a tax identifier, ask for it before issuing, and check the number before it goes on the invoice. Which identifier a given transaction requires is a VAT question; confirm it with your accountant when in doubt.
What Notaly supports
Notaly accepts only a Polish buyer NIP today. The buyer object in POST /invoices has a single nip field, which must be a valid 10-digit NIP (a wrong checksum returns 422), and the generator always writes it to the NIP branch. EU VAT numbers (KodUE + NrVatUE), NrID and BrakID are not supported, so invoices to foreign buyers or to private individuals cannot be issued through Notaly yet.
A snippet of the buyer's DaneIdentyfikacyjne block, with a Polish buyer identified by NIP:
<DaneIdentyfikacyjne><NIP>1234563218</NIP><Nazwa>Test Customer S.A. (FICTIONAL)</Nazwa></DaneIdentyfikacyjne>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.
Notaly is not a tax, accounting or legal advisor. This article is general information, not tax advice, and may be outdated. You are responsible for your own VAT compliance; confirm with a qualified accountant where required.
Sources
Source: crd.gov.pl