FA(3) field reference

KodWaluty in FA(3): the invoice currency code

How to fill KodWaluty (the currency code) in a KSeF FA(3) invoice: ISO 4217 code, where it lives, the PLN VAT rule for foreign currency and a valid XML example.

Updated

Overview

KodWaluty is the currency code of the invoice, expressed as a three-letter ISO 4217 code such as PLN, EUR or USD. It lives directly inside the Fa section of the FA(3) XML, at /Faktura/Fa/KodWaluty, and sets the currency of the amounts on the document.

KodWaluty is required on every FA(3) invoice. Its type in the XSD is TKodWaluty, a closed enumeration of ISO 4217 currency codes plus the special value XXX. You cannot invent a code; the value must be one of the codes in the enumeration or the document fails XSD validation.

For most invoices from a Polish seller the code is PLN. The schema does not force PLN, but a foreign-currency invoice brings an extra rule: under Polish VAT law (art. 106e ust. 11 of the VAT Act) the VAT amount has to be stated in złoty as well. In FA(3) that PLN amount goes into the P_14_xW elements, for example P_14_1W next to P_14_1 for the 23% rate. A foreign-currency invoice without them is incomplete even if it passes the XSD, because those elements are optional in the schema.

Consistency matters too. If KodWaluty says EUR, the unit net prices (P_9A), the line net values (P_11), the summary amounts (P_13_x and P_14_x) and the total (P_15) are in euro, and only the P_14_xW elements carry złoty. The exchange rate to use for the conversion is a tax question; confirm it with your accountant.

The schema also has a separate WalutaUmowna element in a specific part of the document. It does not replace KodWaluty.

In Notaly you do not write KodWaluty directly as an XML field. You send a currency property in the JSON payload, and Notaly maps it to KodWaluty in the generated FA(3) XML. The API checks only that the value is three uppercase letters. Notaly does not generate the P_14_xW elements today, so send invoices in PLN only.

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

<KodWaluty>PLN</KodWaluty>

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

Frequently asked questions

What currency code do I use for a Polish invoice?

PLN, which is the ISO 4217 code for the Polish złoty.

Can an FA(3) invoice be in EUR?

The schema accepts EUR and other codes from the TKodWaluty enumeration, but the VAT amount must then also be stated in PLN (the P_14_xW fields). Notaly does not generate those fields today, so use PLN with Notaly.

Where does KodWaluty live in the XML?

Directly inside the Fa section, at /Faktura/Fa/KodWaluty.

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.