FA(3) field reference

P_11 in FA(3): the net value of a line

How to fill P_11 (the net value) on each FaWiersz of a KSeF FA(3) invoice: when it is required, how it is calculated from P_9A and P_8B, and a valid XML snippet.

Updated

Overview

P_11 is the net value of a single line item (in Polish, "wartość sprzedaży netto"). It sits inside each FaWiersz block and holds the value of that line before VAT.

Is P_11 required?

In the XSD, P_11 has minOccurs="0" (xsd:3154), so a line without it can pass schema validation. The official annotation on the field (xsd:3156) explains why: it is optional only in specific cases set out in art. 106e of the VAT Act. On a regular VAT invoice, the net value of each line is mandatory data under art. 106e ust. 1 pkt 11. Passing the XSD does not mean the invoice is complete under the law.

P_11 is an amount field (TKwotowy): a decimal number with up to two decimal places and a dot as the separator. 1000.00 is valid; 1000,00 is not.

How it is calculated

Without discounts, the net value is the unit net price (P_9A) multiplied by the quantity (P_8B), rounded to two decimals. A line with a unit net price of 150.50 and a quantity of 2 has a net value of 301.00.

P_11 must not include VAT. A common integration mistake is to put the gross value of a line into P_11 and then add VAT again, which double-counts the tax. The schema has separate fields for the gross method: P_11A (gross value, art. 106e ust. 7 and 8, xsd:3161) and P_11Vat (line VAT, art. 106e ust. 10, xsd:3166).

Checks before you submit

In the net method, lines with the same P_12 rate are summed into P_13_x and the VAT (P_14_x) is computed on that sum. Three checks catch most discrepancies: P_11 equals P_9A × P_8B on every line; the sum of P_11 per rate matches P_13_x; and rounding happens at the line (P_11) and again per rate when P_14_x is computed.

How Notaly fills P_11

You do not send P_11. The API calculates it from unitNetPrice and quantity, rounded to two decimals, and uses the same rounded values for P_13_x, P_14_x and P_15. Notaly uses the net method only: it does not emit P_11A or P_11Vat, and it does not support line discounts.

<P_11>1000.00</P_11>

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

Is P_11 net or gross?

P_11 is the net value of the line, before VAT. In the net method the VAT is added in the Fa summary via P_14_x. The gross value has its own field, P_11A.

Is P_11 mandatory?

The XSD marks it minOccurs=0, but the official annotation makes it optional only in specific cases listed in art. 106e of the VAT Act. On a regular invoice the net value of each line is required (art. 106e ust. 1 pkt 11).

How is P_11 calculated?

Without discounts, P_11 is the unit net price (P_9A) multiplied by the quantity (P_8B), rounded to two decimals.

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.