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