Invoicing & ERP integrations

How to connect Fakturownia with easySales: a complete setup guide

How to connect Fakturownia with easySales: a complete setup guide

Connect Fakturownia to easySales: domain and API token, department and warehouse, invoice type and language, advanced options, corrections and the messages Fakturownia returns.

What connecting Fakturownia gives you

With Fakturownia connected as billing software, easySales issues the invoice for an order directly in your Fakturownia account — customer, products, shipping and discounts included — and links it to the order. From the order you can open the invoice, record its payment, issue a correction invoice, and cancel or delete it. If you want, every invoice also creates a WZ warehouse document in Fakturownia.

Two things to know before you begin:

  • Fakturownia numbers the invoices. easySales sends no number and no series; Fakturownia gives each invoice the next number of the department it is issued for, following your numbering settings in Fakturownia.
  • The form opens in two stages. You enter the domain and the token and press Get Details; only then do Department, Warehouse, the invoice settings and Save appear.

Before you start

✓

A Fakturownia account

With access to Ustawienia, where you create the API token.

✓

Warehouses in Fakturownia

Warehouse is a required field. Warehouses belong to Obsługa magazynów, which you turn on under Ustawienia → Ustawienia konta → Twoje konto.

✓

Your numbering set up in Fakturownia

Fakturownia numbers every invoice, so check its numbering settings before the first one.

Step 1 — Find your domain and create an API token

  1. Log in to Fakturownia. Your domain is the name in the address bar: in https://mojsklep.fakturownia.pl it is mojsklep.
  2. Open Ustawienia → Ustawienia konta → Integracja, and under Kod autoryzacyjny API press Zobacz APITokeny.
  3. Press Dodaj nowy token, give it a description such as easySales and save.
  4. Copy the token. You paste it into easySales in the next step.

Step 2 — Connect Fakturownia in easySales

Go to Integrations → Billing Software, search for fakturownia and press Connect on the Fakturownia card — or Edit, if you have connected it before.

The Billing Software page in easySales, filtered to Fakturownia, with the Fakturownia card connected.
Integrations → Billing Software, filtered to Fakturownia.

Fill in the first three fields and press Get Details:

A Fakturownia connection before Get Details: Connection name, the Domain field between https:// and .fakturownia.pl, the Token and the Get Details button.
Domain and token first, then Get Details.
Field What goes in it
Connection name A name you will recognise when choosing between connections, for example Fakturownia webshop.
Domain Your Fakturownia account name only — mojsklep, not https://mojsklep.fakturownia.pl.
Token The API token from step 1.
Connection details

Get Details checks the token with Fakturownia and reads your departments, warehouses and categories from it. When you reopen a saved connection, the form shows the first three fields again: press Get Details to see and change the rest.

Step 3 — Department, warehouse and invoice settings

A Fakturownia connection after Get Details, with Department, Warehouse, Category, Languages, Invoice Type Faktura VAT, Unit of measure szt and the WZ document option ticked.
The fields Get Details opens.
Field What it does
Department The Fakturownia department (company) the invoices are issued for. Required.
Warehouse The Fakturownia warehouse the invoices use. Required.
Category The Fakturownia category the invoices are filed under. Optional.
Languages The language of the invoice. Choose two for a bilingual invoice; empty means Polish.
Invoice Type The kind of document issued for every order — Faktura VAT by default, or another kind such as Paragon or Rachunek.
Unit of measure The unit written on every line, szt (pieces) by default. A product's own unit takes its place.
Issue a WZ warehouse document upon invoicing Also creates a WZ warehouse release document in Fakturownia, in the chosen warehouse, with every invoice.
Department, warehouse and invoice settings

Below them is the template — the text written into the invoice's notes, built from order details such as the order ID or the platform. Press Save when you are done.

To invoice for a second company or department, open the connection, press Get Details and then Clone. easySales saves a copy with "(cloned)" after its name. Open the copy, press Get Details, rename it, choose the other department and save.

Step 4 — Advanced options

Press Show advanced options under the template to open the rest of the settings. You can leave them as they are and change them later.

