Poland
Invoice
Changes to generic fields
recipient.address.line1is required.recipient.address.cityis required.recipient.address.countryis required.recipient.address.postalCodeis required.lines[].unitis required.lines[].vat.exemptReasonis required whenlines[].vat.codeisE(exempt).customInfo.pol.localGovernmentSubordinateis requiredcustomInfo.pol.vatGroupis requiredcustomInfo.pol.payableAmountis required on advance and settlement invoices (see Advance and settlement invoices).invoiceRefsis required on settlement invoices (see Advance and settlement invoices).
Poland-specific fields
type Invoice {
// ...generic invoice fields
dueDate?: string;
purschaseOrderRef?: string;
invoiceRefs?: string[]; // refs of earlier advance invoices
lines: [{
// ...everything from invoice.lines
unit: string;
vat: {
code: TaxCode;
exemptReason?: string; // required when code is E
}
}];
recipient:{
//..everything from invoice.recipient
// for self-billed invoices input your details as the recipient in the invoice.recipient fields below and also include invoice.sender information as the other parties information.
name: string;
taxId: string;
address:{
country: string;
line1: string;
line2?: string;
city: string;
postalCode: string;
}
};
//..only if you are submitting a self-billed invoice include invoice.sender with the suppliers information:
sender:{
name: string;
taxId: string;
address:{
country: string;
line1: string;
line2: string;
city: string;
postalCode: string;
}
};
paymentMeans: {
code?: string;
account: {
accountNumber?: string;
bic?: string;
bankName?: string;
}
};
customInfo: {
pol: {
localGovernmentSubordinate: boolean;
vatGroup: boolean;
purchaseOrderDate?:string;
shippingDate?: string;
serviceStartDate?: string;
serviceEndDate?: string;
cashAccounting?: boolean;
splitPayment?:boolean;
reverseCharge?:boolean;
prePaidDate?:string;
isPrePayment?: boolean; // advance invoice (ZAL)
payableAmount?: number; // incl. VAT; required on advance and settlement invoice
}
};| Name | Type | Required | Description |
|---|---|---|---|
dueDate | String (ISO 8601 date) | No | Due date of invoice |
purschaseOrderRef | String | No | Reference number of the Purchase order |
invoiceRefs | String array | Conditional | The Only use it for advance and settlement invoices: an invoice with |
isSelfBilled | Boolean | No | Required boolean for self-billed invoices |
lines[].vat.code | String | Yes | Acceptable tax codes include:
|
lines[].vat.exemptReason | String | Conditional | Legal basis of the VAT exemption, e.g. art. 43 ust. 1 pkt 29 ustawy. Required when lines[].vat.code is E (exempt, zw). Written to the invoice as the exemption basis (P_19A). |
lines[].unit | String | Yes | Line items unit of measure. |
recipient.name | String | Yes | Name of the recipient entity. |
recipient.taxId | String | Yes | Tax ID or NIP of the recipient. Note: If the recipient entity does not have a tax identification number enter 0000000000 as a placeholder for eezi. |
recipient.address.country | String | Yes | Country code of recipient. Three-letter country code (ISO 3166-1 alpha-3). |
recipient.address.city | String | Yes | City/District/Suburb/Town/Village |
recipient.address.line1 | String | Yes | Address line 1 (Street address/PO Box/Company name). |
recipient.address.line2 | String | No | Address line 2 (Street address/PO Box/Company name). |
recipient.address.postalCode | String | Yes | ZIP or postal code. |
paymentMeans.code | String | No | Payment means type code. There are 7 values from an enumerated list as specified on Payment means code list options The means, expressed as code, for how a payment is expected to be or has been settled. |
paymentMeans.account.accountNumber | String | No | The full bank account number (to which the payment of the receivable resulting from the invoice was/will be made) is provided. |
paymentMeans.account.bankName | String | No | The name of the entity where the account to which the invoice payment was/will be made is held. |
paymentMeans.account.bic | String | No | SWIFT Code. The identifier (in digits and letters) of the financial institution maintaining the foreign account is provided. |
customInfo.pol.localGovernmentSubordinate | Boolean | Yes | Subordinate Local Government Unit flag. true: Transactions concerns a subordinate local government unit. |
customInfo.pol.vatGroup | Boolean | Yes | Group VAT member flag. true: Transactions concerns a VAT Group. |
customInfo.pol.purchaseOrderDate | String (ISO 8601 date) | No | Purchase order date. |
customInfo.pol.shippingDate | String (ISO 8601 date) | No | The date of delivery or completion of the delivery of goods or services or the date of receipt of payment. |
customInfo.pol.serviceStartDate | String (ISO 8601 date) | No | Start date of the period covered by the invoice. |
customInfo.pol.serviceEndDate | String (ISO 8601 date) | No | End date of the period to which the invoice relates. |
customInfo.pol.cashAccounting | Boolean | No | Cash accounting flag. true: Cash accounting is applicable to the transaction. false: Cash accounting is not applicable to the transaction. |
customInfo.pol.reverseCharge | Boolean | No | Indicates that the supply of goods or services is subject to reverse charge, where the purchaser is liable to pay VAT or similar tax rather than the supplier. true: Reverse charge applies; the purchaser is responsible for paying VAT |
customInfo.pol.splitPayment | Boolean | No | Indicates whether the invoice is subject to Poland's split payment mechanism, where the total amount exceeds PLN 15,000 or its foreign currency equivalent. true: Split payment applies |
customInfo.pol.prePaidDate | String (ISO 8601 date) | No | Payment date of an invoice that has been paid by the time it was issued. |
customInfo.pol.isPrePayment | Boolean | No | Advance invoice flag. true: The invoice is an advance invoice (ZAL). Add |
customInfo.pol.payableAmount | Number (incl. VAT) | Conditional | Required on advance and settlement invoices; not allowed on other invoices. Must be greater than 0 and not more than |
Advance and settlement invoices
Use these fields when the buyer pays in advance (in one or more payments) and the order is invoiced in full later.
| Invoice | Send | KSeF invoice type |
|---|---|---|
| Advance invoice | isPrePayment: true and payableAmount | ZAL |
| Final advance invoice (the last advance before delivery) | isPrePayment: true, invoiceRefs with the earlier advance invoices, and payableAmount | ZAL |
| Settlement invoice | invoiceRefs with every advance invoice for the order, and payableAmount (no isPrePayment, or false). Add shippingDate for the delivery date. | ROZ |
How eezi builds the invoice:
lines[]andtotal.amountalways describe the full order, exactly as on a regular invoice. On an advance invoice the lines are shown as the order (not as invoice lines); on a settlement invoice they are shown as invoice lines.payableAmountis the amount the invoice is for. eezi splits it over the VAT rates of the lines in proportion to each rate's gross amount, rounds each part to 2 decimals and adds any rounding difference to the rate with the largest gross amount. VAT per rate = part × rate / (100 + rate); 0 for 0%, exempt, reverse charge and not-taxable codes.- Each ref in
invoiceRefsis written to the invoice with that advance invoice's KSeF number. eezi looks the refs up when it submits the invoice to KSeF: if an advance invoice does not have its KSeF number yet, eezi waits and submits once it has. If a ref does not exist in eezi, the invoice gets statuserrorwithReferenced advance invoice with ref "<ref>" does not exist.
Example: an order of 10,000.00 + 23% VAT (12,300.00). The buyer pays 3,690.00 in advance, then the rest on delivery.
// Advance invoice
type Invoice {
// ...generic invoice fields
total: {
amount: 12300.00;
currency: "PLN";
};
customInfo: {
pol: {
localGovernmentSubordinate: false;
vatGroup: false;
isPrePayment: true;
payableAmount: 3690.00;
}
};
}
// Settlement invoice
type Invoice {
// ...generic invoice fields
total: {
amount: 12300.00;
currency: "PLN";
};
invoiceRefs: ["ZAL/2026/11/001"]; // ref of the advance invoice
customInfo: {
pol: {
localGovernmentSubordinate: false;
vatGroup: false;
shippingDate: "2026-11-10";
payableAmount: 8610.00;
}
};
}Example CSV file
Updated 5 days ago