ksefujto

Issuing and receiving invoices

Invoicing a foreign buyer in KSeF

9 min readWritten by AI

An invoice to a foreign buyer goes through KSeF (Poland's National e-Invoicing System) just like a domestic one, even if the buyer has no Polish NIP and will never log in. In the buyer's data you never put a foreign number in the NIP field: for EU companies use KodUE + NrVatUE, for everyone else KodKraju + NrID, and when there is no number, BrakID.

The buyer won't receive the invoice from KSeF, so send them a readable copy (a PDF with the QR code) by email or post. According to MF, that copy must be consistent with the XML file in KSeF; what happens when they differ is covered in PDF doesn't match the XML in KSeF. Below: the fields for each buyer type, VAT rates and annotations. Since 1 April 2026 every taxpayer issues invoices in KSeF, VAT-registered and VAT-exempt alike (the largest companies since 1 February). Until the end of 2026 you may still issue an invoice outside KSeF if your invoiced sales in that month stay at or below 10,000 PLN gross.

EU buyer with a VAT-EU number

In the Podmiot2 block (the buyer) use the pair KodUE + NrVatUE, not NIP. A foreign number in the NIP field gets the invoice rejected.

  • KodUE: two-letter EU country prefix (DE, NL, FR)
  • NrVatUE: the VAT number without the country prefix (123456789, not DE123456789)
  • Nazwa: the buyer's full company name

In the address give KodKraju (the same code as in KodUE; required), AdresL1 (street and number) and AdresL2 (postcode and city).

Check the number in the European Commission's VIES system before issuing the invoice. An inactive number causes problems with settling WDT (intra-EU supply of goods) or intra-EU services.

Example, an invoice to a German company:

<Podmiot2>
  <DaneIdentyfikacyjne>
    <KodUE>DE</KodUE>
    <NrVatUE>123456789</NrVatUE>
    <Nazwa>Berlin Design GmbH</Nazwa>
  </DaneIdentyfikacyjne>
  <Adres>
    <KodKraju>DE</KodKraju>
    <AdresL1>Musterstraße 1</AdresL1>
    <AdresL2>10115 Berlin</AdresL2>
  </Adres>
  <JST>2</JST>
  <GV>2</GV>
</Podmiot2>

JST and GV are mandatory in every Podmiot2 block. For foreign buyers enter 2 ("not applicable"), otherwise the invoice fails validation.

VIES — VAT number verification

EU buyer without a VAT number

A private individual, a freelancer on a flat-rate scheme or a company not registered for VAT has no number to enter. Instead of KodUE + NrVatUE use BrakID = 1 (the buyer has no identification number). Nazwa stays mandatory. An invoice for a private person (a consumer) doesn't have to go through KSeF (art. 106ga(2)(4) of the VAT Act); you may issue it there voluntarily, see our post on invoices for private persons.

<Podmiot2>
  <DaneIdentyfikacyjne>
    <BrakID>1</BrakID>
    <Nazwa>Anna Müller</Nazwa>
  </DaneIdentyfikacyjne>
  <Adres>
    <KodKraju>DE</KodKraju>
    <AdresL1>Hauptstraße 5</AdresL1>
    <AdresL2>80331 München</AdresL2>
  </Adres>
  <JST>2</JST>
  <GV>2</GV>
</Podmiot2>

Without a VAT-EU number you can't apply the 0 WDT rate to goods or np II to intra-EU services. Taxation rules may differ in that case, so discuss it with your accountant.

Non-EU buyer

A client from the USA, Switzerland, Canada or the UK (not in the EU since Brexit) has no KodUE or NrVatUE. You have two options.

The buyer has a foreign tax identifier. Use KodKraju + NrID in the DaneIdentyfikacyjne block. They are two separate sibling elements, not nested.

  • KodKraju: ISO country code (US, GB, CH, NO)
  • NrID: the foreign identification number (EIN in the US, UTR in the UK, UID in Switzerland)

KodKraju appears twice: in DaneIdentyfikacyjne (tax identification) and in Adres (registered address). Both are required.

<Podmiot2>
  <DaneIdentyfikacyjne>
    <KodKraju>US</KodKraju>
    <NrID>12-3456789</NrID>
    <Nazwa>US Design Inc.</Nazwa>
  </DaneIdentyfikacyjne>
  <Adres>
    <KodKraju>US</KodKraju>
    <AdresL1>123 Main Street</AdresL1>
    <AdresL2>New York, NY 10001</AdresL2>
  </Adres>
  <JST>2</JST>
  <GV>2</GV>
</Podmiot2>

The buyer has no identifier. As with an EU buyer without a number, use BrakID = 1:

<DaneIdentyfikacyjne>
  <BrakID>1</BrakID>
  <Nazwa>John Smith Freelance</Nazwa>
</DaneIdentyfikacyjne>

VAT rates on foreign invoices

The rate depends on what you sell (goods or services) and to whom (EU or non-EU buyer).

Transaction typeRate (P_12)Net amount fieldWhen to use
WDT — goods to the EU0 WDTP_13_6_2Goods sold to a buyer with a VAT-EU number
Export of goods0 EXP_13_6_3Goods sold to a non-EU buyer
Services to EU businessesnp IIP_13_9Services under Art. 100(1)(4) of the VAT Act (Art. 28b, B2B to an EU taxpayer)
Services to non-EU businessesnp IP_13_8Supply of goods or services outside Poland, other than np II services and OSS
FA(3) information brochure, p. 92: np I and np II rates

In practice: a website built for a German client with a VAT-EU number is a service, rate np II. The same website for a US client is np I. Goods shipped to a Dutch company with a VAT-EU number are a WDT (0 WDT), and goods shipped to a UK client are an export (0 EX).

The oo rate covers domestic reverse charge only. For sales abroad use np I, np II, 0 WDT or 0 EX. KSeF won't catch this mistake: a file with oo passes validation, but the rate is wrong.

Rate values in FA(3) are case- and space-sensitive. Correct: np I, np II, 0 WDT, 0 EX. Incorrect: NP I, npI, 0WDT.

VAT Act — Art. 28b, place of supply of services

Annotations: P_18 and P_18A

All eight fields of the Adnotacje block are mandatory, even when the value is "not applicable". Two of them are easy to mix up and both matter for foreign invoices:

FieldValueMeaning
P_181Reverse charge: the buyer accounts for VAT or a similar tax under the place-of-taxation rules. That is always the case at np II; the np I rate alone does not decide this
P_182All other cases, e.g. a supply or service at np I where you account for the foreign tax yourself. For WDT (0 WDT) and export (0 EX), MF sample invoices 22 and 23 have P_18 = 2
P_18A1Split payment (MPP): total amount due over PLN 15,000 (or the equivalent in a foreign currency), goods or services from Annex 15 to the VAT Act, sold to a taxpayer
P_18A2No MPP: at least one of the three conditions in the row above is not met

P_18 marks reverse charge and P_18A marks split payment. They are two independent fields, each with its own condition. What decides P_18 is who accounts for the tax. The np II rate covers services under Art. 100(1)(4) of the VAT Act, those where the service recipient is liable for VAT, so you enter 1 (Art. 106e(1)(18)). At np I, check this separately. If you don't know who accounts for the tax abroad, ask your accountant or tax adviser. The FA(3) schema does not exclude WDT, exports or foreign buyers from MPP. You enter P_18A = 2 when any condition is missing, for example when nothing on the invoice is from Annex 15, or when the total amount due, converted to PLN the same way as the taxable amount, does not exceed PLN 15,000. The MF materials we found don't settle whether a foreign buyer meets the "sold to a taxpayer" condition, so it is unclear whether you enter 1 for Annex 15 goods sold above the threshold as WDT or export, or for Annex 15 services supplied to a foreign company. We describe the full Adnotacje structure in the article on the most common FA(3) validation errors.

VAT Act, Art. 100(1)(4) and Art. 106e(1)(18) FA(3) schema, annotations on the P_18 and P_18A fields Podręcznik KSeF 2.0, part II, section 2.11: sample invoices 22 (WDT) and 23 (export) MF FA(3) information brochure, description of the Adnotacje fields

Invoices in a foreign currency

You can issue the invoice in any currency (EUR, USD, GBP, CHF); KodWaluty takes ISO 4217 codes, and you give net and gross amounts in that currency. One exception: the VAT amount must be in PLN, converted at the NBP average rate from the last business day before the tax point. At np I, np II, 0 WDT and 0 EX the VAT is zero, so no conversion is needed.

If you're unsure about the buyer fields in your XML file, check them in the ksefuj.to validator before sending to KSeF. The file never leaves your browser.

FAQ MF — KSeF 2.0 MF Tax Explanations — 28.01.2026

Was this article helpful?

Don’t miss KSeF changes

We’ll send a short email when KSeF rules or deadlines change. We only write then, so you won’t hear from us often.

You can unsubscribe at any time. Powered by Buttondown

  • Invoices7 min read

    VAT RR invoices in KSeF need the farmer's consent

    The buyer issues the VAT RR invoice. Since 1 April 2026 it does so in KSeF if the farmer names it there in a statement. Otherwise, outside KSeF.

  • Invoices7 min read

    KSeF keeps your invoices for 10 years

    KSeF stores invoices for 10 years from the end of the year of issue, so you don't keep them yourself. Invoices outside KSeF you store as before.

  • Invoices7 min read

    Your KSeF invoice can be in English

    Your client can get an English or bilingual invoice. The invoice itself is the FA(3) XML in KSeF: Polish field names, and the translation must match it.

More on this topic: Issuing and receiving invoices