How to connect Oblio with easySales: a complete setup guide
Connect Oblio to easySales: the three credentials, what Use stock source really does, invoice and receipt series, the Oblio-only advanced options, and what each Oblio refusal means.
What connecting Oblio gives you
With Oblio connected, easySales issues the invoice for an order, sends it to the customer, marks it as paid, cancels or storno-s it and can keep Oblio's own stock in step — without you opening Oblio at all.
This guide covers the whole connection, including the one setting that decides whether your invoices go out at all.
Before you start
An Oblio account with API access
The token is issued on the account settings page in Oblio. If there is no token there, the plan does not include API access and the connection will fail with You are not allowed to use this API.
Your CIF as Oblio has it
The company registration number is matched against the companies in your Oblio account, not just validated for shape.
The invoice series, created in Oblio
easySales sends the series the order carries. Any series it might use has to exist in Oblio first, otherwise no invoice is issued.
A decision about stock
Whether Oblio's warehouse should be drawn down when an invoice is issued. If yes, the warehouse has to be accurate — a short stock in Oblio stops the invoice.
Step 1 — Open the Billing Software page
Go to Integrations → Billing Software and search for oblio.
Press Connect on the Oblio card. If you already have a connection, press Edit.
Step 2 — The three credentials
| Field | What it is |
|---|---|
| Connection name | Your own name for this connection. It never reaches Oblio. |
| Company registration number |
The CIF of the company invoicing, exactly as Oblio has it. It goes out with every request as cif, and a company Oblio does not recognise fails with The company with cif … does not exist.
|
| Username (Email) | The e-mail address of the Oblio account. Oblio uses it as the API client id. |
| Token | The API secret from your Oblio account settings. Not your Oblio password. |
Step 3 — Decide about stock before you save
Use stock source is the most consequential field on this form, and the Romanian interface names it better than the English one does: Descarcă din gestiune la facturare — take the goods out of the warehouse when invoicing.
Step 4 — Series, workstation and the rest
| Field | What it does |
|---|---|
| Use stock source | Yes makes every invoice also take the goods out of Oblio's warehouse. See the warning above. |
| Warehouse name | The Oblio gestiune the goods come out of. Optional, case sensitive, and needed in practice as soon as Use stock source is on or you keep more than one warehouse. |
| Workstation name | The Oblio work point the document is issued from. Optional, case sensitive. |
| Receipt series | The series Oblio should use when a payment is collected as a receipt (Chitanta). Ignored for every other collection type. |
| Send price updates | Sends price changes from easySales to the matching Oblio product. Required — the form will not save without an answer. |
| Use product description | Puts the product description on the invoice line instead of only the name. |
| Template | The mentions line printed on the invoice. |
The Template box sets the mentions line printed on every invoice from this connection. The buttons above it insert values from the order — order ID, platform, observations, AWB number, courier name, payment method.
Step 5 — Advanced options
Everything here is optional, but four of these exist for Oblio alone and one of them prevents duplicate invoices.
| Option | What it does |
|---|---|
| Invoice language | Forces one language for every invoice. Left empty, easySales uses the language of the shop or marketplace the order came from when Oblio supports it. |
| Issuer CNP and Issuer name | Printed on the invoice as the person issuing it. The CNP is validated as exactly 13 digits. |
| Due days | How many days after issue the invoice is due. |
| Payment type | Forces the collection type Oblio records — Chitanta, Bon fiscal, Card, Ordin de plata and the rest. Left empty, easySales derives it from the order's payment method. Choose Chitanta and the Receipt series above is used. |
| Choose product name | Which name goes on the invoice line: the product's own name or the one from the order. |
| Autodetect district | Works out the Bucharest sector from the address when the order does not carry one. |
| Generate unique discount code | Oblio only. Sends each discount as its own coded line rather than merging them. |
| Set reverse tax | Oblio only. Marks the invoice as reverse-charge. |
| Send vat name only for 0% tax | Oblio only. Sends the VAT-exemption name on zero-rated lines only, instead of on every line. |
| Enable idempotency key | Oblio only. Stops a repeated request creating a second invoice for the same order. |
Oblio as a stock source
The connection above issues invoices. Keeping easySales stock in step with Oblio's is a second, separate connection with its own credentials.
Go to Integrations → Stock sources, press Connect on the Oblio card and fill in the same VAT ID, token and email, plus the warehouse the stock should be read from.
When Oblio refuses an invoice
The message comes back from Oblio unchanged and is shown on the order. Stock is by far the commonest reason.
| What Oblio says | What to do |
|---|---|
Nu am putut descarca gestiunea pentru acest document. Produsele urmatoare nu au stoc suficient:
|
Oblio's own stock is short for the products it names. Correct the stock in Oblio, or turn Use stock source off if you do not keep Oblio's warehouse up to date. |
Produsul "…" nu are stoc suficient.
|
The same thing for a single product. |
Concurrent requests timeout. Please make one request at a time.
|
Oblio received several requests for your account at once. Nothing is lost; the invoice can be issued again. |
Too Many Requests, check back later
|
Oblio's own rate limit for your account. It clears by itself. |
The access token provided has expired
|
Oblio ended the session earlier than expected. Issue the invoice again — easySales mints a new session token when the old one lapses. |
Internal error. Please try again later. / an empty or 504 response
|
Oblio did not answer. Nothing is wrong on your side; retry. |
You are not allowed to use this API.
|
The Oblio account does not have API access on its plan. |
The company with cif … does not exist
|
The Company registration number on the connection is not a company in that Oblio account. |
Tipul produsului nu a fost gasit, tipul trebuie sa fie unul din: Marfa, Semifabricate, …
|
A product exists in Oblio with a type Oblio will not invoice in this context. Fix the product type in Oblio. |
Introdu o serie de document valida.
|
This one is from easySales, not Oblio: the invoice series on the order does not exist in your Oblio account. |
Credit notes, cancellations and payments
| Action | What happens in Oblio |
|---|---|
| Marking an order paid | The invoice is collected in Oblio with the type from Payment type, or the one derived from the order's payment method. A Chitanta collection uses your Receipt series. |
| Returning an order | easySales asks Oblio for a storno (credit note) against the original invoice. |
| Cancelling an invoice | Oblio cancels the document; the number stays used, as it must. |
| Deleting an invoice | Only possible while Oblio still allows it — otherwise cancel it instead. |