FA(3) field reference

NrKlienta in FA(3): the buyer's customer number

What NrKlienta is in a KSeF FA(3) invoice: its path under Podmiot2, the 1–256 character limit, how it differs from the NIP, and a valid snippet.

Updated

Overview

NrKlienta is an optional customer number for the buyer. It lives at /Faktura/Podmiot2/NrKlienta and can appear at most once. Use it to put the reference that the buyer already uses for you into the structured invoice data, for example the account ID from your CRM or the customer code printed on their purchase orders.

Type and format

The field uses TZnakowy, the schema's generic text type: any value from 1 to 256 characters. There is no fixed prefix, no check digit and no pattern, so "KL-2026-0042", "000731" and "ACME/EU/17" are all accepted. An empty element is rejected, so leave the tag out when you have no value. Do not send it empty.

Why it is useful

Large buyers match incoming KSeF invoices to orders and vendor records automatically. A free-text reference somewhere in the line description is hard to parse. A dedicated structured element is not. If a buyer asks you to quote their customer number on every invoice, NrKlienta is the field that makes the match reliable on their side. For the issuer, it changes nothing about amounts, rates or totals.

What it is not

NrKlienta is not a tax identifier. The buyer's NIP goes in the separate DaneIdentyfikacyjne block of Podmiot2. Filling NrKlienta while leaving the NIP empty does not identify the buyer for KSeF. Podmiot3, which lists other parties on the invoice, has its own NrKlienta. This page only covers the one under Podmiot2.

Notaly today

The current Notaly API does not accept a customer number, and the generated FA(3) does not include NrKlienta. That is valid, because the element is optional. If your buyers require it for invoice matching, open a support ticket. Requests from integrations decide what we add to the payload next.

The element as it appears inside Podmiot2:

<NrKlienta>KL-2026-0042</NrKlienta>

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 NrKlienta required?

No. It is optional and may appear at most once inside Podmiot2.

Can NrKlienta replace the buyer's NIP?

No. It is a business reference. The NIP goes in Podmiot2/DaneIdentyfikacyjne/NIP.

How long can NrKlienta be?

Between 1 and 256 characters. It uses the schema's TZnakowy text type.

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.