KSeF

GTU codes in KSeF invoices: where they go in FA(3) and when you need them

What the 13 GTU codes are, where they sit in a KSeF FA(3) invoice (FaWiersz/GTU), why they are required in JPK_V7 but optional on the invoice, and what Notaly sends.

Published 4 min readBy Tomek

Overview

GTU codes (from the Polish "grupa towarów i usług") are 13 markers, GTU_01 to GTU_13, that flag specific goods and services such as alcohol, fuel, electronics, real estate or consulting. In a KSeF FA(3) invoice they sit on each invoice line, in FaWiersz/GTU, and the field is optional with at most one code per line. What makes them mandatory is your VAT records (JPK_V7), not the invoice schema.

Where does GTU go in the FA(3) XML?

In the official FA(3) schema, GTU is an element of the invoice line: /Faktura/Fa/FaWiersz/GTU, type TGTU. It has minOccurs=0 and no maxOccurs, so a line carries either no GTU code or exactly one. For orders described in an advance invoice, the same codes go into /Faktura/Fa/Zamowienie/ZamowienieWiersz/GTUZ.

A line for a tax advisory service marked with GTU_12 looks like this (a snippet, not a complete invoice):

<FaWiersz>
  <NrWierszaFa>1</NrWierszaFa>
  <P_7>Doradztwo podatkowe - październik 2026</P_7>
  <P_8A>usł.</P_8A>
  <P_8B>1</P_8B>
  <P_9A>2000.00</P_9A>
  <P_11>2000.00</P_11>
  <P_12>23</P_12>
  <GTU>GTU_12</GTU>
</FaWiersz>

Is the GTU code required on the invoice?

GTU codes are required in your JPK_V7 VAT records, not on the invoice itself: in FA(3) the field is optional. Some sellers still add them on the invoice so their accounting system can fill in the records; agree the setup with your accountant.

In practice that means two things. An FA(3) invoice without any GTU element is valid against the schema and KSeF will not reject it for that reason. But if you sell goods or services that belong to a GTU group, the marking still has to appear in your JPK_V7, so whoever prepares the file needs that information from somewhere: from the invoice line, or from your own product data.

The 13 GTU groups

The descriptions below follow the Ministry of Finance's information sheet on the FA(3) structure:

  • GTU_01 — alcoholic beverages above 1.2%, beer and beer mixes above 0.5% (CN 2203 to 2208).
  • GTU_02 — goods referred to in Art. 103 sec. 5aa of the VAT Act.
  • GTU_03 — fuel oils, lubricating oils and lubricating preparations (specific CN codes).
  • GTU_04 — tobacco products, dried tobacco, e-cigarette liquids and novelty products.
  • GTU_05 — waste listed in items 79 to 91 of Annex 15.
  • GTU_06 — electronic devices, parts and materials listed in Annex 15, and stretch film.
  • GTU_07 — vehicles and parts (CN 8701 to 8708).
  • GTU_08 — precious and base metals listed in Annex 12 and Annex 15.
  • GTU_09 — medicinal products, foods for particular nutritional uses and medical devices covered by the Pharmaceutical Law notification duty.
  • GTU_10 — buildings, structures and land, and parts or interests in them.
  • GTU_11 — transfer of greenhouse gas emission allowances.
  • GTU_12 — intangible services: consulting (including legal, tax and management consulting), accounting and audit, legal, management, training (non-school education), marketing and advertising, market research and R&D, each with references to PKWiU codes.
  • GTU_13 — transport and warehouse management services (PKWiU 49.4, 52.1).

GTU_12 is the group most software and service companies run into. Whether a given service matches its PKWiU references is a classification question for your accountant.

GTU is not a VAT rate or a procedure

GTU says what you sell, not how it is taxed. It is separate from the VAT rate (P_12), from procedure markings (Procedura, for example WSTO_EE or IED) and from the invoice annotations in Adnotacje, such as split payment (P_18A). One line can carry a VAT rate and a GTU code at the same time.

Does Notaly add GTU codes?

No. The line items you send to POST /invoices have name, unit, quantity, unitNetPrice and vatRate, and no GTU field (src/fa3/types.ts). The FA(3) XML that Notaly generates therefore has no GTU element on any line, which the schema allows. If your goods or services fall into a GTU group, make sure your accounting system marks them in JPK_V7 from your own product data, and agree the setup with your accountant.

In short

  • 13 codes, GTU_01 to GTU_13, marking specific goods and services.
  • FA(3): FaWiersz/GTU, optional, at most one per line.
  • Required in JPK_V7, not on the invoice.
  • Notaly does not write GTU codes; plan the JPK_V7 marking with your accountant.

Disclaimer

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

Are GTU codes mandatory on a KSeF invoice?

No. GTU codes are required in your JPK_V7 VAT records, not on the invoice itself: in FA(3) the field is optional.

Where does the GTU code go in the FA(3) XML?

On the invoice line, in /Faktura/Fa/FaWiersz/GTU, with at most one code per line. Order lines of an advance invoice use /Faktura/Fa/Zamowienie/ZamowienieWiersz/GTUZ.

Does Notaly add GTU codes?

No. Notaly's line items have no GTU field today, so the invoices it generates carry no GTU element, which the schema allows.

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.