Poland

Invoice

Changes to generic fields

  • recipient.address.line1 is required.
  • recipient.address.city is required.
  • recipient.address.country is required.
  • recipient.address.postalCode is required.
  • lines[].unit is required.
  • lines[].vat.exemptReason is required when lines[].vat.code is E (exempt).
  • customInfo.pol.localGovernmentSubordinate is required
  • customInfo.pol.vatGroup is required
  • customInfo.pol.payableAmount is required on advance and settlement invoices (see Advance and settlement invoices).
  • invoiceRefs is 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
    }
  };
NameTypeRequiredDescription
dueDateString (ISO 8601 date)NoDue date of invoice
purschaseOrderRefStringNoReference number of the Purchase order
invoiceRefsString arrayConditional

The ref values of the earlier advance invoices this invoice builds on, one entry per advance invoice. Required on a settlement invoice; optional on an advance invoice (use it on the final advance invoice). Each ref must exist in eezi.

Only use it for advance and settlement invoices: an invoice with invoiceRefs and without customInfo.pol.isPrePayment is a settlement invoice (ROZ).

isSelfBilledBooleanNoRequired boolean for self-billed invoices
lines[].vat.codeStringYes

Acceptable tax codes include:
Standard tax codes

POL-np_I: Line item not subject to Polish VAT because the supply is outside Poland

POL-np_II: Line item not subject in Poland for the services listed in art. 100(1)(4)

AE: 0% on domestic reverse charge

K: 0% for intra-EU supply of goods (not allowed on advance invoices)

G: 0% for export of goods

lines[].vat.exemptReasonStringConditionalLegal 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[].unitStringYesLine items unit of measure.
recipient.nameStringYesName of the recipient entity.
recipient.taxIdStringYes

Tax ID or NIP of the recipient.
With or without the country prefix

Note: If the recipient entity does not have a tax identification number enter 0000000000 as a placeholder for eezi.

recipient.address.countryStringYesCountry code of recipient. Three-letter country code (ISO 3166-1 alpha-3).
recipient.address.cityStringYesCity/District/Suburb/Town/Village
recipient.address.line1StringYesAddress line 1 (Street address/PO Box/Company name).
recipient.address.line2StringNoAddress line 2 (Street address/PO Box/Company name).
recipient.address.postalCodeStringYesZIP or postal code.
paymentMeans.codeStringNo

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.accountNumberStringNoThe full bank account number (to which the payment of
the receivable resulting from the invoice was/will be
made) is provided.
paymentMeans.account.bankNameStringNoThe name of the entity where the account to which the
invoice payment was/will be made is held.
paymentMeans.account.bicStringNoSWIFT Code. The identifier (in digits and letters) of the financial
institution maintaining the foreign account is provided.
customInfo.pol.localGovernmentSubordinateBooleanYes

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.vatGroupBooleanYes

Group VAT member flag.

true: Transactions concerns a VAT Group.
false: Transactions does not concern a VAT Group.

customInfo.pol.purchaseOrderDateString (ISO 8601 date)NoPurchase order date.
customInfo.pol.shippingDateString (ISO 8601 date)NoThe date of delivery or completion of the delivery of
goods or services or the date of receipt of payment.
customInfo.pol.serviceStartDateString (ISO 8601 date)NoStart date of the period covered by the invoice.
customInfo.pol.serviceEndDateString (ISO 8601 date)NoEnd date of the period to which the invoice relates.
customInfo.pol.cashAccountingBooleanNo

Cash accounting flag.

true: Cash accounting is applicable to the transaction.

false: Cash accounting is not applicable to the transaction.

customInfo.pol.reverseChargeBooleanNo

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
false: Reverse charge does not apply

customInfo.pol.splitPaymentBooleanNo

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
false: Split payment does not apply

customInfo.pol.prePaidDateString (ISO 8601 date)NoPayment date of an invoice that has been paid by the time it was issued.
customInfo.pol.isPrePaymentBooleanNo

Advance invoice flag.

true: The invoice is an advance invoice (ZAL). Add invoiceRefs to make it the final advance invoice.
false or omitted: Not an advance invoice. With invoiceRefs the invoice is a settlement invoice (ROZ).

customInfo.pol.payableAmountNumber (incl. VAT)Conditional

Required on advance and settlement invoices; not allowed on other invoices.
Advance invoice: the amount paid.
Settlement invoice: the amount still to settle.

Must be greater than 0 and not more than total.amount. eezi splits it over the VAT rates of the lines (see below).

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.

InvoiceSendKSeF invoice type
Advance invoiceisPrePayment: true and payableAmountZAL
Final advance invoice (the last advance before delivery)isPrePayment: true, invoiceRefs with the earlier advance invoices, and payableAmountZAL
Settlement invoiceinvoiceRefs 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[] and total.amount always 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.
  • payableAmount is 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 invoiceRefs is 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 status error with Referenced 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

Invoice - POL.csv



Did this page help you?