KSeF and VAT Margin: How to Issue a Margin Invoice
How to record a VAT margin invoice in FA(3): Articles 119 and 120, P_PMarzy, P_13_11, MR_T, MR_UZ and pre-submission checks.

Summary
A VAT margin invoice in KSeF is a structured FA(3) XML invoice, but it concerns a special method of taxation under Article 119 or Article 120 of the Polish VAT Act. KSeF does not create a new margin scheme and does not decide whether a transaction qualifies for it.
In FA(3), the margin-scheme annotations are central, including P_PMarzy and the appropriate detailed variant. The Ministry of Finance KSeF handbook also recommends P_13_11 for the total sales value under the margin scheme, but this field should not be described as a simple, unconditional requirement in every case without reviewing the specific structure.
The main operational risk is mixing four layers: the tax decision on eligibility for the margin scheme, the FA(3) XML invoice, a readable PDF visualization and JPK reporting codes such as MR_T and MR_UZ. These elements are connected, but they are not the same.
KSeFGPT can assist with imports, data checks, FA(3) XML, invoice searches and preparing information for accounting. It should not be treated as a tool that automatically qualifies a transaction for the VAT margin scheme.
When the VAT margin scheme becomes a KSeF issue
This topic concerns businesses that issue invoices under special margin schemes: travel agencies, used-car dealers, second-hand shops, art dealers, galleries and businesses trading in collectors' items and antiques. In practice, the question is not only how to issue an invoice. It is also who confirmed eligibility and how that decision should be recorded correctly in FA(3).
This article reflects the position as of June 29, 2026. Its scope is deliberately narrow: it covers the invoice, FA(3) fields, the boundary with JPK reporting and the control process in a small business. It does not decide whether a specific item, vehicle or service qualifies for the margin scheme.
If you are still organizing the KSeF basics in your company, start with KSeF for small businesses. This article is the next step for businesses with a special invoice type that need to keep invoice data separate from the tax calculation.
Contents
1. How the margin scheme works under the Polish VAT Act
2. What a VAT margin invoice does not show the buyer
3. Map of a VAT margin invoice in FA(3)
4. Where the invoice ends and JPK reporting begins
5. Small-business process before submission to KSeF
Key takeaways
The table summarizes the main decisions and distinctions needed before issuing a VAT margin invoice through KSeF.
| Point | Details |
|---|---|
| Legal basis | Travel services are covered by Article 119 of the Polish VAT Act, while second-hand goods, works of art, collectors' items and antiques are covered by Article 120. |
| FA(3) invoice | KSeF accepts the invoice as FA(3) XML, not as a PDF. The margin scheme requires the correct P_PMarzy annotation and detailed variant. |
| Amounts on the invoice | A VAT margin invoice does not show the buyer the standard breakdown of net amount, VAT rate and VAT amount used on an ordinary invoice. |
| JPK reporting | MR_T and MR_UZ are reporting codes in JPK_VAT. They do not replace the FA(3) margin-scheme annotation. |
| Role of software | Software can help check data, but the business, its accountant or its tax adviser remains responsible for deciding whether the margin scheme applies. |
How the margin scheme works under the Polish VAT Act
The Polish VAT Act contains two main margin-scheme areas relevant here. Article 119 covers travel services and provides that the taxable amount is the margin less the VAT due. Article 120 covers, among other items, supplies of second-hand goods, works of art, collectors' items and antiques.
For travel services, the margin is the difference between the amount payable by the customer and the actual cost of goods and services acquired from other taxable persons for the direct benefit of the traveler. For second-hand goods and related categories, Article 120 describes the margin as the difference between the selling price and purchase price, less the VAT amount.
Practical division: a travel agency checks Article 119, while a used-car dealer or second-hand shop checks Article 120. Technical condition: only after this decision can the FA(3) invoice be prepared correctly. Risk: the fact that an item is second-hand does not automatically make it eligible for the VAT margin scheme.
A business owner should separate the tax question from the technical question. The tax question is whether the transaction meets the conditions of the scheme. The technical question is how to record the invoice correctly in FA(3) after that decision.
Now that the boundary between Articles 119 and 120 is clear, consider what the buyer sees on the invoice itself.
| Area | Basis | Business example | Caution |
|---|---|---|---|
| Travel services | Article 119 of the Polish VAT Act | A travel agency buys supplies for the direct benefit of the traveler. | Input VAT on those purchases is not deducted to the extent described in Article 119(4). |
| Second-hand goods | Article 120 of the Polish VAT Act | A used-car dealer or shop resells an item acquired earlier in the course of business for resale. | Check the status of the previous supply and the conditions in Article 120. |
| Works of art | Article 120 of the Polish VAT Act | A gallery sells a work covered by the margin scheme. | The category must meet the statutory rules, not merely a commercial label. |
| Collectors' items and antiques | Article 120 of the Polish VAT Act | A collectors' item is sold under the margin scheme. | Do not apply the rules for second-hand goods mechanically without checking the category. |
What a VAT margin invoice does not show the buyer
A VAT margin invoice differs from an ordinary invoice because it does not show the buyer the standard breakdown of taxable amount and VAT used on a general invoice. The KSeF 2.0 handbook states that an invoice under the margin scheme does not include, among other details, the net unit price, net sales value, VAT rate, net sales totals by rate or VAT amounts on those totals.
This is logical because the margin is part of the seller's tax calculation. The buyer must receive an invoice with the correct margin-scheme wording, but should not receive a calculation that discloses the purchase price, margin and internal VAT on the margin.
Data visible to the buyer: invoice number, date, parties, description of the supply, total amount payable and the correct margin-scheme wording. Data controlled internally: purchase price, selling price, margin calculation and reporting treatment. KSeF technical data: the appropriate FA(3) fields and acceptance status.
This distinction can easily be lost when generating a PDF. A PDF may only be a visualization of the invoice, while the formal invoice in KSeF is the FA(3) XML. The broader distinction is explained in XML and the FA(3) format in KSeF.
With the invoice presentation clarified, move to the FA(3) fields that describe the margin scheme.
| Layer | What it covers | Do not confuse it with |
|---|---|---|
| Tax decision | Whether the transaction meets Article 119 or Article 120. | It does not follow automatically from invoicing software. |
| FA(3) XML invoice | Invoice data, margin-scheme annotations and the total amount payable. | It is not an ordinary PDF or a margin calculation for the buyer. |
| PDF visualization | A readable human view of the invoice. | It does not replace the XML sent to KSeF. |
| Records and JPK | Periodic reporting, MR_T or MR_UZ and other transaction-specific codes. | It does not replace the FA(3) annotation fields. |
Map of a VAT margin invoice in FA(3)
The KSeF 2.0 handbook confirms that FA(3) supports VAT margin invoices for travel services, supplies of second-hand goods, works of art, collectors' items and antiques. The central element is the PMarzy annotation, which declares whether the margin scheme applies.
In practice, this means P_PMarzy and one detailed variant: P_PMarzy_2 for travel agencies, P_PMarzy_3_1 for second-hand goods, P_PMarzy_3_2 for works of art or P_PMarzy_3_3 for collectors' items and antiques. The FA(3) XSD also defines P_PMarzyN when the scheme does not apply.
P_13_11 requires careful wording. The FA(3) XSD defines it as the total sales value under the margin schemes in Articles 119 and 120, and the Ministry's KSeF handbook recommends specifying it on a VAT margin invoice. This should not be reduced to a claim that software always knows by itself when and how to populate P_13_11 without a human decision.
Before submission: check the type of scheme, the required invoice wording, the P_PMarzy variant, the total amount payable in P_15 and any P_13_11 value against the generator, schema and accounting procedure. After submission: retain the KSeF number and UPO official acknowledgement.
With the invoice fields mapped, move to the JPK codes that operate in a different layer.
| Margin type | Basis | Invoice wording | FA(3) field | JPK code |
|---|---|---|---|---|
| Travel services | Article 119 | margin scheme for travel agencies | P_PMarzy and P_PMarzy_2 | MR_T |
| Second-hand goods | Article 120 | margin scheme - second-hand goods | P_PMarzy and P_PMarzy_3_1 | MR_UZ |
| Works of art | Article 120 | margin scheme - works of art | P_PMarzy and P_PMarzy_3_2 | MR_UZ |
| Collectors' items and antiques | Article 120 | margin scheme - collectors' items and antiques | P_PMarzy and P_PMarzy_3_3 | MR_UZ |
Where the invoice ends and JPK reporting begins
An invoice in KSeF and JPK_VAT are not the same file. FA(3) describes an individual invoice. JPK_VAT with the VAT return describes records and settlement for a reporting period. This distinction matters for the VAT margin scheme because the scheme annotation on an invoice is not the same as the MR_T or MR_UZ code in JPK.
The official JPK_VAT brochure applicable from February 1, 2026 states that MR_T covers travel services taxed under the margin scheme in accordance with Article 119, while MR_UZ covers supplies of second-hand goods, works of art, collectors' items and antiques taxed under Article 120.
The brochure also explains that procedure fields, including MR_T and MR_UZ, are completed for the entire document with the value 1 when the procedure applies and left empty when it does not. It defines SprzedazVAT_Marza as the gross sales value of supplies of goods and services taxed under the margin scheme.
Control sequence: first agree the scheme with accounting, then generate a correct FA(3), retain the KSeF status and only then ensure the proper JPK codes in the reporting process. Do not infer a GTU code merely from the phrase VAT margin without separately checking the goods or services.
Now that the invoice and JPK are separated, consider a process a small business can implement before submission.
| Element | Where it appears | Role |
|---|---|---|
| P_PMarzy | FA(3) | Declares that the margin scheme applies in the invoice annotations. |
| P_PMarzy_2 | FA(3) | Variant for the travel-agency margin scheme. |
| P_PMarzy_3_1 | FA(3) | Variant for the second-hand goods margin scheme. |
| P_13_11 | FA(3) | Total sales value under the margin scheme, defined in the XSD and recommended in the Ministry's KSeF handbook. |
| MR_T | JPK_VAT | Reporting code for travel services taxed under the margin scheme. |
| MR_UZ | JPK_VAT | Reporting code for second-hand goods, works of art, collectors' items and antiques. |
Small-business process before submission to KSeF
The safest process begins before the invoice is issued. The person responsible for sales should know whether a transaction is intended for the margin scheme, but the owner should confirm the tax decision with an accountant or adviser. Only then should the FA(3) XML be prepared.
The process should separate roles. Sales provides the transaction data. Accounting confirms the Article 119 or Article 120 basis. Invoicing software generates FA(3). The sender checks the KSeF status, KSeF number and UPO. VAT records receive a separate JPK check.
Pre-submission checklist: eligibility confirmed, correct scheme selected, correct invoice wording applied, no standard VAT rate shown as on an ordinary invoice, P_PMarzy and the detailed variant checked, P_15 verified, P_13_11 reviewed against the handbook and generator, and JPK data prepared without confusing it with the FA(3) XML.
If a business issues invoices in volume, a separate exception review is more important than a single submit button. Margin-scheme invoices should be visible in filters, statuses and accounting exports so they are not lost among ordinary sales invoices.
With the roles separated, consider a specific used-car dealer example.
| Step | Responsible person | What to check | What not to automate without review |
|---|---|---|---|
| 1 | Sales | Customer data, description of goods or services and amount payable. | The decision that the transaction definitely meets Article 119 or Article 120. |
| 2 | Accounting | Legal basis for the margin scheme and acquisition documents. | The assumption that every second-hand item qualifies. |
| 3 | Invoicing system | FA(3) XML, P_PMarzy, scheme variant, P_15 and P_13_11. | Hidden mapping without a data preview. |
| 4 | Sender | Submission status, KSeF number and UPO. | Treating a working PDF as an invoice accepted by KSeF. |
| 5 | Accounting | MR_T or MR_UZ and the remaining reporting codes. | Copying JPK codes without checking the goods or services. |
Check margin-invoice data before submission
Import invoices, work with FA(3) XML, check KSeF statuses and prepare data for accounting without promising an automatic tax decision.
Open KSeFGPTUsed-car dealer scenario
Assume a used-car dealer issues about 20 invoices per month. Some concern vehicles acquired under a model that accounting qualifies for the margin scheme, while others may require ordinary invoicing. The worst process would mark every vehicle as VAT margin solely because it is second-hand.
A safe process is more demanding but clear. Each vehicle needs an acquisition document, an accounting decision, the correct invoice type, the appropriate scheme wording, valid FA(3) XML, a KSeF number after acceptance and information for JPK reporting. New means of transport in a specified intra-Community supply scenario are additionally excluded from Article 120(1-20) by Article 120(21).
Data that software can help organize: customer, vehicle description, invoice number, amount payable, KSeF status, KSeF number, UPO and a filter for invoices marked as using the margin scheme. Data that software should not decide by itself: whether the previous supply meets Article 120 and whether the specific vehicle can be sold under the margin scheme.
The added value for the business is straightforward: software should not hide the scheme but provide a list of documents for review. Accounting should quickly see which invoices contain P_PMarzy, which require MR_UZ and which should not be grouped with ordinary sales.
The example highlights the main risks. Next, review the errors caused most often by mixing these layers.
| Dealer area | What to check | Why |
|---|---|---|
| Acquisition document | Status of the previous supply and Article 120 conditions. | Without this, there is no sound basis for choosing the margin scheme. |
| Vehicle description | Whether the invoice identifies the specific item sold. | This supports checks and later explanations. |
| FA(3) | P_PMarzy, P_PMarzy_3_1, P_15 and a careful review of P_13_11. | This is the invoice layer submitted to KSeF. |
| JPK | MR_UZ and other transaction-specific codes. | This is the VAT reporting layer, not the PDF visualization. |
| Status | KSeF number and UPO. | These confirm that KSeF accepted the document. |

