Poland
For Polish eezi credit notes, positive inputted line item-and total values will act as a credit note (decreasing the original invoice value). Negative inputted line item-and total values will act as a debit note (increasing the original invoice value).
Credit note
Changes to generic fields
invoiceRefsis required.recipient.address.line1is required.recipient.address.line2is required.recipient.address.cityis required.recipient.address.stateis 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.isOriginalInvoiceKsefis requiredcustomInfo.pol.payableAmountis required on a credit note against an advance or settlement invoice.
type CreditNote {
// ...all generic credit note fields
invoiceRefs: string[];
dueDate?: string;
purschaseOrderRef?: string;
lines: [{
// ...everything from invoice.lines
unit: string;
vat: {
code: TaxCode;
exemptReason?: string; // required when code is E
}
}];
// for self-billed invoices input your details in the recipient fields below and include invoice.sender information
recipient:{
address:{
country: string;
line1: string;
line2: string;
city: string;
postalCode: string;
}
};
//..Only if you are submitting a self-billed credit-note include invoice.sender with the suppliers information accordingly:
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;
isOriginalInvoiceKsef: boolean;
purchaseOrderDate?:string;
shippingDate?: string;
serviceStartDate?: string;
serviceEndDate?: string;
cashAccounting?: boolean;
splitPayment?:boolean;
reverseCharge?:boolean;
payableAmount?: number; // incl. VAT; required against an advance or settlement invoice
ksefInvoiceType?: string; // response only, set by eezi: KOR_ZAL or KOR_ROZ
}
};Field information
| Name | Type | Required | Description |
|---|---|---|---|
dueDate | String (ISO 8601 date) | No | Due date of invoice |
invoiceRefs | String array | Yes | Invoices associated with this document. Only one invoice reference is allowed. |
purschaseOrderRef | String | No | Reference number of the Purchase order |
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). |
lines[].unit | String | Yes | Line items unit of measure. |
recipient.address.country | String | Yes | Country of recipient |
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 | Yes | 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 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. false: Transactions does not concern a subordinate local government unit. |
customInfo.pol.vatGroup | Boolean | Yes | Group VAT member flag. true: Transactions concerns a VAT Group. false: Transactions does not concern a VAT Group. |
customInfo.pol.isOriginalInvoiceKsef | Boolean | Yes | Indicates whether the invoice referenced in the credit note was made inside KSeF or not. |
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 | Field indicating whether cash accounting is applicable to the invoice. |
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.payableAmount | Number (incl. VAT) | Conditional | Required on a credit note against an advance (ZAL) or settlement (ROZ) invoice; not used on other credit notes. The amount by which the paid (advance) or settled (settlement) amount is reduced. Positive only, and not more than the |
customInfo.pol.ksefInvoiceType | String | Response only | Set by eezi, do not send. KOR_ZAL for a credit note against an advance invoice, KOR_ROZ against a settlement invoice. Not returned on regular credit notes. |
Credit notes against advance and settlement invoices
Here lines[] and total.amount describe the invoice as it should look after the correction, and customInfo.pol.payableAmount is the amount the paid or settled amount is reduced by (positive only). Increases (debit notes) are not supported against advance or settlement invoices: cancel the invoice in full with a credit note and issue a new one.
Send:
-
invoiceRefs: exactly one ref, the advance or settlement invoice you are correcting. -
lines[]andtotal.amount: the invoice as it should look after the correction (not the difference). -
customInfo.pol.payableAmount: how much the paid or settled amount goes down by.
eezi takes the rest from the referenced invoice: -
the credit note type:
KOR_ZALagainst an advance invoice,KOR_ROZagainst a settlement invoice; -
the amount before the correction (the referenced invoice's
payableAmount), its date, ref and KSeF number; -
for
KOR_ROZ, the advance invoice references of the settlement invoice.
The credit note shows the reduction as a negative amount, split over the VAT rates of the lines the same way as on the advance or settlement invoice, and lists the corrected lines only (no "before" rows).
Example: the advance invoice of 3,690.00 (order 12,300.00) should have been 2,460.00.
"invoiceRefs": ["ZAL/2026/11/001"],
"total": { "amount": 12300.00, "currency": "PLN" },
"notes": "Bledna kwota zaliczki (wrong advance amount)",
"customInfo": { "pol": { "localGovernmentSubordinate": false, "vatGroup": false,
"isOriginalInvoiceKsef": true, "payableAmount": 1230.00 } }Example CSV file
Updated 9 days ago