The advanced options of a Fakturownia connection: payment type Transfer, payment type mapping, exchange currency and kind, sell date, delivery line settings, special characters, warranty and discounts.
Advanced options, collapsed until you need them.
Option What it does
Payment type The payment type written on every invoice, such as Transfer or Card. Empty leaves Fakturownia's own default.
Map the payment type from the order payment method Sets the payment type per order payment method instead, with rules you add; an order that matches no rule gets Payment type.
Exchange currency, Exchange kind Adds the amounts converted into another currency, at the exchange rate of the bank you choose, such as NBP or ECB.
Sell date Whether the sell date is the order date or the invoice issue date.
Delivery line name source, Delivery line name What the shipping line is called: a fixed text, or the order's delivery notes. Empty keeps the name the marketplace sends.
Issue the delivery line as a service Links the shipping line to a Fakturownia service product you choose or create.
Remove special characters Removes special characters from the customer's name and address on the invoice.
Generate a warranty upon invoicing, Merge the invoice with the warranty Creates a warranty document with each invoice, and downloads the two together.
Exclude discounts from invoices Leaves the order's discount lines off the invoice.
Advanced options

What goes on the invoice

  • Customer: the company name and VAT number for a company; for a private customer, the billing name split into first name and surname. The billing address and e-mail go with it.
  • Lines: every product with its gross price, VAT rate, quantity and SKU as the product code, then shipping and the order's discounts.
  • Dates: the issue date is the day the invoice is issued; the sell date is the order date, unless you change it with Sell date.
  • Currency: the order's currency.
  • Paid orders: an order that is already paid is invoiced as paid.

Payments, corrections and the invoice PDF

  • Recording a payment: marking the order's invoice as paid records the payment in Fakturownia.
  • Correction invoice: the storno action on the order issues a Faktura korekta that reverses the whole invoice; from a return, it corrects only the returned products.
  • Cancel and delete: cancelling marks the invoice as rejected in Fakturownia, deleting removes it. Either way, a WZ document issued with it is removed too.
  • PDF: opening the invoice from the order downloads it from Fakturownia, so you always see the document as Fakturownia holds it.

When an invoice is refused

Fakturownia's answer is shown on the order, in Polish. The ones you are most likely to see:

Message What to do
Invalid Credentials Shown by Get Details: the token is wrong or belongs to another Fakturownia account. Create a new token in the account of the domain you entered.
Department is required The Department list was empty. Check the Domain and press Get Details again.
{"buyer_last_name":["- nie może być puste"]} A private customer's billing name has only one word. Add the surname to the billing name on the order and issue the invoice again.
{"buyer_tax_no":["- błędna cyfra kontrolna NIP"]} The customer's VAT number is not a valid NIP. Correct it on the order.
Messages you may see

Frequently asked questions

In Fakturownia, under Ustawienia → Ustawienia konta → Integracja → Kod autoryzacyjny API: press Zobacz APITokeny, then Dodaj nowy token. Copy the token and paste it into Token in easySales.

Only your account name — the part before .fakturownia.pl in the address of your Fakturownia account. For https://mojsklep.fakturownia.pl, enter mojsklep.

Save appears only after Get Details has read your departments and warehouses from Fakturownia. Press Get Details first — also when you reopen a saved connection to change something.

Fakturownia. easySales sends no number; Fakturownia gives each invoice the next number of its department, following your settings under Ustawienia → Ustawienia konta → Numerowanie.

Yes. Each connection issues invoices for the one Department chosen on it, so make one connection per department: open the connection, press Get Details, then Clone, and choose the other department on the copy.

easySales sends each product's SKU as its product code. Turn on Kojarzenie produktów po kodzie produktu in Fakturownia, under Ustawienia → Ustawienia konta → Integracja, so Fakturownia matches the lines to your existing products by code.

Fakturownia sends them, according to its own KSeF settings under Ustawienia → KSeF. easySales does not send them to KSeF itself.

Fakturownia needs a first name and a surname for a private customer, and the billing name on the order has only one word. Add the surname on the order and issue the invoice again.

Issued from the order, it reverses the whole invoice. Issued from a return, it corrects only the returned products.

Was this guide helpful?