Common VAT margin errors
The first error is over-automating the tax decision. Software can check the presence of fields, data consistency and document status, but should not decide by itself that a transaction meets Article 119 or Article 120.
The second error is trying to present a VAT margin invoice like an ordinary invoice with a VAT rate and VAT amount for the buyer. The KSeF 2.0 handbook states that a margin-scheme invoice does not include, among other details, the VAT rate or standard net totals by rate.
The third error is confusing FA(3) fields with JPK codes. P_PMarzy and the detailed variant are invoice elements. MR_T and MR_UZ are reporting codes. GTU must be analyzed separately according to the goods or services, not solely by the words VAT margin.
The fourth error is treating the PDF as the KSeF invoice. A PDF can be a readable view or a document for the counterparty, but KSeF formally works with FA(3) XML. If an invoice is rejected, follow Invoice rejected by KSeF.
With the error points identified, move to KSeFGPT's role in this process.
| Error | Consequence | How to reduce the risk |
|---|---|---|
| Automatic assumption of eligibility | Risk of incorrect tax classification. | Require an accounting or adviser decision before issue. |
| Wrong P_PMarzy variant | The invoice does not match the actual scheme. | Map Articles 119 and 120 to the correct detailed variant. |
| No separation between FA(3) and JPK | Invoice annotations are confused with reporting codes. | Check XML, PDF, JPK and the tax decision separately. |
| Standard VAT rate shown | The invoice looks like an ordinary sale rather than a margin transaction. | Check that the buyer is not shown data a margin invoice should omit. |
| Missing UPO | It is unclear whether KSeF accepted the invoice. | Retain the KSeF number and UPO after submission. |
How KSeFGPT can help without making the tax decision
KSeFGPT should be presented in this process as a private application for working with KSeF invoices, not as a government service or tax adviser. Its appropriate role is to support data imports, FA(3) XML checks, invoice filtering, statuses, KSeF numbers, UPO acknowledgements and the preparation of information for accounting.
A business can use KSeFGPT to separate ordinary invoices from documents requiring special review. A margin invoice should be easy to find, check and pass to accounting together with confirmation that the tax decision was made outside the tool.
Example uses: importing a file or invoice data, viewing XML, organizing statuses, finding documents with a KSeF number, preparing an accounting export and reviewing an invoice list for operational omissions. These functions should not be described as an automatic decision on eligibility for the VAT margin scheme.
If a business works with several special invoice types, compare this process with an advance invoice in KSeF and self-billing in KSeF. In each case, the technical invoice structure and the business and tax decision must remain separate.
With the tool's role clear, move to the expert perspective on responsibility.
| What KSeFGPT can support | How it helps | Boundary of responsibility |
|---|---|---|
| Import and data preview | Reduces manual entry and makes invoice review easier. | Does not confirm eligibility for the margin scheme. |
| FA(3) XML validation and checks | Helps identify technical omissions before further processing. | Does not replace analysis of Article 119 or Article 120. |
| KSeF statuses, KSeF number and UPO | Show whether the invoice was accepted. | Do not show whether the transaction was correct for tax purposes. |
| Invoice filtering | Helps separate documents that need accounting review. | Does not independently create JPK records. |
| Accounting export | Provides organized information for settlement. | Accounting still decides the treatment and codes. |
Expert perspective
The VAT margin scheme is one of those areas where an error often begins before the XML is created. If a business has no documented decision explaining why a transaction falls under Article 119 or Article 120, a correctly formatted KSeF invoice does not solve the problem.
A sound process therefore begins with classifying the transaction, not selecting a field in a generator. Only after the tax decision should the business consider P_PMarzy, P_13_11, P_15, MR_T or MR_UZ. Reversing the order creates a risk that the user tries to fit the law to the form.
Second-hand vehicle sales require particular care. They are a common business example, but acquisition conditions, the status of the previous seller and statutory exclusions may all matter. The word second-hand alone is not sufficient for a safe classification.
Implementing KSeF should not remove human review from the margin-scheme process. It should make the decisions, XML fields, KSeF number, UPO and JPK codes visible, consistent and defensible in a later audit.
Frequently asked questions
Can a VAT margin invoice be issued through KSeF?
Yes. The KSeF 2.0 handbook states that the FA(3) structure supports VAT margin invoices for travel services, second-hand goods, works of art, collectors' items and antiques. KSeF does not create a separate tax procedure, however. The document must follow the relevant rules of the Polish VAT Act.
Does a VAT margin invoice show the VAT rate and amount?
The KSeF 2.0 handbook states that an invoice under the VAT margin scheme does not include, among other items, the net unit price, net sales value, VAT rate, total net sales by rate or the VAT amounts on those totals. The amount payable by the buyer must be kept separate from the seller's internal margin calculation.
What does P_13_11 mean on a VAT margin invoice?
The FA(3) XSD defines P_13_11 as the total sales value under the margin schemes referred to in Articles 119 and 120 of the Polish VAT Act. The Ministry of Finance KSeF handbook recommends using this field for a VAT margin invoice, but it should not be presented as an automatic decision made by software without reviewing the specific case.
Can every second-hand car be sold under the VAT margin scheme?
No. Article 120 of the Polish VAT Act sets conditions concerning, among other matters, the type of goods, the purpose of acquisition and the tax treatment of the previous supply. New means of transport in a specified intra-Community supply scenario are excluded from Article 120(1-20). A used-car dealer should confirm eligibility with its accountant before issuing the invoice.
Recommendation
Continue with KSeF for small businesses to organize the basic KSeF process, roles and cooperation with accounting.
Advance invoices in KSeF explains how to separate the tax decision, document type and links between invoices.
Self-billing in KSeF covers the special roles and annotations involved when the buyer issues the invoice.
XML and the FA(3) format in KSeF explains why the formal KSeF invoice is structured XML rather than a PDF.
Check margin invoices before sending them to KSeF
KSeFGPT helps organize invoices, FA(3) XML, KSeF statuses, UPO acknowledgements and accounting data without replacing the tax decision.
Open KSeFGPTSources
This article is based on official materials from the Polish Ministry of Finance, the FA(3) schema, the JPK_VAT brochure and the Polish VAT Act. The sources were checked on June 29, 2026.
- Polish Act on Goods and Services Tax, consolidated text, Journal of Laws 2025, item 775
Sejm of the Republic of Poland · accessed: June 29, 2026
Legal basis for Articles 106e, 119 and 120 of the Polish VAT Act, including margin-scheme invoices for travel services and supplies covered by Article 120.
- KSeF 2.0 Handbook, Part II: issuing and receiving invoices in KSeF
Polish Ministry of Finance · accessed: June 29, 2026
Source for the treatment of VAT margin invoices in FA(3), including margin-scheme annotations, P_13_11 and limits on the data presented on the invoice.
- FA(3) XSD schema
CIRF / Polish Ministry of Finance · accessed: June 29, 2026
Technical definition of FA(3) fields, including P_13_11 and the PMarzy element with its P_PMarzy variants.
- JPK_VAT with VAT return information brochure applicable from February 1, 2026
Polish Ministry of Finance · accessed: June 29, 2026
Source for the MR_T and MR_UZ codes and the SprzedazVAT_Marza field in JPK_VAT with the VAT return.
Expert reviewed: Bogdan Mazurek
Tax adviser · June 29, 2026
The article was reviewed against Articles 106e, 119 and 120 of the Polish VAT Act, the FA(3) structure, margin-scheme codes and the need to keep technical information separate from tax advice.
Related articles
How to Check Whether KSeF Is Experiencing an Outage
KSeF is not responding, but is the system down or is the problem on your side? Check the live status, official Ministry announcements and invoice submission deadlines for each system state.
How to configure a KSeF connection in KSeFGPT
Connect a company to KSeF using a token or certificate. You can upload an existing certificate or configure one by signing a downloaded request with Trusted Profile.
How Much Does KSeF Implementation Cost in Manufacturing?
See what really shapes a manufacturing company's KSeF budget: data, ERP, APIs, testing, maintenance and internal team time.
KSeF Invoice in English for a Foreign Counterparty
Download an English PDF, check the key fields and give a foreign finance team a readable invoice visualization.