Get startedÎncepe aici

WelcomeBun venit

Fint exposes a JSON API that lets developers integrate Romanian financial services into their app: open-banking statements, e-invoicing, company lookups and official exchange rates.

Fint expune un API JSON care permite dezvoltatorilor să integreze servicii financiare românești în aplicația lor: extrase bancare open banking, facturare electronică, căutări de companii și cursuri oficiale de schimb.

Versiunea în limba română este oferită pentru comoditate și este tradusă automat. Versiunea în limba engleză este cea de referință - pentru numele câmpurilor, exemplele de cod și detaliile de integrare îți recomandăm să urmezi documentația în engleză (comută la EN din colțul de sus).

ProductionProducțiehttps://api.fint.ro/v1
Sandboxhttps://sandbox.fint.ro/v1

Before you start. API access requires an active Fint account: sign up and complete onboarding at fint.ro. These docs describe the live production API at https://api.fint.ro; to build and test without touching real providers or data, use the Sandbox.

Înainte să începi. Accesul la API necesită un cont Fint activ: înregistrează-te și finalizează onboarding-ul la fint.ro. Această documentație descrie API-ul live de producție de la https://api.fint.ro; pentru a dezvolta și testa fără a afecta furnizori sau date reale, folosește Sandbox.

ServicesServicii

Fint exposes multiple independent services, each activated separately on a company license. You can use any service on its own or combine them: for example, use eFactura alone to handle Romanian e-invoicing, pair it with Extrase to reconcile bank transactions against invoices, use Info CUI and Schimb valutar as utility services in any financial workflow, or buy discounted vouchers with Vouchere. Each company API key you create specifies exactly which services it is allowed to call.

Fint expune mai multe servicii independente, fiecare activat separat pe licența unei companii. Poți folosi orice serviciu individual sau le poți combina: de exemplu, folosește eFactura singur pentru facturarea electronică românească, asociază-l cu Extrase pentru reconcilierea tranzacțiilor bancare cu facturile, folosește Info CUI și Schimb valutar ca servicii utilitare în orice flux financiar, sau cumpără vouchere cu discount prin Vouchere. Fiecare cheie API de companie pe care o creezi specifică exact ce servicii are voie să apeleze.

Base URLURL de bază

All API requests are made to the base URL:

Toate cererile API se fac către URL-ul de bază:

https://api.fint.ro

Service requests (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) are authenticated with two API keys, an organization key and a company key; the Enterprise Organization API uses the organization key alone. See Authentication to get started, or jump to the Quick Start for your first call. Shared response and error conventions are documented under Conventions.

Cererile către servicii (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) se autentifică cu două chei API, o cheie de organizație și o cheie de companie; API-ul Organizație (Enterprise) folosește doar cheia de organizație. Consultă Autentificare pentru a începe, sau treci la Start rapid pentru primul apel. Convențiile comune pentru răspunsuri și erori sunt documentate la Convenții.

ConceptsConcepte

Account modelModel de cont

Fint structures access around three entities: an organization, the companies it owns, and the users who belong to it. Understanding this hierarchy is the foundation for working with API keys and services.

Fint structurează accesul în jurul a trei entități: o organizație, companiile pe care le deține și utilizatorii care aparțin organizației. Înțelegerea acestei ierarhii este baza pentru lucrul cu cheile API și serviciile.

OrganizationOrganizație

An organization is the top-level entity registered on Fint. It is the billing unit and owns everything beneath it: companies, API keys, and team members. Every API request must be authenticated with the organization key (X-Org-Key), which you create under User menu → API → Chei API in the Fint UI.

Organizația este entitatea de nivel superior înregistrată pe Fint. Este unitatea de facturare și deține tot ce se află sub ea: companii, chei API și membri ai echipei. Fiecare cerere API trebuie autentificată cu cheia de organizație (X-Org-Key), pe care o creezi în Meniu utilizator → API → Chei API în interfața Fint.

An organization can own multiple companies, each representing a distinct legal entity or operational scope. This makes Fint suitable not only for businesses integrating their own financial operations, but also for software companies and SaaS platforms that embed Fint as a third-party provider for their clients: each client company can be managed as a separate company under the same organization.

O organizație poate deține mai multe companii, fiecare reprezentând o entitate juridică sau un domeniu operațional distinct. Asta face Fint potrivit nu doar pentru afaceri care își integrează propriile operațiuni financiare, ci și pentru companii de software și platforme SaaS care integrează Fint ca furnizor terț pentru clienții lor: fiecare companie client poate fi gestionată ca o companie separată sub aceeași organizație.

Company (license)Companie (licență)

A company, also called a license, is the operational unit within an organization. Each company typically corresponds to a Romanian legal entity with its own CUI. Companies activate services independently: a company may have Extrase and eFactura enabled while another in the same organization has only Info CUI.

O companie, numită și licență, este unitatea operațională din cadrul unei organizații. Fiecare companie corespunde de obicei unei entități juridice românești cu propriul CUI. Companiile activează serviciile independent: o companie poate avea Extrase și eFactura activate, iar alta din aceeași organizație poate avea doar Info CUI.

Each company holds one or more company-level API keys (X-Api-Key), created under Configurare → Chei API in the Fint UI sidebar for the active company. Every company key is scoped to exactly one company and to a chosen set of services. A call succeeds only if the service is both in the key’s scope and currently active on the company; otherwise it returns 403 api_key_service_denied or license_service_denied. The UI only offers the company’s active services; the Organization API accepts any valid service. A request made with a company key always acts on that specific company.

Fiecare companie deține una sau mai multe chei API de nivel companie (X-Api-Key), create în Configurare → Chei API din bara laterală Fint, pentru compania activă. Fiecare cheie de companie este limitată la exact o companie și la un set ales de servicii. Un apel reușește doar dacă serviciul este atât în domeniul cheii, cât și activ în acel moment pe companie; altfel returnează 403 api_key_service_denied sau license_service_denied. Interfața oferă doar serviciile active ale companiei; API-ul Organizație acceptă orice serviciu valid. O cerere făcută cu o cheie de companie acționează întotdeauna asupra acelei companii.

Companies, services and company API keys can be managed in the Fint UI or programmatically via the Organization API (Enterprise plan). See Self-service API for what can be done through the UI versus the API.

Companiile, serviciile și cheile API de companie pot fi gestionate în interfața Fint sau programatic prin API-ul Organizație (planul Enterprise). Vezi API self-service pentru ce se poate face prin interfață față de API.

Users and rolesUtilizatori și roluri

Users are team members invited to an organization. Each user has one of two roles:

Utilizatorii sunt membri ai echipei invitați într-o organizație. Fiecare utilizator are unul din două roluri:

  • Admin: full control over the organization, including managing companies, inviting and removing users, creating and deleting API keys, billing, and configuring service consents.
  • Admin: control complet asupra organizației, inclusiv gestionarea companiilor, invitarea și eliminarea utilizatorilor, crearea și ștergerea cheilor API, facturare și configurarea consimțămintelor pentru servicii.
  • User: access only to the companies an Admin grants, and within each company only to the selected services (optionally limited to incoming or outgoing data, with or without permission to manage consents). Users cannot manage API keys, billing or team members.
  • User: acces doar la companiile acordate de un Admin și, în cadrul fiecărei companii, doar la serviciile selectate (opțional limitat la datele de intrare sau de ieșire, cu sau fără permisiunea de a gestiona consimțămintele). Utilizatorii nu pot gestiona chei API, facturarea sau membrii echipei.

User roles are managed entirely in the Fint UI and do not affect API key permissions directly. API access is controlled by the key's own service scope, regardless of the role of the person who created the key. In the UI, only Admins can open the Chei API pages and create keys.

Rolurile utilizatorilor sunt gestionate integral în interfața Fint și nu afectează direct permisiunile cheilor API. Accesul la API este controlat de domeniul de servicii al cheii, indiferent de rolul persoanei care a creat cheia. În interfață, doar Adminii pot deschide paginile Chei API și pot crea chei.

How it maps to the APICum se reflectă în API

Every service request (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) carries both keys: X-Org-Key identifies the organization; X-Api-Key identifies the company and enforces its service scope. You never pass a company ID or CUI as an authorization parameter; Fint resolves both from the keys and validates that the company key belongs to the organization key's organization. The Organization API is the exception: it acts at organization level and takes X-Org-Key only.

Fiecare cerere către servicii (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) poartă ambele chei: X-Org-Key identifică organizația; X-Api-Key identifică compania și aplică domeniul ei de servicii. Nu trimiți niciodată un ID de companie sau CUI ca parametru de autorizare; Fint le rezolvă pe ambele din chei și validează că cheia de companie aparține organizației cheii de organizație. API-ul Organizație este excepția: acționează la nivel de organizație și primește doar X-Org-Key.

ConceptConceptAPI representationReprezentare APIWhere to createUnde se creează
OrganizationOrganizațieX-Org-Key headerUser menu → API → Chei APIMeniu utilizator → API → Chei API
CompanyCompanieX-Api-Key headerConfigurare → Chei API
User roleRol utilizatorNot sent in API requestsNu se trimite în cererile APITeam management in the Fint UIGestionarea echipei în interfața Fint

See Authentication for the full list of header requirements and error codes.

Consultă Autentificare pentru lista completă a cerințelor de header și codurilor de eroare.

Get startedÎncepe aici

Quick StartStart rapid

Make your first authenticated request in a few minutes.

Fă prima cerere autentificată în câteva minute.

StepsPași

  1. Make sure you have an active company with the service activated Fint requires at least one active company (license) before the API can be used. A first company is created automatically when you sign up; you can add more from the dashboard billing / subscription page or, on the Enterprise plan, via the Organization API. The company must also have the service you intend to call (eFactura, Vouchere, Extrase, Info CUI, Schimb valutar) activated. See the Account model for the organization → company hierarchy.
  2. Asigură-te că ai o companie activă cu serviciul activat Fint necesită cel puțin o companie activă (licență) înainte de a putea folosi API-ul. O primă companie este creată automat la înregistrare; poți adăuga altele din pagina de facturare / abonament a panoului sau, pe planul Enterprise, prin API-ul Organizație. Compania trebuie să aibă și serviciul pe care vrei să-l apelezi (eFactura, Vouchere, Extrase, Info CUI, Schimb valutar) activat. Vezi Modelul de cont pentru ierarhia organizație → companie.
  3. Get your organization key In the Fint dashboard, open the user menu → API → Chei API and create an organization key. This identifies your organization. You need the Admin role: these menu entries are shown only to Admins.
  4. Obține cheia de organizație În panoul Fint, deschide meniul utilizator → API → Chei API și creează o cheie de organizație. Aceasta identifică organizația ta. Ai nevoie de rolul Admin: aceste intrări de meniu sunt afișate doar Adminilor.
  5. Get a company key Switch to the company you want to act on, then go to Configurare → Chei API in the sidebar and create a company key. Choose which services the key may call - each must be active on the company (eFactura, Vouchere, Extrase, Info CUI, Schimb valutar). This page is also Admin-only.
  6. Obține o cheie de companie Comută la compania asupra căreia vrei să acționezi, apoi mergi la Configurare → Chei API din bara laterală și creează o cheie de companie. Alege ce servicii poate apela cheia - fiecare trebuie să fie activ pe companie (eFactura, Vouchere, Extrase, Info CUI, Schimb valutar). Și această pagină este disponibilă doar Adminilor.
  7. Send both keys on every request Pass the org key as X-Org-Key and the company key as X-Api-Key.
  8. Trimite ambele chei la fiecare cerere Trimite cheia de organizație ca X-Org-Key și cheia de companie ca X-Api-Key.

Your first callPrimul apel

Look up a Romanian company by its CUI:

Caută o companie românească după CUI:

GET
curl -sS 'https://api.fint.ro/v1/infocui?cui=12345678' \
  -H 'X-Org-Key: YOUR_ORG_KEY' \
  -H 'X-Api-Key: YOUR_COMPANY_KEY'
const res = await fetch("https://api.fint.ro/v1/infocui?cui=12345678", {
  headers: {
    "X-Org-Key": "YOUR_ORG_KEY",
    "X-Api-Key": "YOUR_COMPANY_KEY",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://api.fint.ro/v1/infocui?cui=12345678",
    headers={
        "X-Org-Key": "YOUR_ORG_KEY",
        "X-Api-Key": "YOUR_COMPANY_KEY",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://api.fint.ro/v1/infocui?cui=12345678');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: YOUR_ORG_KEY',
        'X-Api-Key: YOUR_COMPANY_KEY',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

A successful response returns the company data envelope (abridged here; see Info CUI for every field, including financials):

Un răspuns reușit returnează envelopa cu datele companiei (prescurtată aici; vezi Info CUI pentru toate câmpurile, inclusiv financials):

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "cui": "12345678",
    "name": "Exemplu SRL",
    "registrationNumber": "J40/1234/2010",
    "vatRegistered": true
  }
}

Path note. On the API host api.fint.ro, endpoints are reachable at /v1/.... Unauthenticated GET https://api.fint.ro/ lists the available API versions, and GET https://api.fint.ro/v1 lists every endpoint of v1 - see API root and version discovery.

Notă despre cale. Pe hostul API api.fint.ro, endpoint-urile sunt accesibile la /v1/.... GET https://api.fint.ro/ (fără autentificare) listează versiunile API disponibile, iar GET https://api.fint.ro/v1 listează toate endpoint-urile v1 - vezi Rădăcina API și descoperirea versiunilor.

Next: read Authentication for key scoping and error codes, then explore the service references.

Urmează: citește Autentificare pentru domeniul cheilor și codurile de eroare, apoi explorează referințele serviciilor.

Get startedÎncepe aici

AuthenticationAutentificare

Fint uses dual-key authentication: an organization key plus a company key, sent on every request.

Fint folosește autentificare cu două chei: o cheie de organizație plus o cheie de companie, trimise la fiecare cerere.

Organization API exception. The /v1/organization/* endpoints authenticate with the organization key only (X-Org-Key); no company key is sent. They are restricted to Enterprise organizations and otherwise return 403 enterprise_required. See Organization API.

Excepția API-ului Organizație. Endpoint-urile /v1/organization/* se autentifică doar cu cheia de organizație (X-Org-Key); nu se trimite cheie de companie. Sunt rezervate organizațiilor Enterprise, altfel returnează 403 enterprise_required. Vezi API-ul Organizație.

Required headersHeader-e obligatorii

HeaderHeaderValueValoare
X-Org-KeyOrganization key (identifies your organization)Cheie de organizație (identifică organizația ta)
X-Api-KeyCompany key (selects the company and its allowed services)Cheie de companie (selectează compania și serviciile permise)

Alternatively, the company key may be sent as Authorization: Bearer <company_key>; the org key must still be sent as X-Org-Key. If both X-Api-Key and Authorization are sent, X-Api-Key is used.

Alternativ, cheia de companie poate fi trimisă ca Authorization: Bearer <company_key>; cheia de organizație trebuie trimisă tot ca X-Org-Key. Dacă trimiți atât X-Api-Key, cât și Authorization, se folosește X-Api-Key.

GET
curl -sS 'https://api.fint.ro/v1/extrase/accounts' \
  -H 'X-Org-Key: YOUR_ORG_KEY' \
  -H 'X-Api-Key: YOUR_COMPANY_KEY'
const res = await fetch("https://api.fint.ro/v1/extrase/accounts", {
  headers: {
    "X-Org-Key": "YOUR_ORG_KEY",
    "X-Api-Key": "YOUR_COMPANY_KEY",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://api.fint.ro/v1/extrase/accounts",
    headers={
        "X-Org-Key": "YOUR_ORG_KEY",
        "X-Api-Key": "YOUR_COMPANY_KEY",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://api.fint.ro/v1/extrase/accounts');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: YOUR_ORG_KEY',
        'X-Api-Key: YOUR_COMPANY_KEY',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Key scopingDomeniul cheilor

Two key types work together:

Două tipuri de chei lucrează împreună:

  • Organization key: an organization can have several (for example one per integration), created by an Admin under User menu → API → Chei API. Identifies the organization; it has no per-service scope.
  • Cheie de organizație: o organizație poate avea mai multe (de exemplu, câte una per integrare), create de un Admin în Meniu utilizator → API → Chei API. Identifică organizația; nu are domeniu per serviciu.
  • Company key: a company can have several, each with its own service scope, created by an Admin under Configurare → Chei API in the sidebar for the active company. Selects which company the request acts on and which services the key may call.
  • Cheie de companie: o companie poate avea mai multe, fiecare cu propriul domeniu de servicii, create de un Admin în Configurare → Chei API din bara laterală, pentru compania activă. Selectează compania asupra căreia acționează cererea și serviciile pe care cheia le poate apela.

Company keys carry a services set (efactura, extrase, infocui, schimbvalutar, vouchere) enforced at runtime. In addition, the company’s license must have the called service activated. Live keys start with org_live_ (organization) and key_live_ (company). Sandbox keys (org_sandbox_, key_sandbox_) work only with sandbox.fint.ro: the live API rejects them with 401 invalid_org_api_key / invalid_api_key.

Cheile de companie poartă un set services (efactura, extrase, infocui, schimbvalutar, vouchere) aplicat la runtime. În plus, licența companiei trebuie să aibă serviciul apelat activat. Cheile live încep cu org_live_ (organizație) și key_live_ (companie). Cheile sandbox (org_sandbox_, key_sandbox_) funcționează doar cu sandbox.fint.ro: API-ul live le respinge cu 401 invalid_org_api_key / invalid_api_key.

No cui for authorization. eFactura, Vouchere, Extrase and Schimb valutar resolve the company from the company key; do not send cui for authorization. The only exception is Info CUI, where cui in the query string is the lookup target, not an auth parameter.

Fără cui pentru autorizare. eFactura, Vouchere, Extrase și Schimb valutar rezolvă compania din cheia de companie; nu trimite cui pentru autorizare. Singura excepție este Info CUI, unde cui din query string este ținta căutării, nu un parametru de autentificare.

Authentication errorsErori de autentificare

All errors use status: "error" with a human-readable msg and a stable reason. Branch on reason.

Toate erorile folosesc status: "error" cu un msg lizibil și un reason stabil. Ramifică pe reason.

HTTPreasonWhenCând
401missing_org_api_keyNo X-Org-Key headerLipsește header-ul X-Org-Key
401missing_api_keyNo company key / Bearer tokenLipsește cheia de companie / token Bearer
401invalid_org_api_keyUnknown or deleted org keyCheie de organizație necunoscută sau ștearsă
401invalid_api_keyUnknown or deleted company keyCheie de companie necunoscută sau ștearsă
403org_api_key_disabledOrg key exists but disabledCheia de organizație există dar este dezactivată
403organization_disabledOrganization is not enabledOrganizația nu este activă
403organization_suspendedOrganization is suspendedOrganizația este suspendată
403api_key_disabledCompany key exists but disabledCheia de companie există dar este dezactivată
403license_disabledLinked license is not enabledLicența asociată nu este activă
403api_key_service_deniedCompany key’s services don’t include the called serviceServiciile cheii de companie nu includ serviciul apelat
403license_service_deniedService not activated on the companyServiciul nu este activat pe companie
403org_mismatchCompany key’s license is not in the org key’s organizationLicența cheii de companie nu aparține organizației cheii de organizație
403enterprise_requiredOrganization API called by an organization that is not on the Enterprise planAPI-ul Organizație apelat de o organizație care nu este pe planul Enterprise
405method_not_allowedPOST-only endpoint called with another HTTP methodEndpoint doar POST apelat cu altă metodă HTTP
405method_not_allowed_getGET-only endpoint called with another HTTP methodEndpoint doar GET apelat cu altă metodă HTTP
429limit_exceededUsage at/over plan limit with extra charges offUtilizare la/peste limita planului, fără taxe suplimentare activate
429rate_limitedToo many requests in a short window; wait for the Retry-After seconds. See LimitsPrea multe cereri într-o fereastră scurtă; așteaptă secundele din Retry-After. Vezi Limite

Order of checksOrdinea verificărilor

On the service endpoints, checks run in this order and the first failure is returned:

Pe endpoint-urile de servicii, verificările rulează în această ordine și se returnează prima eroare întâlnită:

  1. HTTP method (405). A few endpoints also validate path or body input at this stage, before authentication (for example invalid_uid on eFactura document lookups, or a malformed body on the onboarding endpoints).
  2. Metoda HTTP (405). Câteva endpoint-uri validează în această etapă și datele din cale sau din corp, înainte de autentificare (de exemplu invalid_uid la căutarea documentelor eFactura sau un corp malformat pe endpoint-urile de onboarding).
  3. Per-IP rate limit (rate_limited).
  4. Limita de rată per IP (rate_limited).
  5. Missing keys: missing_org_api_key, then missing_api_key.
  6. Chei lipsă: missing_org_api_key, apoi missing_api_key.
  7. Organization key: invalid_org_api_key, org_api_key_disabled, organization_suspended, organization_disabled.
  8. Cheia de organizație: invalid_org_api_key, org_api_key_disabled, organization_suspended, organization_disabled.
  9. Company key: invalid_api_key, api_key_disabled, license_disabled, api_key_service_denied, license_service_denied.
  10. Cheia de companie: invalid_api_key, api_key_disabled, license_disabled, api_key_service_denied, license_service_denied.
  11. org_mismatch. Because it is checked last, a company key from another organization can fail first with a service-denied reason.
  12. org_mismatch. Fiind verificat ultimul, o cheie de companie din altă organizație poate eșua mai întâi cu un motiv de tip service-denied.
  13. Per-key rate limit (rate_limited), then the endpoint’s own checks: parameter validation and, where it applies, limit_exceeded (their relative order varies by endpoint).
  14. Limita de rată per cheie (rate_limited), apoi verificările proprii ale endpoint-ului: validarea parametrilor și, unde se aplică, limit_exceeded (ordinea dintre ele diferă de la un endpoint la altul).

The Organization API runs the same method, per-IP and organization-key checks, then a per-organization-key rate limit, then enterprise_required.

API-ul Organizație rulează aceleași verificări de metodă, per IP și pentru cheia de organizație, apoi o limită de rată per cheie de organizație, apoi enterprise_required.

API referenceReferință API

Extrase

PSD2 open-banking accounts and transactions, already synchronized from connected banks. Reads return stored Fint data only.

Conturi și tranzacții PSD2 open banking, deja sincronizate din băncile conectate. Citirile returnează doar datele stocate în Fint.

Service access. The extrase service must be allowed on your company key and activated on that company’s license. Fint identifies the company from the company key, so you do not send it yourself.

Acces serviciu. Serviciul extrase trebuie permis pe cheia de companie și activat pe licența companiei. Fint identifică compania din cheia de companie, deci nu o trimiți tu.

An Extrase consent is a PSD2 authorization for Fint to read a company’s bank accounts and transactions at a specific bank. It is established when an authorized person completes the bank’s OAuth flow in Fint’s open-banking onboarding. The consent is recorded with status and a validUntil date on your company license, and Fint keeps accounts, balances, and transactions synchronized for you to read. Each connected bank requires its own consent.

Un consimțământ Extrase este o autorizare PSD2 pentru ca Fint să citească conturile bancare și tranzacțiile unei companii la o anumită bancă. Se stabilește când o persoană autorizată finalizează fluxul OAuth al băncii în onboarding-ul open banking Fint. Consimțământul este înregistrat cu status și o dată validUntil pe licența companiei tale, iar Fint menține conturile, soldurile și tranzacțiile sincronizate pentru a fi citite. Fiecare bancă conectată necesită propriul consimțământ.

You can obtain consent in three ways:

Poți obține consimțământul în trei moduri:

  • Fint UI: sign in to Fint, go to Extrase → Conturi, pick a bank, and complete the bank authorization flow.
  • Interfața Fint: autentifică-te în Fint, mergi la Extrase → Conturi, alege o bancă și finalizează fluxul de autorizare bancară.
  • Share link (delegated): from the Fint UI, generate a 7-day onboarding link and send it to someone who can authorize at the bank; they complete the browser flow for your company license.
  • Link de partajare (delegat): din interfața Fint, generează un link de onboarding valabil 7 zile și trimite-l cuiva care poate autoriza la bancă; acea persoană finalizează fluxul în browser pentru licența companiei tale.
  • API (self-service): call /onboarding to generate a share link, have the authorized person open it in a browser and complete bank authorization, then poll /consents until the target bank shows consentStatus: enabled. See Onboarding & consentOnboarding și consimțământ below.
  • API (self-service): apelează /onboarding pentru a genera un link de partajare, lasă persoana autorizată să-l deschidă în browser și să finalizeze autorizarea bancară, apoi interoghează /consents până când banca țintă afișează consentStatus: enabled. Vezi Onboarding & consentOnboarding și consimțământ mai jos.

The bank authorization step can be completed only by a person who can authenticate with that bank as the PSU (payment service user) for the accounts being connected. Steps vary by bank: OAuth redirect, internet banking app approval, or manual confirmation after PSU ID or IBAN collection where required. Fint does not collect or store internet banking passwords, PINs, or OTP/token codes.

Pasul de autorizare bancară poate fi finalizat doar de o persoană care se poate autentifica la banca respectivă ca PSU (utilizator de servicii de plată) pentru conturile conectate. Pașii variază în funcție de bancă: redirect OAuth, aprobare în aplicația de internet banking sau confirmare manuală după colectarea ID-ului PSU sau IBAN-ului, unde este necesar. Fint nu colectează și nu stochează parole de internet banking, PIN-uri sau coduri OTP/token.

The public API reads stored data only; it does not create consents or call the bank. /accounts returns stored accounts even from consents that are no longer enabled (see consentStatus and consentValidUntil on each account). /transactions and /transaction/{uid} include data from enabled consents only: without an enabled consent, /transactions returns an empty list and /transaction/{uid} returns 404 not_found.

API-ul public citește doar date stocate; nu creează consimțăminte și nu apelează banca. /accounts returnează conturi stocate chiar și din consimțăminte care nu mai sunt activate (vezi consentStatus și consentValidUntil pe fiecare cont). /transactions și /transaction/{uid} includ date doar din consimțăminte activate: fără un consimțământ activat, /transactions returnează o listă goală, iar /transaction/{uid} returnează 404 not_found.

Set up bank consents in Fint before expecting account and transaction data via the API.

Configurează consimțămintele bancare în Fint înainte de a aștepta date de cont și tranzacții prin API.

Onboarding & consentOnboarding și consimțământ

API-only flow for delegated bank authorization: generate a share link with /onboarding, have the authorized person complete the bank’s OAuth flow, then poll /consents until the target bank’s entry shows consentStatus: enabled.

Flux doar prin API pentru autorizare bancară delegată: generează un link de partajare cu /onboarding, lasă persoana autorizată să finalizeze fluxul OAuth al băncii, apoi interoghează /consents până când înregistrarea băncii țintă afișează consentStatus: enabled.

Create onboarding linkCreează link de onboarding

POST/v1/extrase/onboarding

Creates a 7-day share link the end-user opens in a browser to connect a bank account. The link opens Fint’s bank-selection and OAuth consent flow and can be opened several times until expiresOn. The request body is optional: send {} or nothing. Any body you send must be valid JSON and is ignored.

Creează un link de partajare valabil 7 zile pe care utilizatorul final îl deschide în browser pentru a conecta un cont bancar. Link-ul deschide fluxul de selecție a băncii și consimțământul OAuth Fint și poate fi deschis de mai multe ori până la expiresOn. Corpul cererii este opțional: trimite {} sau nimic. Orice corp trimis trebuie să fie JSON valid și este ignorat.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
authLinkBrowser link the authorized person opens to select a bank and complete the OAuth consent flow.Link de browser pe care persoana autorizată îl deschide pentru a alege o bancă și a finaliza fluxul de consimțământ OAuth.
expiresOnWhen the link expires (7 days after creation), YYYY-MM-DD HH:MM:SS.Când expiră link-ul (7 zile după creare), YYYY-MM-DD HH:MM:SS.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
429limit_exceededThe license already has as many enabled bank accounts as its extrase plan includes, and extra charges are off. The read endpoints are not blocked.Licența are deja atâtea conturi bancare activate câte include planul extrase, iar consumul adițional este dezactivat. Endpoint-urile de citire nu sunt blocate.
500token_creation_failedCould not create the onboarding tokenNu s-a putut crea token-ul de onboarding

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Check consentsVerifică consimțămintele

GET/v1/extrase/consents

Returns the bank consents for the company key’s license - one entry per bank. If a bank has an enabled consent, that entry is shown even when a newer attempt exists; otherwise the newest consent is shown. Enabled consents come first, then the rest, newest first. Deleted consents are not returned, and the list is empty when there are none. This is a GET endpoint and takes no request body.

Returnează consimțămintele bancare pentru licența cheii de companie - o intrare per bancă. Dacă o bancă are un consimțământ activat, se afișează acela chiar dacă există o încercare mai nouă; altfel se afișează cel mai recent consimțământ. Consimțămintele activate apar primele, apoi celelalte, de la cel mai recent. Consimțămintele șterse nu sunt returnate, iar lista este goală când nu există niciunul. Este un endpoint GET și nu primește corp de cerere.

An entry with consentStatus: disabled and validUntil: null appears as soon as the authorized person starts the bank flow, and stays if they abandon it. When polling after /onboarding, keep polling until the entry is enabled; a disabled entry is not a final failure.

O intrare cu consentStatus: disabled și validUntil: null apare imediat ce persoana autorizată începe fluxul băncii și rămâne dacă îl abandonează. Când interoghezi după /onboarding, continuă până când intrarea devine enabled; o intrare disabled nu este un eșec definitiv.

Response (no consents)Răspuns (fără consimțăminte)

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "consents": [],
    "total": 0
  }
}

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
consents[]Bank consents for the license, one entry per bank (enabled first, then newest first). Empty when none exist.Consimțămintele bancare ale licenței, o intrare per bancă (cele activate primele, apoi de la cel mai recent). Gol când nu există niciunul.
consents[].bankCodeBank code, e.g. BCR.Codul băncii, ex. BCR.
consents[].bankNameBank display name.Numele afișat al băncii.
consents[].consentStatusConsent state: enabled, disabled (not yet authorized, abandoned or disabled), revokedByUser (revoked from Fint) or revokedByProvider (revoked at the bank, or expired). Only enabled consents return transaction data; treat every other value as inactive.Starea consimțământului: enabled, disabled (încă neautorizat, abandonat sau dezactivat), revokedByUser (revocat din Fint) sau revokedByProvider (revocat la bancă sau expirat). Doar consimțămintele enabled returnează date de tranzacții; tratează orice altă valoare ca inactivă.
consents[].validUntilDate the consent is valid until, YYYY-MM-DD; null until the bank confirms the authorization.Data până la care este valabil consimțământul, YYYY-MM-DD; null până când banca confirmă autorizarea.
consents[].updatedOnTimestamp of the most recent change to the consent; can be null.Marcaj temporal al celei mai recente modificări a consimțământului; poate fi null.
totalNumber of consents returned.Numărul de consimțăminte returnate.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

List accountsListează conturi

GET/v1/extrase/accounts

Returns the stored accounts for the company key’s license, newest first, including accounts from consents that are no longer enabled (but not from deleted consents). The account uid is the public identifier. This is a GET endpoint and takes no request body.

Returnează conturile stocate pentru licența cheii de companie, de la cel mai recent, inclusiv conturi din consimțăminte care nu mai sunt activate (dar nu din consimțăminte șterse). uid contului este identificatorul public. Este un endpoint GET și nu primește corp de cerere.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
accounts[]Stored accounts for the license, newest first, including accounts from consents that are no longer enabled.Conturile stocate ale licenței, de la cel mai recent, inclusiv conturi din consimțăminte care nu mai sunt activate.
accounts[].uidPublic account identifier; pass it as accountUid to /transactions.Identificatorul public al contului; transmite-l ca accountUid la /transactions.
accounts[].statusAccount state: enabled, disabled or null.Starea contului: enabled, disabled sau null.
accounts[].ibanAccount IBAN.IBAN-ul contului.
accounts[].currencyAccount currency (ISO 4217, e.g. RON).Moneda contului (ISO 4217, ex. RON).
accounts[].balanceCurrent balance as a decimal string (e.g. "123.45").Soldul curent ca șir zecimal (ex. "123.45").
accounts[].nameAccount display name.Numele afișat al contului.
accounts[].ownerNameAccount holder name.Numele titularului contului.
accounts[].productBank product name, when provided.Numele produsului bancar, când este furnizat.
accounts[].cashAccountTypeISO 20022 cash account type code, e.g. CACC (current account), when provided.Cod tip cont ISO 20022, ex. CACC (cont curent), când este furnizat.
accounts[].bicAccount BIC.BIC-ul contului.
accounts[].bankBank object: code, name, bic, icon; null when the bank is unknown.Obiect bancă: code, name, bic, icon; null când banca nu este cunoscută.
accounts[].consentStatusStatus of the consent this account belongs to - the same values as consents[].consentStatus; null if the account has no associated consent.Statusul consimțământului de care aparține acest cont - aceleași valori ca consents[].consentStatus; null dacă contul nu are un consimțământ asociat.
accounts[].consentValidUntilDate the owning consent is valid until, YYYY-MM-DD; can be null.Data până la care este valabil consimțământul deținător, YYYY-MM-DD; poate fi null.
accounts[].lastTransactionsSyncTimestamp of the last transaction sync from the bank.Marcaj temporal al ultimei sincronizări de tranzacții de la bancă.
accounts[].createdOnWhen the account was first stored in Fint.Când a fost stocat prima dată contul în Fint.
accounts[].updatedOnTimestamp of the most recent change to the account.Marcaj temporal al celei mai recente modificări a contului.
totalNumber of accounts returned.Numărul de conturi returnate.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

List transactionsListează tranzacții

GET/v1/extrase/transactions

Transactions are scoped to enabled Extrase consents for the matched company. Results are newest first by booking date, offset-paginated, and include both booked and pending transactions. This is a GET endpoint and takes no request body; pass parameters in the query string.

Tranzacțiile sunt limitate la consimțămintele Extrase activate pentru compania potrivită. Rezultatele sunt ordonate de la cele mai recente după data contabilizării, paginate prin offset, și includ atât tranzacții contabilizate, cât și în așteptare. Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParamRequiredObligatoriuDescriptionDescriere
limitnonuPage size, default 50. Values above 100 become 100; values below 1 or non-numeric values become 1.Dimensiune pagină, implicit 50. Valorile peste 100 devin 100; valorile sub 1 sau nenumerice devin 1.
offsetnonuOffset, default 0. Negative values become 0; max 1000000.Offset, implicit 0. Valorile negative devin 0; maxim 1000000.
typenonuall (both directions, default)(ambele direcții, implicit), outgoing orsau incoming; case-insensitive. Any other value returns 400 invalid_type.; nu ține cont de majuscule. Orice altă valoare returnează 400 invalid_type.
accountUidnonuPublic account UID from /accountsUID public al contului din /accounts
fromnonuBooking date lower bound, YYYY-MM-DDLimită inferioară dată contabilizare, YYYY-MM-DD
tononuBooking date upper bound, YYYY-MM-DDLimită superioară dată contabilizare, YYYY-MM-DD
qnonuSubstring search across creditor and debtor names, creditor and debtor IBANs (including your own account’s), remittance text, Fint description, category, merchant name, additional information and user note. HTML tags are stripped first.Căutare după subșir în numele creditorului și debitorului, IBAN-urile creditorului și debitorului (inclusiv IBAN-ul contului tău), detaliile plății, descrierea Fint, categorie, numele comerciantului, informații suplimentare și notă. Etichetele HTML sunt eliminate înainte.

Each item in transactions[] is a full transaction object - the same per-field structure returned by Get a transaction, including the optional provider fields (each present only when the bank/provider supplied it). The envelope also carries total, limit and offset for pagination.

Fiecare element din transactions[] este un obiect tranzacție complet - aceeași structură pe câmpuri returnată de Obține o tranzacție, inclusiv câmpurile opționale de la furnizor (fiecare prezent doar când banca/furnizorul l-a furnizat). Envelopa conține și total, limit și offset pentru paginare.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
transactions[]Array of full transaction objects - the same per-item structure as Get a transaction, including the optional provider fields when the bank/provider supplied them.Array de obiecte tranzacție complete - aceeași structură pe element ca Obține o tranzacție, inclusiv câmpurile opționale de la furnizor când banca/furnizorul le-a furnizat.
totalTotal number of transactions matching the query (before pagination).Numărul total de tranzacții care corespund interogării (înainte de paginare).
limitPage size actually applied, after clamping to 1-100.Dimensiunea paginii aplicată efectiv, după limitarea la 1-100.
offsetOffset actually applied, after clamping to 0-1000000.Offset-ul aplicat efectiv, după limitarea la 0-1000000.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_typetype is not all, incoming or outgoingtype nu este all, incoming sau outgoing
400invalid_account_uidaccountUid is malformedaccountUid este malformat
404not_foundaccountUid does not match an account owned by this licenseaccountUid nu se potrivește cu un cont deținut de această licență
400invalid_datefrom or to is not a valid YYYY-MM-DD datefrom sau to nu este o dată validă YYYY-MM-DD
400invalid_date_rangefrom is after tofrom este după to
400invalid_searchq was sent as an array, or is empty after trimming whitespace and stripping HTML tagsq a fost trimis ca array sau este gol după eliminarea spațiilor și a etichetelor HTML

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Get a transactionObține o tranzacție

GET/v1/extrase/transaction/{uid}

Returns one transaction owned by the company key’s license under an enabled consent. The response includes the summary fields plus the optional provider fields listed below - the same per-transaction structure returned by List transactions. This is a GET endpoint and takes no request body.

Returnează o tranzacție deținută de licența cheii de companie sub un consimțământ activ. Răspunsul include câmpurile sumare plus câmpurile opționale de la furnizor listate mai jos - aceeași structură per tranzacție returnată de Listează tranzacții. Este un endpoint GET și nu primește corp de cerere.

ParamParamLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaPublic transaction UID, from /transactionsUID public al tranzacției, din /transactions

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
uidPublic transaction identifier.Identificatorul public al tranzacției.
typeDirection: incoming or outgoing; null for a zero-amount transaction the bank did not mark as credit or debit.Direcția: incoming sau outgoing; null pentru o tranzacție cu suma zero pe care banca nu a marcat-o drept credit sau debit.
bookingDateDate the bank booked the transaction.Data la care banca a contabilizat tranzacția.
interlocutorCounterparty name (payer for incoming, payee for outgoing); can be null.Numele contrapărții (plătitor la incoming, beneficiar la outgoing); poate fi null.
interlocutorIbanCounterparty IBAN; null when not available.IBAN-ul contrapărții; null când nu este disponibil.
amountTransaction amount as a decimal string (negative for outgoing).Suma tranzacției ca șir zecimal (negativă pentru outgoing).
currencyISO 4217 currency of the transaction.Moneda ISO 4217 a tranzacției.
fintDescriptionFint-computed best payment narrative; can be null.Cea mai bună descriere de plată calculată de Fint; poate fi null.
rawDescriptionOriginal bank remittance text; null when there is none or it matches fintDescription. Always present.Textul original al detaliilor de plată de la bancă; null când lipsește sau coincide cu fintDescription. Mereu prezent.
categoryProvider category type, exposed separately from descriptions; can be null.Tipul categoriei de la furnizor, expus separat de descrieri; poate fi null.
createdOnWhen Fint stored the transaction.Când a stocat Fint tranzacția.
accountUidPublic UID of the owning account (from /accounts).UID-ul public al contului deținător (din /accounts).
accountIbanIBAN of the owning account.IBAN-ul contului deținător.
accountNameName of the owning account.Numele contului deținător.
bankBank object: code, name, bic, icon; null when the bank is unknown.Obiect bancă: code, name, bic, icon; null când banca nu este cunoscută.
suggestedReconciliationE-invoices this payment probably settles - see Reconciliation suggestions. [] when none, null when your company key or the company’s license does not have efactura.Facturile electronice pe care această plată probabil le achită - vezi Sugestii de reconciliere. [] când nu există, null când cheia de companie sau licența companiei nu are efactura.
transactionStatusbooked or pending. Pending transactions are included in lists and never get reconciliation suggestions.booked sau pending. Tranzacțiile în așteptare sunt incluse în liste și nu primesc niciodată sugestii de reconciliere.
userNoteNote added in Fint; empty string when none.Notă adăugată în Fint; șir gol când nu există.

Optional provider fields - returned by both this endpoint and List transactions, in addition to the fields above, and only when the bank/provider supplied them.

Câmpuri opționale de la furnizor - returnate atât de acest endpoint, cât și de Listează tranzacții, pe lângă câmpurile de mai sus, și numai când banca/furnizorul le-a furnizat.

FieldCâmpDescriptionDescriere
executionDateTimeTimestamp the transaction was executed.Marcajul temporal al executării tranzacției.
transactionTypeBank/provider transaction type label.Eticheta tipului de tranzacție de la bancă/furnizor.
merchantNameMerchant name, for card transactions.Numele comerciantului, pentru tranzacții cu cardul.
additionalInformationExtra provider-supplied information.Informații suplimentare de la furnizor.
entryReferenceBank entry reference (PSD2 entryReference).Referința intrării la bancă (PSD2 entryReference).
endToEndIdEnd-to-end payment identifier.Identificatorul de plată end-to-end.
proprietaryBankTransactionCodeBank’s proprietary transaction code.Codul de tranzacție proprietar al băncii.
creditorNameCreditor (payee) name.Numele creditorului (beneficiarului).
creditorAccountIbanCreditor account IBAN.IBAN-ul contului creditorului.
creditorAccountNameCreditor account name.Numele contului creditorului.
debtorNameDebtor (payer) name.Numele debitorului (plătitorului).
debtorAccountIbanDebtor account IBAN.IBAN-ul contului debitorului.
debtorAccountNameDebtor account name.Numele contului debitorului.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uiduid is missing or malformeduid lipsește sau este malformat
404not_foundNo transaction with that uid under an enabled consent of this licenseNicio tranzacție cu acest uid sub un consimțământ activat al acestei licențe

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Reconciliation suggestionsSugestii de reconciliere

Every transaction returned by List transactions and Get a transaction carries suggestedReconciliation: the e-invoices this payment most likely settles, each with a confidence score from 40 to 100.

Fiecare tranzacție returnată de Listează tranzacții și Obține o tranzacție conține suggestedReconciliation: facturile electronice pe care această plată le achită cel mai probabil, fiecare cu un scor de încredere de la 40 la 100.

Service access. Suggestions cross services, so the field is only populated when your company key and the company’s license carry both extrase and efactura. An extrase-only key never learns invoice numbers or client CUIs this way - it receives null.

Acces la serviciu. Sugestiile leagă două servicii, deci câmpul este populat doar când cheia ta de companie și licența companiei au ambele servicii, extrase și efactura. O cheie doar cu extrase nu află astfel numere de facturi sau CUI-uri de clienți - primește null.

Fint suggests, it never reconciles. There is no confirmed match to read and nothing to post back - Fint has no notion of an invoice being “paid”. Treat these as input to your own reconciliation, not as a decision.

Fint sugerează, nu reconciliază. Nu există o potrivire confirmată de citit și nimic de trimis înapoi - Fint nu are noțiunea de factură „achitată”. Tratează-le ca intrare pentru propria ta reconciliere, nu ca pe o decizie.

ExampleExemplu

json
"suggestedReconciliation": [
  {
    "documentUid": "d1b2c3...",
    "documentType": "outgoing",
    "documentNumber": "INS2874",
    "documentDate": "2026-06-15",
    "documentDueDate": "2026-07-15",
    "documentTotal": "20570.00",
    "documentCurrency": "RON",
    "counterparty": "Client SRL",
    "counterpartyCui": "RO12345678",
    "confidence": 100
  }
]

Entry fieldsCâmpurile unei intrări

FieldCâmpDescriptionDescriere
documentUidUID of the suggested invoice - pass it to GET /v1/efactura/document/{uid}.UID-ul facturii sugerate - trimite-l către GET /v1/efactura/document/{uid}.
documentTypeDirection of the invoice: outgoing (issued by you) or incoming (received).Direcția facturii: outgoing (emisă de tine) sau incoming (primită).
documentNumberInvoice number.Numărul facturii.
documentDateIssue date, YYYY-MM-DD.Data emiterii, YYYY-MM-DD.
documentDueDatePayment due date, YYYY-MM-DD; null when the invoice carries none.Data scadenței, YYYY-MM-DD; null când factura nu are una.
documentTotalInvoice total as a decimal string.Totalul facturii ca șir zecimal.
documentCurrencyISO 4217 currency of the invoice.Moneda ISO 4217 a facturii.
counterpartyCounterparty name on the invoice.Numele contrapărții de pe factură.
counterpartyCuiCounterparty CUI on the invoice.CUI-ul contrapărții de pe factură.
confidenceMatch score, an integer from 40 to 100: a weighted sum of matching signals (amount, invoice reference, counterparty CUI, IBAN or name, timing). Candidates below 40 are never returned. Higher means stronger evidence; it is not a calibrated probability.Scorul potrivirii, un număr întreg de la 40 la 100: o sumă ponderată a semnalelor de potrivire (sumă, referința facturii, CUI-ul, IBAN-ul sau numele contrapărții, momentul plății). Candidații sub 40 nu sunt returnați niciodată. Un scor mai mare înseamnă dovezi mai puternice; nu este o probabilitate calibrată.

Three distinct valuesTrei valori distincte

ValueValoareMeaningSemnificație
[]No suggestion for this transaction.Nicio sugestie pentru această tranzacție.
[{…}]One or more candidates, highest confidence first. Usually at most 5, but more can appear when this payment is the top candidate for several invoices, so do not assume a fixed maximum.Unul sau mai mulți candidați, cel mai încrezător primul. De obicei maximum 5, dar pot apărea mai mulți când această plată este cel mai bun candidat pentru mai multe facturi, deci nu presupune un maxim fix.
nullNot available to this caller: your company key or the company’s license does not have the efactura service. Never confuse this with [].Indisponibil pentru acest apelant: cheia de companie sau licența companiei nu are serviciul efactura. Nu confunda niciodată acest caz cu [].

[] is a normal result, not an error. Always handle it: a payment can settle several invoices at once, and a transaction imported moments ago may not have been processed yet.

[] este un rezultat normal, nu o eroare. Tratează-l întotdeauna: o plată poate achita mai multe facturi deodată, iar o tranzacție importată recent poate să nu fi fost încă procesată.

Two candidates for the same payment is normal and is not an error. When two invoices could explain one payment, each candidate that scores 40 or more is returned with its own confidence and Fint does not choose between them - the gap between the scores is the signal. If the bank’s payment details name one invoice, competing candidates are penalized and may drop out; invoices with identical totals and no matching reference are penalized and may get no suggestion at all. Suggestions are rebuilt hourly, so a transaction imported minutes ago may not have one yet.

Doi candidați pentru aceeași plată este normal și nu este o eroare. Când două facturi pot explica aceeași plată, fiecare candidat cu scor de cel puțin 40 este returnat cu propriul scor, iar Fint nu alege între ei - diferența dintre scoruri este semnalul. Dacă detaliile plății de la bancă numesc o factură, candidații concurenți sunt penalizați și pot dispărea; facturile cu totaluri identice și fără o referință potrivită sunt penalizate și pot să nu primească nicio sugestie. Sugestiile sunt recalculate orar, deci o tranzacție importată acum câteva minute poate să nu aibă încă una.

Suggestions are computed only for booked transactions (pending ones always get []), skip bank-internal movements such as fees, interest and loan draw-downs, and consider invoices with a positive total issued in the last 24 months. Issued invoices are paired only with incoming payments, and received invoices only with outgoing payments.

Sugestiile se calculează doar pentru tranzacțiile contabilizate (cele în așteptare primesc mereu []), ignoră mișcările interne ale băncii precum comisioane, dobânzi și trageri din credite și iau în calcul facturile cu total pozitiv emise în ultimele 24 de luni. Facturile emise sunt asociate doar cu încasări, iar cele primite doar cu plăți.

The mirror view - which payment settles a given invoice - is on the eFactura page.

Vederea în oglindă - ce plată achită o anumită factură - se află pe pagina eFactura.

API referenceReferință API

eFactura

Submit outgoing Romanian e-invoices and manage incoming and outgoing documents. Fint handles delivery to ANAF e-Factura. Product overview and pricing: API eFactura.

Trimite facturi electronice românești de ieșire și gestionează documente de intrare și ieșire. Fint se ocupă de transmiterea către ANAF e-Factura. Prezentare și prețuri: API eFactura.

Service access. The efactura service must be allowed on your company key and activated on that company’s license. Fint identifies the company from the company key, so you do not send it yourself.

Acces serviciu. Serviciul efactura trebuie permis pe cheia de companie și activat pe licența companiei. Fint identifică compania din cheia de companie, deci nu o trimiți tu.

An eFactura consent is the company’s authorization for Fint to access ANAF e-Factura on its behalf. It is established through ANAF’s OAuth flow: the authorized person grants access at ANAF, and the consent is recorded for the company license with a CUI and a validUntil date. While the consent is enabled, Fint can submit outgoing documents, report their status, and provide incoming documents from ANAF for that CUI.

Un consimțământ eFactura este autorizarea companiei pentru ca Fint să acceseze ANAF e-Factura în numele ei. Se stabilește prin fluxul OAuth ANAF: persoana autorizată acordă acces la ANAF, iar consimțământul este înregistrat pe licența companiei cu un CUI și o dată validUntil. Cât timp consimțământul este activ, Fint poate trimite documente de ieșire, raporta statusul lor și furniza documente de intrare de la ANAF pentru acel CUI.

You can obtain consent in two ways:

Poți obține consimțământul în două moduri:

  • Fint UI: sign in to Fint, go to Configurare → Servicii, and complete the eFactura authorization flow for the company.
  • Interfața Fint: autentifică-te în Fint, mergi la Configurare → Servicii și finalizează fluxul de autorizare eFactura pentru companie.
  • API (self-service): call /onboarding to generate a share link, have the authorized person open it in a browser and complete ANAF authorization, then poll /consent until data.consentStatus is enabled. See Onboarding & consentOnboarding și consimțământ below.
  • API (self-service): apelează /onboarding pentru a genera un link de partajare, lasă persoana autorizată să-l deschidă în browser și să finalizeze autorizarea ANAF, apoi interoghează /consent până când data.consentStatus este enabled. Vezi Onboarding & consentOnboarding și consimțământ mai jos.

The ANAF authorization step can be completed only by a person who holds a qualified digital certificate registered at ANAF for the company’s CUI (fiscal code). That person must authenticate at ANAF with that certificate; Fint does not collect or store certificate passwords, PINs, or other signing credentials. The company must also have active e-Factura access in ANAF SPV (Spatiu Privat Virtual).

Pasul de autorizare ANAF poate fi finalizat doar de o persoană care deține un certificat digital calificat înregistrat la ANAF pentru CUI-ul (codul fiscal) companiei. Acea persoană trebuie să se autentifice la ANAF cu certificatul respectiv; Fint nu colectează și nu stochează parole de certificat, PIN-uri sau alte credențiale de semnare. Compania trebuie să aibă și acces activ e-Factura în ANAF SPV (Spațiu Privat Virtual).

For outgoing documents, the consent CUI must match from.cui on each /send request. Without an enabled consent, /send returns 403 efactura_consent_required.

Pentru documente de ieșire, CUI-ul consimțământului trebuie să coincidă cu from.cui la fiecare cerere /send. Fără consimțământ activ, /send returnează 403 efactura_consent_required.

Complete consent setup before calling /send. Use the Fint UI or the Onboarding & consentOnboarding și consimțământ API endpoints below.

Finalizează configurarea consimțământului înainte de a apela /send. Folosește interfața Fint sau endpoint-urile API de Onboarding & consentOnboarding și consimțământ de mai jos.

Onboarding & consentOnboarding și consimțământ

API-only flow for delegated ANAF authorization: generate a share link with /onboarding, have the certificate holder complete authorization at ANAF, then poll /consent until consent is enabled.

Flux doar prin API pentru autorizare ANAF delegată: generează un link de partajare cu /onboarding, lasă titularul certificatului să finalizeze autorizarea la ANAF, apoi interoghează /consent până când consimțământul este activ.

Create onboarding linkCreează link de onboarding

POST/v1/efactura/onboarding

Creates a 7-day share link the end-user opens in a browser to authorize Fint at ANAF.

Creează un link de partajare valabil 7 zile pe care utilizatorul final îl deschide în browser pentru a autoriza Fint la ANAF.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
authLinkBrowser link the certificate holder opens to authorize Fint at ANAF.Link de browser pe care titularul certificatului îl deschide pentru a autoriza Fint la ANAF.
expiresOnWhen the link expires (7 days after creation), YYYY-MM-DD HH:MM:SS.Când expiră link-ul (7 zile după creare), YYYY-MM-DD HH:MM:SS.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonBody is missing or is not a JSON object (send {}); data.detail gives the reason. Checked before the API keys.Corpul lipsește sau nu este un obiect JSON (trimite {}); data.detail indică motivul. Se verifică înaintea cheilor API.
500token_creation_failedCould not create the onboarding tokenNu s-a putut crea token-ul de onboarding

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

GET/v1/efactura/consent

Returns the enabled ANAF consent for the company key’s license, or data: null when none is enabled yet. This is a GET endpoint and takes no request body.

Returnează consimțământul ANAF activ pentru licența cheii de companie, sau data: null când niciunul nu este încă activ. Este un endpoint GET și nu primește corp de cerere.

Response (no enabled consent)Răspuns (fără consimțământ activ)

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": null
}

Response fieldsCâmpuri de răspuns

data is null when no ANAF consent is enabled yet. When a consent is enabled, data is an object with the fields below.

data este null când niciun consimțământ ANAF nu este încă activ. Când un consimțământ este activ, data este un obiect cu câmpurile de mai jos.

FieldCâmpDescriptionDescriere
consentStatusAlways enabled: only an enabled consent is returned. data: null means there is no enabled consent.Întotdeauna enabled: este returnat doar un consimțământ activ. data: null înseamnă că nu există niciun consimțământ activ.
validUntilDate the consent is valid until, YYYY-MM-DD, or null if not yet known.Data până la care este valabil consimțământul, YYYY-MM-DD, sau null dacă nu este încă cunoscută.
updatedOnTimestamp of the most recent change to the consent.Marcaj temporal al celei mai recente modificări a consimțământului.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Send a documentTrimite un document

POST/v1/efactura/send

Validates and enqueues one outgoing document. The request body is a single JSON object describing the invoice; the fields below are its top-level keys (not HTTP headers). Fint maps it to a CIUS-RO (EN 16931) UBL invoice before sending it to ANAF.

Validează și pune în coadă un document de ieșire. Corpul cererii este un singur obiect JSON care descrie factura; câmpurile de mai jos sunt cheile sale de nivel superior (nu header-e HTTP). Fint îl transformă într-o factură UBL CIUS-RO (EN 16931) înainte de a o trimite la ANAF.

Request body fieldsCâmpuri din corpul cererii

Totals are computed, not sent. Line amounts, the VAT breakdown and the invoice totals are derived by Fint from items. Do not send total fields - they are ignored.

Totalurile sunt calculate, nu trimise. Valorile de linie, defalcarea TVA și totalurile facturii sunt derivate de Fint din items. Nu trimite câmpuri de total - sunt ignorate.

Length limits and dates. Limits given in bytes count UTF-8 bytes, not characters: a letter with diacritics (ă, â, î, ș, ț) takes 2 bytes. Longer values are cut silently, not rejected, and a cut through a 2-byte letter can make the generated document invalid, so keep text within the limit. Send dates as YYYY-MM-DD: other formats are parsed loosely, and slash dates are read month first (03/04/2025 is 4 March).

Limite de lungime și date. Limitele date în octeți numără octeții UTF-8, nu caracterele: o literă cu diacritice (ă, â, î, ș, ț) ocupă 2 octeți. Valorile mai lungi sunt tăiate silențios, nu respinse, iar o tăietură în mijlocul unei litere de 2 octeți poate face documentul generat invalid, așa că păstrează textul în limită. Trimite datele ca YYYY-MM-DD: alte formate sunt interpretate permisiv, iar datele cu bară sunt citite cu luna întâi (03/04/2025 este 4 martie).

HeaderAntet

FieldCâmpRequirementCerințăMeaningSemnificație
documentNumberRequiredObligatoriuInvoice number, a non-empty string. While an earlier document with the same number and seller is still pending or sent (uploaded, awaiting ANAF) on your license, a repeat returns 409 duplicate_document. Once that document is validated, rejected or failed, the same number is accepted again - Fint does not stop you from re-sending an invoice ANAF has already validated.Numărul facturii, un șir nevid. Cât timp un document anterior cu același număr și același furnizor este încă pending sau sent (încărcat, în așteptarea ANAF) pe licența ta, o repetare returnează 409 duplicate_document. După ce acel document devine validated, rejected sau failed, același număr este acceptat din nou - Fint nu te oprește să retrimiți o factură deja validată de ANAF.
documentDateRequiredObligatoriuIssue date; any parseable date, emitted as YYYY-MM-DD.Data emiterii; orice dată parsabilă, emisă ca YYYY-MM-DD.
currencyRequiredObligatoriuInvoice currency. Must be exactly RON (uppercase): Fint checks it case-insensitively but sends it as written, so ron is rejected by ANAF.Moneda facturii. Trebuie să fie exact RON (cu majuscule): Fint o verifică fără a ține cont de majuscule, dar o trimite așa cum e scrisă, deci ron este respins de ANAF.
dueDateConditionalCondiționatPayment due date; any parseable date, emitted as YYYY-MM-DD. Required by ANAF whenever the amount due is positive (rule BR-CO-25), which is every ordinary invoice - send it unless the document is fully settled. On a credit note (381) it is emitted on the first paymentMeans entry, so send paymentMeans too; without it you get 422 validation_failed with error code due_date_requires_payment_means. Omit the key rather than sending "" - an empty string is emitted as 1970-01-01.Data scadenței plății; orice dată parsabilă, emisă ca YYYY-MM-DD. Cerută de ANAF ori de câte ori suma de plată este pozitivă (regula BR-CO-25), adică pe orice factură obișnuită - trimite-o dacă documentul nu este deja achitat integral. Pe o notă de creditare (381) este emisă în prima intrare paymentMeans, deci trimite și paymentMeans; fără el primești 422 validation_failed cu codul de eroare due_date_requires_payment_means. Omite cheia în loc să trimiți "" - un șir gol este emis ca 1970-01-01.
documentTypeCodeOptionalOpționalUNCL 1001 type; default 380. Allowed: 380 Factură, 381 Notă de creditare, 384 Factură corectată, 389 Autofactură, 751 Informații contabile.Tip UNCL 1001; implicit 380. Permise: 380 Factură, 381 Notă de creditare, 384 Factură corectată, 389 Autofactură, 751 Informații contabile.
noteOptionalOpționalFree-text note or observation. Truncated to 300 bytes.Notă sau observație text liber. Trunchiată la 300 de octeți.
deliveryDateOptionalOpționalActual delivery date of the goods/services. Required by ANAF when any item uses vatScheme K (intra-community supply).Data efectivă a livrării bunurilor/serviciilor. Cerută de ANAF când un articol folosește vatScheme K (livrare intracomunitară).
deliveryAddressOptionalOpționalDelivery location address, same shape as from.address. Emitted only alongside deliveryDate; if omitted, the buyer address is used.Adresa locului de livrare, aceeași structură ca from.address. Emisă doar împreună cu deliveryDate; dacă lipsește, se folosește adresa clientului.
buyerReferenceOptionalOpționalBuyer’s reference, e.g. a PO or cost-center code. Truncated to 30 bytes (the ANAF limit) - longer values are cut silently, not rejected.Referința cumpărătorului, ex. o comandă sau cod de centru de cost. Trunchiată la 30 de octeți (limita ANAF) - valorile mai lungi sunt tăiate silențios, nu respinse.
payableRoundingAmountOptionalOpționalRounding amount on the total due: the signed difference between what you actually collect and the total computed from the lines, e.g. -0.01 or 0.01. Number or numeric string, rounded to 2 decimals, between -0.99 and 0.99. Added to the payable amount; every other total stays computed from the lines. Omitted means no rounding.Suma de rotunjire a totalului de plată: diferența cu semn dintre suma efectiv încasată și totalul calculat din linii, ex. -0.01 sau 0.01. Număr sau șir numeric, rotunjit la 2 zecimale, între -0.99 și 0.99. Se adaugă la suma de plată; restul totalurilor rămân calculate din linii. Dacă lipsește, nu se aplică nicio rotunjire.

Supplier - fromFurnizor - from

The company issuing the invoice. Its cui is what ties the document to your eFactura consent.

Compania care emite factura. cui-ul ei este cel care leagă documentul de consimțământul tău eFactura.

FieldCâmpRequirementCerințăMeaningSemnificație
cuiRequiredObligatoriuFiscal code (digits, optional RO prefix). Must equal the enabled consent CUI for your license, otherwise 422 validation_failed with error code from_cui_mismatch.Cod fiscal (cifre, prefix RO opțional). Trebuie să fie egal cu CUI-ul consimțământului activ al licenței, altfel 422 validation_failed cu codul de eroare from_cui_mismatch.
nameRequiredObligatoriuLegal name of the party. Truncated to 200 bytes.Denumirea legală a părții. Trunchiată la 200 de octeți.
address.lineRequiredObligatoriuStreet address. Truncated to 200 bytes.Adresa (stradă, număr). Trunchiată la 200 de octeți.
address.cityRequiredObligatoriuCity. In Bucharest use the sector, e.g. SECTOR1. Truncated to 100 bytes.Localitate. În București folosește sectorul, ex. SECTOR1. Trunchiată la 100 de octeți.
address.countrySubdivisionRequiredObligatoriuCounty as RO-XX (e.g. RO-CJ); Bucharest is RO-B. Also required for a non-Romanian address (e.g. the region), which is sent as written.Județul ca RO-XX (ex. RO-CJ); Bucureștiul este RO-B. Obligatoriu și pentru o adresă din afara României (ex. regiunea), care este trimisă așa cum e scrisă.
address.countryRequiredObligatoriuISO country code, e.g. RO.Cod ISO de țară, ex. RO.
address.postalCodeOptionalOpționalPostal code. Truncated to 20 bytes.Cod poștal. Trunchiat la 20 de octeți.
regComOptionalOpționalTrade register number (nr. reg. com.), e.g. J40/12813/2016. Max 100 bytes; a longer value is rejected with invalid_from_reg_com. Sent to ANAF as the seller’s legal registration identifier or the buyer’s party identifier - see UBL mapping.Numărul de la registrul comerțului (nr. reg. com.), ex. J40/12813/2016. Maxim 100 de octeți; o valoare mai lungă este respinsă cu invalid_from_reg_com. Este trimis la ANAF ca identificator de înregistrare legală al vânzătorului sau ca identificator al cumpărătorului - vezi Mapare UBL.
contactNameOptionalOpționalContact person for this party. Truncated to 200 bytes.Persoana de contact pentru această parte. Trunchiată la 200 de octeți.
contactEmailOptionalOpționalContact email for this party. Truncated to 200 bytes.Emailul de contact pentru această parte. Trunchiat la 200 de octeți.
legalFormOptionalOpționalAdditional legal information that Romanian law requires on the invoice and no other field carries, e.g. Capital social: 200 lei. Separate multiple entries with #. Truncated to 200 bytes.Informații juridice suplimentare pe care legea le cere pe factură și care nu au alt câmp, ex. Capital social: 200 lei. Separă mai multe mențiuni cu #. Trunchiat la 200 de octeți.

Customer - toClient - to

The company or person being invoiced. Takes the same keys as from, except legalForm (seller only), plus email (buyer only).

Compania sau persoana facturată. Acceptă aceleași chei ca from, cu excepția legalForm (doar la furnizor), plus email (doar la client).

FieldCâmpRequirementCerințăMeaningSemnificație
cuiRequiredObligatoriuFiscal code (digits, optional RO prefix), or 0000000000000 for a consumer (B2C) buyer - name and address are still required. Fint only checks that the value contains digits; ANAF checks that it is valid.Cod fiscal (cifre, prefix RO opțional), sau 0000000000000 pentru un client persoană fizică (B2C) - name și address rămân obligatorii. Fint verifică doar că valoarea conține cifre; ANAF verifică dacă este valid.
nameRequiredObligatoriuLegal name of the party. Truncated to 200 bytes.Denumirea legală a părții. Trunchiată la 200 de octeți.
address.lineRequiredObligatoriuStreet address. Truncated to 200 bytes.Adresa (stradă, număr). Trunchiată la 200 de octeți.
address.cityRequiredObligatoriuCity. In Bucharest use the sector, e.g. SECTOR1. Truncated to 100 bytes.Localitate. În București folosește sectorul, ex. SECTOR1. Trunchiată la 100 de octeți.
address.countrySubdivisionRequiredObligatoriuCounty as RO-XX (e.g. RO-CJ); Bucharest is RO-B. Also required for a non-Romanian address (e.g. the region), which is sent as written.Județul ca RO-XX (ex. RO-CJ); Bucureștiul este RO-B. Obligatoriu și pentru o adresă din afara României (ex. regiunea), care este trimisă așa cum e scrisă.
address.countryRequiredObligatoriuISO country code, e.g. RO.Cod ISO de țară, ex. RO.
address.postalCodeOptionalOpționalPostal code. Truncated to 20 bytes.Cod poștal. Trunchiat la 20 de octeți.
regComOptionalOpționalTrade register number (nr. reg. com.), e.g. J40/12813/2016. Max 100 bytes; a longer value is rejected with invalid_to_reg_com. Sent to ANAF as the seller’s legal registration identifier or the buyer’s party identifier - see UBL mapping.Numărul de la registrul comerțului (nr. reg. com.), ex. J40/12813/2016. Maxim 100 de octeți; o valoare mai lungă este respinsă cu invalid_to_reg_com. Este trimis la ANAF ca identificator de înregistrare legală al vânzătorului sau ca identificator al cumpărătorului - vezi Mapare UBL.
contactNameOptionalOpționalContact person for this party. Truncated to 200 bytes.Persoana de contact pentru această parte. Trunchiată la 200 de octeți.
contactEmailOptionalOpționalContact email for this party. Truncated to 200 bytes.Emailul de contact pentru această parte. Trunchiat la 200 de octeți.
emailOptionalOpționalBuyer electronic address, sent as the invoice endpoint id.Adresa electronică a cumpărătorului, trimisă ca identificator de endpoint al facturii.

Line items - items[]Linii - items[]

A non-empty array; each element is one invoice line.

Un array nevid; fiecare element este o linie de factură.

FieldCâmpRequirementCerințăMeaningSemnificație
nameRequiredObligatoriuItem name/description. Truncated to 100 characters - anything longer is silently cut, not rejected.Denumirea/descrierea articolului. Trunchiat la 100 de caractere - ce depășește este tăiat silențios, nu respins.
quantityRequiredObligatoriuInvoiced quantity, as a JSON number. Emitted with 2 decimals; the unit of measure is always C62 (unit). A non-numeric value is not rejected - it counts as 0.Cantitatea facturată, ca număr JSON. Emisă cu 2 zecimale; unitatea de măsură este mereu C62 (bucată). O valoare nenumerică nu este respinsă - contează ca 0.
priceRequiredObligatoriuNet unit price, as a JSON number. Emitted with 2 decimals (e.g. 0.125 becomes 0.13), while the line amount is computed from the unrounded price × quantity. A non-numeric value counts as 0.Prețul unitar net, ca număr JSON. Emis cu 2 zecimale (ex. 0.125 devine 0.13), iar valoarea liniei este calculată din prețul nerotunjit × cantitate. O valoare nenumerică contează ca 0.
vatRateRequiredObligatoriuVAT percentage, 0-100. Must be greater than 0 for vatScheme S and exactly 0 for every other scheme; Fint validates this coupling.Procent TVA, 0-100. Trebuie să fie mai mare decât 0 pentru vatScheme S și exact 0 pentru orice altă schemă; Fint validează această corelare.
vatSchemeRequiredObligatoriuVAT category code (UNCL 5305): S standard rate, Z zero rated, E exempt from VAT, AE reverse charge, K intra-community supply, G export outside the EU, O outside scope of VAT, L Canary Islands (IGIC), M Ceuta & Melilla (IPSI). Send it in uppercase: Fint checks it case-insensitively but sends it as written.Cod categorie TVA (UNCL 5305): S cotă standard, Z cotă zero, E scutit de TVA, AE taxare inversă, K livrare intracomunitară, G export în afara UE, O în afara sferei TVA, L Insulele Canare (IGIC), M Ceuta și Melilla (IPSI). Trimite-l cu majuscule: Fint îl verifică fără a ține cont de majuscule, dar îl trimite așa cum e scris.
vatexCodeConditionalCondiționatVAT exemption reason code, e.g. VATEX-EU-AE. Required by ANAF for the exempt / reverse-charge schemes (E, AE, K, G, O); not used for S or Z. Enforced by ANAF at submission, not pre-checked by Fint. Emitted once per VAT category: if lines in the same category carry different values, only the first non-empty one is used (the same applies to vatexReason).Cod motiv scutire TVA, ex. VATEX-EU-AE. Cerut de ANAF pentru schemele scutite / cu taxare inversă (E, AE, K, G, O); neutilizat pentru S sau Z. Aplicat de ANAF la trimitere, nu pre-verificat de Fint. Emis o singură dată per categorie de TVA: dacă liniile din aceeași categorie au valori diferite, se folosește doar prima valoare nevidă (la fel pentru vatexReason).
vatexReasonOptionalOpționalFree-text VAT exemption reason, paired with vatexCode.Motiv de scutire TVA în text liber, împreună cu vatexCode.
classificationCodeOptionalOpționalItem classification code, e.g. a CPV code. Emitted only together with classificationList; if either is missing, both are dropped silently.Cod de clasificare a articolului, ex. un cod CPV. Emis doar împreună cu classificationList; dacă lipsește unul dintre ele, ambele sunt ignorate silențios.
classificationListOptionalOpționalClassification scheme id (listID). Must be a UNTDID 7143 code (e.g. STI for CPV); Fint does not check it. Emitted only together with classificationCode.Id-ul schemei de clasificare (listID). Trebuie să fie un cod UNTDID 7143 (ex. STI pentru CPV); Fint nu îl verifică. Emis doar împreună cu classificationCode.

Payment - paymentMeansPlată - paymentMeans

Optional. The account to be paid into - a single object, or an array of them to name several accounts (see Multiple payee accounts below).

Opțional. Contul în care se face plata - un singur obiect, sau un array de obiecte pentru a indica mai multe conturi (vezi Mai multe conturi de plată mai jos).

FieldCâmpRequirementCerințăMeaningSemnificație
paymentMeansCodeRequired if paymentMeans presentObligatoriu dacă paymentMeans existăUNCL 4461 payment means code, 1-97, as a number or numeric string; e.g. 30 credit transfer. Send it without leading zeros: 030 passes Fint’s check but is sent as written, and counts as different from 30 when entries are compared.Cod mijloc de plată UNCL 4461, 1-97, ca număr sau șir numeric; ex. 30 transfer bancar. Trimite-l fără zerouri în față: 030 trece de verificarea Fint, dar este trimis așa cum e scris și este considerat diferit de 30 la compararea intrărilor.
ibanOptionalOpționalPayee account IBAN. Recommended.IBAN-ul contului beneficiar. Recomandat.
paymentIdOptionalOpționalPayment reference / remittance information.Referință de plată / informații de remitere.
accountNameOptionalOpționalPayee account holder name. Truncated to 200 bytes.Numele titularului contului beneficiar. Trunchiată la 200 de octeți.
bicOptionalOpționalPayee bank BIC/SWIFT. Emitted only together with iban or accountName.BIC/SWIFT-ul băncii beneficiare. Emis doar împreună cu iban sau accountName.

Multiple payee accountsMai multe conturi de plată

To offer the payer more than one account, send paymentMeans as an array instead of a single object. Each entry becomes its own payment block on the invoice, in the order you send them, and entry 0 is the primary: it is what document retrieval returns as paymentMeans. Fill accountName on every entry - it is what tells the payer which bank and which payment channel each account is for.

Pentru a-i oferi plătitorului mai multe conturi, trimite paymentMeans ca array în loc de un singur obiect. Fiecare intrare devine propriul bloc de plată pe factură, în ordinea în care le trimiți, iar intrarea 0 este cea principală: ea este cea returnată ca paymentMeans la citirea documentului. Completează accountName la fiecare intrare - el îi spune plătitorului la ce bancă și pe ce canal de plată corespunde fiecare cont.

All entries must repeat the same paymentMeansCode. CIUS-RO requires every payment means code on an invoice to be equal once there is more than one (rule UBL-SR-47). Mixed codes are rejected with 422 validation_failed (error code payment_means_codes_differ) before the document reaches ANAF. A single object is not affected.

Toate intrările trebuie să repete același paymentMeansCode. CIUS-RO cere ca toate codurile mijloacelor de plată de pe o factură să fie egale atunci când există mai multe (regula UBL-SR-47). Codurile diferite sunt respinse cu 422 validation_failed (cod de eroare payment_means_codes_differ) înainte ca documentul să ajungă la ANAF. Un singur obiect nu este afectat.

Error codeCod de eroareWhenCând
payment_means_codes_differEntries carry different paymentMeansCode values.Intrările au valori diferite pentru paymentMeansCode.
too_many_payment_meansMore than 10 entries.Mai mult de 10 intrări.
missing_payment_means_codeAn entry has no paymentMeansCode. The field names the index, e.g. paymentMeans.1.paymentMeansCode; for a single object (including an empty {} or []) it is paymentMeans.paymentMeansCode.O intrare nu are paymentMeansCode. Câmpul field indică poziția, ex. paymentMeans.1.paymentMeansCode; pentru un singur obiect (inclusiv un {} sau [] gol) este paymentMeans.paymentMeansCode.
invalid_payment_meansAn entry is not an object (field is e.g. paymentMeans.1), or paymentMeans itself is neither an object nor an array (field is paymentMeans).O intrare nu este un obiect (field este ex. paymentMeans.1), sau paymentMeans însuși nu este nici obiect, nici array (field este paymentMeans).
invalid_payment_means_codeA paymentMeansCode is not a whole number from 1 to 97.Un paymentMeansCode nu este un număr întreg între 1 și 97.

Normalization. You do not need to pre-format Romanian addresses. Fint accepts county names or codes (e.g. Cluj or RO-CJ) and Bucharest variants (București, Sector 1, RO-B) and normalizes them to ANAF/CIUS-RO form. If the city or county is not recognized, Fint replaces both with the registered seat that Info CUI holds for the party’s cui. If that does not help either (e.g. a Bucharest address with no recognizable sector), the address is sent as you wrote it and ANAF rejects it. An omitted postalCode is filled from Info CUI when available. Non-Romanian addresses are sent as written.

Normalizare. Nu trebuie să pre-formatezi adresele din România. Fint acceptă nume sau coduri de județ (ex. Cluj sau RO-CJ) și variante pentru București (București, Sector 1, RO-B) și le normalizează în forma ANAF/CIUS-RO. Dacă localitatea sau județul nu sunt recunoscute, Fint le înlocuiește pe amândouă cu sediul social pe care Info CUI îl are pentru cui-ul părții. Dacă nici asta nu ajută (ex. o adresă din București fără un sector recunoscut), adresa este trimisă așa cum ai scris-o, iar ANAF o respinge. Un postalCode lipsă este completat din Info CUI când este disponibil. Adresele din afara României sunt trimise așa cum sunt scrise.

Trade register number. The same Info CUI lookup fills from.regCom when you leave the key out of the payload, so the seller’s nr. reg. com. reaches ANAF without any work on your side. Send from.regCom yourself to override it, or send it as "" / null to omit it from the invoice. There is no auto-fill for to.regCom - send it if you want the buyer’s number on the document.

Numărul de la registrul comerțului. Aceeași căutare în Info CUI completează from.regCom când nu trimiți deloc cheia, așa că nr. reg. com. al vânzătorului ajunge la ANAF fără efort din partea ta. Trimite from.regCom pentru a-l suprascrie, sau trimite-l ca "" / null pentru a-l omite din factură. Pentru to.regCom nu există completare automată - trimite-l dacă vrei numărul cumpărătorului pe document.

The JSON tab above is the smallest request Fint accepts: documentNumber, documentDate, currency (RON), dueDate, from, to and a non-empty items array. After local checks and a duplicate check, Fint pre-validates the generated UBL with ANAF and returns 422 validation_failed if ANAF reports errors. If ANAF’s validation service does not answer, this step is skipped and the document is still accepted with 201, so a 201 does not guarantee that ANAF will accept it - always check the document’s final status.

Tabul JSON de mai sus este cea mai mică cerere acceptată de Fint: documentNumber, documentDate, currency (RON), dueDate, from, to și un array items nevid. După verificări locale și verificarea duplicatelor, Fint pre-validează UBL-ul generat cu ANAF și returnează 422 validation_failed dacă ANAF raportează erori. Dacă serviciul de validare ANAF nu răspunde, acest pas este omis și documentul este totuși acceptat cu 201, deci un 201 nu garantează că ANAF îl va accepta - verifică întotdeauna statusul final al documentului.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
uidStable, opaque 32-character identifier (letters and digits, case-sensitive) of the newly created document; use it with Get a document and /download.Identificatorul stabil și opac de 32 de caractere (litere și cifre, sensibil la majuscule) al documentului nou creat; folosește-l cu Obține un document și /download.
statusLifecycle status of the document; pending immediately after a successful submit.Statusul în ciclul de viață al documentului; pending imediat după o trimitere reușită.

On failure, data instead carries error detail: a 422 validation_failed returns a data.errors[] array, each with code and message and, when the error points at a field, field (it is null or absent for ANAF pre-validation and document-generation errors); a 409 duplicate_document returns data.existingDocumentUid. The codes are listed under Validation error codes.

La eșec, data conține în schimb detaliul erorii: un 422 validation_failed returnează un array data.errors[], fiecare cu code și message și, când eroarea se referă la un câmp, field (este null sau lipsește pentru erorile de pre-validare ANAF și de generare a documentului); un 409 duplicate_document returnează data.existingDocumentUid. Codurile sunt listate la Coduri de eroare la validare.

Response (422 validation failed)Răspuns (422 validare eșuată)

json
{
  "status": "error",
  "msg": "Document is not valid.",
  "reason": "validation_failed",
  "data": {
    "errors": [
      {
        "code": "from_cui_mismatch",
        "field": "from.cui",
        "message": "from.cui must match the enabled eFactura consent CUI for this license"
      }
    ]
  }
}

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
429limit_exceededUsage at/over plan limit for the efactura service with extra charges offUtilizare la/peste limita planului pentru serviciul efactura, fără taxe suplimentare activate
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
403efactura_consent_requiredNo enabled consent, or the consent has no CUINiciun consimțământ activ, sau consimțământul nu are CUI
422validation_failedDocument fails field validation, or fails ANAF pre-validation (see data.errors[] and Validation error codes)Documentul eșuează validarea câmpurilor, sau eșuează pre-validarea ANAF (vezi data.errors[] și Coduri de eroare la validare)
409duplicate_documentA document with the same seller and documentNumber is still pending or sent (see data.existingDocumentUid)Un document cu același furnizor și același documentNumber este încă pending sau sent (vezi data.existingDocumentUid)
500enqueue_failedCould not create the pending documentNu s-a putut crea documentul în așteptare

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Validation error codesCoduri de eroare la validare

Codes returned in data.errors[].code with 422 validation_failed. All problems found by Fint’s own checks are reported together; ANAF pre-validation runs only when they all pass. field is a dot path with zero-based indexes, e.g. items.0.vatRate. Party codes come in a from and a to variant; the table shows from.

Coduri returnate în data.errors[].code cu 422 validation_failed. Toate problemele găsite de verificările Fint sunt raportate împreună; pre-validarea ANAF rulează doar când toate trec. field este o cale cu puncte și indecși de la zero, ex. items.0.vatRate. Codurile pentru părți au o variantă from și una to; tabelul arată varianta from.

CodeCodWhenCând
missing_document_numberdocumentNumber is missing, empty or not a string.documentNumber lipsește, este gol sau nu este un șir.
missing_document_date, invalid_document_datedocumentDate is missing, or is not a parseable date.documentDate lipsește sau nu este o dată parsabilă.
missing_currency, invalid_currencycurrency is missing, or is not RON.currency lipsește sau nu este RON.
invalid_due_date, invalid_delivery_datedueDate / deliveryDate is set but is not a parseable date.dueDate / deliveryDate este trimis, dar nu este o dată parsabilă.
due_date_requires_payment_meansA credit note (381) has dueDate but no paymentMeans. Send paymentMeans with a paymentMeansCode, or omit dueDate.O notă de creditare (381) are dueDate, dar nu are paymentMeans. Trimite paymentMeans cu un paymentMeansCode sau omite dueDate.
invalid_document_type_codedocumentTypeCode is not 380, 381, 384, 389 or 751.documentTypeCode nu este 380, 381, 384, 389 sau 751.
invalid_payable_rounding_amountpayableRoundingAmount is not a number, or is outside -0.99 to 0.99.payableRoundingAmount nu este un număr sau este în afara intervalului -0.99 - 0.99.
missing_from, missing_toThe from / to object is missing.Obiectul from / to lipsește.
missing_from_cui, missing_from_name, missing_from_addressA required party field is missing or empty (name must be a string, address an object).Un câmp obligatoriu al părții lipsește sau este gol (name trebuie să fie șir, address obiect).
missing_from_address_line, missing_from_address_city, missing_from_address_countrySubdivision, missing_from_address_countryA required address field is missing or empty.Un câmp obligatoriu al adresei lipsește sau este gol.
invalid_from_cui, invalid_to_cuiThe CUI contains no digits (0000000000000 is accepted for to).CUI-ul nu conține cifre (pentru to se acceptă 0000000000000).
from_cui_mismatchfrom.cui differs from the CUI of your enabled consent.from.cui diferă de CUI-ul consimțământului activ.
invalid_from_reg_com, invalid_from_legal_form, invalid_from_email, invalid_from_contact_name, invalid_from_contact_emailThe value is not a string or number; regCom is also rejected above 100 bytes.Valoarea nu este un șir sau un număr; regCom este respins și peste 100 de octeți.
items_empty, item_invaliditems is missing, not an array or empty / an entry is not an object.items lipsește, nu este array sau este gol / o intrare nu este obiect.
item_missing_name, item_missing_price, item_missing_quantity, item_missing_vat_rate, item_missing_vat_schemeA required line field is missing (name must be a non-empty string).Un câmp obligatoriu al liniei lipsește (name trebuie să fie un șir nevid).
invalid_vat_schemevatScheme is not one of S, Z, E, AE, K, G, O, L, M.vatScheme nu este unul dintre S, Z, E, AE, K, G, O, L, M.
item_invalid_vat_ratevatRate is not numeric, or is outside 0-100.vatRate nu este numeric sau este în afara intervalului 0-100.
vat_rate_category_mismatchvatRate is not 0 for a scheme other than S, or is 0 for S.vatRate nu este 0 pentru o altă schemă decât S, sau este 0 pentru S.
invalid_payment_means, missing_payment_means_code, invalid_payment_means_code, too_many_payment_means, payment_means_codes_differSee the payment errors under Multiple payee accounts above.Vezi erorile de plată de la Mai multe conturi de plată de mai sus.
ubl_conversion_failed, ubl_xml_malformedFint could not build a valid UBL document from the payload; there is no field.Fint nu a putut genera un document UBL valid din payload; nu există field.
anaf_validationANAF pre-validation rejected the generated UBL. message is ANAF’s text and field is null; there can be several.Pre-validarea ANAF a respins UBL-ul generat. message este textul ANAF, iar field este null; pot fi mai multe.

List documentsListează documente

GET/v1/efactura/documents

Lists documents for the key’s license. No query parameters uses defaults. Omitting type returns both directions (incoming and outgoing) interleaved, most recently recorded in Fint first (not sorted by documentDate); each item carries a type field so you can tell them apart. For line items and download availability, use /document. Documents found in SPV are listed as soon as Fint finds them; until they are processed (processed: 0), documentNumber, fromTo and total may be null. This is a GET endpoint and takes no request body; pass parameters in the query string.

Listează documentele pentru licența cheii. Fără parametri de query folosește valorile implicite. Fără type sunt returnate ambele direcții (intrare și ieșire) intercalate, cele înregistrate cel mai recent în Fint primele (nu sunt sortate după documentDate); fiecare element are un câmp type ca să le poți deosebi. Pentru linii și disponibilitate descărcare, folosește /document. Documentele găsite în SPV sunt listate imediat ce Fint le găsește; până la procesare (processed: 0), documentNumber, fromTo și total pot fi null. Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParametruRequiredObligatoriuDescriptionDescriere
typenonuall (both directions, default)(ambele direcții, implicit), outgoing orsau incoming
limitnonuPage size, default 50, max 100Dimensiune pagină, implicit 50, max 100
offsetnonuOffset, default 0Offset, implicit 0
statusnonuComma-separated list of pending, sent, validated, rejected, failed ; default all. Any unknown value returns 400 invalid_status, and so does sent with type=incoming (incoming documents are never sent).Listă separată prin virgulă din pending, sent, validated, rejected, failed ; implicit toate. Orice valoare necunoscută returnează 400 invalid_status, la fel și sent cu type=incoming (documentele primite nu sunt niciodată sent).

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
documents[]Array of document objects carrying the summary fields (uid, type, status, source, documentTypeCode, documentNumber, documentDate, currency, fromTo, fromToCui, total, anafStatus, anafId, processed, createdOn, updatedOn, suggestedReconciliation). See Get a document for the full per-field reference; line items, parties and download availability are returned only by that endpoint.Array de obiecte document care conțin câmpurile sumare (uid, type, status, source, documentTypeCode, documentNumber, documentDate, currency, fromTo, fromToCui, total, anafStatus, anafId, processed, createdOn, updatedOn, suggestedReconciliation). Vezi Obține un document pentru referința completă pe câmpuri; liniile, părțile și disponibilitatea descărcării sunt returnate doar de acel endpoint.
totalTotal number of documents matching the query (before pagination).Numărul total de documente care corespund interogării (înainte de paginare).
limitPage size actually applied: values above 100 become 100; a missing or invalid value becomes 50.Dimensiunea paginii aplicată efectiv: valorile peste 100 devin 100; o valoare lipsă sau invalidă devine 50.
offsetOffset actually applied (a negative value becomes 0).Offset-ul aplicat efectiv (o valoare negativă devine 0).

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_typetype is not all, incoming or outgoingtype nu este all, incoming sau outgoing
400invalid_statusstatus contains an unknown value, or sent with type=incomingstatus conține o valoare necunoscută, sau sent cu type=incoming

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Get a documentObține un document

GET/v1/efactura/document/{uid}

Resolves any document (outgoing or incoming) owned by the company key’s license, including parties, line items, payment means, ANAF state and download availability. This is a GET endpoint and takes no request body.

Rezolvă orice document (de ieșire sau intrare) deținut de licența cheii de companie, inclusiv părți, linii, mijloace de plată, starea ANAF și disponibilitatea descărcării. Este un endpoint GET și nu primește corp de cerere.

ParamParamLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaDocument UID, from /documents or the /send responseUID-ul documentului, din /documents sau răspunsul /send

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
uidStable document identifier: an opaque, case-sensitive 32-character alphanumeric string (older documents may have a UUID). Store it exactly as returned; do not validate it as a UUID or change its case. Use it with /document and /download.Identificator stabil al documentului: un șir opac de 32 de caractere alfanumerice, sensibil la majuscule (documentele mai vechi pot avea un UUID). Păstrează-l exact cum îl primești; nu-l valida ca UUID și nu-i schimba majusculele. Folosește-l cu /document și /download.
typeoutgoing (issued by you) or incoming (received from a supplier via SPV).outgoing (emis de tine) sau incoming (primit de la un furnizor prin SPV).
statusFint lifecycle status: pending (queued for upload), sent (uploaded, awaiting ANAF), validated, rejected or failed; the last three are final. An upload that fails stays pending with an errorMessage and is retried. After 12 failed attempts, over about 2 days, Fint stops retrying and the status becomes failed, with the error in errorMessage. To try again, send the document again; the same documentNumber is accepted.Statusul în ciclul de viață Fint: pending (în coadă pentru încărcare), sent (încărcat, așteaptă ANAF), validated, rejected sau failed; ultimele trei sunt finale. O încărcare eșuată rămâne pending cu un errorMessage și este reîncercată. După 12 încercări eșuate, în aproximativ 2 zile, Fint nu mai reîncearcă, iar statusul devine failed, cu eroarea în errorMessage. Ca să reîncerci, trimite documentul din nou; același documentNumber este acceptat.
errorMessageError detail, or null. Set when the document is rejected or failed, and also on a pending or sent document while Fint retries (failed upload, or the consent is no longer active); in that case it is not final. Cleared when an upload succeeds.Detaliul erorii, sau null. Este setat când documentul este rejected sau failed, dar și pe un document pending sau sent cât timp Fint reîncearcă (încărcare eșuată sau consimțământ inactiv); în acest caz nu este final. Este golit când încărcarea reușește.
sourceOrigin: fint (issued through Fint) or spv (discovered in the ANAF SPV).Origine: fint (emis prin Fint) sau spv (descoperit în SPV-ul ANAF).
documentTypeCodeDocument type code, e.g. 380 invoice, 381 credit note.Cod tip document, ex. 380 factură, 381 notă de credit.
documentNumberDocument/invoice number.Numărul documentului/facturii.
documentDateIssue date, YYYY-MM-DD.Data emiterii, YYYY-MM-DD.
currencyDocument currency (ISO 4217, e.g. RON).Moneda documentului (ISO 4217, ex. RON).
fromToCounterparty name (buyer on outgoing, supplier on incoming).Numele contrapărții (client la ieșire, furnizor la intrare).
fromToCuiCounterparty CUI.CUI-ul contrapărții.
totalGrand total including VAT, as a string.Totalul general cu TVA, ca șir de caractere.
anafStatusRaw ANAF state; branch on status, not on this field. Outgoing: null while queued, pending once uploaded, then ANAF’s in prelucrare, ok, nok or XML cu erori nepreluat de sistem. Documents found in SPV start with ANAF’s message type: FACTURA PRIMITA, FACTURA TRIMISA or ERORI FACTURA.Starea ANAF brută; decide după status, nu după acest câmp. La ieșire: null cât timp e în coadă, pending după încărcare, apoi valorile ANAF in prelucrare, ok, nok sau XML cu erori nepreluat de sistem. Documentele găsite în SPV pornesc cu tipul mesajului ANAF: FACTURA PRIMITA, FACTURA TRIMISA sau ERORI FACTURA.
anafIdANAF upload index / download id, or null.Index de încărcare / id de descărcare ANAF, sau null.
pdfAvailable1 if a human-readable PDF can be fetched from /download, else 0.1 dacă un PDF lizibil poate fi obținut din /download, altfel 0.
xmlAvailable1 if the signed XML/ZIP can be fetched from /download, else 0.1 dacă XML-ul/ZIP-ul semnat poate fi obținut din /download, altfel 0.
processed1 once the document has been fully processed after ANAF confirmation, else 0.1 după procesarea completă a documentului în urma confirmării ANAF, altfel 0.
createdOnTimestamp when the document was first recorded in Fint (issued for outgoing, or first pulled from SPV for incoming).Marcaj temporal când documentul a fost înregistrat prima dată în Fint (emis pentru ieșire, sau preluat prima dată din SPV pentru intrare).
updatedOnTimestamp of the most recent change to the document (status or ANAF state update).Marcaj temporal al celei mai recente modificări a documentului (actualizare status sau stare ANAF).
noteFree-text note from the submitted payload, or null. Always null on documents retrieved from SPV.Nota în text liber din payload-ul trimis, sau null. Întotdeauna null la documentele preluate din SPV.
dueDatePayment due date (YYYY-MM-DD), or null. Echoed from the submitted payload; for incoming documents it is read from the supplier’s XML when present.Data scadenței plății (YYYY-MM-DD) sau null. Reluată din payload-ul trimis; pentru documentele primite este citită din XML-ul furnizorului, când există.
buyerReferenceBuyer’s reference (PO / cost-center code), or null. Echoed from the submitted payload; for incoming documents it is read from the supplier’s XML when present.Referința cumpărătorului (comandă / centru de cost) sau null. Reluată din payload-ul trimis; pentru documentele primite este citită din XML-ul furnizorului, când există.
payableRoundingAmountRounding amount on the total due as a 2-decimal string (e.g. "-0.01"), or null. Echoed from the submitted payload; for incoming documents it is read from the supplier’s XML when present. null also when the value is zero, which is the normal case. Note total already includes it.Suma de rotunjire a totalului de plată, ca șir cu 2 zecimale (ex. "-0.01") sau null. Reluată din payload-ul trimis; pentru documentele primite este citită din XML-ul furnizorului, când există. null și când valoarea este zero, cazul obișnuit. Rețineți că total o include deja.
deliveryDateActual delivery date from the submitted payload, or null. Always null on documents retrieved from SPV.Data efectivă a livrării din payload-ul trimis, sau null. Întotdeauna null la documentele preluate din SPV.
deliveryAddressDelivery address object as submitted (same shape as a party address), or null. Always null on documents retrieved from SPV.Obiect adresă de livrare, așa cum a fost trimis (aceeași formă ca address al unei părți), sau null. Întotdeauna null la documentele preluate din SPV.
fromSupplier party: cui, name, address - see the party fields under Send a document. May also carry regCom, email, contactName, contactEmail and legalForm when present.Partea furnizor: cui, name, address - vezi câmpurile părții la Trimite un document. Poate conține și regCom, email, contactName, contactEmail și legalForm când există.
toCustomer party: same shape as from.Partea client: aceeași formă ca from.
paymentMeansPayment means (paymentMeansCode, paymentId, iban, accountName, bic), or null when the document carries none. Returned for incoming documents too, read from the stored UBL. Always an object, never an array: when the invoice names several accounts, this is the first of them.Modalitate de plată (paymentMeansCode, paymentId, iban, accountName, bic), sau null când documentul nu conține niciuna. Este returnată și pentru documentele de intrare, citită din UBL-ul stocat. Întotdeauna un obiect, niciodată un array: când factura indică mai multe conturi, acesta este primul dintre ele.
paymentMeansListEvery payee account the document names, in document order, each with the same five keys as paymentMeans; [] when the document names none. paymentMeansList[0] is always identical to paymentMeans, so an integration that reads only paymentMeans is unaffected. Also filled for incoming documents from the supplier’s UBL, where invoices commonly name several accounts.Toate conturile beneficiare indicate de document, în ordinea din document, fiecare cu aceleași cinci chei ca paymentMeans; [] când documentul nu indică niciunul. paymentMeansList[0] este întotdeauna identic cu paymentMeans, deci o integrare care citește doar paymentMeans nu este afectată. Este completat și pentru documentele de intrare, din UBL-ul furnizorului, unde facturile indică frecvent mai multe conturi.
suggestedReconciliationBank payments that probably settle this invoice - see Reconciliation suggestions. [] when none, null when unavailable to your key.Plăți bancare care probabil achită această factură - vezi Sugestii de reconciliere. [] când nu există, null când nu este disponibil pentru cheia ta.
items[]Invoice lines. Each line is an object with the fields below. A discount or charge that applies to the whole document is returned as an extra line marked with kind, so the lines’ value always adds up to the document’s net (VAT-exclusive) amount; total is that amount plus VAT and any payableRoundingAmount. A discount that applies to a single line is not listed separately, because it is already deducted from that line's value. Until an outgoing document is processed (processed: 0), its lines are returned as you submitted them, plus value and kind. See the line item fields under Send a document for the submission-side detail.Liniile facturii. Fiecare linie este un obiect cu câmpurile de mai jos. O reducere sau o taxă care se aplică întregului document este returnată ca o linie suplimentară marcată cu kind, astfel încât value al liniilor însumează mereu valoarea netă (fără TVA) a documentului; total este această valoare plus TVA și eventualul payableRoundingAmount. O reducere aplicată unei singure linii nu este listată separat, fiind deja scăzută din value al liniei respective. Până când un document de ieșire este procesat (processed: 0), liniile sunt returnate așa cum le-ai trimis, plus value și kind. Vezi câmpurile de linie la Trimite un document pentru detaliile de trimitere.
items[].nameItem name / description.Numele / descrierea articolului.
items[].quantityInvoiced quantity. May be negative on discount or credit lines.Cantitatea facturată. Poate fi negativă pe liniile de reducere sau creditare.
items[].priceNet unit price - always a positive per-unit amount.Prețul unitar net - întotdeauna o valoare pozitivă per unitate.
items[].vatRateVAT percentage (0-100).Procent TVA (0-100).
items[].vatSchemeVAT category code (S, Z, E, AE, K, G, O, L, M), from the UNCL 5305 code list.Cod categorie TVA (S, Z, E, AE, K, G, O, L, M), din lista de coduri UNCL 5305.
items[].currencyLine currency (ISO 4217, e.g. RON).Moneda liniei (ISO 4217, ex. RON).
items[].valueSigned net total for the line, as a decimal string (e.g. "100.00"). It is negative on discount or credit lines. price is always a positive per-unit amount and quantity may be negative, so do not reconstruct the line total from price × quantity - use value directly.Totalul net cu semn al liniei, ca șir zecimal (ex. "100.00"). Este negativ pe liniile de reducere sau creditare. price este întotdeauna o valoare pozitivă per unitate, iar quantity poate fi negativ, deci nu reconstitui totalul liniei din price × quantity - folosește direct value.
items[].kindLine type, always present: item, allowance (invoice-wide discount) or charge (invoice-wide fee).Tipul liniei, prezent întotdeauna: item, allowance (reducere pe întreaga factură) sau charge (taxă pe întreaga factură).
items[].reasonCodeStandard reason code for an allowance or charge line (e.g. 95 for a discount), returned when the issuer sends one. The free-text reason is the line's name.Cod standard de motiv pentru o linie allowance sau charge (ex. 95 pentru reducere), returnat când emitentul îl trimite. Motivul în text liber este name al liniei.
items[].vatexCodeVAT exemption reason code (e.g. VATEX-EU-AE), returned when present.Cod motiv scutire TVA (ex. VATEX-EU-AE), returnat când există.
items[].vatexReasonFree-text VAT exemption reason, returned when present.Motiv de scutire TVA în text liber, returnat când există.
items[].classificationCodeItem classification code (e.g. a CPV code), returned when present.Cod de clasificare a articolului (ex. un cod CPV), returnat când există.
items[].classificationListClassification scheme id (e.g. STI), returned when present.Id-ul schemei de clasificare (ex. STI), returnat când există.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uiduid is missing or malformeduid lipsește sau este malformat
404not_foundNo document with that uid owned by this licenseNiciun document cu acest uid deținut de această licență

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Download a documentDescarcă un document

GET/v1/efactura/download/{uid}?type=pdf|xml

Returns the raw binary as an attachment, not the JSON envelope. PDF for type=pdf; signed XML delivered as a ZIP for type=xml (zip is an alias for xml). Use pdfAvailable/xmlAvailable from /document/{uid} to know which exist. This is a GET endpoint and takes no request body.

Returnează binarul brut ca atașament, nu envelopa JSON. PDF pentru type=pdf; XML semnat livrat ca ZIP pentru type=xml (zip este alias pentru xml). Folosește pdfAvailable/xmlAvailable din /document/{uid} pentru a ști ce există. Este un endpoint GET și nu primește corp de cerere.

ParamParamLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaDocument UIDUID-ul documentului
typequeryqueryyesdapdf orsau xml (zip accepted as an alias for xml)(zip acceptat ca alias pentru xml)

Response (200 OK)Răspuns (200 OK)

The response is the raw file as a binary attachment, not JSON: Content-Type: application/pdf for type=pdf, application/x-zip for type=xml. The Content-Disposition filename is the document number with .pdf or .zip (document_{uid} when the document has no number). type=xml returns the ANAF ZIP (the XML plus ANAF’s signature); unzip it to get the XML. Save it to disk with -o, as shown above.

Răspunsul este fișierul brut ca atașament binar, nu JSON: Content-Type: application/pdf pentru type=pdf, application/x-zip pentru type=xml. Numele fișierului din Content-Disposition este numărul documentului cu .pdf sau .zip (document_{uid} când documentul nu are număr). type=xml returnează arhiva ZIP de la ANAF (XML-ul plus semnătura ANAF); dezarhiveaz-o pentru a obține XML-ul. Salvează-l pe disc cu -o, ca mai sus.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uiduid is missing or malformeduid lipsește sau este malformat
400invalid_typetype is not pdf, xml or ziptype nu este pdf, xml sau zip
404not_foundNo document with that uid owned by this licenseNiciun document cu acest uid deținut de această licență
404document_not_availableDocument exists but the file is not available on diskDocumentul există dar fișierul nu este disponibil pe disc

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

UBL mappingMapare UBL

Fint maps the document to a CIUS-RO (EN 16931) UBL invoice before sending it to ANAF. You do not need any of this to use the API - it is a reference for reconciling Fint fields against a raw UBL/XML invoice or the ANAF PDF. Seller and buyer share the same element paths - regCom is the one exception - and the EN 16931 column shows seller / buyer where they differ. Rows marked response only are read back from the UBL for Get a document and are not accepted on /send.

Fint mapează documentul într-o factură UBL CIUS-RO (EN 16931) înainte de a o trimite la ANAF. Nu ai nevoie de aceste detalii pentru a folosi API-ul - sunt o referință pentru a reconcilia câmpurile Fint cu o factură UBL/XML brută sau cu PDF-ul ANAF. Furnizorul și clientul folosesc aceleași căi de element - regCom este singura excepție - iar coloana EN 16931 arată furnizor / client acolo unde diferă. Rândurile marcate doar în răspuns sunt citite din UBL pentru Obține un document și nu sunt acceptate la /send.

Fint fieldCâmp FintUBL elementElement UBLEN 16931
documentNumbercbc:IDBT-1
documentDatecbc:IssueDateBT-2
dueDatecbc:DueDate on invoices; cac:PaymentMeans/cbc:PaymentDueDate on the first paymentMeans entry for credit notespe facturi; cac:PaymentMeans/cbc:PaymentDueDate în prima intrare paymentMeans pe notele de creditareBT-9
currencycbc:DocumentCurrencyCodeBT-5
documentTypeCodecbc:InvoiceTypeCode (cbc:CreditNoteTypeCode for credit notes)(cbc:CreditNoteTypeCode pentru note de credit)BT-3
notecbc:NoteBT-22
buyerReferencecbc:BuyerReferenceBT-10
payableRoundingAmountcac:LegalMonetaryTotal/cbc:PayableRoundingAmountBT-114
deliveryDatecac:Delivery/cbc:ActualDeliveryDateBT-72
deliveryAddresscac:Delivery/cac:DeliveryLocation/cac:AddressBG-15
from / tocac:AccountingSupplierParty/cac:Party / cac:AccountingCustomerParty/cac:PartyBG-4 / BG-7
cuicac:PartyTaxScheme/cbc:CompanyID (country prefix such as RO added if missing; a B2C 0000000000000 buyer goes to cac:PartyLegalEntity/cbc:CompanyID instead)(prefixul de țară, ex. RO, este adăugat dacă lipsește; un client B2C 0000000000000 ajunge în schimb în cac:PartyLegalEntity/cbc:CompanyID)BT-31 / BT-48 (B2C: BT-47)(B2C: BT-47)
namecac:PartyLegalEntity/cbc:RegistrationNameBT-27 / BT-44
regComcac:PartyLegalEntity/cbc:CompanyID (seller)(furnizor) / cac:PartyIdentification/cbc:ID (buyer)(client)BT-30 / BT-46
legalFormcac:PartyLegalEntity/cbc:CompanyLegalFormBT-33 (seller only)(doar furnizor)
emailcbc:EndpointID withcu schemeID="EM"BT-49 (buyer only)(doar client)
contactNamecac:Contact/cbc:NameBT-41 / BT-56
contactEmailcac:Contact/cbc:ElectronicMailBT-43 / BT-58
address.linecac:PostalAddress/cbc:StreetNameBT-35 / BT-50
address.citycac:PostalAddress/cbc:CityNameBT-37 / BT-52
address.postalCodecac:PostalAddress/cbc:PostalZoneBT-38 / BT-53
address.countrySubdivisioncac:PostalAddress/cbc:CountrySubentityBT-39 / BT-54
address.countrycac:PostalAddress/cac:Country/cbc:IdentificationCodeBT-40 / BT-55
items[].namecac:Item/cbc:NameBT-153
items[].quantitycbc:InvoicedQuantity (cbc:CreditedQuantity for credit notes)(cbc:CreditedQuantity pentru note de credit)BT-129
items[].pricecac:Price/cbc:PriceAmountBT-146
items[].value (response only)(doar în răspuns)cbc:LineExtensionAmountBT-131
items[].vatRatecac:Item/cac:ClassifiedTaxCategory/cbc:PercentBT-152
items[].vatSchemecac:Item/cac:ClassifiedTaxCategory/cbc:IDBT-151
items[].vatexCodecac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonCodeBT-121
items[].vatexReasoncac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonBT-120
items[].classificationCodecac:Item/cac:CommodityClassification/cbc:ItemClassificationCodeBT-158
items[].classificationListcbc:ItemClassificationCode/@listIDBT-158-1
items[].kind (response only)(doar în răspuns)cac:AllowanceCharge/cbc:ChargeIndicator at document level; item when the line is a cac:InvoiceLinela nivel de document; item când linia este un cac:InvoiceLineBG-20 / BG-21
items[].reasonCode (response only)(doar în răspuns)cac:AllowanceCharge/cbc:AllowanceChargeReasonCodeBT-98 / BT-105
paymentMeansCodecac:PaymentMeans/cbc:PaymentMeansCodeBT-81
paymentIdcac:PaymentMeans/cbc:PaymentIDBT-83
ibancac:PaymentMeans/cac:PayeeFinancialAccount/cbc:IDBT-84
accountNamecac:PaymentMeans/cac:PayeeFinancialAccount/cbc:NameBT-85
biccac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cbc:IDBT-86
total (response only)(doar în răspuns)cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount + cbc:PayableRoundingAmountBT-112 + BT-114

The payment block repeats once per payee account, each carrying a single account, so the five payment rows above apply per entry when paymentMeans is an array.

Blocul de plată se repetă o dată pentru fiecare cont beneficiar, fiecare conținând un singur cont, deci cele cinci rânduri de plată de mai sus se aplică per intrare atunci când paymentMeans este un array.

vatexCode / vatexReason are emitted once per VAT category in the document VAT breakdown, not on each line (CIUS-RO); when lines in the same category carry different values, the first non-empty one is used. All totals and the VAT breakdown are computed by Fint from items - they are not sent.

vatexCode / vatexReason sunt emise o singură dată per categorie de TVA în detalierea TVA a documentului, nu pe fiecare linie (CIUS-RO); când liniile din aceeași categorie au valori diferite, se folosește prima valoare nevidă. Toate totalurile și detalierea TVA sunt calculate de Fint din items - nu se trimit.

Reconciliation suggestionsSugestii de reconciliere

Every document returned by List documents and Get a document carries suggestedReconciliation: the bank payments that most likely settle this invoice, each with a confidence score from 40 to 100. It is the mirror of the same field on the Extrase transaction endpoints.

Fiecare document returnat de Listează documente și Obține un document conține suggestedReconciliation: plățile bancare care achită cel mai probabil această factură, fiecare cu un scor de încredere de la 40 la 100. Este oglinda aceluiași câmp de pe endpoint-urile de tranzacții Extrase.

Service access. Suggestions cross services, so the field is only populated when your company key and the company’s license carry both efactura and extrase. An efactura-only key never learns bank amounts or IBANs this way - it receives null.

Acces la serviciu. Sugestiile leagă două servicii, deci câmpul este populat doar când cheia ta de companie și licența companiei au ambele servicii, efactura și extrase. O cheie doar cu efactura nu află astfel sume bancare sau IBAN-uri - primește null.

Fint suggests, it never reconciles. A suggestion is not a statement that the invoice is paid. There is no confirmed match to read and nothing to post back - treat these as input to your own reconciliation.

Fint sugerează, nu reconciliază. O sugestie nu afirmă că factura este achitată. Nu există o potrivire confirmată de citit și nimic de trimis înapoi - tratează-le ca intrare pentru propria ta reconciliere.

ExampleExemplu

json
"suggestedReconciliation": [
  {
    "transactionUid": "Qf4x...",
    "transactionType": "incoming",
    "bookingDate": "2026-07-13 00:00:00",
    "amount": "20570.00",
    "currency": "RON",
    "interlocutor": "Client SRL",
    "interlocutorIban": "RO09PORL7789778256833565",
    "accountUid": "a1b2c3d4e5f64789a0123456789abcde",
    "accountIban": "RO49RNCB0000000000000001",
    "bankName": "BCR Bank",
    "confidence": 100
  }
]

Entry fieldsCâmpurile unei intrări

FieldCâmpDescriptionDescriere
transactionUidUID of the suggested transaction - pass it to GET /v1/extrase/transaction/{uid}.UID-ul tranzacției sugerate - trimite-l către GET /v1/extrase/transaction/{uid}.
transactionTypeDirection: incoming settles an invoice you issued, outgoing one you received.Direcția: incoming achită o factură emisă de tine, outgoing una primită.
bookingDateDate the bank booked the payment.Data la care banca a contabilizat plata.
amountPayment amount as a positive decimal string.Suma plății ca șir zecimal pozitiv.
currencyISO 4217 currency of the payment.Moneda ISO 4217 a plății.
interlocutorCounterparty name on the bank side.Numele contrapărții din partea bancară.
interlocutorIbanCounterparty IBAN, when the bank supplied it.IBAN-ul contrapărții, când banca l-a furnizat.
accountUidPublic UID of your account the payment moved through.UID-ul public al contului tău prin care a trecut plata.
accountIbanIBAN of that account.IBAN-ul acelui cont.
bankNameName of the bank that booked it.Numele băncii care a contabilizat-o.
confidenceMatch score, an integer from 40 to 100 (weaker matches are never returned). Use it to rank candidates; it is not a probability.Scorul potrivirii, un număr întreg de la 40 la 100 (potrivirile mai slabe nu sunt returnate niciodată). Folosește-l pentru a ordona candidații; nu este o probabilitate.

Three distinct valuesTrei valori distincte

ValueValoareMeaningSemnificație
[]No suggestion for this document. Documents with a total of zero or less, and documents dated more than 24 months ago, never get suggestions.Nicio sugestie pentru acest document. Documentele cu total zero sau negativ și cele datate cu mai mult de 24 de luni în urmă nu primesc niciodată sugestii.
[{…}]One or more candidates, highest confidence first. Usually up to 5, but a document can list more when a payment ranks it among that payment’s own top 5.Unul sau mai mulți candidați, cel mai încrezător primul. De obicei maximum 5, dar un document poate avea mai mulți când o plată îl plasează între primii 5 candidați ai ei.
nullNot available to this caller: your company key or the company’s license does not have the extrase service. Never confuse this with [].Indisponibil pentru acest apelant: cheia de companie sau licența companiei nu are serviciul extrase. Nu confunda niciodată acest caz cu [].

[] is a normal result, not an error. Always handle it. Note in particular that an empty array is not a statement that the invoice is unpaid - Fint reports the matches it can see, it does not track payment status.

[] este un rezultat normal, nu o eroare. Tratează-l întotdeauna. Reține în special că un array gol nu afirmă că factura este neachitată - Fint raportează potrivirile pe care le vede, nu urmărește starea plății.

Two candidates for the same invoice is normal and is not an error. Fint reports every plausible payment with its own confidence and never picks one - the gap between the scores is the signal. Suggestions are rebuilt hourly, so a document synced minutes ago may not have one yet.

Doi candidați pentru aceeași factură este normal și nu este o eroare. Fint raportează fiecare plată plauzibilă cu propriul scor și nu alege niciodată una - diferența dintre scoruri este semnalul. Sugestiile sunt recalculate orar, deci un document sincronizat acum câteva minute poate să nu aibă încă una.

API referenceReferință API

Vouchere

Discounted vouchers from popular brands, through one API.

Vouchere cu discount de la branduri populare, printr-un singur API.

Service access. The vouchere service must be allowed on your company key and activated on that company’s license. Fint identifies the company from the company key, so you do not send it yourself.

Acces serviciu. Serviciul vouchere trebuie permis pe cheia de companie și activat pe licența companiei. Fint identifică compania din cheia de companie, deci nu o trimiți tu.

Balance. Vouchere has no subscription and no monthly allowance. Every voucher is paid from your organization’s prepaid balance in RON, which all its companies share; an organization admin can give each company a monthly spending limit. Requests are subject only to the standard rate limits. See Limits.

Sold. Vouchere nu are abonament și nici cotă lunară. Fiecare voucher se plătește din soldul preplătit în RON al organizației, comun tuturor companiilor ei; un administrator al organizației poate stabili pentru fiecare companie o limită lunară de cheltuieli. Cererile sunt supuse doar limitelor standard de rată. Vezi Limite.

How it worksCum funcționează

  1. Top up the balance Read the IBAN, the beneficiary and your organization’s reference from Get the balance (they are also on the Vouchere page in the app) and make a bank transfer from your organization’s account, with the reference in the payment details. The amount is added to the balance once the transfer arrives, usually within 2 working days, and Fint issues an advance invoice.
  2. Alimentează soldul Citește IBAN-ul, beneficiarul și referința organizației tale din Obține soldul (le găsești și pe pagina Vouchere din aplicație) și fă un transfer bancar din contul organizației, cu referința în detaliile plății. Suma se adaugă în sold după ce transferul ajunge, de regulă în cel mult 2 zile lucrătoare, iar Fint emite o factură de avans.
  3. Choose a product List the catalog. Each product has a face value (what the voucher is worth) and a lower price (what is taken from the balance).
  4. Alege un produs Listează catalogul. Fiecare produs are o valoare nominală (cât valorează voucherul) și un preț mai mic (cât se scade din sold).
  5. Buy it Buy a voucher: the price is debited when the order is placed, and most orders come back delivered, with the voucher code, in the same response.
  6. Cumpără-l Cumpără un voucher: prețul se scade din sold la plasarea comenzii, iar majoritatea comenzilor sunt livrate, cu codul voucherului, chiar în răspuns.
  7. Follow pending orders When the outcome is not known at once, the order stays pending until Fint resolves it. Poll Get an order until it is delivered or cancelled; a cancelled order is refunded in full to the balance.
  8. Urmărește comenzile în așteptare Când rezultatul nu se știe imediat, comanda rămâne pending până când Fint o rezolvă. Interoghează Obține o comandă până devine delivered sau cancelled; o comandă anulată este rambursată integral în sold.
  9. Hand over the voucher Give its user the code (and the PIN, when there is one), the barcode for shop tills, or the PDF from Download a voucher. At the end of each month Fint issues one invoice for the vouchers delivered that month, which settles the advance invoices.
  10. Predă voucherul Oferă utilizatorului codul (și PIN-ul, când există), codul de bare pentru casele de marcat sau PDF-ul din Descarcă un voucher. La sfârșitul fiecărei luni, Fint emite o factură pentru voucherele livrate în luna respectivă, care regularizează facturile de avans.

A voucher code works like cash: anyone who has it can spend it. Codes are returned only in an order’s details (the purchase response, Get an order and the PDF), never in lists, so store and pass them on with the same care as other secrets.

Un cod de voucher funcționează ca numerarul: oricine îl are îl poate folosi. Codurile sunt returnate doar în detaliile unei comenzi (răspunsul la cumpărare, Obține o comandă și PDF-ul), niciodată în liste, așa că păstrează-le și transmite-le cu aceeași grijă ca pe alte secrete.

Get the balanceObține soldul

GET/v1/vouchere/balance

Returns your organization’s Vouchere balance and the details for topping it up. Every company of the organization sees the same balance. This is a GET endpoint and takes no request body.

Returnează soldul Vouchere al organizației tale și datele pentru alimentarea lui. Toate companiile organizației văd același sold. Este un endpoint GET și nu primește corp de cerere.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
balanceWhat is left to spend, as a decimal string. It is 0.00 until the first top-up.Cât mai poți cheltui, ca șir zecimal. Este 0.00 până la prima alimentare.
currencyAlways RON.Întotdeauna RON.
topup.ibanFint’s RON account for top-ups.Contul în RON al Fint pentru alimentări.
topup.beneficiaryThe account holder to write on the transfer.Titularul contului, de trecut pe transfer.
topup.referenceYour organization’s permanent top-up reference. Write it in the payment details of every transfer, so the amount reaches your balance; it never changes.Referința permanentă de alimentare a organizației tale. Scrie-o în detaliile plății la fiecare transfer, ca suma să ajungă în soldul tău; nu se schimbă niciodată.
updatedOnTime of the last balance movement, or null before the first one.Momentul ultimei mișcări a soldului, sau null înainte de prima.

Top-ups are accepted only from a bank account in your organization’s own name, as it appears in its billing details. See the terms of service.

Alimentările sunt acceptate doar dintr-un cont bancar deschis pe numele organizației tale, așa cum apare în datele ei de facturare. Vezi termenii de utilizare.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
500internal_errorThe balance could not be read; retry laterSoldul nu a putut fi citit; reîncearcă mai târziu

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

List the catalogListează catalogul

GET/v1/vouchere/catalog

Lists the vouchers you can buy now, sorted by brand and face value. The list is not paginated. Products and prices can change at any time, so read the catalog before buying rather than storing prices. This is a GET endpoint and takes no request body; pass parameters in the query string.

Listează voucherele pe care le poți cumpăra acum, sortate după brand și valoare nominală. Lista nu este paginată. Produsele și prețurile se pot schimba oricând, așa că citește catalogul înainte de a cumpăra în loc să stochezi prețurile. Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParamRequiredObligatoriuDescriptionDescriere
brandUidnonuOnly this brand’s products; a brand.uid from a previous catalog responseDoar produsele acestui brand; un brand.uid dintr-un răspuns anterior al catalogului

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
products[].uidProduct identifier; send it as productUid to Buy a voucher.Identificatorul produsului; trimite-l ca productUid la Cumpără un voucher.
products[].nameProduct name, usually the brand and the face value.Numele produsului, de regulă brandul și valoarea nominală.
products[].brandThe brand: uid (for the brandUid filter), name and logo (an image URL, or null).Brandul: uid (pentru filtrul brandUid), name și logo (URL-ul unei imagini, sau null).
products[].faceValueWhat the voucher is worth at the brand, as a decimal string.Cât valorează voucherul la brand, ca șir zecimal.
products[].priceWhat is taken from the balance when you buy it.Cât se scade din sold când îl cumperi.
products[].discountfaceValue minus price.faceValue minus price.
products[].currencyAlways RON.Întotdeauna RON.
products[].validityDaysHow long the brand says the voucher stays valid, in days, or null when it does not say. A bought voucher’s actual expiry is its voucher.expiresOn.Cât timp rămâne valabil voucherul după brand, în zile, sau null când brandul nu precizează. Data reală de expirare a unui voucher cumpărat este voucher.expiresOn.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uidbrandUid is malformedbrandUid este malformat
404not_foundNo available brand with that brandUidNiciun brand disponibil cu acest brandUid

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Buy a voucherCumpără un voucher

POST/v1/vouchere/order

Buys one voucher for the key’s company. The price is debited from the balance when the order is placed. Every call creates a new order: there is no idempotency key, so never retry blindly. If a request times out or the connection drops, the order may still have been placed - check List orders (newest first) before buying again.

Cumpără un voucher pentru compania cheii. Prețul se scade din sold la plasarea comenzii. Fiecare apel creează o comandă nouă: nu există cheie de idempotență, deci nu reîncerca orbește. Dacă cererea expiră sau conexiunea se întrerupe, comanda poate fi totuși plasată - verifică Listează comenzi (cele mai noi primele) înainte să cumperi din nou.

Request body fieldsCâmpuri din corpul cererii

FieldCâmpRequirementCerințăMeaningSemnificație
productUidRequiredObligatoriuThe uid of a product from List the catalog.uid-ul unui produs din Listează catalogul.

A 201 has two outcomes. delivered: the voucher is in the response. pending: the outcome is not known yet and voucher is null. The price stays debited while Fint resolves the order; poll Get an order (every few minutes is enough) until it is delivered or cancelled. A cancelled order is refunded in full. Vouchere has no webhooks.

Un 201 are două rezultate. delivered: voucherul este în răspuns. pending: rezultatul nu se știe încă, iar voucher este null. Prețul rămâne scăzut din sold cât timp Fint rezolvă comanda; interoghează Obține o comandă (la câteva minute este suficient) până devine delivered sau cancelled. O comandă anulată este rambursată integral. Vouchere nu are webhook-uri.

The fields are described under Get an order. On failure, data carries the details: insufficient_balance returns balance and required (the product price); company_limit_exceeded returns monthlyLimit, spentThisMonth and required; provider_error returns orderUid, the order that was cancelled and refunded; validation_failed returns errors[] with code (missing_product_uid or invalid_product_uid), field and message; invalid_json returns detail (empty_body, payload_too_large above 512 KiB, json_syntax_error or invalid_root).

Câmpurile sunt descrise la Obține o comandă. La eșec, data conține detaliile: insufficient_balance returnează balance și required (prețul produsului); company_limit_exceeded returnează monthlyLimit, spentThisMonth și required; provider_error returnează orderUid, comanda care a fost anulată și rambursată; validation_failed returnează errors[] cu code (missing_product_uid sau invalid_product_uid), field și message; invalid_json returnează detail (empty_body, payload_too_large peste 512 KiB, json_syntax_error sau invalid_root).

Response (422 insufficient balance)Răspuns (422 sold insuficient)

json
{
  "status": "error",
  "msg": "The voucher balance is too low for this purchase.",
  "reason": "insufficient_balance",
  "data": {
    "balance": "45.00",
    "required": "99.00"
  }
}

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSON (see data.detail)Corpul cererii nu este JSON valid (vezi data.detail)
404product_not_foundNo product with that productUid can be bought nowNiciun produs cu acest productUid nu poate fi cumpărat acum
409purchase_unavailablePurchases are temporarily unavailable; nothing was charged, retry laterCumpărările sunt temporar indisponibile; nu s-a debitat nimic, reîncearcă mai târziu
409provider_errorThe voucher could not be issued; the order was cancelled and the price returned to the balance (see data.orderUid)Voucherul nu a putut fi emis; comanda a fost anulată și prețul returnat în sold (vezi data.orderUid)
422validation_failedproductUid is missing or malformed (see data.errors[])productUid lipsește sau este malformat (vezi data.errors[])
422insufficient_balanceThe balance is lower than the price; nothing was chargedSoldul este mai mic decât prețul; nu s-a debitat nimic
422company_limit_exceededThe purchase would take the company over its monthly limit; nothing was chargedCumpărarea ar depăși limita lunară a companiei; nu s-a debitat nimic
500internal_errorUnexpected error; the order may exist, check List orders before retryingEroare neașteptată; comanda poate exista, verifică Listează comenzi înainte de a reîncerca

The monthly limit counts the company’s orders created since the 1st of the month (Romanian time) that are not cancelled. Also see Authentication errors for key, auth and base rate-limit failures.

Limita lunară numără comenzile companiei create de la 1 ale lunii (ora României) care nu sunt anulate. Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Get an orderObține o comandă

GET/v1/vouchere/order/{uid}

Returns one order of the key’s company, with the voucher once it is delivered. Orders of other companies, even in the same organization, answer 404. This is a GET endpoint and takes no request body.

Returnează o comandă a companiei cheii, cu voucherul după ce este livrată. Comenzile altor companii, chiar și din aceeași organizație, răspund 404. Este un endpoint GET și nu primește corp de cerere.

ParamParamLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaOrder UID, from the purchase response or /ordersUID-ul comenzii, din răspunsul la cumpărare sau din /orders

ResponseRăspuns

The same object as the purchase response. A pending order looks like this:

Același obiect ca răspunsul la cumpărare. O comandă în așteptare arată așa:

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "uid": "Xk7pQ2mZ9vLw4RtB8nYc3HsJ6dFg1aEu",
    "status": "pending",
    "companyUid": "Hc4nY8wvAmKfenKoePWaVGulLAPbY2lx",
    "product": {
      "uid": "Tn5wQ1mZ8vKx3RtB7nYc2HsJ9dFg4aEp",
      "name": "Carrefour 100 RON",
      "brand": {
        "uid": "Cw2pL7xN4vQz8RtM1nYb6HsK3dFg9aJu",
        "name": "Carrefour",
        "logo": "https://cdn.fint.ro/image/vouchere/brand/carrefour-8b2e4d1a9c3f.png"
      }
    },
    "faceValue": "100.00",
    "price": "99.00",
    "discount": "1.00",
    "currency": "RON",
    "voucher": null,
    "cancelReason": null,
    "errorMessage": null,
    "createdOn": "2026-11-07 10:15:02",
    "updatedOn": "2026-11-07 10:15:02",
    "deliveredOn": null,
    "cancelledOn": null
  }
}

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
uidStable, opaque 32-character identifier of the order.Identificatorul stabil și opac de 32 de caractere al comenzii.
statuspending, delivered or cancelled. delivered and cancelled are final.pending, delivered sau cancelled. delivered și cancelled sunt finale.
companyUidThe company that bought the voucher.Compania care a cumpărat voucherul.
productThe product bought: uid, name and brand (uid, name, logo), as in the catalog.Produsul cumpărat: uid, name și brand (uid, name, logo), ca în catalog.
faceValue, price, discount, currencyThe amounts at the time of purchase; price is what was debited.Sumele din momentul cumpărării; price este suma debitată.
voucherThe voucher (below) once the order is delivered; null before that and for cancelled orders. In the rare case that a delivered voucher cannot be shown, it is also null: contact Fint support.Voucherul (mai jos) după ce comanda este delivered; null înainte și pentru comenzile anulate. În cazul rar în care un voucher livrat nu poate fi afișat, este tot null: contactează suportul Fint.
cancelReasonWhy a cancelled order was cancelled (table below); null otherwise.De ce a fost anulată o comandă anulată (tabelul de mai jos); null altfel.
errorMessageA sentence explaining the cancellation, for display; null otherwise.O propoziție care explică anularea, pentru afișare; null altfel.
createdOn, updatedOn, deliveredOn, cancelledOnTimestamps YYYY-MM-DD HH:MM:SS, Romanian time; deliveredOn and cancelledOn are null until that happens.Momente YYYY-MM-DD HH:MM:SS, ora României; deliveredOn și cancelledOn sunt null până atunci.

The voucher objectObiectul voucher

FieldCâmpDescriptionDescriere
codeThe voucher code, as the brand expects it.Codul voucherului, așa cum îl așteaptă brandul.
pinA second secret some brands ask for (for example to pay online), or null.Un al doilea secret cerut de unele branduri (de exemplu la plata online), sau null.
expiresOnLast day the voucher can be used, YYYY-MM-DD, or null when the brand gives none.Ultima zi în care voucherul poate fi folosit, YYYY-MM-DD, sau null când brandul nu precizează.
redeemUrlWhere to use the voucher online, or null.Unde poate fi folosit voucherul online, sau null.
barcodeFor brands redeemed at a shop till: format (code128 or qr) and svg, a standalone SVG of the code to show or print. Scale it as a whole and keep the white margin around it, or it may not scan. null for other brands.Pentru brandurile folosite la casa de marcat: format (code128 sau qr) și svg, un SVG de sine stătător al codului, de afișat sau tipărit. Scalează-l ca întreg și păstrează marginea albă din jur, altfel s-ar putea să nu fie citit. null pentru celelalte branduri.
pdfUrlThe voucher as a PDF; see Download a voucher.Voucherul ca PDF; vezi Descarcă un voucher.

Cancel reasonsMotive de anulare

Every cancelled order is refunded in full to the balance, with a reversal movement for the same orderUid.

Orice comandă anulată este rambursată integral în sold, printr-o mișcare reversal pentru același orderUid.

cancelReasonMeaningSemnificație
provider_rejectedThe voucher could not be issued (for example the product ran out of stock).Voucherul nu a putut fi emis (de exemplu produsul nu mai era în stoc).
provider_not_foundThe issuer has no record of the order.Emitentul nu are nicio evidență a comenzii.
timeout_expiredThe order could not be confirmed in time.Comanda nu a putut fi confirmată la timp.
admin_cancelledFint cancelled a pending order after checking that no voucher was issued.Fint a anulat o comandă în așteptare după ce a verificat că nu s-a emis niciun voucher.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uiduid is malformeduid este malformat
404not_foundNo order with that uid for this companyNicio comandă cu acest uid pentru această companie

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

List ordersListează comenzi

GET/v1/vouchere/orders

Lists the key’s company orders, newest first. Lists never carry voucher codes; voucherAvailable tells you which orders have one, and Get an order returns it. This is a GET endpoint and takes no request body; pass parameters in the query string.

Listează comenzile companiei cheii, cele mai noi primele. Listele nu conțin niciodată coduri de voucher; voucherAvailable îți spune ce comenzi au unul, iar Obține o comandă îl returnează. Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParamRequiredObligatoriuDescriptionDescriere
statusnonuComma-separated list of pending, delivered, cancelled; default allListă separată prin virgulă din pending, delivered, cancelled; implicit toate
fromnonuOrders created on or after this day, YYYY-MM-DD (Romanian time)Comenzi create în această zi sau după, YYYY-MM-DD (ora României)
tononuOrders created on or before this day, YYYY-MM-DDComenzi create în această zi sau înainte, YYYY-MM-DD
limitnonuPage size, default 50, max 100Dimensiune pagină, implicit 50, max 100
offsetnonuOffset, default 0Offset, implicit 0

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
orders[]Orders with the fields of Get an order, without voucher.Comenzi cu câmpurile din Obține o comandă, fără voucher.
orders[].voucherAvailable1 when the order is delivered and its voucher can be read with Get an order, otherwise 0.1 când comanda este livrată și voucherul ei poate fi citit cu Obține o comandă, altfel 0.
totalNumber of orders matching the filters (before pagination).Numărul de comenzi care corespund filtrelor (înainte de paginare).
limitPage size actually applied: values above 100 become 100, values below 1 become 1, a missing value becomes 50.Dimensiunea paginii aplicată efectiv: valorile peste 100 devin 100, cele sub 1 devin 1, o valoare lipsă devine 50.
offsetOffset actually applied (a negative value becomes 0).Offset-ul aplicat efectiv (o valoare negativă devine 0).

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_statusstatus contains an unknown valuestatus conține o valoare necunoscută
400invalid_datefrom or to is not a valid YYYY-MM-DD datefrom sau to nu este o dată validă YYYY-MM-DD
400invalid_date_rangefrom is after tofrom este după to

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

List balance movementsListează mișcările soldului

GET/v1/vouchere/movements

Lists balance movements, newest first: the organization’s top-ups and adjustments, plus the purchases and refunds of the key’s company. Purchases of the organization’s other companies are left out, so balanceAfter can jump between rows. This is a GET endpoint and takes no request body; pass parameters in the query string.

Listează mișcările soldului, cele mai noi primele: alimentările și ajustările organizației, plus cumpărările și rambursările companiei cheii. Cumpărările celorlalte companii ale organizației sunt omise, deci balanceAfter poate sări între rânduri. Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParamRequiredObligatoriuDescriptionDescriere
typenonuComma-separated list of topup, purchase, reversal, adjustment; default allListă separată prin virgulă din topup, purchase, reversal, adjustment; implicit toate
fromnonuMovements on or after this day, YYYY-MM-DD (Romanian time)Mișcări din această zi sau după, YYYY-MM-DD (ora României)
tononuMovements on or before this day, YYYY-MM-DDMișcări din această zi sau înainte, YYYY-MM-DD
limitnonuPage size, default 50, max 100Dimensiune pagină, implicit 50, max 100
offsetnonuOffset, default 0Offset, implicit 0

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
movements[].uidMovement identifier.Identificatorul mișcării.
movements[].typetopup (a bank transfer credited), purchase (a voucher bought), reversal (the full refund of a cancelled order) or adjustment (a correction by Fint).topup (un transfer bancar creditat), purchase (un voucher cumpărat), reversal (rambursarea integrală a unei comenzi anulate) sau adjustment (o corecție făcută de Fint).
movements[].amountSigned decimal string: negative for purchases.Șir zecimal cu semn: negativ pentru cumpărări.
movements[].balanceAfterThe organization’s balance right after this movement.Soldul organizației imediat după această mișcare.
movements[].orderUidThe order, for purchase and reversal; null otherwise.Comanda, pentru purchase și reversal; null altfel.
movements[].referenceThe bank reference of a topup; null otherwise.Referința bancară a unui topup; null altfel.
movements[].companyUidThe company, for purchase and reversal; null for organization movements (topup, adjustment).Compania, pentru purchase și reversal; null pentru mișcările organizației (topup, adjustment).
movements[].createdOnWhen the movement was recorded, YYYY-MM-DD HH:MM:SS, Romanian time.Momentul înregistrării mișcării, YYYY-MM-DD HH:MM:SS, ora României.
total, limit, offsetAs in List orders.Ca la Listează comenzi.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_typetype contains an unknown valuetype conține o valoare necunoscută
400invalid_datefrom or to is not a valid YYYY-MM-DD datefrom sau to nu este o dată validă YYYY-MM-DD
400invalid_date_rangefrom is after tofrom este după to

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

Download a voucherDescarcă un voucher

GET/v1/vouchere/download/{uid}

Returns a delivered voucher as a PDF (brand, value, code, PIN, expiry and barcode), as a binary attachment, not the JSON envelope. It is the URL in voucher.pdfUrl; the PDF is generated on request. This is a GET endpoint and takes no request body.

Returnează un voucher livrat ca PDF (brand, valoare, cod, PIN, expirare și cod de bare), ca atașament binar, nu envelopa JSON. Este URL-ul din voucher.pdfUrl; PDF-ul este generat la cerere. Este un endpoint GET și nu primește corp de cerere.

ParamParamLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaOrder UIDUID-ul comenzii
typequeryquerynonupdf (the only format, and the default)(singurul format, și cel implicit)

Response (200 OK)Răspuns (200 OK)

The response is the PDF as a binary attachment, not JSON: Content-Type: application/pdf, and a Content-Disposition filename made of the brand and the start of the order uid, for example Voucher-Carrefour-Xk7pQ2mZ.pdf. Save it to disk with -o, as shown above.

Răspunsul este PDF-ul ca atașament binar, nu JSON: Content-Type: application/pdf, iar numele fișierului din Content-Disposition este format din brand și începutul uid-ului comenzii, de exemplu Voucher-Carrefour-Xk7pQ2mZ.pdf. Salvează-l pe disc cu -o, ca mai sus.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uiduid is malformeduid este malformat
400invalid_typetype is not pdftype nu este pdf
404not_foundNo order with that uid for this companyNicio comandă cu acest uid pentru această companie
404voucher_not_availableThe order is not delivered, so there is no voucherComanda nu este livrată, deci nu există voucher
500internal_errorThe PDF could not be generated; retry laterPDF-ul nu a putut fi generat; reîncearcă mai târziu

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

API referenceReferință API

Info CUI

Look up Romanian company data by CUI (fiscal code): identity, VAT status and financial history (balance sheet).

Caută date despre companii românești după CUI (cod fiscal): identificare, stare TVA și istoric financiar (bilanț).

Service access. The infocui service must be allowed on your company key and activated on that company’s license. Fint identifies the company from the company key, so you do not send it yourself.

Acces serviciu. Serviciul infocui trebuie permis pe cheia de companie și activat pe licența companiei. Fint identifică compania din cheia de companie, deci nu o trimiți tu.

Usage. Only successful (2xx) responses count toward the monthly Info CUI allowance. Error responses (for example invalid_cui, company_not_found, limit_exceeded and rate_limited) are not counted. See Limits.

Consum. Doar răspunsurile reușite (2xx) se contorizează în cota lunară Info CUI. Răspunsurile de eroare (de exemplu invalid_cui, company_not_found, limit_exceeded și rate_limited) nu se contorizează. Vezi Limite.

Data freshness. Fint stores company data after the first lookup and fetches it again from ANAF during a lookup once it is more than 7 days old. If ANAF can’t be reached at that moment, you get the stored data and the refresh is tried again later. Balance-sheet data is checked separately, at most once a week.

Actualitatea datelor. Fint stochează datele companiei după prima căutare și le preia din nou de la ANAF, în timpul unei căutări, când au mai mult de 7 zile. Dacă ANAF nu poate fi contactat în acel moment, primești datele stocate, iar actualizarea se reîncearcă mai târziu. Datele de bilanț se verifică separat, cel mult o dată pe săptămână.

Look up a companyCaută o companie

GET/v1/infocui

Pass the company to look up as the required cui query parameter. Fint strips a leading RO prefix (any case) and every non-digit character, so RO12345678, ro 12345678 and 12345678 all look up 12345678. The CUI is not checked further (no checksum): a well-formed CUI that does not exist returns 404 company_not_found. Dual-key auth still applies. This is a GET endpoint and takes no request body.

Trimite compania de căutat ca parametru query obligatoriu cui. Fint elimină prefixul RO (indiferent de majuscule) și orice caracter care nu este cifră, deci RO12345678, ro 12345678 și 12345678 caută toate 12345678. CUI-ul nu este verificat suplimentar (fără cifră de control): un CUI bine format care nu există returnează 404 company_not_found. Autentificarea cu două chei se aplică în continuare. Este un endpoint GET și nu primește corp de cerere.

ParamParamRequiredObligatoriuDescriptionDescriere
cuiyesdaCompany to look up; an optional RO prefix and any non-digit characters are strippedCompania de căutat; prefixul RO opțional și orice caracter care nu este cifră sunt eliminate

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
cuiFiscal code (digits only, RO prefix stripped).Cod fiscal (doar cifre, prefixul RO eliminat).
nameRegistered company name.Denumirea înregistrată a companiei.
registrationNumberTrade register number, e.g. J40/1234/2010.Numărul de la registrul comerțului, ex. J40/1234/2010.
addressStreet address line; empty string when ANAF has none.Adresa (stradă, număr); șir gol când ANAF nu o are.
addressFullFull formatted, single-line address.Adresă completă formatată, pe un singur rând.
cityCity/locality; empty string when unknown.Localitate; șir gol când nu este cunoscută.
countyCounty (or Bucharest sector); empty string when unknown.Județ (sau sectorul din București); șir gol când nu este cunoscut.
countyCodeCounty code, e.g. B for Bucharest; empty string when unknown.Codul județului, ex. B pentru București; șir gol când nu este cunoscut.
countryCountry name; defaults to România.Numele țării; implicit România.
postalCodePostal code, when available.Cod poștal, când este disponibil.
phonePhone number, or null.Număr de telefon, sau null.
faxFax number, or null.Număr de fax, sau null.
ibanTreasury IBAN, or null.IBAN de trezorerie, sau null.
registrationStatusRegistration status text from ANAF.Textul statusului de înregistrare de la ANAF.
registrationDateRegistration date, YYYY-MM-DD.Data înregistrării, YYYY-MM-DD.
caenCodePrimary CAEN activity code.Codul CAEN principal de activitate.
eInvoiceEnabledtrue if registered in the ANAF RO e-Factura register.true dacă este înregistrată în registrul ANAF RO e-Factura.
taxAuthorityAdministering tax authority.Administrația financiară competentă.
legalFormLegal form of the company.Forma juridică a companiei.
vatRegisteredtrue if registered for VAT (TVA).true dacă este înregistrată în scopuri de TVA.
cashVatEnabledtrue if on the VAT-on-collection (TVA la încasare) scheme.true dacă aplică TVA la încasare.
financialsBalance-sheet history object; null is never returned - see the fields below.Obiect cu istoricul bilanțier; nu se returnează niciodată null - vezi câmpurile de mai jos.
financials.currencyCurrency of the amounts (RON).Moneda sumelor (RON).
financials.latestYearMost recent reported year, or null when no balance sheet is filed.Cel mai recent an raportat, sau null când nu există bilanț depus.
financials.years[]Per-year balance-sheet entries, newest first (typically from 2013 onward); empty when none filed.Intrări bilanțiere pe an, de la cel mai recent (de regulă din 2013); gol când nu există.
financials.years[].yearReporting year.Anul de raportare.
financials.years[].employeesAverage headcount for the year, or null when not reported.Numărul mediu de salariați pentru an, sau null când nu este raportat.
financials.years[] metricsmetrici financials.years[]Integer amounts in whole RON, or null when the filing does not report the metric (for example on bank and insurer forms): netTurnover, totalRevenue, totalExpenses, grossProfit, grossLoss, netProfit, netLoss, fixedAssets, currentAssets, inventory, receivables, cash, prepaidExpenses, liabilities, deferredRevenue, provisions, equity, paidCapital, publicPatrimony, and caenCode - the CAEN code for that year, as a string or null. Each metric has a sibling <field>_label - see the Financials note below.Sume întregi în RON, sau null când declarația nu raportează metrica (de exemplu la formularele pentru bănci și asigurători): netTurnover, totalRevenue, totalExpenses, grossProfit, grossLoss, netProfit, netLoss, fixedAssets, currentAssets, inventory, receivables, cash, prepaidExpenses, liabilities, deferredRevenue, provisions, equity, paidCapital, publicPatrimony, și caenCode - codul CAEN pentru acel an, ca string sau null. Fiecare metrică are un câmp pereche <field>_label - vezi nota Date financiare de mai jos.

Financials. The financials object carries the company’s balance-sheet history from ANAF filings: currency, latestYear and years (newest first, typically from 2013 onward). Amounts are whole-RON integers, or null when a filing does not report them; employees is the average headcount. Every field except year has a sibling <field>_label with the official ANAF Romanian term (e.g. netTurnover_label = Cifra de afaceri netă). A company with no filed balance sheet returns an empty years array with latestYear null. Financials are included in the same request at no extra cost.

Date financiare. Obiectul financials conține istoricul bilanțier al companiei din declarațiile ANAF: currency, latestYear și years (de la cel mai recent, de regulă din 2013). Sumele sunt numere întregi în RON, sau null când declarația nu le raportează; employees este numărul mediu de salariați. Fiecare câmp în afară de year are un câmp pereche <field>_label cu termenul oficial ANAF în română (ex. netTurnover_label = Cifra de afaceri netă). O companie fără bilanț depus returnează un array years gol, cu latestYear null. Datele financiare sunt incluse în aceeași cerere, fără cost suplimentar.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400missing_cuiNo cui query parameterLipsește parametrul query cui
400invalid_cuicui contains no digits after normalizationcui nu conține nicio cifră după normalizare
404company_not_foundANAF has no company for that cui, or ANAF could not be reached (timeout or upstream error). Not-found results are not cached, so retrying later may succeed.ANAF nu are nicio companie pentru acel cui, sau ANAF nu a putut fi contactat (timeout sau eroare la sursă). Rezultatele negative nu sunt cache-uite, deci o reîncercare ulterioară poate reuși.
429limit_exceededUsage at/over plan limit for the infocui serviceUtilizare la/peste limita planului pentru serviciul infocui

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

API referenceReferință API

Schimb valutar

Official Romanian reference exchange rates for RON to foreign currency pairs.

Cursuri oficiale românești de referință pentru perechi RON cu valute străine.

Service access. The schimbvalutar service must be allowed on your company key and activated on that company’s license. Fint identifies the company from the company key, so you do not send it yourself.

Acces serviciu. Serviciul schimbvalutar trebuie permis pe cheia de companie și activat pe licența companiei. Fint identifică compania din cheia de companie, deci nu o trimiți tu.

Usage. Only successful (2xx) responses count toward the monthly Schimb valutar allowance. Error responses (for example invalid_to, rate_not_found, limit_exceeded and rate_limited) are not counted. See Limits.

Consum. Doar răspunsurile reușite (2xx) se contorizează în cota lunară Schimb valutar. Răspunsurile de eroare (de exemplu invalid_to, rate_not_found, limit_exceeded și rate_limited) nu se contorizează. Vezi Limite.

Get a rateObține un curs

GET/v1/schimbvalutar

Returns the official BNR exchange rate for a RON currency pair. Omit date to get the most recent rate Fint has stored: rates are synced from BNR once a day, after BNR publishes (early afternoon). Pass date to request a specific calendar date (historical rate, available from 2005 onward). This is a GET endpoint and takes no request body; pass parameters in the query string.

Returnează cursul oficial BNR pentru o pereche de valute cu RON. Omite date pentru cel mai recent curs stocat de Fint: cursurile se sincronizează de la BNR o dată pe zi, după ce BNR publică (la începutul după-amiezii). Trimite date pentru a solicita o dată calendaristică specifică (curs istoric, disponibil din 2005). Este un endpoint GET și nu primește corp de cerere; trimite parametrii în query string.

ParamParamRequiredObligatoriuDescriptionDescriere
fromyesdaMust be RONTrebuie să fie RON
toyesdaTarget ISO 4217 code (e.g. EUR, USD)Cod țintă ISO 4217 (ex. EUR, USD)
datenonuCalendar date YYYY-MM-DD (2005 or later); omit for the most recent stored rate, pass for a historical rateDată calendaristică YYYY-MM-DD (din 2005 încoace); omite pentru cel mai recent curs stocat, trimite pentru un curs istoric

Example request (historical)Exemplu de cerere (istoric)

GET
curl -sS 'https://api.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15' \
  -H 'X-Org-Key: YOUR_ORG_KEY' \
  -H 'X-Api-Key: YOUR_COMPANY_KEY'
const res = await fetch("https://api.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15", {
  headers: {
    "X-Org-Key": "YOUR_ORG_KEY",
    "X-Api-Key": "YOUR_COMPANY_KEY",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://api.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15",
    headers={
        "X-Org-Key": "YOUR_ORG_KEY",
        "X-Api-Key": "YOUR_COMPANY_KEY",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://api.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: YOUR_ORG_KEY',
        'X-Api-Key: YOUR_COMPANY_KEY',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
fromBase currency; always RON.Moneda de bază; întotdeauna RON.
toTarget currency (ISO 4217), echoed from the request.Moneda țintă (ISO 4217), reluată din cerere.
datePublication date actually used, YYYY-MM-DD (may fall back to an earlier banking day).Data publicării efectiv folosită, YYYY-MM-DD (poate reveni la o zi bancară anterioară).
rateExchange rate as a JSON number: RON per 1 unit of to (the official multiplier is already applied). Rounded to 6 decimal places.Cursul ca număr JSON: RON per 1 unitate din to (multiplicatorul oficial este deja aplicat). Rotunjit la 6 zecimale.
multiplierOfficial multiplier for the pair (e.g. 100 for some currencies); already folded into rate.Multiplicatorul oficial al perechii (ex. 100 pentru unele valute); deja inclus în rate.
sourceRate source, e.g. bnr (Banca Națională a României).Sursa cursului, ex. bnr (Banca Națională a României).
publishedDateDate the source published the rate (same as date).Data la care sursa a publicat cursul (aceeași cu date).

rate is RON per 1 unit of to (the official multiplier is already applied).

rate este RON per 1 unitate din to (multiplicatorul oficial este deja aplicat).

The response date / publishedDate is the publication date actually used. On weekends, holidays, or before the daily update (early afternoon), this may be earlier than the date you requested (previous banking day fallback). If BNR cannot be reached, Fint serves the most recent stored rate on or before the requested date, which can be older still - always check date. Future dates return 400 future_date.

date / publishedDate din răspuns este data publicării efectiv folosită. În weekend, sărbători sau înainte de actualizarea zilnică (la începutul după-amiezii), poate fi anterioară datei cerute (fallback la ziua bancară anterioară). Dacă BNR nu poate fi contactată, Fint servește cel mai recent curs stocat la sau înainte de data cerută, care poate fi și mai vechi - verifică întotdeauna date. Datele viitoare returnează 400 future_date.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400missing_from / invalid_fromfrom is missing or not RONfrom lipsește sau nu este RON
400missing_to / invalid_toto is missing or not a 3-letter ISO 4217 codeto lipsește sau nu este un cod ISO 4217 de 3 litere
400invalid_datedate is not a valid YYYY-MM-DD datedate nu este o dată validă YYYY-MM-DD
400future_datedate is in the futuredate este în viitor
404rate_not_foundUnknown currency, or a date before 2005 (no BNR data)Valută necunoscută, sau o dată dinainte de 2005 (fără date BNR)
429limit_exceededUsage at/over plan limit for the schimbvalutar serviceUtilizare la/peste limita planului pentru serviciul schimbvalutar
502provider_errorBNR could not be reached and Fint has no stored rate on or before the requested dateBNR nu a putut fi contactată și Fint nu are un curs stocat la sau înainte de data cerută

Also see Authentication errors for key, auth and base rate-limit failures.

Vezi și Erori de autentificare pentru erori de cheie, autentificare și limitare de bază a ratei.

PlatformPlatformă

Organization APIAPI Organizație

Manage companies, activate services, and create API keys at the organization level - using your organization key only.

Gestionează companii, activează servicii și creează chei API la nivel de organizație - folosind doar cheia de organizație.

Enterprise only. These endpoints are available exclusively on the Enterprise plan. Non-Enterprise organizations receive 403 enterprise_required on every request.

Doar Enterprise. Aceste endpoint-uri sunt disponibile exclusiv pe planul Enterprise. Organizațiile non-Enterprise primesc 403 enterprise_required la fiecare cerere.

Authentication exception. Send only X-Org-Key - no company key (X-Api-Key / Bearer) is used. All operations are automatically scoped to your organization.

Excepție de autentificare. Trimite doar X-Org-Key - nu se folosește cheie de companie (X-Api-Key / Bearer). Toate operațiile sunt automat limitate la organizația ta.

UI vs APIInterfață vs API

Most operations you would perform in the Fint dashboard (/ui) are also available through the API, so you can provision and operate entities programmatically - no manual UI steps.

Majoritatea operațiunilor pe care le-ai face în panoul Fint (/ui) sunt disponibile și prin API, astfel încât poți provisiona și opera entități programatic - fără pași manuali în interfață.

Two building blocks make this possible. The Organization API manages organization-level resources - create companies, activate or deactivate services, and issue company API keys - using your organization key alone. Per-service onboarding endpoints (eFactura and Extrase) generate a browser link your end-user opens to grant ANAF or bank (PSD2) consent, so even consent flows can be triggered straight from the API.

Două componente fac asta posibil. API-ul Organizație gestionează resursele la nivel de organizație - creează companii, activează sau dezactivează servicii și emite chei API de companie - folosind doar cheia de organizație. Endpoint-urile de onboarding per serviciu (eFactura și Extrase) generează un link de browser pe care utilizatorul final îl deschide pentru a acorda consimțământul ANAF sau bancar (PSD2), astfel încât și fluxurile de consimțământ pot fi declanșate direct din API.

CapabilityCapabilitateUI (/ui)Interfață (/ui)Self-service APIAPI self-service
Create company (license)Creare companie (licență)YesDaYes - Organization API EnterpriseDa - API Organizație Enterprise
List companiesListare companiiYesDaYes - Organization API EnterpriseDa - API Organizație Enterprise
Activate / deactivate a service on a companyActivare / dezactivare serviciu pe o companieYesDaYes - Organization API EnterpriseDa - API Organizație Enterprise
Create company API keyCreare cheie API de companieYesDaYes - Organization API EnterpriseDa - API Organizație Enterprise
Create organization (master) API keyCreare cheie API de organizație (master)YesDaNo - UI onlyNu - doar în interfață
Generate sandbox keysGenerare chei sandboxYesDaNo - UI onlyNu - doar în interfață
eFactura ANAF consent onboardingOnboarding consimțământ ANAF eFacturaYesDaYes - onboarding endpointDa - endpoint onboarding
Extrase bank (PSD2) consent onboardingOnboarding consimțământ bancar (PSD2) ExtraseYesDaYes - onboarding endpointDa - endpoint onboarding
Manage users / rolesGestionare utilizatori / roluriYesDaNo - UI onlyNu - doar în interfață
Disable / delete API keysDezactivare / ștergere chei APIYesDaNo - UI onlyNu - doar în interfață
Disable / delete a companyDezactivare / ștergere companieYesDaNo - UI onlyNu - doar în interfață
Turn extra charges (Consum adițional) on or offActivare / dezactivare consum adițional (Consum adițional)YesDaNo - UI onlyNu - doar în interfață
Configure webhooksConfigurare webhook-uriYesDaNo - UI onlyNu - doar în interfață

Authentication errorsErori de autentificare

These endpoints check only the organization key and the organization’s plan. A company key, if sent, is ignored, so the company-key errors listed under Authentication never occur here.

Aceste endpoint-uri verifică doar cheia de organizație și planul organizației. O cheie de companie, dacă este trimisă, este ignorată, deci erorile de cheie de companie din Autentificare nu apar aici.

HTTPreasonWhenCând
401missing_org_api_keyNo X-Org-Key headerLipsește header-ul X-Org-Key
401invalid_org_api_keyUnknown or deleted org keyCheie de organizație necunoscută sau ștearsă
403org_api_key_disabledOrg key exists but disabledCheia de organizație există dar este dezactivată
403organization_suspendedOrganization is suspended (unpaid invoice)Organizația este suspendată (factură neplătită)
403organization_disabledOrganization is not enabledOrganizația nu este activă
403enterprise_requiredOrganization is not on the Enterprise planOrganizația nu este pe planul Enterprise
429rate_limitedToo many requests on this organization key; wait the number of seconds in Retry-AfterPrea multe cereri pe această cheie de organizație; așteaptă numărul de secunde din Retry-After

List companiesListare companii

GET/v1/organization/companies/list

Returns every non-deleted company in the organization - both enabled and disabled - with each company’s currently active services. Filter on status if you only need enabled companies. This is a GET endpoint and takes no request body.

Returnează toate companiile neșterse din organizație - atât enabled, cât și disabled - cu serviciile active ale fiecărei companii. Filtrează după status dacă ai nevoie doar de companiile active. Este un endpoint GET și nu primește corp de cerere.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
data[]Array of company objects (every non-deleted company in the organization).Array de obiecte companie (toate companiile neșterse din organizație).
data[].uidCompany UID; use it in the companies/{uid}/... endpoints.UID-ul companiei; folosește-l în endpoint-urile companies/{uid}/....
data[].nameCompany display name.Numele companiei.
data[].cuiCompany fiscal code.Codul fiscal al companiei.
data[].statusCompany state: enabled or disabled.Starea companiei: enabled sau disabled.
data[].activeServices[]Service keys currently active on the company (efactura, extrase, infocui, schimbvalutar, vouchere).Cheile de serviciu active pe companie (efactura, extrase, infocui, schimbvalutar, vouchere).

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

Create a companyCreare companie

POST/v1/organization/companies/create

Creates a new company under the organization. The CUI (2-10 digits; optional RO prefix) must be unique within the organization.

Creează o nouă companie în organizație. CUI-ul (2-10 cifre; prefix RO opțional) trebuie să fie unic în organizație.

FieldCâmpRequiredObligatoriuDescriptionDescriere
nameyesdaCompany display nameNumele companiei
cuiyesdaRomanian tax id; unique in your orgCUI românesc; unic în organizație

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
uidUID of the newly created company; use it in the companies/{uid}/... endpoints.UID-ul companiei nou create; folosește-l în endpoint-urile companies/{uid}/....
nameCompany display name (echoed from the request).Numele companiei (reluat din cerere).
cuiCompany fiscal code as you sent it (trimmed). It is not normalized, so an RO prefix you sent is kept. The duplicate check ignores the RO prefix, spaces and leading zeros.Codul fiscal al companiei, așa cum l-ai trimis (fără spații la capete). Nu este normalizat, deci prefixul RO trimis se păstrează. Verificarea de duplicat ignoră prefixul RO, spațiile și zerourile de la început.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
400missing_nameNo nameLipsește name
400missing_cuiNo cuiLipsește cui
400invalid_cuicui is not 2-10 digits (optional RO prefix)cui nu are 2-10 cifre (prefix RO opțional)
409duplicate_cuicui already exists in this organizationcui există deja în această organizație
500company_create_failedCould not create the companyNu s-a putut crea compania

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

List available servicesListare servicii disponibile

GET/v1/organization/services/list

Returns the service keys that can be activated on a company and used as API key scopes. This is a GET endpoint and takes no request body.

Returnează cheile de serviciu care pot fi activate pe o companie și folosite ca domeniu pentru cheile API. Este un endpoint GET și nu primește corp de cerere.

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
data[]Array of available service objects.Array de obiecte serviciu disponibile.
data[].keyService key used when activating a service or scoping an API key (efactura, extrase, infocui, schimbvalutar, vouchere).Cheia de serviciu folosită la activarea unui serviciu sau la limitarea unei chei API (efactura, extrase, infocui, schimbvalutar, vouchere).
data[].labelHuman-readable service name.Numele lizibil al serviciului.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

Activate a serviceActivare serviciu

POST/v1/organization/companies/{uid}/services/activate

Activates a single service for a company. A company must have a service active before API keys can call it. Use the uid from companies/list. The action is in the URL, so the body only carries the service. Activation is billable: on a new activation the service’s extra charges (Consum adiţional) are switched on, so usage beyond the allowance is invoiced instead of being blocked with 429 limit_exceeded. If this is the organization’s first billable activation, its billing day is set to today. See Limits.

Activează un singur serviciu pentru o companie. O companie trebuie să aibă serviciul activ înainte ca cheile API să-l poată apela. Folosește uid-ul din companies/list. Acțiunea este în URL, deci corpul conține doar serviciul. Activarea este facturabilă: la o activare nouă, consumul adiţional (Consum adiţional) pentru serviciu este pornit, deci utilizarea peste cotă este facturată în loc să fie blocată cu 429 limit_exceeded. Dacă este prima activare facturabilă a organizației, ziua de facturare devine ziua curentă. Vezi Limite.

FieldCâmpLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaCompany UID, from companies/listUID-ul companiei, din companies/list
servicebodycorpyesdaService key: efactura, extrase, infocui, schimbvalutar, vouchereCheie serviciu: efactura, extrase, infocui, schimbvalutar, vouchere

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
companyUidUID of the affected company.UID-ul companiei afectate.
serviceService key that was activated.Cheia de serviciu care a fost activată.
activetrue after a successful activation.true după activarea reușită.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
404company_not_founduid not found in your organizationuid nu a fost găsit în organizația ta
400missing_serviceNo serviceLipsește service
400invalid_serviceservice is not a recognized service keyservice nu este o cheie de serviciu recunoscută
409service_already_activeService is already active on this companyServiciul este deja activ pe această companie
500service_update_failedCould not activate the serviceNu s-a putut activa serviciul

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

Deactivate a serviceDezactivare serviciu

POST/v1/organization/companies/{uid}/services/deactivate

Deactivates a single service for a company (removes its service plan). Use the uid from companies/list. The body carries only the service.

Dezactivează un singur serviciu pentru o companie (îi elimină planul de serviciu). Folosește uid-ul din companies/list. Corpul conține doar serviciul.

FieldCâmpLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaCompany UID, from companies/listUID-ul companiei, din companies/list
servicebodycorpyesdaService key: efactura, extrase, infocui, schimbvalutar, vouchereCheie serviciu: efactura, extrase, infocui, schimbvalutar, vouchere

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
companyUidUID of the affected company.UID-ul companiei afectate.
serviceService key that was deactivated.Cheia de serviciu care a fost dezactivată.
activefalse after a successful deactivation.false după dezactivarea reușită.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
404company_not_founduid not found in your organizationuid nu a fost găsit în organizația ta
400missing_serviceNo serviceLipsește service
400invalid_serviceservice is not a recognized service keyservice nu este o cheie de serviciu recunoscută
409service_not_activeService is not currently active on this companyServiciul nu este momentan activ pe această companie
500service_update_failedCould not deactivate the serviceNu s-a putut dezactiva serviciul

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

Create a company API keyCreare cheie API pentru companie

POST/v1/organization/companies/{uid}/apikeys/create

Creates a company API key scoped to the given services. Use the uid from companies/list. The plaintext key is returned in this response only - the API has no endpoint to read it back, so store it securely. An organization Admin can still copy it later from Configurare → Chei API in the dashboard. Use the returned key as X-Api-Key on service endpoints together with X-Org-Key.

Creează o cheie API pentru companie, limitată la serviciile indicate. Folosește uid-ul din companies/list. Cheia în clar este returnată doar în acest răspuns - API-ul nu are un endpoint care să o returneze din nou, deci stocheaz-o în siguranță. Un Admin al organizației o poate copia ulterior din Configurare → Chei API în dashboard. Folosește cheia returnată ca X-Api-Key pe endpoint-urile de servicii împreună cu X-Org-Key.

FieldCâmpLocationLocațieRequiredObligatoriuDescriptionDescriere
uidpathcaleyesdaCompany UID, from companies/listUID-ul companiei, din companies/list
namebodycorpyesdaHuman-readable label for the keyEtichetă lizibilă pentru cheie
servicesbodycorpyesdaArray of service keys the key may call (at least one)Array de chei de serviciu pe care le poate apela (cel puțin una)

Response fieldsCâmpuri de răspuns

FieldCâmpDescriptionDescriere
idNumeric identifier of the created key.Identificatorul numeric al cheii create.
companyUidUID of the company the key belongs to.UID-ul companiei de care aparține cheia.
nameHuman-readable label (echoed from the request).Eticheta lizibilă (reluată din cerere).
apiKeyThe plaintext company API key, returned by the API only in this response. Send it as X-Api-Key.Cheia API a companiei în clar, returnată de API doar în acest răspuns. Trimite-o ca X-Api-Key.
services[]Service keys the API key is scoped to.Cheile de serviciu la care este limitată cheia API.

ErrorsErori

HTTPreasonWhenCând
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON valid
404company_not_founduid not found in your organizationuid nu a fost găsit în organizația ta
400missing_nameNo nameLipsește name
400missing_servicesservices is missing or emptyservices lipsește sau este gol
400invalid_serviceOne of the entries in services is not a recognized service keyUna dintre intrările din services nu este o cheie de serviciu recunoscută
500api_key_create_failedCould not create the API keyNu s-a putut crea cheia API

Also see Organization API authentication errors for key, plan and rate-limit failures.

Vezi și Erori de autentificare (API Organizație) pentru erori de cheie, plan și limitare a ratei.

Get startedÎncepe aici

SandboxSandbox

Build and test your integration against https://sandbox.fint.ro - a fully mocked copy of the Fint API that mirrors the live request and response shapes but never touches real providers or real company data.

Construiește și testează integrarea pe https://sandbox.fint.ro - o copie complet simulată a API-ului Fint, care reproduce structura cererilor și răspunsurilor reale, dar nu atinge niciodată furnizorii reali sau date reale de companie.

Safe to test. Sandbox responses are hardcoded mock data. No documents are sent to ANAF, no banks are contacted, no billing limits apply, nothing you send is persisted, and calls are not recorded in your API request history (API → Istoric API). Use it to validate your HTTP client, auth headers, and response parsing before going live.

Sigur pentru testare. Răspunsurile sandbox sunt date simulate, codate fix. Niciun document nu ajunge la ANAF, nicio bancă nu este contactată, nu se aplică limite de facturare, nimic din ce trimiți nu este păstrat, iar apelurile nu apar în istoricul cererilor API (API → Istoric API). Folosește-l pentru a valida clientul HTTP, headerele de autentificare și parsarea răspunsurilor înainte de a trece pe producție.

How it worksCum funcționează

The sandbox is served from a separate host, sandbox.fint.ro, and exposes the same service endpoints as the live API (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) under the /v1 prefix. Fixture ids, amounts, counts and statuses are deterministic, but every date and timestamp is computed relative to the moment of the request (for example a transaction bookingDate is today minus N days, and an account createdOn is the current time). Dates therefore shift between calls and from day to day, and from/to date filters match different rows on different days. The example responses on this page were captured on 2026-06-29 around 09:00. Request methods, query parameters, the { status, msg, reason, data } envelope, and reason error codes all match the live API - only the host and the API keys differ.

Sandbox-ul este servit de pe un host separat, sandbox.fint.ro, și expune aceleași endpoint-uri ca API-ul live (Extrase, eFactura, Vouchere, Info CUI, Schimb valutar) sub prefixul /v1. Id-urile, sumele, numărul de înregistrări și statusurile din datele de test sunt deterministe, dar toate datele și marcajele de timp sunt calculate relativ la momentul cererii (de exemplu, bookingDate al unei tranzacții este data de azi minus N zile, iar createdOn al unui cont este ora curentă). Prin urmare, datele se schimbă între apeluri și de la o zi la alta, iar filtrele de dată from/to potrivesc rânduri diferite în zile diferite. Exemplele de răspuns de pe această pagină au fost capturate pe 2026-06-29, în jurul orei 09:00. Metodele cererilor, parametrii din query, plicul { status, msg, reason, data } și codurile de eroare reason sunt identice cu API-ul live - diferă doar hostul și cheile API.

Differences from the live APIDiferențe față de API-ul live

AspectAspectLive APIAPI liveSandboxSandbox
Base URLURL de bazăhttps://api.fint.rohttps://sandbox.fint.ro
KeysCheiorg_live_* + key_live_*org_sandbox_* + key_sandbox_*
ProvidersFurnizoriReal upstream providersFurnizori realiNone - all data is mockedNiciunul - toate datele sunt simulate
DataDateYour real company dataDatele reale ale companiei taleFixed mock data, not persistedDate simulate fixe, nestocate
Billing / limitsFacturare / limite429 limit_exceeded / rate_limited may applyse pot aplicaNot enforcedNeaplicate
Request historyIstoric cereriShown in API request historyApar în istoricul cererilor APINot recorded in your API request historyNu apar în istoricul cererilor API
Organization APIAPI OrganizațieAvailableDisponibilNot available (404 not_found)Indisponibil (404 not_found)

AuthenticationAutentificare

Sandbox uses the same dual-key authentication as the live API, with one rule: both keys must carry the sandbox prefix. Live keys are rejected with invalid_org_api_key / invalid_api_key (the organization key is checked first). Both keys must belong to the same organization, otherwise the response is 403 org_mismatch. Disabled or suspended keys, companies and organizations return the same reasons as live - see Authentication errors.

Sandbox folosește aceeași autentificare cu două chei ca API-ul live, cu o regulă: ambele chei trebuie să aibă prefixul sandbox. Cheile live sunt respinse cu invalid_org_api_key / invalid_api_key (cheia de organizație este verificată prima). Ambele chei trebuie să aparțină aceleiași organizații, altfel răspunsul este 403 org_mismatch. Cheile, companiile și organizațiile dezactivate sau suspendate returnează aceleași coduri ca live - vezi Erori de autentificare.

HeaderValueValoare
X-Org-KeyOrganization sandbox key (org_sandbox_…)Cheia sandbox de organizație (org_sandbox_…)
X-Api-KeyCompany sandbox key (key_sandbox_…)Cheia sandbox de companie (key_sandbox_…)

The company key may instead be sent as Authorization: Bearer key_sandbox_….

Cheia de companie poate fi trimisă alternativ ca Authorization: Bearer key_sandbox_….

GET
curl -sS 'https://sandbox.fint.ro/v1/extrase/accounts' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/extrase/accounts", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/extrase/accounts",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/extrase/accounts');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Obtaining sandbox keysObținerea cheilor sandbox

Generate a sandbox key pair from the same pages as live keys, using the dedicated Cheie sandbox button. Each key is created once and is idempotent - returning to the page shows the same key. Sandbox keys are hidden from the live key list. Only organization admins see these pages and can generate the keys, and a sandbox key cannot be deleted or rotated. Sandbox keys work only with sandbox.fint.ro; the live API rejects them.

Generează o pereche de chei sandbox din aceleași pagini ca cele live, folosind butonul dedicat Cheie sandbox. Fiecare cheie este creată o singură dată și este idempotentă - la revenirea pe pagină apare aceeași cheie. Cheile sandbox nu apar în lista cheilor live. Doar administratorii organizației văd aceste pagini și pot genera cheile, iar o cheie sandbox nu poate fi ștearsă sau regenerată. Cheile sandbox funcționează doar cu sandbox.fint.ro; API-ul live le respinge.

KeyCheieWhereUndeNotesNote
OrganizationOrganizație (org_sandbox_)Header → API → Chei API → Cheie sandbox → Generează cheie sandboxHeader → API → Chei API → Cheie sandbox → Generează cheie sandboxOne per organization.Una per organizație.
CompanyCompanie (key_sandbox_)Configurare → Chei API → Cheie sandbox → Generează cheie sandboxConfigurare → Chei API → Cheie sandbox → Generează cheie sandboxOne per active company; automatically scoped to all five services.Una per companie activă; include automat toate cele cinci servicii.

Reconciliation suggestionsSugestii de reconciliere

Sandbox transactions and documents carry suggestedReconciliation exactly as the live API does - see Extrase and eFactura for the field reference. The fixtures are deterministic, so the same uid always returns the same suggestions.

Tranzacțiile și documentele din sandbox conțin suggestedReconciliation exact ca API-ul live - vezi Extrase și eFactura pentru referința câmpului. Datele de test sunt deterministe, deci același uid returnează mereu aceleași sugestii.

The fixtures cover all three states on purpose. Some rows return [], some return one suggestion, and some return two - so you can exercise every branch of your client without hunting for test data.

Datele de test acoperă intenționat toate cele trei stări. Unele rânduri returnează [], altele o sugestie, iar altele două - ca să poți exersa fiecare ramură a clientului tău fără să cauți date de test.

The rows that return two suggestions are the important ones to render: both entries share the same amount but carry clearly different confidences (97 and 47). This is the ambiguous case - on a transaction, two invoices with the same total; on a document, two payments of the same amount - and Fint deliberately reports both rather than picking one. Make sure your UI or matching logic handles it.

Rândurile care returnează două sugestii sunt cele importante de randat: ambele intrări au aceeași sumă, dar scoruri de încredere clar diferite (97 și 47). Acesta este cazul ambiguu - pe o tranzacție, două facturi cu același total; pe un document, două plăți de aceeași sumă - iar Fint raportează intenționat ambele, fără să aleagă una. Asigură-te că interfața sau logica ta de potrivire îl tratează.

Where to find each state: transactions ending in 07, 27 and 47 (e.g. txn00000000000000000000000000007), outgoing documents SBX-OUT-0007 and SBX-OUT-0027, and incoming document SUP-IN-0007 carry two suggestions. Rows with a single suggestion carry confidence 82 or 56 (e.g. transactions ending in 03 and 05). Most other rows return [].

Unde găsești fiecare stare: tranzacțiile terminate în 07, 27 și 47 (ex. txn00000000000000000000000000007), documentele emise SBX-OUT-0007 și SBX-OUT-0027 și documentul primit SUP-IN-0007 au două sugestii. Rândurile cu o singură sugestie au scorul de încredere 82 sau 56 (ex. tranzacțiile terminate în 03 și 05). Majoritatea celorlalte rânduri returnează [].

Sandbox keys are scoped to all services, so suggestedReconciliation is never null here. To exercise the null branch - a key without the other service - use a scoped key on the live API.

Cheile de sandbox au acces la toate serviciile, deci suggestedReconciliation nu este niciodată null aici. Pentru a exersa ramura null - o cheie fără celălalt serviciu - folosește o cheie restrânsă pe API-ul live.

The uids inside sandbox suggestions (documentUid, transactionUid, accountUid) are placeholders. They do not resolve through GET /v1/efactura/document/{uid} (returns 400 invalid_uid) or GET /v1/extrase/transaction/{uid} (returns 404 not_found), so do not write sandbox tests that follow a suggestion to its counterpart.

Uid-urile din sugestiile sandbox (documentUid, transactionUid, accountUid) sunt doar substituenți. Nu pot fi accesate prin GET /v1/efactura/document/{uid} (returnează 400 invalid_uid) sau GET /v1/extrase/transaction/{uid} (returnează 404 not_found), deci nu scrie teste sandbox care urmează o sugestie până la perechea ei.

Extrase

Mocks 4 bank accounts (BCR RON, BCR EUR, ING RON, CEC RON), 50 transactions, and 3 bank consents (BCR and ING enabled; CEC disabled/expired). Field and parameter reference is identical to the production Extrase page - only the host and key prefixes differ.

Simulează 4 conturi bancare (BCR RON, BCR EUR, ING RON, CEC RON), 50 de tranzacții și 3 consimțăminte bancare (BCR și ING active; CEC inactiv/expirat). Referința câmpurilor și parametrilor este identică cu pagina de producție Extrase - diferă doar hostul și prefixele cheilor.

Create onboarding linkCreare link de onboarding

POST/v1/extrase/onboarding

Example requestExemplu de cerere

POST
curl -sS -X POST 'https://sandbox.fint.ro/v1/extrase/onboarding' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…' \
  -H 'Content-Type: application/json' \
  -d '{}'
const res = await fetch("https://sandbox.fint.ro/v1/extrase/onboarding", {
  method: "POST",
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.post(
    "https://sandbox.fint.ro/v1/extrase/onboarding",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
    json={},
)
print(resp.json()["data"])
<?php
$body = <<<'JSON'
{}
JSON;

$ch = curl_init('https://sandbox.fint.ro/v1/extrase/onboarding');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "authLink": "https://sandbox.fint.ro/consent/extrase",
    "expiresOn": "2026-07-06 09:00:00"
  }
}

The authLink opens a mock consent landing page (see Consent pages) - no bank OAuth occurs.

Linkul authLink deschide o pagină de consimțământ simulată (vezi Pagini de consimțământ) - nu are loc niciun OAuth bancar.

Response fieldsCâmpuri de răspuns

Identical to the production Extrase POST /v1/extrase/onboarding response - see its Response fields.

Identice cu răspunsul POST /v1/extrase/onboarding de pe pagina de producție Extrase - vezi Câmpuri de răspuns.

Check consentsVerificare consimțăminte

GET/v1/extrase/consents

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "consents": [
      {
        "bankCode": "BCR",
        "bankName": "Banca Comercială Română",
        "consentStatus": "enabled",
        "validUntil": "2026-12-26",
        "updatedOn": "2026-06-26 09:00:00"
      },
      {
        "bankCode": "ING",
        "bankName": "ING Bank",
        "consentStatus": "enabled",
        "validUntil": "2026-12-26",
        "updatedOn": "2026-06-26 09:00:00"
      },
      {
        "bankCode": "CEC",
        "bankName": "CEC Bank",
        "consentStatus": "disabled",
        "validUntil": "2026-06-19",
        "updatedOn": "2026-03-21 09:00:00"
      }
    ],
    "total": 3
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production Extrase GET /v1/extrase/consents response - see its Response fields.

Identice cu răspunsul GET /v1/extrase/consents de pe pagina de producție Extrase - vezi Câmpuri de răspuns.

List accountsListare conturi

GET/v1/extrase/accounts

Example requestExemplu de cerere

GET
curl -sS 'https://sandbox.fint.ro/v1/extrase/accounts' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/extrase/accounts", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/extrase/accounts",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/extrase/accounts');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Response (first of 4 accounts)Răspuns (primul din 4 conturi)

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "accounts": [
      {
        "uid": "bcrron0000000000000000000000acc1",
        "status": "enabled",
        "iban": "RO49RNCB0000000000000001",
        "currency": "RON",
        "balance": "15230.45",
        "name": "Cont curent RON",
        "ownerName": "Sandbox Test SRL",
        "product": "Cont curent",
        "cashAccountType": "CACC",
        "bic": "RNCBROBU",
        "bank": {
          "code": "BCR",
          "name": "BCR Bank",
          "bic": "RNCBROBU",
          "icon": "https://cdn.fint.ro/image/bank/icon/bcr.png"
        },
        "consentStatus": "enabled",
        "consentValidUntil": "2026-12-26",
        "lastTransactionsSync": "2026-06-29 07:00:00",
        "createdOn": "2026-06-29 09:00:00",
        "updatedOn": "2026-06-29 09:00:00"
      }
    ],
    "total": 4
  }
}

The CEC RON account is returned too, but with consentStatus: disabled and an expired consentValidUntil.

Contul CEC RON este returnat și el, dar cu consentStatus: disabled și un consentValidUntil expirat.

Response fieldsCâmpuri de răspuns

Identical to the production Extrase GET /v1/extrase/accounts response - see its Response fields.

Identice cu răspunsul GET /v1/extrase/accounts de pe pagina de producție Extrase - vezi Câmpuri de răspuns.

List transactionsListare tranzacții

GET/v1/extrase/transactions

Supports the same query parameters as live: limit, offset, type, accountUid, from, to, q. Transactions belong only to the three enabled accounts (the disabled CEC account returns none).

Acceptă aceiași parametri de query ca live: limit, offset, type, accountUid, from, to, q. Tranzacțiile aparțin doar celor trei conturi active (contul CEC inactiv nu returnează niciuna).

Example requestExemplu de cerere

GET
curl -sS 'https://sandbox.fint.ro/v1/extrase/transactions?limit=50&offset=0' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/extrase/transactions?limit=50&offset=0", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/extrase/transactions?limit=50&offset=0",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/extrase/transactions?limit=50&offset=0');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "transactions": [
      {
        "uid": "txn00000000000000000000000000001",
        "type": "outgoing",
        "bookingDate": "2026-06-28",
        "interlocutor": "Enel Energie SA",
        "interlocutorIban": "RO55BACX0000000000000555",
        "amount": "-73.30",
        "currency": "RON",
        "fintDescription": "Factura energie electrica",
        "rawDescription": "Factura energie electrica / ref 1",
        "category": "utilities",
        "createdOn": "2026-06-28 18:00:00",
        "accountUid": "bcrron0000000000000000000000acc1",
        "accountIban": "RO49RNCB0000000000000001",
        "accountName": "Cont curent RON",
        "bank": {
          "code": "BCR",
          "name": "BCR Bank",
          "bic": "RNCBROBU",
          "icon": "https://cdn.fint.ro/image/bank/icon/bcr.png"
        },
        "executionDateTime": "2026-06-28 18:00:00",
        "entryReference": "ENTRY-000001",
        "endToEndId": "E2E-000001",
        "transactionStatus": "BOOK",
        "additionalInformation": "Factura energie electrica / ref 1",
        "merchantName": "Enel Energie SA",
        "creditorName": "Enel Energie SA",
        "creditorAccountIban": "RO55BACX0000000000000555",
        "debtorName": "Cont curent RON",
        "debtorAccountIban": "RO49RNCB0000000000000001",
        "userNote": "",
        "suggestedReconciliation": []
      }
    ],
    "total": 50,
    "limit": 50,
    "offset": 0
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production Extrase GET /v1/extrase/transactions response - see its Response fields.

Identice cu răspunsul GET /v1/extrase/transactions de pe pagina de producție Extrase - vezi Câmpuri de răspuns.

Get a transactionObținere tranzacție

GET/v1/extrase/transaction/{uid}

Use a uid from the list above (e.g. txn00000000000000000000000000001). The detail response returns the same per-transaction structure as the list above - including provider fields such as executionDateTime, entryReference and endToEndId.

Folosește un uid din lista de mai sus (ex. txn00000000000000000000000000001). Răspunsul detaliat returnează aceeași structură per tranzacție ca lista de mai sus - inclusiv câmpuri de la furnizor precum executionDateTime, entryReference și endToEndId.

GET
curl -sS 'https://sandbox.fint.ro/v1/extrase/transaction/txn00000000000000000000000000001' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/extrase/transaction/txn00000000000000000000000000001", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/extrase/transaction/txn00000000000000000000000000001",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/extrase/transaction/txn00000000000000000000000000001');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Response fieldsCâmpuri de răspuns

Identical to the production Extrase GET /v1/extrase/transaction/{uid} response - see its Response fields.

Identice cu răspunsul GET /v1/extrase/transaction/{uid} de pe pagina de producție Extrase - vezi Câmpuri de răspuns.

ErrorsErori

The reason codes match the live API. Authentication errors are the same as Authentication, except both keys must carry the sandbox prefix. 429 limit_exceeded is never returned - limits are not enforced in sandbox.

Codurile reason corespund API-ului live. Erorile de autentificare sunt aceleași ca la Autentificare, cu excepția că ambele chei trebuie să aibă prefixul sandbox. 429 limit_exceeded nu este returnat niciodată - limitele nu sunt aplicate în sandbox.

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400invalid_uid/transaction/{uid} - malformed uid/transaction/{uid} - uid malformat
400invalid_type, invalid_account_uid, invalid_date, invalid_date_range, invalid_search/transactions - malformed query parameter/transactions - parametru query malformat
404not_foundUnknown uid or accountUiduid sau accountUid necunoscut
405method_not_allowed/onboarding called with a method other than POST/onboarding apelat cu altă metodă decât POST
400invalid_json/onboarding body is present but not valid JSON (checked before the keys)corpul /onboarding există, dar nu este JSON valid (verificat înaintea cheilor)

eFactura

Mocks 50 documents (30 outgoing, 20 incoming, including two type 381 credit notes). Document uids are production-shaped with a sandbox_ prefix (^sandbox_[A-Za-z0-9]{32}$) and are deterministic. The request-body field reference is documented under the production eFactura page’s Send a document endpoint and applies here unchanged.

Simulează 50 de documente (30 emise, 20 primite, inclusiv două note de creditare tip 381). Uid-urile documentelor au forma de producție cu prefix sandbox_ (^sandbox_[A-Za-z0-9]{32}$) și sunt deterministe. Referința câmpurilor din corpul cererii este documentată la endpoint-ul Trimitere document din pagina de producție eFactura și se aplică aici neschimbată.

Create onboarding linkCreare link de onboarding

POST/v1/efactura/onboarding

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "authLink": "https://sandbox.fint.ro/consent/efactura",
    "expiresOn": "2026-07-06 09:00:00"
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production eFactura POST /v1/efactura/onboarding response - see its Response fields.

Identice cu răspunsul POST /v1/efactura/onboarding de pe pagina de producție eFactura - vezi Câmpuri de răspuns.

GET/v1/efactura/consent

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "consentStatus": "enabled",
    "validUntil": "2026-12-26",
    "updatedOn": "2026-06-26 09:00:00"
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production eFactura GET /v1/efactura/consent response - see its Response fields.

Identice cu răspunsul GET /v1/efactura/consent de pe pagina de producție eFactura - vezi Câmpuri de răspuns.

Send a documentTrimitere document

POST/v1/efactura/send

Validates the document structure with the same rules as the live API - required fields, party/address shape, the from.cui / consent match, and the vatScheme / vatRate coupling (see the request body fields on the production eFactura page). On success it returns 201 with a fixed uid, always sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc (the first mock outgoing pending document). Fetching it with GET /v1/efactura/document/{uid} returns that fixture (SBX-OUT-0001), not the document you submitted. An invalid document returns 422 validation_failed with a data.errors array. Nothing is uploaded to ANAF, and - unlike live - there is no ANAF pre-validation or duplicate-number check.

Validează structura documentului cu aceleași reguli ca API-ul live - câmpuri obligatorii, forma părților/adreselor, potrivirea from.cui cu consimțământul și corelarea vatScheme / vatRate (vezi câmpurile din corpul cererii pe pagina de producție eFactura). La succes returnează 201 cu un uid fix, mereu sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc (primul document emis simulat cu status pending). Dacă îl obții cu GET /v1/efactura/document/{uid}, primești acel document de test (SBX-OUT-0001), nu documentul trimis de tine. Un document invalid returnează 422 validation_failed cu un array data.errors. Nimic nu este încărcat la ANAF și - spre deosebire de live - nu există pre-validare ANAF sau verificare de număr duplicat.

Sandbox consent CUI. The sandbox's enabled eFactura consent belongs to Sandbox Test SRL, CUI 123456. Set from.cui to 123456 (or RO123456); any other value returns 422 validation_failed with from_cui_mismatch.

CUI consimțământ sandbox. Consimțământul eFactura activ din sandbox aparține companiei Sandbox Test SRL, CUI 123456. Setează from.cui la 123456 (sau RO123456); orice altă valoare returnează 422 validation_failed cu from_cui_mismatch.

Example requestExemplu de cerere
curl -sS -X POST 'https://sandbox.fint.ro/v1/efactura/send' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentNumber": "TEST-1",
    "documentDate": "2026-06-29",
    "currency": "RON",
    "documentTypeCode": "380",
    "from": {
      "cui": "123456",
      "name": "Sandbox Test SRL",
      "address": { "line": "Str. Exemplu nr. 10", "city": "SECTOR1", "countrySubdivision": "RO-B", "country": "RO", "postalCode": "010101" },
      "regCom": "J40/1234/2020"
    },
    "to": {
      "cui": "654321",
      "name": "Buyer SRL",
      "address": { "line": "Bd. Unirii nr. 5", "city": "SECTOR1", "countrySubdivision": "RO-B", "country": "RO", "postalCode": "030101" },
      "regCom": "J40/1001/2015"
    },
    "items": [
      {
        "name": "Service",
        "quantity": 1,
        "price": 100,
        "vatRate": 21,
        "vatScheme": "S"
      }
    ]
  }'
const res = await fetch("https://sandbox.fint.ro/v1/efactura/send", {
  method: "POST",
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "documentNumber": "TEST-1",
    "documentDate": "2026-06-29",
    "currency": "RON",
    "documentTypeCode": "380",
    "from": {
      "cui": "123456",
      "name": "Sandbox Test SRL",
      "address": {
        "line": "Str. Exemplu nr. 10",
        "city": "SECTOR1",
        "countrySubdivision": "RO-B",
        "country": "RO",
        "postalCode": "010101"
      },
      "regCom": "J40/1234/2020"
    },
    "to": {
      "cui": "654321",
      "name": "Buyer SRL",
      "address": {
        "line": "Bd. Unirii nr. 5",
        "city": "SECTOR1",
        "countrySubdivision": "RO-B",
        "country": "RO",
        "postalCode": "030101"
      },
      "regCom": "J40/1001/2015"
    },
    "items": [
      {
        "name": "Service",
        "quantity": 1,
        "price": 100,
        "vatRate": 21,
        "vatScheme": "S"
      }
    ]
  }),
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.post(
    "https://sandbox.fint.ro/v1/efactura/send",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
    json={
        "documentNumber": "TEST-1",
        "documentDate": "2026-06-29",
        "currency": "RON",
        "documentTypeCode": "380",
        "from": {
            "cui": "123456",
            "name": "Sandbox Test SRL",
            "address": {
                "line": "Str. Exemplu nr. 10",
                "city": "SECTOR1",
                "countrySubdivision": "RO-B",
                "country": "RO",
                "postalCode": "010101",
            },
            "regCom": "J40/1234/2020",
        },
        "to": {
            "cui": "654321",
            "name": "Buyer SRL",
            "address": {
                "line": "Bd. Unirii nr. 5",
                "city": "SECTOR1",
                "countrySubdivision": "RO-B",
                "country": "RO",
                "postalCode": "030101",
            },
            "regCom": "J40/1001/2015",
        },
        "items": [
            {
                "name": "Service",
                "quantity": 1,
                "price": 100,
                "vatRate": 21,
                "vatScheme": "S",
            },
        ],
    },
)
print(resp.json()["data"])
<?php
$body = <<<'JSON'
{
    "documentNumber": "TEST-1",
    "documentDate": "2026-06-29",
    "currency": "RON",
    "documentTypeCode": "380",
    "from": {
        "cui": "123456",
        "name": "Sandbox Test SRL",
        "address": {
            "line": "Str. Exemplu nr. 10",
            "city": "SECTOR1",
            "countrySubdivision": "RO-B",
            "country": "RO",
            "postalCode": "010101"
        },
        "regCom": "J40/1234/2020"
    },
    "to": {
        "cui": "654321",
        "name": "Buyer SRL",
        "address": {
            "line": "Bd. Unirii nr. 5",
            "city": "SECTOR1",
            "countrySubdivision": "RO-B",
            "country": "RO",
            "postalCode": "030101"
        },
        "regCom": "J40/1001/2015"
    },
    "items": [
        {
            "name": "Service",
            "quantity": 1,
            "price": 100,
            "vatRate": 21,
            "vatScheme": "S"
        }
    ]
}
JSON;

$ch = curl_init('https://sandbox.fint.ro/v1/efactura/send');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);
{
  "documentNumber": "TEST-1",
  "documentDate": "2026-06-29",
  "currency": "RON",
  "documentTypeCode": "380",
  "from": {
    "cui": "123456",
    "name": "Sandbox Test SRL",
    "address": { "line": "Str. Exemplu nr. 10", "city": "SECTOR1", "countrySubdivision": "RO-B", "country": "RO", "postalCode": "010101" },
    "regCom": "J40/1234/2020"
  },
  "to": {
    "cui": "654321",
    "name": "Buyer SRL",
    "address": { "line": "Bd. Unirii nr. 5", "city": "SECTOR1", "countrySubdivision": "RO-B", "country": "RO", "postalCode": "030101" },
    "regCom": "J40/1001/2015"
  },
  "items": [
    {
      "name": "Service",
      "quantity": 1,
      "price": 100,
      "vatRate": 21,
      "vatScheme": "S"
    }
  ]
}

Response (201)Răspuns (201)

json
{
  "status": "success",
  "msg": "Document has been validated with Fint. Pending upload and ANAF confirmation.",
  "reason": null,
  "data": {
    "uid": "sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc",
    "status": "pending"
  }
}

Response (422 validation failed)Răspuns (422 validare eșuată)

json
{
  "status": "error",
  "msg": "Document is not valid.",
  "reason": "validation_failed",
  "data": {
    "errors": [
      {
        "code": "from_cui_mismatch",
        "field": "from.cui",
        "message": "from.cui must match the enabled eFactura consent CUI for this license"
      }
    ]
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production eFactura POST /v1/efactura/send response - see its Response fields.

Identice cu răspunsul POST /v1/efactura/send de pe pagina de producție eFactura - vezi Câmpuri de răspuns.

List documentsListare documente

GET/v1/efactura/documents

Same query parameters as live: type (all default - both directions - or outgoing/incoming), limit, offset, status (unknown status values return 400 invalid_status, as in production; with type=incoming, sent is rejected the same way). Outgoing fixtures cycle through pending, sent, validated, rejected and failed; incoming fixtures through validated, pending and rejected.

Aceiași parametri de query ca live: type (all implicit - ambele direcții - sau outgoing/incoming), limit, offset, status (valorile necunoscute de status returnează 400 invalid_status, ca în producție; cu type=incoming, și sent este respins la fel). Documentele de test emise trec ciclic prin pending, sent, validated, rejected și failed; cele primite prin validated, pending și rejected.

GET
curl -sS 'https://sandbox.fint.ro/v1/efactura/documents?type=incoming&limit=50&offset=0' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/efactura/documents?type=incoming&limit=50&offset=0", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/efactura/documents?type=incoming&limit=50&offset=0",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/efactura/documents?type=incoming&limit=50&offset=0');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "documents": [
      {
        "uid": "sandbox_mBCXq2l1hc81TNqNeIte0fbFDTSzT7Ca",
        "type": "incoming",
        "status": "validated",
        "source": "spv",
        "documentTypeCode": "380",
        "documentNumber": "SUP-IN-0001",
        "documentDate": "2026-06-28",
        "currency": "RON",
        "fromTo": "Alpha Distribution SRL",
        "fromToCui": "RO234567",
        "total": "167.75",
        "anafStatus": "ok",
        "anafId": "6000000001",
        "processed": 1,
        "createdOn": "2026-06-28 09:00:00",
        "updatedOn": "2026-06-28 09:30:00",
        "suggestedReconciliation": []
      }
    ],
    "total": 20,
    "limit": 50,
    "offset": 0
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production eFactura GET /v1/efactura/documents response - see its Response fields.

Identice cu răspunsul GET /v1/efactura/documents de pe pagina de producție eFactura - vezi Câmpuri de răspuns.

Get a documentObținere document

GET/v1/efactura/document/{uid}

Example requestExemplu de cerere

GET
curl -sS 'https://sandbox.fint.ro/v1/efactura/document/sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/efactura/document/sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/efactura/document/sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/efactura/document/sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "uid": "sandbox_XqdTICN1YmGkD8RV3cUE0keIZkRMoufc",
    "type": "outgoing",
    "status": "pending",
    "errorMessage": null,
    "source": "fint",
    "documentTypeCode": "380",
    "documentNumber": "SBX-OUT-0001",
    "documentDate": "2026-06-28",
    "currency": "RON",
    "fromTo": "Alpha Distribution SRL",
    "fromToCui": "RO234567",
    "total": "173.50",
    "anafStatus": null,
    "anafId": null,
    "pdfAvailable": 0,
    "xmlAvailable": 0,
    "processed": 1,
    "createdOn": "2026-06-28 09:00:00",
    "updatedOn": "2026-06-28 09:30:00",
    "note": "Document sandbox - date simulate.",
    "dueDate": "2026-07-28",
    "buyerReference": null,
    "payableRoundingAmount": null,
    "deliveryDate": "2026-06-28",
    "deliveryAddress": null,
    "from": {
      "cui": "123456",
      "name": "Sandbox Test SRL",
      "address": {
        "line": "Str. Exemplu nr. 10",
        "city": "București",
        "postalCode": "010101",
        "countrySubdivision": "RO-B",
        "country": "RO"
      },
      "regCom": "J40/1234/2020"
    },
    "to": {
      "cui": "234567",
      "name": "Alpha Distribution SRL",
      "address": {
        "line": "Bd. Unirii nr. 5",
        "city": "București",
        "postalCode": "030101",
        "countrySubdivision": "RO-B",
        "country": "RO"
      },
      "regCom": "J40/1001/2015"
    },
    "items": [
      {
        "name": "Servicii sandbox",
        "quantity": 1,
        "price": 157.73,
        "vatRate": 21,
        "vatScheme": "S",
        "currency": "RON",
        "kind": "item",
        "value": "157.73"
      },
      {
        "name": "Reducere comercială",
        "quantity": -1,
        "price": 14.34,
        "vatRate": 21,
        "vatScheme": "S",
        "currency": "RON",
        "kind": "item",
        "value": "-14.34"
      }
    ],
    "paymentMeans": {
      "paymentMeansCode": "30",
      "paymentId": "SBX-OUT-0001",
      "iban": "RO49RNCB0000000000000001",
      "accountName": "Sandbox Test SRL",
      "bic": "RNCBROBU"
    },
    "paymentMeansList": [
      {
        "paymentMeansCode": "30",
        "paymentId": "SBX-OUT-0001",
        "iban": "RO49RNCB0000000000000001",
        "accountName": "Sandbox Test SRL",
        "bic": "RNCBROBU"
      }
    ],
    "suggestedReconciliation": []
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production eFactura GET /v1/efactura/document/{uid} response - see its Response fields.

Identice cu răspunsul GET /v1/efactura/document/{uid} de pe pagina de producție eFactura - vezi Câmpuri de răspuns.

Download a documentDescărcare document

GET/v1/efactura/download/{uid}?type=pdf|xml

No binary files exist in the sandbox, so after authentication this endpoint always returns 404 sandbox_download_unavailable. It does not validate uid or type, so invalid_uid and invalid_type never occur here.

În sandbox nu există fișiere binare, așa că, după autentificare, acest endpoint returnează mereu 404 sandbox_download_unavailable. Nu validează uid sau type, deci invalid_uid și invalid_type nu apar aici.

json
{
  "status": "error",
  "msg": "No binary files exist in the sandbox; /download always returns this error.",
  "reason": "sandbox_download_unavailable",
  "data": null
}

ErrorsErori

/send runs the same structural validation as the live API (returns 422 validation_failed with a data.errors array of {code, field, message} objects), but skips the ANAF UBL pre-check and the duplicate-number check. So the live-only errors 403 efactura_consent_required, 409 duplicate_document, 500 enqueue_failed and 429 limit_exceeded / rate_limited do not occur here.

/send rulează aceeași validare structurală ca API-ul live (returnează 422 validation_failed cu un array data.errors de obiecte {code, field, message}), dar sare peste pre-verificarea UBL la ANAF și verificarea numărului duplicat. Astfel, erorile specifice live 403 efactura_consent_required, 409 duplicate_document, 500 enqueue_failed și 429 limit_exceeded / rate_limited nu apar aici.

HTTPreasonWhenCând
400invalid_json/send body is missing or not valid JSON; data.detail is empty_body, json_syntax_error, or invalid_rootcorpul /send lipsește sau nu este JSON valid; data.detail este empty_body, json_syntax_error sau invalid_root
405method_not_allowed / method_not_allowed_get/send or /onboarding called with a method other than POST / any other endpoint called with a method other than GET/send sau /onboarding apelat cu altă metodă decât POST / orice alt endpoint apelat cu altă metodă decât GET
400invalid_status/documents - the status filter contains an unknown status value/documents - filtrul status conține o valoare necunoscută
422validation_failed/send - document failed structural validation; per-field details in data.errors, e.g. from_cui_mismatch/send - documentul nu a trecut validarea structurală; detalii per câmp în data.errors, ex. from_cui_mismatch
400invalid_uid/document/{uid} - malformed uid/document/{uid} - uid malformat
404not_found/document/{uid} - unknown uid/document/{uid} - uid necunoscut
400invalid_type/documents - invalid type/documents - type invalid
404sandbox_download_unavailable/download/{uid} - always, after authentication (no binary files exist in sandbox)/download/{uid} - mereu, după autentificare (nu există fișiere binare în sandbox)

Vouchere

All seven endpoints answer from fixed fixtures, with no purchase, debit or provider call: 3 brands, 6 products, 12 orders (2 pending, 2 cancelled, the rest delivered), a balance of 2060.00 RON and its 15 movements. Unlike the other services, Vouchere fixture dates are fixed: the newest order is from 2026-10-15 10:00:00, and the others go back from there. Query parameters, filters, pagination and the response fields are the same as on the live Vouchere page. Delivered fixture vouchers have a code like SBX-XXXX-XXXX-XXXX, a 4-digit PIN, an expiry and an example redeemUrl; Carrefour vouchers also carry a code128 barcode, and /download returns a real PDF.

Toate cele șapte endpoint-uri răspund din date de test fixe, fără cumpărare, debitare sau apel către furnizor: 3 branduri, 6 produse, 12 comenzi (2 pending, 2 cancelled, restul delivered), un sold de 2060.00 RON și cele 15 mișcări ale lui. Spre deosebire de celelalte servicii, datele calendaristice ale comenzilor de test Vouchere sunt fixe: cea mai nouă comandă este din 2026-10-15 10:00:00, iar celelalte merg înapoi de acolo. Parametrii de query, filtrele, paginarea și câmpurile de răspuns sunt aceleași ca pe pagina live Vouchere. Voucherele de test livrate au un cod de forma SBX-XXXX-XXXX-XXXX, un PIN de 4 cifre, o dată de expirare și un redeemUrl de exemplu; voucherele Carrefour au și un cod de bare code128, iar /download returnează un PDF real.

ProductProdusuidfaceValueprice
eMag 50 leisandbox_Jtd9HLwkoh0kGp9zt35uAimBQb6RjCgB50.0049.50
eMag 100 leisandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2100.0099.00
eMag 200 leisandbox_36d6nc7kYTV9TXrtSqw27vdlvLvv9DEY200.00198.00
Carrefour 50 leisandbox_lVUzbEr2lrnRBMsgitG1aIuAdvRj1P9s50.0049.50
Carrefour 100 leisandbox_BQHzJSQNotZnSUZdBcK7ItObNjvLuZeo100.0099.00
Decathlon 100 leisandbox_3fGveoAgr1yjEEpwAFaPnkg999fGH5pi100.0098.50

Buy a voucherCumpărare voucher

POST/v1/vouchere/order

A fixture product returns 201 with that product’s newest delivered fixture order, the same one on every call (nothing is created, and the balance does not change). Any other well-formed productUid returns 404 product_not_found. These magic values, case-insensitive, return the other outcomes:

Un produs de test returnează 201 cu cea mai nouă comandă de test livrată pentru acel produs, aceeași la fiecare apel (nu se creează nimic, iar soldul nu se schimbă). Orice alt productUid bine format returnează 404 product_not_found. Aceste valori speciale, fără a ține cont de majuscule, returnează celelalte rezultate:

productUidResponseRăspuns
sandbox_pending201 with a pending fixture order and voucher: null201 cu o comandă de test pending și voucher: null
sandbox_insufficient422 insufficient_balance with balance: "10.00" and required: "49.50"422 insufficient_balance cu balance: "10.00" și required: "49.50"
sandbox_provider_error409 provider_error with the orderUid of a cancelled fixture order409 provider_error cu orderUid-ul unei comenzi de test anulate
sandbox_purchase_unavailable409 purchase_unavailable409 purchase_unavailable

Example requestExemplu de cerere

POST
curl -sS -X POST 'https://sandbox.fint.ro/v1/vouchere/order' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…' \
  -H 'Content-Type: application/json' \
  -d '{"productUid": "sandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2"}'
const res = await fetch("https://sandbox.fint.ro/v1/vouchere/order", {
  method: "POST",
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "productUid": "sandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2"
  }),
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.post(
    "https://sandbox.fint.ro/v1/vouchere/order",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
    json={
        "productUid": "sandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2",
    },
)
print(resp.json()["data"])
<?php
$body = <<<'JSON'
{
    "productUid": "sandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2"
}
JSON;

$ch = curl_init('https://sandbox.fint.ro/v1/vouchere/order');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Response (201 Created)Răspuns (201 Created)

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "uid": "sandbox_VuSvcU7yRsrW30ohbxdNK2Kxobfk19lF",
    "status": "delivered",
    "companyUid": "sandbox_AZXGkandAZC3YnZuxL10VghBJbkCxAMv",
    "product": {
      "uid": "sandbox_YKQMOvD5beZpjpSa73xxGQeojEKwDoQ2",
      "name": "eMag 100 lei",
      "brand": {
        "uid": "sandbox_DlJ2CfffVHEWnTbOCnmYKjBfeG9cpois",
        "name": "eMag",
        "logo": null
      }
    },
    "faceValue": "100.00",
    "price": "99.00",
    "discount": "1.00",
    "currency": "RON",
    "voucher": {
      "code": "SBX-CB31-B23C-587C",
      "pin": "1961",
      "expiresOn": "2027-10-15",
      "redeemUrl": "https://example.com/redeem?code=SBX-CB31-B23C-587C",
      "barcode": null,
      "pdfUrl": "https://sandbox.fint.ro/v1/vouchere/download/sandbox_VuSvcU7yRsrW30ohbxdNK2Kxobfk19lF"
    },
    "cancelReason": null,
    "errorMessage": null,
    "createdOn": "2026-10-15 10:00:00",
    "updatedOn": "2026-10-15 10:00:03",
    "deliveredOn": "2026-10-15 10:00:03",
    "cancelledOn": null
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production Vouchere responses - see their Response fields.

Identice cu răspunsurile de pe pagina de producție Vouchere - vezi Câmpuri de răspuns.

ErrorsErori

Validation, filters and uid checks behave as on the live API. Sandbox uids start with sandbox_, so a live uid answers 400 invalid_uid here and the other way round. Orders are not separated by company in the sandbox, and 422 company_limit_exceeded and 429 rate_limited do not occur here.

Validarea, filtrele și verificarea uid-urilor funcționează ca în API-ul live. Uid-urile din sandbox încep cu sandbox_, deci un uid live răspunde aici 400 invalid_uid, și invers. În sandbox comenzile nu sunt separate pe companii, iar 422 company_limit_exceeded și 429 rate_limited nu apar aici.

HTTPreasonWhenCând
405method_not_allowed / method_not_allowed_get/order without a uid called with a method other than POST / any other endpoint called with a method other than GET/order fără uid apelat cu altă metodă decât POST / orice alt endpoint apelat cu altă metodă decât GET
400invalid_json/order body is missing or not valid JSONcorpul /order lipsește sau nu este JSON valid
422validation_failed/order - productUid missing or malformed/order - productUid lipsește sau este malformat
404product_not_found/order - not a fixture product or magic value/order - nu este un produs de test sau o valoare specială
400invalid_uid/order/{uid}, /download/{uid} or brandUid - malformed uid/order/{uid}, /download/{uid} sau brandUid - uid malformat
404not_foundUnknown order or brand uiduid de comandă sau brand necunoscut
404voucher_not_available/download/{uid} - a pending or cancelled fixture order/download/{uid} - o comandă de test pending sau cancelled
400invalid_status/orders - unknown status value/orders - valoare status necunoscută
400invalid_type/movements - unknown type value; /download/{uid} - type is not pdf/movements - valoare type necunoscută; /download/{uid} - type nu este pdf
400invalid_date / invalid_date_range/orders, /movements - from or to malformed, or from after to/orders, /movements - from sau to malformat, sau from după to
500internal_error/download/{uid} - the PDF could not be generated/download/{uid} - PDF-ul nu a putut fi generat

Info CUI

GET/v1/infocui

Any CUI that contains a non-zero digit returns the same mock company, Sandbox Test SRL. The response cui echoes your input normalized (RO prefix, non-digits and leading zeros removed), so it is 123456 only when you ask for that CUI. The special CUI 222222 (with or without RO) returns 404 company_not_found so you can test the not-found path. Field reference is identical to the production Info CUI page.

Orice CUI care conține o cifră diferită de zero returnează aceeași companie simulată, Sandbox Test SRL. Câmpul cui din răspuns reia CUI-ul trimis de tine, normalizat (fără prefixul RO, fără caractere non-cifră și fără zerourile de la început), deci este 123456 doar când ceri acel CUI. CUI-ul special 222222 (cu sau fără RO) returnează 404 company_not_found, ca să poți testa cazul „negăsit”. Referința câmpurilor este identică cu pagina de producție Info CUI.

Example requestExemplu de cerere

GET
curl -sS 'https://sandbox.fint.ro/v1/infocui?cui=RO123456' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/infocui?cui=RO123456", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/infocui?cui=RO123456",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/infocui?cui=RO123456');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "cui": "123456",
    "name": "Sandbox Test SRL",
    "registrationNumber": "J40/1234/2015",
    "address": "Str. Exemplu, nr. 10, Sector 1",
    "addressFull": "Str. Exemplu, nr. 10, Sector 1, București, Sector 1, România",
    "city": "București",
    "county": "Sector 1",
    "countyCode": "B",
    "country": "România",
    "postalCode": "010101",
    "phone": "+40212345678",
    "fax": null,
    "iban": "RO49RNCB0000000000000001",
    "registrationStatus": "INREGISTRAT din data 2015-03-12",
    "registrationDate": "2015-03-12",
    "caenCode": "6201",
    "eInvoiceEnabled": true,
    "taxAuthority": "Administrația Sector 1",
    "legalForm": "Societate cu răspundere limitată",
    "vatRegistered": true,
    "cashVatEnabled": false,
    "financials": {
      "currency": "RON",
      "latestYear": 2024,
      "years": [
        {
          "year": 2024,
          "caenCode": "6201",
          "caenCode_label": "Cod CAEN",
          "employees": 12,
          "employees_label": "Număr mediu de salariați",
          "netTurnover": 2100000,
          "netTurnover_label": "Cifra de afaceri netă",
          "totalRevenue": 2150000,
          "totalRevenue_label": "Venituri totale",
          "totalExpenses": 1800000,
          "totalExpenses_label": "Cheltuieli totale",
          "grossProfit": 350000,
          "grossProfit_label": "Profit brut",
          "grossLoss": 0,
          "grossLoss_label": "Pierdere brută",
          "netProfit": 294000,
          "netProfit_label": "Profit net",
          "netLoss": 0,
          "netLoss_label": "Pierdere netă",
          "fixedAssets": 150000,
          "fixedAssets_label": "Active imobilizate",
          "currentAssets": 900000,
          "currentAssets_label": "Active circulante",
          "inventory": 50000,
          "inventory_label": "Stocuri",
          "receivables": 200000,
          "receivables_label": "Creanțe",
          "cash": 650000,
          "cash_label": "Casa și conturi la bănci",
          "prepaidExpenses": 0,
          "prepaidExpenses_label": "Cheltuieli în avans",
          "liabilities": 300000,
          "liabilities_label": "Datorii",
          "deferredRevenue": 0,
          "deferredRevenue_label": "Venituri în avans",
          "provisions": 0,
          "provisions_label": "Provizioane",
          "equity": 750000,
          "equity_label": "Capitaluri total",
          "paidCapital": 200,
          "paidCapital_label": "Capital subscris vărsat",
          "publicPatrimony": 0,
          "publicPatrimony_label": "Patrimoniul regiei"
        },
        {
          "year": 2023,
          "caenCode": "6201",
          "caenCode_label": "Cod CAEN",
          "employees": 10,
          "employees_label": "Număr mediu de salariați",
          "netTurnover": 1700000,
          "netTurnover_label": "Cifra de afaceri netă",
          "totalRevenue": 1730000,
          "totalRevenue_label": "Venituri totale",
          "totalExpenses": 1500000,
          "totalExpenses_label": "Cheltuieli totale",
          "grossProfit": 230000,
          "grossProfit_label": "Profit brut",
          "grossLoss": 0,
          "grossLoss_label": "Pierdere brută",
          "netProfit": 193000,
          "netProfit_label": "Profit net",
          "netLoss": 0,
          "netLoss_label": "Pierdere netă",
          "fixedAssets": 120000,
          "fixedAssets_label": "Active imobilizate",
          "currentAssets": 700000,
          "currentAssets_label": "Active circulante",
          "inventory": 40000,
          "inventory_label": "Stocuri",
          "receivables": 160000,
          "receivables_label": "Creanțe",
          "cash": 500000,
          "cash_label": "Casa și conturi la bănci",
          "prepaidExpenses": 0,
          "prepaidExpenses_label": "Cheltuieli în avans",
          "liabilities": 250000,
          "liabilities_label": "Datorii",
          "deferredRevenue": 0,
          "deferredRevenue_label": "Venituri în avans",
          "provisions": 0,
          "provisions_label": "Provizioane",
          "equity": 570000,
          "equity_label": "Capitaluri total",
          "paidCapital": 200,
          "paidCapital_label": "Capital subscris vărsat",
          "publicPatrimony": 0,
          "publicPatrimony_label": "Patrimoniul regiei"
        },
        {
          "year": 2022,
          "caenCode": "6201",
          "caenCode_label": "Cod CAEN",
          "employees": 8,
          "employees_label": "Număr mediu de salariați",
          "netTurnover": 1200000,
          "netTurnover_label": "Cifra de afaceri netă",
          "totalRevenue": 1220000,
          "totalRevenue_label": "Venituri totale",
          "totalExpenses": 1080000,
          "totalExpenses_label": "Cheltuieli totale",
          "grossProfit": 140000,
          "grossProfit_label": "Profit brut",
          "grossLoss": 0,
          "grossLoss_label": "Pierdere brută",
          "netProfit": 117600,
          "netProfit_label": "Profit net",
          "netLoss": 0,
          "netLoss_label": "Pierdere netă",
          "fixedAssets": 90000,
          "fixedAssets_label": "Active imobilizate",
          "currentAssets": 500000,
          "currentAssets_label": "Active circulante",
          "inventory": 30000,
          "inventory_label": "Stocuri",
          "receivables": 120000,
          "receivables_label": "Creanțe",
          "cash": 350000,
          "cash_label": "Casa și conturi la bănci",
          "prepaidExpenses": 0,
          "prepaidExpenses_label": "Cheltuieli în avans",
          "liabilities": 200000,
          "liabilities_label": "Datorii",
          "deferredRevenue": 0,
          "deferredRevenue_label": "Venituri în avans",
          "provisions": 0,
          "provisions_label": "Provizioane",
          "equity": 390000,
          "equity_label": "Capitaluri total",
          "paidCapital": 200,
          "paidCapital_label": "Capital subscris vărsat",
          "publicPatrimony": 0,
          "publicPatrimony_label": "Patrimoniul regiei"
        }
      ]
    }
  }
}

Response fieldsCâmpuri de răspuns

Identical to the production Info CUI GET /v1/infocui response - see its Response fields.

Identice cu răspunsul GET /v1/infocui de pe pagina de producție Info CUI - vezi Câmpuri de răspuns.

ErrorsErori

reason codes match the live API. The special CUI RO222222 is wired to return 404 company_not_found so you can exercise the not-found path; every other CUI that contains a non-zero digit returns the mock company (the sandbox does not check the CUI checksum). 429 limit_exceeded is not enforced in sandbox.

Codurile reason corespund API-ului live. CUI-ul special RO222222 este configurat să returneze 404 company_not_found pentru a testa cazul negăsit; orice alt CUI care conține o cifră diferită de zero returnează compania simulată (sandbox-ul nu verifică cifra de control a CUI-ului). 429 limit_exceeded nu este aplicat în sandbox.

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400missing_cui / invalid_cuicui is missing, or contains no non-zero digitcui lipsește sau nu conține nicio cifră diferită de zero
404company_not_foundSpecial test CUI 222222 / RO222222CUI de test special 222222 / RO222222

Schimb valutar

GET/v1/schimbvalutar

Returns fixed mock rates with no upstream fetch: EUR 5.2390, USD 4.8500, GBP 6.1200, CHF 5.4500, HUF 0.01312 (returned with multiplier: 100). from must be RON; an optional date is echoed back unchanged (no banking-day fallback in sandbox). Field reference is identical to the production Schimb valutar page.

Returnează cursuri simulate fixe, fără apel extern: EUR 5.2390, USD 4.8500, GBP 6.1200, CHF 5.4500, HUF 0.01312 (returnat cu multiplier: 100). from trebuie să fie RON; un date opțional este returnat neschimbat (fără fallback la ziua bancară în sandbox). Referința câmpurilor este identică cu pagina de producție Schimb valutar.

Example requestExemplu de cerere

GET
curl -sS 'https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=EUR' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=EUR", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=EUR",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=EUR');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Example request (historical)Exemplu de cerere (istoric)

GET
curl -sS 'https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15' \
  -H 'X-Org-Key: org_sandbox_…' \
  -H 'X-Api-Key: key_sandbox_…'
const res = await fetch("https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15", {
  headers: {
    "X-Org-Key": "org_sandbox_…",
    "X-Api-Key": "key_sandbox_…",
  },
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.get(
    "https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15",
    headers={
        "X-Org-Key": "org_sandbox_…",
        "X-Api-Key": "key_sandbox_…",
    },
)
print(resp.json()["data"])
<?php
$ch = curl_init('https://sandbox.fint.ro/v1/schimbvalutar?from=RON&to=USD&date=2025-01-15');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: org_sandbox_…',
        'X-Api-Key: key_sandbox_…',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

ResponseRăspuns

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "from": "RON",
    "to": "EUR",
    "date": "2026-06-29",
    "rate": 5.239,
    "multiplier": 1,
    "source": "bnr",
    "publishedDate": "2026-06-29"
  }
}

For every currency, rate is RON per 1 unit of to, as on the live API. multiplier is 1 for EUR, USD, GBP and CHF and 100 for HUF, where it is already folded into rate (rate: 0.01312).

Pentru toate monedele, rate este RON per 1 unitate din to, ca în API-ul live. multiplier este 1 pentru EUR, USD, GBP și CHF și 100 pentru HUF, unde este deja inclus în rate (rate: 0.01312).

Response fieldsCâmpuri de răspuns

Identical to the production Schimb valutar GET /v1/schimbvalutar response - see its Response fields.

Identice cu răspunsul GET /v1/schimbvalutar de pe pagina de producție Schimb valutar - vezi Câmpuri de răspuns.

ErrorsErori

from must be RON and to must be one of the five mocked currencies (EUR, USD, GBP, CHF, HUF); any other currency returns 404 rate_not_found. Because sandbox serves fixed rates and never contacts an upstream source, 502 provider_error cannot occur, and 429 limit_exceeded is not enforced.

from trebuie să fie RON, iar to una dintre cele cinci valute simulate (EUR, USD, GBP, CHF, HUF); orice altă valută returnează 404 rate_not_found. Deoarece sandbox-ul servește cursuri fixe și nu contactează nicio sursă externă, 502 provider_error nu poate apărea, iar 429 limit_exceeded nu este aplicat.

HTTPreasonWhenCând
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)
400missing_from / invalid_fromfrom is missing or not RONfrom lipsește sau nu este RON
400missing_to / invalid_toto is missing or not a 3-letter ISO 4217 codeto lipsește sau nu este un cod ISO 4217 de 3 litere
400invalid_date / future_datedate is malformed or in the futuredate este malformat sau în viitor
404rate_not_foundCurrency outside the mocked setValută în afara setului simulat

Onboarding endpoints return an authLink that opens in a browser. In sandbox these resolve to mock success pages - same layout as production, but no provider redirect, and no consent is created.

Endpoint-urile de onboarding returnează un authLink care se deschide în browser. În sandbox acestea duc la pagini de succes simulate - același aspect ca producția, dar fără redirecționare către furnizor și fără crearea vreunui consimțământ.

URLSimulatesSimulează
https://sandbox.fint.ro/consent/extraseExtrase onboarding success (mock IBAN list)Succes onboarding Extrase (listă IBAN simulată)
https://sandbox.fint.ro/consent/efacturaeFactura onboarding success (mock CUI)Succes onboarding eFactura (CUI simulat)

Not available in sandbox. The Organization API (/v1/organization/*) is live-only and is not served by the sandbox host; its paths return 404 not_found. Billing limits are never enforced, and sandbox calls are not recorded in your API request history.

Indisponibil în sandbox. API-ul Organizație (/v1/organization/*) există doar pe producție și nu este servit de hostul sandbox; căile lui returnează 404 not_found. Limitele de facturare nu se aplică niciodată, iar apelurile sandbox nu apar în istoricul cererilor API.

PlatformPlatformă

WebhooksWebhook-uri

Webhooks push a signed JSON payload to a URL you control the moment something happens in eFactura or Extrase, so you don’t have to poll the API.

Webhook-urile trimit un payload JSON semnat către o adresă pe care o controlezi, în momentul în care se întâmplă ceva în eFactura sau Extrase, ca să nu fie nevoie să interoghezi API-ul.

Managed in the app, not via the API. Webhooks are configured in the Fint dashboard, not through the public API. Sign in as an organization Admin, select the company, and open Configurare → Webhook-uri.Gestionate în aplicație, nu prin API. Webhook-urile se configurează în panoul Fint, nu prin API-ul public. Autentifică-te ca Admin al organizației, selectează compania și deschide Configurare → Webhook-uri.

Setting up an endpointConfigurarea unui endpoint

  1. Create the endpoint. Open Configurare → Webhook-uri and click Webhook nou.
  2. Creează endpoint-ul. Deschide Configurare → Webhook-uri și apasă Webhook nou.
  3. Choose the URL and events. Enter your HTTPS URL, pick the events you want, and save.
  4. Alege adresa și evenimentele. Introdu adresa HTTPS, alege evenimentele dorite și salvează.
  5. Save the signing secret. Fint shows a signing secret (whsec_…) once - copy it now; it is never shown again. Use it to verify every delivery. You can regenerate it later from the endpoint’s actions menu (⋮) via Regenerează secret, which immediately invalidates the old one.
  6. Salvează secretul de semnare. Fint afișează un secret de semnare (whsec_…) o singură dată - copiază-l acum; nu va mai fi afișat. Folosește-l pentru a verifica fiecare livrare. Îl poți regenera ulterior din meniul de acțiuni (⋮) prin Regenerează secret, ceea ce invalidează imediat secretul vechi.
  7. Send a test. Use Trimite test from the actions menu to send a webhook.ping and confirm your endpoint receives it.
  8. Trimite un test. Folosește Trimite test din meniul de acțiuni pentru a trimite un webhook.ping și a confirma că endpoint-ul îl primește.
  9. Watch deliveries. Istoric webhook (the actions menu) shows every delivery, its status and HTTP code, and lets you redeliver one manually.
  10. Urmărește livrările. Istoric webhook (meniul de acțiuni) arată fiecare livrare, statusul și codul HTTP, și îți permite să retrimiți manual o livrare.

Scope. Each endpoint belongs to one company and only receives that company’s events.Domeniu. Fiecare endpoint aparține unei singure companii și primește doar evenimentele acelei companii.

Endpoint requirements. The URL must be https on the standard port 443, must not contain credentials, and must not resolve to a private or internal address. The URL can be at most 512 characters. These checks are repeated on every delivery.Cerințe pentru endpoint. Adresa trebuie să folosească https pe portul standard 443, să nu conțină credențiale și să nu indice o adresă privată sau internă. Adresa poate avea cel mult 512 caractere. Aceste verificări se repetă la fiecare livrare.

EventsEvenimente

EventEvenimentFires whenSe declanșează când
efactura.document.receivedAn incoming document is fetched from ANAF SPVUn document primit este descărcat din ANAF SPV
efactura.document.sentAn outgoing document is uploaded to ANAFUn document emis este încărcat la ANAF
efactura.document.validatedANAF marks an outgoing document validANAF marchează un document emis ca valid
efactura.document.rejectedANAF rejects an outgoing documentANAF respinge un document emis
efactura.document.failedThe upload of an outgoing document to ANAF failed 12 times and Fint stopped retrying. The document is now failed; see its errorMessage.Încărcarea unui document emis către ANAF a eșuat de 12 ori și Fint nu mai reîncearcă. Documentul este acum failed; vezi errorMessage al acestuia.
efactura.document.processedA document’s ZIP/UBL is parsed and its PDF renderedZIP/UBL-ul unui document este procesat și PDF-ul generat
efactura.consent.createdANAF consent authorizedConsimțământ ANAF autorizat
efactura.consent.expiringANAF consent expiring soonConsimțământ ANAF care expiră curând
efactura.consent.expiredANAF consent expiredConsimțământ ANAF expirat
efactura.consent.disabledANAF consent disabledConsimțământ ANAF dezactivat
extrase.transactions.importedNew bank transactions were stored after a syncTranzacții bancare noi au fost salvate după o sincronizare
extrase.consent.createdBank (Open Banking) consent authorizedConsimțământ bancar (Open Banking) autorizat
extrase.consent.expiringBank consent expiring soonConsimțământ bancar care expiră curând
extrase.consent.expiredBank consent expiredConsimțământ bancar expirat
extrase.consent.disabledBank consent disabledConsimțământ bancar dezactivat

Delivery formatFormatul livrării

Each delivery is an HTTP POST with Content-Type: application/json and these headers:

Fiecare livrare este un POST HTTP cu Content-Type: application/json și următoarele header-e:

HeaderHeaderMeaningSemnificație
Fint-Signaturet=<unix>,v1=<hmac-sha256 hex> - timestamped HMAC over the raw bodyt=<unix>,v1=<hmac-sha256 hex> - HMAC cu marcaj de timp peste corpul brut
Fint-DeliveryUnique delivery id - use it as your idempotency keyId unic de livrare - folosește-l ca cheie de idempotență
Fint-EventThe event name (also present in the body)Numele evenimentului (prezent și în corp)
User-AgentFint-Webhooks/1

The body is a stable envelope; data is specific to each event:

Corpul este o envelopă stabilă; data este specific fiecărui eveniment:

json
{
  "id": "hd8s0f...",
  "type": "efactura.document.validated",
  "createdAt": "2026-08-12 10:04:33",
  "companyUid": "oyUsdORx...",
  "data": {
    "documentUid": "a1b2c3...",
    "status": "validated",
    "type": "outgoing",
    "source": "fint",
    "anafId": "5012345678",
    "total": 1190.0,
    "currency": "RON",
    "previousStatus": "sent"
  }
}

createdAt is when the event was queued, in Romanian local time (Europe/Bucharest), formatted YYYY-MM-DD HH:MM:SS with no offset. companyUid is the same company uid the Organization API returns.

createdAt este momentul în care evenimentul a fost pus în coadă, în ora locală a României (Europe/Bucharest), în formatul YYYY-MM-DD HH:MM:SS, fără offset. companyUid este același uid de companie pe care îl returnează API-ul Organizație.

Event dataDatele evenimentului

EventEvenimentdata fieldsCâmpuri data
efactura.document.*Always documentUid, status, type and source; anafId once ANAF has assigned one; total (number) and currency when the total is known; previousStatus on status changes.Întotdeauna documentUid, status, type și source; anafId după ce ANAF a atribuit unul; total (număr) și currency când totalul este cunoscut; previousStatus la schimbările de status.
extrase.transactions.importedimported (number of new transactions); when available, bankName and accounts - a per-account breakdown [{"accountId", "imported"}], where accountId is an internal numeric id, not an account uid.imported (numărul de tranzacții noi); când sunt disponibile, bankName și accounts - defalcarea pe conturi [{"accountId", "imported"}], unde accountId este un id numeric intern, nu un uid de cont.
efactura.consent.*, extrase.consent.*Whichever of cui, bankName, validUntil and accountsCount apply to the consent; missing values are omitted.Câmpurile dintre cui, bankName, validUntil și accountsCount care se aplică consimțământului; valorile lipsă sunt omise.
webhook.pingmessage: "Test webhook from fint.ro"message: "Test webhook from fint.ro"

Respond with any 2xx status within 10 seconds to acknowledge. Any other status (including 3xx - redirects are not followed), a connection error, or a timeout counts as a failure and is retried.

Răspunde cu orice status 2xx în cel mult 10 secunde pentru a confirma. Orice alt status (inclusiv 3xx - redirecționările nu sunt urmate), o eroare de conexiune sau un timeout este considerat eșec și se reîncearcă.

Verifying the signatureVerificarea semnăturii

Every request carries a Fint-Signature header of the form t=<timestamp>,v1=<signature>. Compute an HMAC-SHA256 over "{t}.{rawBody}" using your endpoint secret and compare it, in constant time, to v1. Reject the request if the timestamp is outside a tolerance window (300 seconds is a good default) to guard against replay.

Fiecare cerere poartă un header Fint-Signature de forma t=<timestamp>,v1=<semnătură>. Calculează un HMAC-SHA256 peste "{t}.{rawBody}" folosind secretul endpoint-ului și compară-l, în timp constant, cu v1. Respinge cererea dacă marcajul de timp este în afara unei ferestre de toleranță (300 de secunde este o valoare implicită bună) pentru a preveni atacurile de tip replay.

javascript
import crypto from 'node:crypto';

function fintVerifyWebhook(rawBody, sigHeader, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(
    String(sigHeader).split(',').map((p) => p.split('=').map((s) => s.trim())),
  );
  if (!parts.t || !parts.v1 || !/^\d+$/.test(parts.t)) return false;
  if (Math.abs(Math.floor(Date.now() / 1000) - Number(parts.t)) > toleranceSeconds) return false;

  const expected = crypto
    .createHmac('sha256', secret)
    .update(`${parts.t}.${rawBody}`)
    .digest('hex');

  const a = Buffer.from(expected);
  const b = Buffer.from(parts.v1);
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

Always verify against the raw request body exactly as received - do not re-serialize the JSON first, or the signature will not match.

Verifică întotdeauna pe baza corpului brut al cererii, exact cum a fost primit - nu re-serializa JSON-ul întâi, altfel semnătura nu se va potrivi.

Retries and idempotencyReîncercări și idempotență

Delivery is at-least-once, so the same event may arrive more than once (for example after a network hiccup). Automatic retries of a delivery keep the same Fint-Delivery id (echoed in the body as id), so deduplicate on it. A manual redelivery from Istoric webhook is a new delivery with a new id; to catch those too, also deduplicate on the business identity (for example type + data.documentUid).

Livrarea este cel puțin o dată, deci același eveniment poate ajunge de mai multe ori (de exemplu după o problemă de rețea). Reîncercările automate ale unei livrări păstrează același id Fint-Delivery (reluat în corp ca id), deci deduplică după el. O retrimitere manuală din Istoric webhook este o livrare nouă, cu un id nou; ca să le prinzi și pe acestea, deduplică și după identitatea de business (de exemplu type + data.documentUid).

A failed delivery is retried with exponential backoff - roughly 1m, 5m, 30m, 2h, 6h, 12h, 24h - up to 8 attempts in total. After that it is marked as permanently failed (Eșuat definitiv) and kept in Istoric webhook, where you can redeliver it manually. Each attempt is signed when it is sent, with the endpoint’s current secret, so after Regenerează secret pending retries use the new secret.

O livrare eșuată se reîncearcă cu backoff exponențial - aproximativ 1m, 5m, 30m, 2h, 6h, 12h, 24h - până la 8 încercări în total. După aceea este marcată ca eșuată definitiv (Eșuat definitiv) și păstrată în Istoric webhook, de unde o poți retrimite manual. Fiecare încercare este semnată la trimitere cu secretul curent al endpoint-ului, deci după Regenerează secret reîncercările în așteptare folosesc secretul nou.

After 20 consecutive failed attempts (retries and tests included) the endpoint is disabled automatically; re-enable it after fixing the receiver. While an endpoint is disabled, new events are not queued for it and are never sent later, and deliveries already queued are not sent and use up their retries.

După 20 de încercări eșuate consecutiv (inclusiv reîncercări și teste), endpoint-ul este dezactivat automat; reactivează-l după ce repari receptorul. Cât timp un endpoint este dezactivat, evenimentele noi nu sunt puse în coadă pentru el și nu vor fi trimise ulterior, iar livrările deja în coadă nu sunt trimise și își consumă reîncercările.

ConceptsConcepte

GlossaryGlosar

Background on the Romanian financial and regulatory context behind Fint's services. Useful if you are new to open banking, e-invoicing, or Romanian tax identifiers.

Context financiar și de reglementare românesc din spatele serviciilor Fint. Util dacă ești nou în open banking, facturare electronică sau identificatori fiscali românești.

Open Banking (PSD2)Open Banking (PSD2)

PSD2 (the EU Payment Services Directive 2) requires banks to expose customer account data and payment initiation via standardized APIs, provided the account holder has given explicit consent. The consent is established through an OAuth flow with the bank: the account holder authenticates at their bank and authorizes a third party to read their accounts and transactions.

PSD2 (Directiva europeană privind serviciile de plată 2) obligă băncile să expună date de cont și inițiere de plăți prin API-uri standardizate, cu condiția consimțământului explicit al titularului de cont. Consimțământul se stabilește printr-un flux OAuth cu banca: titularul se autentifică la bancă și autorizează o terță parte să citească conturile și tranzacțiile.

In Fint's Extrase service, this means each connected bank requires its own PSD2 consent. Once authorized, Fint keeps accounts, balances, and transactions synchronized from the bank. The public API returns this already-synchronized data; it does not call the bank in real time. Consents have a validity period set by the bank; Fint maintains the connection and notifies your organization when a consent expires or is revoked.

În serviciul Extrase Fint, asta înseamnă că fiecare bancă conectată necesită propriul consimțământ PSD2. Odată autorizat, Fint menține conturile, soldurile și tranzacțiile sincronizate de la bancă. API-ul public returnează aceste date deja sincronizate; nu apelează banca în timp real. Consimțămintele au o perioadă de valabilitate stabilită de bancă; Fint menține conexiunea și notifică organizația când un consimțământ expiră sau este revocat.

See Extrase for API endpoints and consent setup.

Vezi Extrase pentru endpoint-uri API și configurarea consimțământului.

eFactura (Romanian e-invoicing)eFactura (facturare electronică românească)

eFactura is the Romanian government's electronic invoicing system, operated by ANAF (Agenția Națională de Administrare Fiscală). Businesses in Romania are legally required to submit and receive invoices electronically through ANAF's SPV (Spațiu Privat Virtual). Invoices are formatted as UBL 2.1 XML; ANAF validates the document and countersigns it upon acceptance.

eFactura este sistemul guvernamental român de facturare electronică, operat de ANAF (Agenția Națională de Administrare Fiscală). Afacerile din România sunt obligate legal să trimită și să primească facturi electronic prin SPV ANAF (Spațiu Privat Virtual). Facturile sunt formatate ca UBL 2.1 XML; ANAF validează documentul și îl contrasemnează la acceptare.

To submit invoices via Fint, the company must have active SPV access at ANAF and must authorize Fint through an ANAF OAuth consent. This authorization can only be completed by a person who holds a qualified digital certificate registered at ANAF for that company's CUI. Once authorized, Fint submits outgoing documents to ANAF and provides incoming documents received from other parties.

Pentru a trimite facturi prin Fint, compania trebuie să aibă acces SPV activ la ANAF și să autorizeze Fint printr-un consimțământ OAuth ANAF. Această autorizare poate fi finalizată doar de o persoană cu certificat digital calificat înregistrat la ANAF pentru CUI-ul companiei. Odată autorizat, Fint trimite documentele de ieșire la ANAF și furnizează documente de intrare primite de la alte părți.

The most common document type is 380 (standard invoice). Other types include 381 (credit note) and 384 (corrective invoice). See eFactura for the full API reference and consent setup.

Cel mai frecvent tip de document este 380 (factură standard). Alte tipuri includ 381 (notă de creditare) și 384 (factură corectată). Vezi eFactura pentru referința API completă și configurarea consimțământului.

VouchersVouchere

A voucher (gift card) is a code that a brand accepts as payment, up to its face value, online or at a shop till. Through Fint you buy vouchers below face value: the price is what your organization pays, and the difference is your discount. Vouchers are paid from a prepaid RON balance that you top up by bank transfer, with your organization’s permanent top-up reference in the payment details.

Un voucher (card cadou) este un cod pe care un brand îl acceptă la plată, până la valoarea nominală, online sau la casa de marcat. Prin Fint cumperi vouchere sub valoarea nominală: prețul este cât plătește organizația ta, iar diferența este discountul tău. Voucherele se plătesc dintr-un sold preplătit în RON, pe care îl alimentezi prin transfer bancar, cu referința de alimentare permanentă a organizației în detaliile plății.

For VAT, Romanian law distinguishes single-purpose vouchers (what they buy and its VAT are known when sold) from multi-purpose ones; Fint’s monthly invoice applies the right treatment for each brand. See Vouchere for the API.

Pentru TVA, legea română deosebește voucherele cu scop unic (ce se poate cumpăra cu ele și TVA-ul sunt cunoscute la vânzare) de cele cu scop multiplu; factura lunară Fint aplică tratamentul corect pentru fiecare brand. Vezi Vouchere pentru API.

CUI (Cod Unic de Înregistrare)CUI (Cod Unic de Înregistrare)

The CUI is the Romanian company fiscal identifier, roughly equivalent to a VAT or company registration number in other EU countries. It uniquely identifies a legal entity registered in Romania. A CUI may appear with or without the RO prefix (e.g. RO12345678 or 12345678); Fint accepts either form and strips the prefix when matching and looking up CUIs. The Organization API stores and returns a company’s CUI exactly as you submitted it.

CUI-ul este identificatorul fiscal al companiei românești, echivalent aproximativ cu numărul de TVA sau de înregistrare în alte țări UE. Identifică unic o entitate juridică înregistrată în România. Un CUI poate apărea cu sau fără prefixul RO (ex. RO12345678 sau 12345678); Fint acceptă ambele forme și elimină prefixul la potrivire și la căutare. API-ul Organizație stochează și returnează CUI-ul unei companii exact așa cum l-ai trimis.

The CUI is used in two ways within Fint: as the lookup target in Info CUI (retrieve public company data for any valid Romanian CUI), and as the company identifier in eFactura where from.cui must match the CUI for which your ANAF consent was granted.

CUI-ul este folosit în două moduri în Fint: ca țintă de căutare în Info CUI (recuperează date publice despre companie pentru orice CUI românesc valid) și ca identificator de companie în eFactura, unde from.cui trebuie să coincidă cu CUI-ul pentru care ai primit consimțământ ANAF.

Reference exchange ratesCursuri de referință

One official Romanian reference exchange rate is published per foreign currency per banking day, typically around 13:00 local time. Rates are expressed as RON per 1 unit of the foreign currency, with a multiplier applied for currencies quoted in lots (e.g. 100 JPY). These are official reference rates used for accounting and fiscal purposes, not live market trading rates.

Se publică un curs oficial românesc de referință per valută străină per zi bancară, de obicei în jurul orei 13:00 ora locală. Cursurile sunt exprimate ca RON per 1 unitate de valută străină, cu multiplicator aplicat pentru valute cotate în loturi (ex. 100 JPY). Sunt cursuri oficiale de referință pentru contabilitate și fiscalitate, nu cursuri de tranzacționare live.

When querying a rate for a date when no publication exists (weekends, public holidays, or before the daily update), Fint returns the most recent available rate with its actual publication date in publishedDate. Future dates are rejected with 400 future_date. See Schimb valutar for the API reference.

Când interoghezi un curs pentru o dată fără publicare (weekend, sărbători legale sau înainte de actualizarea zilnică), Fint returnează cel mai recent curs disponibil cu data reală de publicare în publishedDate. Datele viitoare sunt respinse cu 400 future_date. Vezi Schimb valutar pentru referința API.

ConceptsConcepte

ConventionsConvenții

Conventions shared by every Fint endpoint: request format, the response envelope, error handling, and identifiers.

Convenții comune tuturor endpoint-urilor Fint: formatul cererii, envelopa de răspuns, gestionarea erorilor și identificatorii.

GeneralGenerale

  • Content type: request bodies are JSON (Content-Type: application/json) unless noted.
  • Tip de conținut: corpurile cererilor sunt JSON (Content-Type: application/json), dacă nu se specifică altfel.
  • Envelope: responses use { "status", "msg", "reason", "data" }. On success, msg and reason are usually null.
  • Envelopă: răspunsurile folosesc { "status", "msg", "reason", "data" }. La succes, msg și reason sunt de obicei null.
  • Error handling: branch on the stable reason field (snake_case), not the human-readable msg.
  • Gestionarea erorilor: ramifică pe câmpul stabil reason (snake_case), nu pe msg lizibil.
  • Identifiers: resources are referenced by a public uid; internal numeric database ids are not exposed, except where explicitly documented (e.g. the id returned when creating a company API key).
  • Identificatori: resursele sunt referite printr-un uid public; id-urile numerice interne din baza de date nu sunt expuse, cu excepția cazurilor documentate explicit (ex. id-ul returnat la crearea unei chei API de companie).

HTTP methods and URL structureMetode HTTP și structura URL

Fint follows one rule across every service so endpoints are predictable:

Fint respectă o singură regulă în toate serviciile, astfel încât endpoint-urile să fie previzibile:

  • GET is used for reads and never takes a request body.
  • GET este folosit pentru citiri și nu acceptă niciodată un corp de cerere.
  • POST is used for actions and creates, and takes a JSON body. Service toggles such as services/activate stay POST; there are no PUT, PATCH or DELETE methods.
  • POST este folosit pentru acțiuni și creări și acceptă un corp JSON. Comutările de serviciu precum services/activate rămân POST; nu există metode PUT, PATCH sau DELETE.

Where a value goes in the URL depends on what it is:

Locul unei valori în URL depinde de ce reprezintă:

  • Path segment - the identity of a stored resource. A specific resource that Fint issued a uid for is addressed by that uid in the path: /v1/{service}/{collection}/{uid}. Examples: GET /v1/extrase/transaction/{uid}, GET /v1/efactura/document/{uid}, GET /v1/efactura/download/{uid}, and the /v1/organization/companies/{company}/… actions.
  • Segment de cale - identitatea unei resurse stocate. O resursă specifică pentru care Fint a emis un uid este adresată prin acel uid în cale: /v1/{service}/{collection}/{uid}. Exemple: GET /v1/extrase/transaction/{uid}, GET /v1/efactura/document/{uid}, GET /v1/efactura/download/{uid} și acțiunile /v1/organization/companies/{company}/….
  • Query string - everything else. Pagination (limit, offset), filters (type, status, from, to, q, accountUid) and representation options (the download type) go in the query string. Lookup inputs that are not a Fint uid also go there - for example Info CUI’s ?cui= and Schimb valutar’s ?from=&to=&date=, whose inputs are the values you are looking up, not resources Fint owns.
  • Query string - tot restul. Paginarea (limit, offset), filtrele (type, status, from, to, q, accountUid) și opțiunile de reprezentare (parametrul type la descărcare) merg în query string. Valorile de căutare care nu sunt un uid Fint merg tot acolo - de exemplu ?cui= la Info CUI și ?from=&to=&date= la Schimb valutar, ale căror valori sunt ceea ce cauți, nu resurse deținute de Fint.

Error envelopeEnvelopă de eroare

All responses share a single JSON envelope. On errors, branch on the stable reason field rather than the human-readable msg.

Toate răspunsurile folosesc o singură envelopă JSON. La erori, ramifică pe câmpul stabil reason, nu pe msg lizibil.

json
{
  "status": "error",
  "msg": "A human-readable English sentence.",
  "reason": "stable_snake_case_identifier",
  "data": null
}

The /efactura/download and /vouchere/download endpoints are the exception on success: they stream a binary file instead of the envelope. Validation errors on /efactura/send include a data.errors[] array with per-field code, field and message.

Endpoint-urile /efactura/download și /vouchere/download sunt excepția la succes: transmit un fișier binar în loc de envelopă. Erorile de validare la /efactura/send includ un array data.errors[] cu code, field și message per câmp.

Every reason code is listed on the Errors page. Each service’s reference page also lists its own codes, and authentication errors are documented under Authentication.

Toate codurile reason sunt listate pe pagina Erori. Pagina de referință a fiecărui serviciu listează și propriile coduri, iar erorile de autentificare sunt documentate la Autentificare.

Request bodyCorpul cererii

  • Content-Type: always Content-Type: application/json for POST requests.
  • Content-Type: întotdeauna Content-Type: application/json pentru cererile POST.
  • Root type: send a JSON object ({…}). Endpoints that take no body accept {}; POST /v1/efactura/onboarding rejects a missing body (empty_body), so always send {} there. On /efactura/send, an empty object is rejected as invalid_root.
  • Tipul rădăcinii: trimite un obiect JSON ({…}). Endpoint-urile care nu necesită corp acceptă {}; POST /v1/efactura/onboarding respinge un corp lipsă (empty_body), deci trimite mereu {} acolo. Pe /efactura/send, obiectul gol este respins ca invalid_root.
  • Size limit: the eFactura POST endpoints (/send and /onboarding) and POST /v1/vouchere/order enforce a 512 KiB maximum; larger bodies are rejected before JSON parsing.
  • Limită de dimensiune: endpoint-urile POST eFactura (/send și /onboarding) și POST /v1/vouchere/order impun un maximum de 512 KiB; corpurile mai mari sunt respinse înainte de parsarea JSON.

Malformed JSON returns 400 invalid_json. On the eFactura /send and /onboarding endpoints and on POST /v1/vouchere/order the response also carries a data.detail sub-code identifying the cause (other endpoints return invalid_json without it):

JSON-ul malformat returnează 400 invalid_json. Pe endpoint-urile eFactura /send și /onboarding și pe POST /v1/vouchere/order răspunsul conține și un sub-cod data.detail care identifică cauza (celelalte endpoint-uri returnează invalid_json fără el):

data.detailCauseCauză
empty_bodyNo body sent when one is requiredNiciun corp trimis când este necesar
payload_too_largeBody exceeds 512 KiBCorpul depășește 512 KiB
json_syntax_errorBody is not valid JSONCorpul nu este JSON valid
invalid_rootRoot value is not a JSON objectValoarea rădăcină nu este un obiect JSON

PaginationPaginare

The paginated list endpoints, GET /v1/extrase/transactions, GET /v1/efactura/documents, GET /v1/vouchere/orders and GET /v1/vouchere/movements, use offset-based pagination with two query parameters: limit (page size, default 50, max 100) and offset (rows to skip, default 0). Out-of-range or non-numeric values are not rejected: they are replaced by the nearest allowed value or the default, and the response echoes the values actually applied alongside a total count of all matching rows - use it to calculate whether more pages exist. Other list endpoints (for example extrase/accounts, extrase/consents, organization/companies/list) return every row in one response.

Endpoint-urile de listare paginate, GET /v1/extrase/transactions, GET /v1/efactura/documents, GET /v1/vouchere/orders și GET /v1/vouchere/movements, folosesc paginare bazată pe offset cu doi parametri: limit (dimensiunea paginii, implicit 50, maxim 100) și offset (rânduri de sărit, implicit 0). Valorile în afara intervalului sau nenumerice nu sunt respinse: sunt înlocuite cu cea mai apropiată valoare permisă sau cu valoarea implicită, iar răspunsul returnează valorile aplicate efectiv împreună cu un total al tuturor rândurilor care corespund - folosește-l pentru a calcula dacă mai există pagini. Celelalte endpoint-uri de listare (de exemplu extrase/accounts, extrase/consents, organization/companies/list) returnează toate rândurile într-un singur răspuns.

json
{
  "status": "success",
  "msg": null,
  "reason": null,
  "data": {
    "documents": [
      "..."
    ],
    "total": 142,
    "limit": 50,
    "offset": 0
  }
}

Monetary amountsSume monetare

Monetary amounts in API responses are decimal strings (except as noted below), not JSON numbers - e.g. "121.00", not 121.00. This avoids the floating-point rounding errors that affect native floats in most languages (121.10 cannot be represented exactly in binary IEEE 754). Always parse monetary fields with your language’s decimal type (Decimal, BigDecimal, decimal.Decimal, etc.).

Sumele monetare din răspunsurile API sunt șiruri zecimale (cu excepțiile de mai jos), nu numere JSON - ex. "121.00", nu 121.00. Aceasta evită erorile de rotunjire în virgulă mobilă care afectează float-urile native în majoritatea limbajelor (121.10 nu poate fi reprezentat exact în IEEE 754 binar). Parsează întotdeauna câmpurile monetare cu tipul zecimal al limbajului tău (Decimal, BigDecimal, decimal.Decimal etc.).

Three clarifications:

Trei precizări:

  • eFactura line-item echo fields (items[].price, items[].quantity, items[].vatRate) are JSON numbers, mirroring the numeric values you submit on /send. Computed monetary fields (total, items[].value, account balance, transaction amount) are always decimal strings.
  • Câmpurile de linie eFactura reluate din cerere (items[].price, items[].quantity, items[].vatRate) sunt numere JSON, oglindind valorile numerice trimise la /send. Câmpurile monetare calculate (total, items[].value, balance pe conturi, amount pe tranzacții) sunt întotdeauna șiruri zecimale.
  • Exchange rates (Schimb valutar rate) are JSON numbers - a rate is a ratio, not a monetary amount.
  • Cursurile valutare (rate la Schimb valutar) sunt numere JSON - un curs este un raport, nu o sumă monetară.
  • Info CUI financials (financials.years[] values such as netTurnover or equity) are JSON integers in whole RON, as filed with ANAF.
  • Datele financiare Info CUI (valorile din financials.years[], precum netTurnover sau equity) sunt numere întregi JSON, în RON întregi, așa cum au fost depuse la ANAF.

Dates and timestampsDate și timestamp-uri

  • Dates - calendar dates use YYYY-MM-DD (e.g. "2026-06-29"), both in query parameters and response fields such as documentDate, bookingDate, validUntil.
  • Date calendaristice - folosesc formatul YYYY-MM-DD (ex. "2026-06-29"), atât în parametrii de interogare cât și în câmpurile de răspuns precum documentDate, bookingDate, validUntil.
  • Timestamps - datetime fields use YYYY-MM-DD HH:MM:SS (e.g. "2026-06-29 10:00:00"), as in createdOn, updatedOn, expiresOn.
  • Timestamp-uri - câmpurile datetime folosesc YYYY-MM-DD HH:MM:SS (ex. "2026-06-29 10:00:00"), ca în createdOn, updatedOn, expiresOn.
  • Timezone - dates and timestamps are Romanian local time (Europe/Bucharest, EET/EEST) and carry no UTC offset. Convert explicitly if you store UTC.
  • Fus orar - datele și timestamp-urile sunt în ora locală a României (Europe/Bucharest, EET/EEST) și nu conțin offset față de UTC. Convertește explicit dacă stochezi în UTC.

API root and version discoveryRădăcina API și descoperirea versiunilor

Both API hosts answer unauthenticated GET requests on their root and version paths, in the standard envelope, always 200:

Ambele hosturi API răspund la cereri GET neautentificate pe rădăcină și pe calea de versiune, în anvelopa standard, întotdeauna 200:

  • GET https://api.fint.ro/ - lists the available API versions with their base URLs (data.versions, currently only v1).
  • GET https://api.fint.ro/ - listează versiunile API disponibile cu URL-urile lor de bază (data.versions, momentan doar v1).
  • GET https://api.fint.ro/v1 - lists every available endpoint of that version (data.endpoints).
  • GET https://api.fint.ro/v1 - listează toate endpoint-urile disponibile ale versiunii (data.endpoints).

The same applies on the sandbox host (https://sandbox.fint.ro/ and https://sandbox.fint.ro/v1). These are stable, non-error targets - use them for uptime monitoring or client-side connectivity checks.

La fel și pe hostul sandbox (https://sandbox.fint.ro/ și https://sandbox.fint.ro/v1). Sunt ținte stabile, fără erori - folosește-le pentru monitorizarea uptime-ului sau verificări de conectivitate în client.

Unknown routesRute necunoscute

Any misspelled or non-existent path under /v1/ returns 404 not_found in the standard JSON envelope - never an HTML error page. Paths outside /v1/ (for example a mistyped version such as /v2/) may return an HTML error page, so check the Content-Type before parsing; /efactura/download and /vouchere/download stream a binary file on success.

Orice cale greșită sau inexistentă sub /v1/ returnează 404 not_found în envelopa JSON standard - niciodată o pagină de eroare HTML. Căile din afara /v1/ (de exemplu o versiune greșită precum /v2/) pot returna o pagină de eroare HTML, deci verifică Content-Type înainte de parsare; /efactura/download și /vouchere/download transmit un fișier binar la succes.

ConceptsConcepte

LimitsLimite

Fint applies two independent kinds of limit, and it helps to keep them apart. Technical limits shape each individual request (body size, page size) and protect the API from abuse (rate limiting). Billing limits are the monthly allowance your plan includes for each service. This page explains both and what happens when you reach them.

Fint aplică două tipuri independente de limită și e util să le ții separate. Limitele tehnice modelează fiecare cerere în parte (dimensiunea corpului, dimensiunea paginii) și protejează API-ul de abuz (rate limiting). Limitele de facturare reprezintă cota lunară inclusă în planul tău pentru fiecare serviciu. Această pagină le explică pe ambele și ce se întâmplă când le atingi.

Technical limitsLimite tehnice

These apply per request, regardless of plan.

Acestea se aplică per cerere, indiferent de plan.

LimitLimităValueValoareNotesNote
Request body sizeDimensiunea corpului cererii 512 KiB Applies to the eFactura POST endpoints (/send, /onboarding) and POST /v1/vouchere/order. Larger bodies are rejected before JSON parsing with 400 invalid_json (data.detail: payload_too_large). See Conventions - Request body.Se aplică endpoint-urilor POST eFactura (/send, /onboarding) și lui POST /v1/vouchere/order. Corpurile mai mari sunt respinse înainte de parsarea JSON cu 400 invalid_json (data.detail: payload_too_large). Vezi Convenții - Corpul cererii.
Page size (limit)Dimensiunea paginii (limit) default 50, max 100implicit 50, maxim 100 Paginated list endpoints use offset-based pagination (limit, offset); out-of-range values are adjusted, not rejected. See Conventions - Pagination.Endpoint-urile de listare paginate folosesc paginare bazată pe offset (limit, offset); valorile în afara intervalului sunt ajustate, nu respinse. Vezi Convenții - Paginare.
Request rateRata cererilor generous ceilingplafon generos An abuse ceiling only - see Rate limiting below.Doar un plafon anti-abuz - vezi Rate limiting mai jos.

Rate limitingRate limiting

Fint counts requests in fixed one-minute windows: per client IP (before authentication), per company key on the service endpoints, and per organization key on the Organization API. The thresholds are deliberately high: they exist only to stop deliberate flooding and never interfere with normal integration traffic. You do not need to tune your client to stay under a specific number - just avoid tight retry loops.

Fint numără cererile în ferestre fixe de un minut: per IP client (înainte de autentificare), per cheie de companie pe endpoint-urile de servicii și per cheie de organizație pe API-ul Organizație. Pragurile sunt intenționat ridicate: există doar pentru a opri inundarea deliberată și nu interferează niciodată cu traficul normal de integrare. Nu e nevoie să-ți reglezi clientul pentru a rămâne sub un anumit număr - evită doar buclele agresive de reîncercare.

When the ceiling is exceeded, the API responds with 429 and reason: "rate_limited", plus a Retry-After header giving the number of seconds until the current window ends. Honor it: pause for that long, then retry. The limiter is fail-open - if it ever cannot record a request, it allows the request rather than blocking legitimate traffic.

Când plafonul este depășit, API-ul răspunde cu 429 și reason: "rate_limited", plus un antet Retry-After care indică numărul de secunde până la încheierea ferestrei curente. Respectă-l: așteaptă acel interval, apoi reîncearcă. Limitatorul este fail-open - dacă vreodată nu poate înregistra o cerere, o permite în loc să blocheze traficul legitim.

Rate limiting is separate from your plan allowance: reaching your allowance never produces a rate_limited response - that is limit_exceeded instead. A rate_limited or limit_exceeded response never counts toward your usage: for Info CUI and Schimb valutar only successful (2xx) responses are counted. See Billing / usage limits and The two 429s.

Rate limiting este separat de cota planului tău: atingerea cotei nu produce niciodată un răspuns rate_limited - acela este limit_exceeded. Un răspuns rate_limited sau limit_exceeded nu se numără niciodată în consum: la Info CUI și Schimb valutar se contorizează doar răspunsurile reușite (2xx). Vezi Limite de facturare / consum și Cele două 429.

Billing / usage limitsLimite de facturare / consum

Every service you activate on a company comes with a monthly included allowance, measured in that service’s natural unit:

Fiecare serviciu activat pe o companie vine cu o cotă lunară inclusă, măsurată în unitatea naturală a serviciului:

  • eFactura - documents stored for the company: those you send and those synced from SPV (incoming documents, and outgoing ones issued outside Fint).
  • eFactura - documentele stocate pentru companie: cele pe care le trimiți și cele sincronizate din SPV (documente de intrare și cele de ieșire emise în afara Fint).
  • Extrase - bank accounts kept enabled.
  • Extrase - conturi bancare menținute active.
  • Info CUI and Schimb valutar - successful (2xx) API requests made with one of the company’s keys. Error responses are not counted.
  • Info CUI și Schimb valutar - cererile API reușite (2xx) făcute cu una dintre cheile companiei. Răspunsurile de eroare nu se contorizează.

Vouchere has no subscription and no allowance, and never returns limit_exceeded: purchases are limited only by the organization’s balance (insufficient_balance) and the company’s optional monthly limit (company_limit_exceeded). See Vouchere.

Vouchere nu are abonament și nici cotă și nu returnează niciodată limit_exceeded: cumpărările sunt limitate doar de soldul organizației (insufficient_balance) și de limita lunară opțională a companiei (company_limit_exceeded). Vezi Vouchere.

The allowance resets at the start of each billing period. The period is anchored to your account’s billing day, not the calendar 1st - so if your billing day is the 12th, each period runs from the 12th of one month to the 12th of the next, and usage counters reset then.

Cota se resetează la începutul fiecărei perioade de facturare. Perioada este ancorată la ziua ta de facturare, nu la data de 1 din calendar - deci dacă ziua de facturare este pe 12, fiecare perioadă merge de pe 12 a unei luni până pe 12 a lunii următoare, iar contoarele de consum se resetează atunci.

What happens when you reach the allowance depends on the extra charges setting (Consum adițional) for that service on that company, which you control in the dashboard. Extra charges are on by default:

Ce se întâmplă când atingi cota depinde de setarea consum adițional (Consum adițional) pentru acel serviciu pe compania respectivă, pe care o controlezi din dashboard. Consumul adițional este activat implicit:

  • Extra charges on: requests keep working past the allowance and each extra unit is billed at the overage price (for Extrase, pro-rated by the days each extra account was enabled).
  • Consum adițional activat: cererile continuă să funcționeze peste cotă, iar fiecare unitate suplimentară este facturată la prețul de depășire (la Extrase, proporțional cu zilele în care fiecare cont suplimentar a fost activ).
  • Extra charges off: once the allowance is reached, these calls return 429 limit_exceeded: every Info CUI and Schimb valutar request; for eFactura only POST /v1/efactura/send; for Extrase only POST /v1/extrase/onboarding (no new bank connections). Read endpoints keep working. It unblocks when the period resets, or immediately if you enable extra charges or your allowance is raised.
  • Consum adițional dezactivat: odată ce cota este atinsă, aceste apeluri returnează 429 limit_exceeded: toate cererile Info CUI și Schimb valutar; la eFactura doar POST /v1/efactura/send; la Extrase doar POST /v1/extrase/onboarding (fără conexiuni bancare noi). Endpoint-urile de citire continuă să funcționeze. Se deblochează la resetarea perioadei sau imediat dacă activezi consumul adițional ori dacă cota ți se mărește.

Extrase counts differently. Its allowance is the number of accounts enabled right now, not requests. Blocking uses that live count, so disabling an account frees capacity immediately - you are never charged for an account you have turned off for the whole period. For billing, every account enabled at any point in the period counts, and overage is pro-rated by the days each extra account was enabled.

Extrase se numără diferit. Cota lui este numărul de conturi active în acest moment, nu cereri. Blocarea folosește acel număr live, deci dezactivarea unui cont eliberează imediat capacitate - nu ești taxat niciodată pentru un cont pe care l-ai oprit pe toată perioada. Pentru facturare se numără fiecare cont activ în orice moment al perioadei, iar depășirea se calculează proporțional cu zilele în care fiecare cont suplimentar a fost activ.

Standard accounts have one allowance per service. Higher allowances are available only on Enterprise, where they are set per organization and service; until a custom value is set, the standard allowance applies.

Conturile standard au o singură cotă per serviciu. Cote mai mari sunt disponibile doar pe Enterprise, unde se stabilesc per organizație și serviciu; până când este setată o valoare personalizată, se aplică cota standard.

This page describes how the limits behave, not their exact values - allowances and overage prices differ between standard and Enterprise accounts and can change. See the billing / subscription page in your Fint dashboard, or fint.ro pricing, for the current numbers on your plan.

Această pagină descrie cum se comportă limitele, nu valorile lor exacte - cotele și prețurile de depășire diferă între conturile standard și cele Enterprise și se pot modifica. Vezi pagina de facturare / abonament din dashboard-ul Fint sau prețurile de pe fint.ro pentru cifrele actuale ale planului tău.

The two 429sCele două 429

Both limit systems surface as HTTP 429, but they mean different things and call for different responses. Always branch on the reason field.

Ambele sisteme de limite apar ca HTTP 429, dar înseamnă lucruri diferite și cer reacții diferite. Ramifică întotdeauna pe câmpul reason.

reasonMeaningSemnificațieWhat to doCe faci
rate_limited Too many requests in a short window (abuse ceiling).Prea multe cereri într-o fereastră scurtă (plafon anti-abuz). Wait the Retry-After seconds, then retry. Slow down tight loops.Așteaptă secundele din Retry-After, apoi reîncearcă. Încetinește buclele agresive.
limit_exceeded Monthly plan allowance reached with extra charges off.Cota lunară a planului atinsă cu consum adițional dezactivat. Enable extra charges, contact Fint about Enterprise allowances, or wait for the billing period to reset. Retrying alone will not help.Activează consumul adițional, contactează Fint pentru cote Enterprise sau așteaptă resetarea perioadei de facturare. Simpla reîncercare nu ajută.

Both codes are also listed where they occur: limit_exceeded in Authentication errors and on each service’s reference page (eFactura, Extrase, Info CUI, Schimb valutar). Request format, pagination and the response envelope are covered under Conventions.

Ambele coduri sunt listate și acolo unde apar: limit_exceeded în Erori de autentificare și pe pagina de referință a fiecărui serviciu (eFactura, Extrase, Info CUI, Schimb valutar). Formatul cererii, paginarea și envelopa de răspuns sunt tratate la Convenții.

ConceptsConcepte

ErrorsErori

Every reason code the API returns, in one place. Each error response uses the shared envelope: status: "error", a human-readable msg, and a stable reason. Branch on reason, never on msg.

Toate codurile reason returnate de API, într-un singur loc. Fiecare răspuns de eroare folosește plicul comun: status: "error", un msg lizibil și un reason stabil. Ramifică pe reason, niciodată pe msg.

The envelope is described under Conventions. The two different 429 codes (rate_limited and limit_exceeded) are explained under Limits. Codes in the tables below are copied from each endpoint’s reference, which stays the source of detail.

Plicul este descris la Convenții. Cele două coduri 429 diferite (rate_limited și limit_exceeded) sunt explicate la Limite. Codurile din tabelele de mai jos sunt preluate din referința fiecărui endpoint, care rămâne sursa detaliilor.

Authentication (all endpoints)Autentificare (toate endpoint-urile)

HTTPreasonWhenCândWhereUnde
401invalid_api_keyUnknown or deleted company keyCheie de companie necunoscută sau ștearsăAny endpointOrice endpoint
401invalid_org_api_keyUnknown or deleted org keyCheie de organizație necunoscută sau ștearsăAny endpointOrice endpoint
401missing_api_keyNo company key / Bearer tokenLipsește cheia de companie / token BearerAny endpointOrice endpoint
401missing_org_api_keyNo X-Org-Key headerLipsește header-ul X-Org-KeyAny endpointOrice endpoint
403api_key_disabledCompany key exists but disabledCheia de companie există dar este dezactivatăAny endpointOrice endpoint
403api_key_service_deniedCompany key’s services don’t include the called serviceServiciile cheii de companie nu includ serviciul apelatAny endpointOrice endpoint
403enterprise_requiredOrganization API called by an organization that is not on the Enterprise planAPI-ul Organizație apelat de o organizație care nu este pe planul EnterpriseAny endpointOrice endpoint
403license_disabledLinked license is not enabledLicența asociată nu este activăAny endpointOrice endpoint
403license_service_deniedService not activated on the companyServiciul nu este activat pe companieAny endpointOrice endpoint
403org_api_key_disabledOrg key exists but disabledCheia de organizație există dar este dezactivatăAny endpointOrice endpoint
403org_mismatchCompany key’s license is not in the org key’s organizationLicența cheii de companie nu aparține organizației cheii de organizațieAny endpointOrice endpoint
403organization_disabledOrganization is not enabledOrganizația nu este activăAny endpointOrice endpoint
403organization_suspendedOrganization is suspendedOrganizația este suspendatăAny endpointOrice endpoint
405method_not_allowedPOST-only endpoint called with another HTTP methodEndpoint doar POST apelat cu altă metodă HTTPAny endpointOrice endpoint
405method_not_allowed_getGET-only endpoint called with another HTTP methodEndpoint doar GET apelat cu altă metodă HTTPAny endpointOrice endpoint
429limit_exceededUsage at/over plan limit with extra charges offUtilizare la/peste limita planului, fără taxe suplimentare activateAny endpointOrice endpoint
429rate_limitedToo many requests in a short window; wait for the Retry-After seconds. See LimitsPrea multe cereri într-o fereastră scurtă; așteaptă secundele din Retry-After. Vezi LimiteAny endpointOrice endpoint

ExtraseExtrase

HTTPreasonWhenCândWhereUnde
400invalid_account_uidaccountUid is malformedaccountUid este malformatList transactionsListează tranzacții
400invalid_datefrom or to is not a valid YYYY-MM-DD datefrom sau to nu este o dată validă YYYY-MM-DDList transactionsListează tranzacții
400invalid_date_rangefrom is after tofrom este după toList transactionsListează tranzacții
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON validOnboarding & consentOnboarding și consimțământ
400invalid_searchq was sent as an array, or is empty after trimming whitespace and stripping HTML tagsq a fost trimis ca array sau este gol după eliminarea spațiilor și a etichetelor HTMLList transactionsListează tranzacții
400invalid_typetype is not all, incoming or outgoingtype nu este all, incoming sau outgoingList transactionsListează tranzacții
400invalid_uiduid is missing or malformeduid lipsește sau este malformatGet a transactionObține o tranzacție
404not_foundaccountUid does not match an account owned by this licenseaccountUid nu se potrivește cu un cont deținut de această licențăList transactionsListează tranzacții
404not_foundNo transaction with that uid under an enabled consent of this licenseNicio tranzacție cu acest uid sub un consimțământ activat al acestei licențeGet a transactionObține o tranzacție
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)Onboarding & consentOnboarding și consimțământ
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)Onboarding & consentOnboarding și consimțământ, List accountsListează conturi, List transactionsListează tranzacții, Get a transactionObține o tranzacție
429limit_exceededThe license already has as many enabled bank accounts as its extrase plan includes, and extra charges are off. The read endpoints are not blocked.Licența are deja atâtea conturi bancare activate câte include planul extrase, iar consumul adițional este dezactivat. Endpoint-urile de citire nu sunt blocate.Onboarding & consentOnboarding și consimțământ
500token_creation_failedCould not create the onboarding tokenNu s-a putut crea token-ul de onboardingOnboarding & consentOnboarding și consimțământ

eFacturaeFactura

HTTPreasonWhenCândWhereUnde
400invalid_jsonBody is missing or is not a JSON object (send {}); data.detail gives the reason. Checked before the API keys.Corpul lipsește sau nu este un obiect JSON (trimite {}); data.detail indică motivul. Se verifică înaintea cheilor API.Onboarding & consentOnboarding și consimțământ
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON validSend a documentTrimite un document
400invalid_statusstatus contains an unknown value, or sent with type=incomingstatus conține o valoare necunoscută, sau sent cu type=incomingList documentsListează documente
400invalid_typetype is not all, incoming or outgoingtype nu este all, incoming sau outgoingList documentsListează documente
400invalid_typetype is not pdf, xml or ziptype nu este pdf, xml sau zipDownload a documentDescarcă un document
400invalid_uiduid is missing or malformeduid lipsește sau este malformatGet a documentObține un document, Download a documentDescarcă un document
403efactura_consent_requiredNo enabled consent, or the consent has no CUINiciun consimțământ activ, sau consimțământul nu are CUISend a documentTrimite un document
404document_not_availableDocument exists but the file is not available on diskDocumentul există dar fișierul nu este disponibil pe discDownload a documentDescarcă un document
404not_foundNo document with that uid owned by this licenseNiciun document cu acest uid deținut de această licențăGet a documentObține un document, Download a documentDescarcă un document
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)Onboarding & consentOnboarding și consimțământ, Send a documentTrimite un document
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)Onboarding & consentOnboarding și consimțământ, List documentsListează documente, Get a documentObține un document, Download a documentDescarcă un document
409duplicate_documentA document with the same seller and documentNumber is still pending or sent (see data.existingDocumentUid)Un document cu același furnizor și același documentNumber este încă pending sau sent (vezi data.existingDocumentUid)Send a documentTrimite un document
422validation_failedDocument fails field validation, or fails ANAF pre-validation (see data.errors[] and Validation error codes)Documentul eșuează validarea câmpurilor, sau eșuează pre-validarea ANAF (vezi data.errors[] și Coduri de eroare la validare)Send a documentTrimite un document
429limit_exceededUsage at/over plan limit for the efactura service with extra charges offUtilizare la/peste limita planului pentru serviciul efactura, fără taxe suplimentare activateSend a documentTrimite un document
500enqueue_failedCould not create the pending documentNu s-a putut crea documentul în așteptareSend a documentTrimite un document
500token_creation_failedCould not create the onboarding tokenNu s-a putut crea token-ul de onboardingOnboarding & consentOnboarding și consimțământ

VouchereVouchere

HTTPreasonWhenCândWhereUnde
400invalid_datefrom or to is not a valid YYYY-MM-DD datefrom sau to nu este o dată validă YYYY-MM-DDList ordersListează comenzi, List balance movementsListează mișcările soldului
400invalid_date_rangefrom is after tofrom este după toList ordersListează comenzi, List balance movementsListează mișcările soldului
400invalid_jsonRequest body is not valid JSON (see data.detail)Corpul cererii nu este JSON valid (vezi data.detail)Buy a voucherCumpără un voucher
400invalid_statusstatus contains an unknown valuestatus conține o valoare necunoscutăList ordersListează comenzi
400invalid_typetype contains an unknown valuetype conține o valoare necunoscutăList balance movementsListează mișcările soldului
400invalid_typetype is not pdftype nu este pdfDownload a voucherDescarcă un voucher
400invalid_uidbrandUid is malformedbrandUid este malformatList the catalogListează catalogul
400invalid_uiduid is malformeduid este malformatGet an orderObține o comandă, Download a voucherDescarcă un voucher
404not_foundNo available brand with that brandUidNiciun brand disponibil cu acest brandUidList the catalogListează catalogul
404not_foundNo order with that uid for this companyNicio comandă cu acest uid pentru această companieGet an orderObține o comandă, Download a voucherDescarcă un voucher
404product_not_foundNo product with that productUid can be bought nowNiciun produs cu acest productUid nu poate fi cumpărat acumBuy a voucherCumpără un voucher
404voucher_not_availableThe order is not delivered, so there is no voucherComanda nu este livrată, deci nu există voucherDownload a voucherDescarcă un voucher
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)Buy a voucherCumpără un voucher
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)Get the balanceObține soldul, List the catalogListează catalogul, Get an orderObține o comandă, List ordersListează comenzi, List balance movementsListează mișcările soldului, Download a voucherDescarcă un voucher
409provider_errorThe voucher could not be issued; the order was cancelled and the price returned to the balance (see data.orderUid)Voucherul nu a putut fi emis; comanda a fost anulată și prețul returnat în sold (vezi data.orderUid)Buy a voucherCumpără un voucher
409purchase_unavailablePurchases are temporarily unavailable; nothing was charged, retry laterCumpărările sunt temporar indisponibile; nu s-a debitat nimic, reîncearcă mai târziuBuy a voucherCumpără un voucher
422company_limit_exceededThe purchase would take the company over its monthly limit; nothing was chargedCumpărarea ar depăși limita lunară a companiei; nu s-a debitat nimicBuy a voucherCumpără un voucher
422insufficient_balanceThe balance is lower than the price; nothing was chargedSoldul este mai mic decât prețul; nu s-a debitat nimicBuy a voucherCumpără un voucher
422validation_failedproductUid is missing or malformed (see data.errors[])productUid lipsește sau este malformat (vezi data.errors[])Buy a voucherCumpără un voucher
500internal_errorThe balance could not be read; retry laterSoldul nu a putut fi citit; reîncearcă mai târziuGet the balanceObține soldul
500internal_errorUnexpected error; the order may exist, check List orders before retryingEroare neașteptată; comanda poate exista, verifică Listează comenzi înainte de a reîncercaBuy a voucherCumpără un voucher
500internal_errorThe PDF could not be generated; retry laterPDF-ul nu a putut fi generat; reîncearcă mai târziuDownload a voucherDescarcă un voucher

Info CUIInfo CUI

HTTPreasonWhenCândWhereUnde
400invalid_cuicui contains no digits after normalizationcui nu conține nicio cifră după normalizareLook up a companyCaută o companie
400missing_cuiNo cui query parameterLipsește parametrul query cuiLook up a companyCaută o companie
404company_not_foundANAF has no company for that cui, or ANAF could not be reached (timeout or upstream error). Not-found results are not cached, so retrying later may succeed.ANAF nu are nicio companie pentru acel cui, sau ANAF nu a putut fi contactat (timeout sau eroare la sursă). Rezultatele negative nu sunt cache-uite, deci o reîncercare ulterioară poate reuși.Look up a companyCaută o companie
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)Look up a companyCaută o companie
429limit_exceededUsage at/over plan limit for the infocui serviceUtilizare la/peste limita planului pentru serviciul infocuiLook up a companyCaută o companie

Schimb valutarSchimb valutar

HTTPreasonWhenCândWhereUnde
400future_datedate is in the futuredate este în viitorGet a rateObține un curs
400invalid_datedate is not a valid YYYY-MM-DD datedate nu este o dată validă YYYY-MM-DDGet a rateObține un curs
404rate_not_foundUnknown currency, or a date before 2005 (no BNR data)Valută necunoscută, sau o dată dinainte de 2005 (fără date BNR)Get a rateObține un curs
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)Get a rateObține un curs
429limit_exceededUsage at/over plan limit for the schimbvalutar serviceUtilizare la/peste limita planului pentru serviciul schimbvalutarGet a rateObține un curs
502provider_errorBNR could not be reached and Fint has no stored rate on or before the requested dateBNR nu a putut fi contactată și Fint nu are un curs stocat la sau înainte de data cerutăGet a rateObține un curs

Organization APIAPI Organizație

HTTPreasonWhenCândWhereUnde
400invalid_cuicui is not 2-10 digits (optional RO prefix)cui nu are 2-10 cifre (prefix RO opțional)Create a companyCreare companie
400invalid_jsonRequest body is not valid JSONCorpul cererii nu este JSON validCreate a companyCreare companie, Activate a serviceActivare serviciu, Deactivate a serviceDezactivare serviciu, Create a company API keyCreare cheie API pentru companie
400invalid_serviceservice is not a recognized service keyservice nu este o cheie de serviciu recunoscutăActivate a serviceActivare serviciu, Deactivate a serviceDezactivare serviciu
400invalid_serviceOne of the entries in services is not a recognized service keyUna dintre intrările din services nu este o cheie de serviciu recunoscutăCreate a company API keyCreare cheie API pentru companie
400missing_cuiNo cuiLipsește cuiCreate a companyCreare companie
400missing_nameNo nameLipsește nameCreate a companyCreare companie, Create a company API keyCreare cheie API pentru companie
400missing_serviceNo serviceLipsește serviceActivate a serviceActivare serviciu, Deactivate a serviceDezactivare serviciu
400missing_servicesservices is missing or emptyservices lipsește sau este golCreate a company API keyCreare cheie API pentru companie
401invalid_org_api_keyUnknown or deleted org keyCheie de organizație necunoscută sau ștearsăAuthentication errorsErori de autentificare
401missing_org_api_keyNo X-Org-Key headerLipsește header-ul X-Org-KeyAuthentication errorsErori de autentificare
403enterprise_requiredOrganization is not on the Enterprise planOrganizația nu este pe planul EnterpriseAuthentication errorsErori de autentificare
403org_api_key_disabledOrg key exists but disabledCheia de organizație există dar este dezactivatăAuthentication errorsErori de autentificare
403organization_disabledOrganization is not enabledOrganizația nu este activăAuthentication errorsErori de autentificare
403organization_suspendedOrganization is suspended (unpaid invoice)Organizația este suspendată (factură neplătită)Authentication errorsErori de autentificare
404company_not_founduid not found in your organizationuid nu a fost găsit în organizația taActivate a serviceActivare serviciu, Deactivate a serviceDezactivare serviciu, Create a company API keyCreare cheie API pentru companie
405method_not_allowedWrong HTTP method (must be POST)Metodă HTTP greșită (trebuie POST)Create a companyCreare companie, Activate a serviceActivare serviciu, Deactivate a serviceDezactivare serviciu, Create a company API keyCreare cheie API pentru companie
405method_not_allowed_getWrong HTTP method (must be GET)Metodă HTTP greșită (trebuie GET)List companiesListare companii, List available servicesListare servicii disponibile
409duplicate_cuicui already exists in this organizationcui există deja în această organizațieCreate a companyCreare companie
409service_already_activeService is already active on this companyServiciul este deja activ pe această companieActivate a serviceActivare serviciu
409service_not_activeService is not currently active on this companyServiciul nu este momentan activ pe această companieDeactivate a serviceDezactivare serviciu
429rate_limitedToo many requests on this organization key; wait the number of seconds in Retry-AfterPrea multe cereri pe această cheie de organizație; așteaptă numărul de secunde din Retry-AfterAuthentication errorsErori de autentificare
500api_key_create_failedCould not create the API keyNu s-a putut crea cheia APICreate a company API keyCreare cheie API pentru companie
500company_create_failedCould not create the companyNu s-a putut crea companiaCreate a companyCreare companie
500service_update_failedCould not activate the serviceNu s-a putut activa serviciulActivate a serviceActivare serviciu
500service_update_failedCould not deactivate the serviceNu s-a putut dezactiva serviciulDeactivate a serviceDezactivare serviciu
ResourcesResurse

ChangelogJurnal de modificări

Every update shipped to the Fint production platform, newest first. A new entry is recorded automatically on each production release.

Fiecare actualizare livrată în producție pentru platforma Fint, cele mai recente primele. O intrare nouă este înregistrată automat la fiecare lansare în producție.

v1.0.3.2 10/11/2026

Performance and security improvements.

v1.0.3.1 07/11/2026

Performance and security improvements.

v1.0.3.0 07/11/2026

Added new Vouchere service.

v1.0.2
v1.0.2.6 07/11/2026

Performance and security improvements.

v1.0.2.5 07/11/2026

Performance and security improvements.

v1.0.2.4 07/11/2026

Performance and security improvements.

v1.0.2.3 06/11/2026

Performance and security improvements.

v1.0.2.2 03/11/2026

Performance and security improvements.

v1.0.2.1 15/10/2026

Performance and security improvements.

v1.0.2.0 15/10/2026

Added advanced user roles: for each company, admins choose which services a user can access, which Extrase transactions (all, incoming or outgoing) and eFactura documents (all, received or sent) they see, and whether they can manage bank and ANAF consents.

v1.0.1.42 13/10/2026

Performance and security improvements.

v1.0.1.41 02/10/2026

Performance and security improvements.

v1.0.1.40 24/09/2026

Performance and security improvements.

v1.0.1.39 23/09/2026

Performance and security improvements.

v1.0.1.38 22/09/2026

Performance and security improvements.

v1.0.1.37 21/09/2026

Performance and security improvements.

v1.0.1.36 21/09/2026

eFactura: a discount or charge that applies to the whole invoice (UBL BG-20/BG-21) is now reported as its own line item, identified by the new kind and reasonCode fields, so the line items always add up to the document total. Documents already received from ANAF have been updated as well.

v1.0.1.35 14/09/2026

eFactura: invoices can now name several bank accounts to be paid into (the paymentMeans field accepts a list). All accounts are reported on document retrieval as well, including for documents received from ANAF.

v1.0.1.34 09/09/2026

Performance and security improvements.

v1.0.1.33 09/09/2026

Performance and security improvements.

v1.0.1.32 09/09/2026

eFactura: invoices can now carry a rounding amount on the total due (new API field payableRoundingAmount, UBL BT-114). It is reported on document retrieval as well, including for documents received from ANAF.

v1.0.1.31 08/09/2026

Performance and security improvements.

v1.0.1.30 01/09/2026

Performance and security improvements.

v1.0.1.29 31/08/2026

Performance and security improvements.

v1.0.1.28 23/08/2026

Billing dashboard improvements for a clearer and more transparent invoice breakdown

v1.0.1.27 23/08/2026

Performance and security improvements.

v1.0.1.26 23/08/2026

Performance and security improvements.

v1.0.1.25 22/08/2026

Performance and security improvements.

v1.0.1.24 22/08/2026

Performance and security improvements.

v1.0.1.23 22/08/2026

Performance and security improvements.

v1.0.1.22 20/08/2026

Performance and security improvements.

v1.0.1.21 18/08/2026

Performance and security improvements.

v1.0.1.20 18/08/2026

Performance and security improvements.

v1.0.1.19 17/08/2026

Performance and security improvements.

v1.0.1.18 15/08/2026

Improvements for eFactura ANAF onboarding flow

v1.0.1.17 15/08/2026

Performance and security improvements.

v1.0.1.16 15/08/2026

Performance and security improvements.

v1.0.1.15 15/08/2026

New bank supported for Extrase service: Salt Bank

v1.0.1.14 15/08/2026

Performance and security improvements.

v1.0.1.13 12/08/2026

Performance and security improvements.

v1.0.1.12 12/08/2026

Added webhooks for real-time event notifications.

v1.0.1.11 11/08/2026

Performance and security improvements.

v1.0.1.10 11/08/2026

Performance and security improvements.

v1.0.1.9 08/08/2026

Performance and security improvements.

v1.0.1.8 07/08/2026

Performance and security improvements.

v1.0.1.7 07/08/2026

Performance and security improvements.

v1.0.1.6 07/08/2026

Performance and security improvements.

v1.0.1.5 07/08/2026

Performance and security improvements.

v1.0.1.4 07/08/2026

Performance and security improvements.

v1.0.1.3 07/08/2026

Performance and security improvements.

v1.0.1.2 06/08/2026

New bank supported for Extrase service: ProCredit Bank

Performance and security improvements.

v1.0.1.1 06/08/2026

Performance and security improvements.

v1.0.1.0 06/08/2026

Reconciliation: bank transactions and eFactura documents are now matched automatically, with scored suggestions in the API (suggestedReconciliation) and the UI.

v1.0.0
v1.0.0.79 06/08/2026

New bank supported for Extrase service: Exim Banca Romaneasca

New bank supported for Extrase service: Vista Bank

Performance and security improvements.

v1.0.0.78 06/08/2026

Performance and security improvements.

v1.0.0.77 06/08/2026

Performance and security improvements.

v1.0.0.76 06/08/2026

Performance and security improvements.

v1.0.0.75 04/08/2026

Performance and security improvements.

v1.0.0.74 04/08/2026

Performance and security improvements.

v1.0.0.73 04/08/2026

Performance and security improvements.

v1.0.0.72 03/08/2026

Performance and security improvements.

v1.0.0.71 30/07/2026

eFactura: corrected document totals on lines carrying discounts. The API line field lineExtensionAmount was renamed to value.

v1.0.0.70 30/07/2026

Performance and security improvements.

v1.0.0.69 30/07/2026

Performance and security improvements.

v1.0.0.68 30/07/2026

Performance and security improvements.

v1.0.0.67 24/07/2026

Performance and security improvements.

v1.0.0.66 22/07/2026

Performance and security improvements.

v1.0.0.65 22/07/2026

Performance and security improvements.

v1.0.0.64 19/07/2026

Performance and security improvements.

v1.0.0.63 19/07/2026

Performance and security improvements.

v1.0.0.62 19/07/2026

Performance and security improvements.

v1.0.0.61 18/07/2026

Performance and security improvements.

v1.0.0.60 18/07/2026

Performance and security improvements.

v1.0.0.59 18/07/2026

Performance and security improvements.

v1.0.0.58 18/07/2026

Performance and security improvements.

v1.0.0.57 18/07/2026

Performance and security improvements.

v1.0.0.56 18/07/2026

Performance and security improvements.

v1.0.0.55 18/07/2026

Performance and security improvements.

v1.0.0.54 18/07/2026

Performance and security improvements.

v1.0.0.53 18/07/2026

Info CUI: responses now include a financials object with the company's full balance sheet (bilanț) history filed with ANAF.

v1.0.0.52 17/07/2026

Performance and security improvements.

v1.0.0.51 17/07/2026

Performance and security improvements.

v1.0.0.50 17/07/2026

Performance and security improvements.

v1.0.0.49 12/07/2026

Performance and security improvements.

v1.0.0.48 12/07/2026

Performance and security improvements.

v1.0.0.47 12/07/2026

API: version discovery at the API root, stricter validation of the document status filter, and consistent monetary values in responses.

v1.0.0.46 12/07/2026

Sandbox: mock responses match the live API response shapes.

v1.0.0.45 12/07/2026

Performance and security improvements.

v1.0.0.44 12/07/2026

Performance and security improvements.

v1.0.0.43 09/07/2026

Performance and security improvements.

v1.0.0.42 09/07/2026

Performance and security improvements.

v1.0.0.41 09/07/2026

Performance and security improvements.

v1.0.0.40 09/07/2026

Performance and security improvements.

v1.0.0.39 09/07/2026

Performance and security improvements.

v1.0.0.37 08/07/2026

Performance and security improvements.

v1.0.0.36 08/07/2026

Performance and security improvements.

v1.0.0.35 08/07/2026

Performance and security improvements.

v1.0.0.34 08/07/2026

Performance and security improvements.

v1.0.0.33 06/07/2026

Performance and security improvements.

v1.0.0.32 06/07/2026

Performance and security improvements.

v1.0.0.31 06/07/2026

Performance and security improvements.

v1.0.0.30 06/07/2026

Performance and security improvements.

v1.0.0.29 06/07/2026

Extrase: bank consents can now be deleted from the UI.

v1.0.0.28 04/07/2026

eFactura: ANAF authorizations remain valid for their full 365-day lifetime.

v1.0.0.27 04/07/2026

Performance and security improvements.

v1.0.0.26 04/07/2026

Performance and security improvements.

v1.0.0.25 03/07/2026

Performance and security improvements.

v1.0.0.24 03/07/2026

API: rate limiting introduced across all endpoints - see Limits.

v1.0.0.23 02/07/2026

Schimb valutar: exchange rates for dates in previous years are now available.

v1.0.0.22 02/07/2026

Performance and security improvements.

v1.0.0.21 02/07/2026

Notifications: per-category email preferences, plus reminders before a bank consent expires.

v1.0.0.20 02/07/2026

Performance and security improvements.

v1.0.0.19 02/07/2026

Performance and security improvements.

v1.0.0.18 02/07/2026

Performance and security improvements.

v1.0.0.17 02/07/2026

Performance and security improvements.

v1.0.0.16 01/07/2026

Performance and security improvements.

v1.0.0.15 01/07/2026

UI: new home page with service cards and usage statistics.

v1.0.0.14 30/06/2026

Performance and security improvements.

v1.0.0.13 30/06/2026

UI: Info CUI and Schimb valutar pages.

v1.0.0.12 30/06/2026

Performance and security improvements.

v1.0.0.11 30/06/2026

Performance and security improvements.

v1.0.0.10 30/06/2026

Performance and security improvements.

v1.0.0.9 30/06/2026

Performance and security improvements.

v1.0.0.8 30/06/2026

Performance and security improvements.

v1.0.0.7 30/06/2026

Performance and security improvements.

v1.0.0.6 30/06/2026

Performance and security improvements.

v1.0.0.5 30/06/2026

Performance and security improvements.

v1.0.0.4 30/06/2026

API: endpoint discovery at the API root.

v1.0.0.3 29/06/2026

Performance and security improvements.

v1.0.0.2 29/06/2026

Performance and security improvements.

v1.0.0.1 29/06/2026

Performance and security improvements.

v1.0.0.0 29/06/2026

First production release of the Fint platform.

GuidesGhiduri

Migrating from apiefactura.roMigrare de la apiefactura.ro

apiefactura.ro is winding down: it no longer accepts new registrations, and all new e-Factura integrations move to Fint. This guide maps the apiefactura.ro API onto Fint’s eFactura API so you can switch with minimal changes.

apiefactura.ro se închide: nu mai acceptă înregistrări noi, iar toate integrările e-Factura noi se mută pe Fint. Acest ghid mapează API-ul apiefactura.ro peste API-ul eFactura al Fint, ca să poți migra cu modificări minime.

Same model, different names. Both APIs are asynchronous and JSON-in: you post one invoice as JSON, the service builds the UBL XML and submits it to ANAF for you, and you poll for the final status. Migration is mostly renaming fields, swapping authentication, and adding a one-time ANAF consent step.

Același model, alte denumiri. Ambele API-uri sunt asincrone și primesc JSON: trimiți o factură ca JSON, serviciul construiește XML-ul UBL și îl transmite la ANAF în locul tău, iar tu interoghezi statusul final. Migrarea înseamnă în principal redenumirea câmpurilor, schimbarea autentificării și un pas unic de consimțământ ANAF.

What changesCe se schimbă

AreaAspectapiefactura.roFint
Base URLURL de bazăhttps://secure.apiefactura.ro/apihttps://api.fint.ro/v1
AuthAutentificareApikey + ApipasswordX-Org-Key + X-Api-Key
Invoice bodyCorp facturăJSON wrapped in documentDataJSON învelit în documentDataFlat JSON, no wrapperJSON simplu, fără înveliș
Document idId documentNumeric idid numericString uiduid text
ErrorsEroriAlways HTTP 200; branch on statusMereu HTTP 200; ramifici pe statusReal HTTP codes; branch on reasonCoduri HTTP reale; ramifici pe reason
ANAF consentConsimțământ ANAFHandled per license, out of bandGestionat per licență, în afara API-uluiExplicit onboarding, required before /sendOnboarding explicit, necesar înainte de /send

Before you startÎnainte să începi

Set up three things in Fint once:

Configurează o singură dată trei lucruri în Fint:

  1. Get two API keys. Create an organization key at /ui/organization/apikeys and a company key at /ui/company/apikeys. Both are sent on every request; the company (CUI) is resolved from the company key, so you never pass a CUI for authentication.
  2. Obține două chei API. Creează o cheie de organizație la /ui/organization/apikeys și o cheie de companie la /ui/company/apikeys. Ambele se trimit la fiecare cerere; compania (CUI) este dedusă din cheia de companie, deci nu trimiți niciodată un CUI pentru autentificare.
  3. Enable the eFactura service on that company key and on the company’s license.
  4. Activează serviciul eFactura pe cheia de companie și pe licența companiei.
  5. Complete ANAF consent. This is the one genuinely new step. Before /send works, the company must grant Fint access to ANAF e-Factura for its CUI - via the Fint UI or the onboarding endpointendpoint-ul de onboarding. Without it, /send returns 403 efactura_consent_required.
  6. Finalizează consimțământul ANAF. Acesta este singurul pas cu adevărat nou. Înainte ca /send să funcționeze, compania trebuie să acorde Fint acces la ANAF e-Factura pentru CUI-ul ei - prin interfața Fint sau prin onboarding endpointendpoint-ul de onboarding. Fără el, /send returnează 403 efactura_consent_required.

Full detail is in the eFactura API reference.

Detaliile complete sunt în referința API eFactura.

Base URL & authenticationURL de bază și autentificare

apiefactura.ro used two custom headers matched against your license. Fint uses two keys as well, but they are separate concerns: an organization key and a company key.

apiefactura.ro folosea două antete personalizate verificate față de licența ta. Fint folosește tot două chei, dar cu roluri separate: o cheie de organizație și o cheie de companie.

apiefactura.roFintNotesNote
ApikeyX-Org-KeyOrganization key, format org_live_…Cheie de organizație, format org_live_…
ApipasswordX-Api-KeyCompany key, format key_live_… (may also be sent as Authorization: Bearer)Cheie de companie, format key_live_… (poate fi trimisă și ca Authorization: Bearer)

Check HTTP status codes now. apiefactura.ro returned 200 OK for everything and you branched on the JSON status field. Fint returns real HTTP codes (201, 422, …) and a stable reason string. Branch on reason, not on the message text.

Verifică acum codurile HTTP. apiefactura.ro returna 200 OK pentru tot și ramificai pe câmpul JSON status. Fint returnează coduri HTTP reale (201, 422, …) și un reason stabil. Ramifică pe reason, nu pe textul mesajului.

Endpoint mappingMaparea endpoint-urilor

apiefactura.roFintNotesNote
POST /sendDocumentPOST /v1/efactura/sendSubmit one outgoing invoiceTrimite o factură de ieșire
POST /getDocumentGET /v1/efactura/document/{uid}The id is now a uid in the path, not a body fieldid devine uid în cale, nu câmp în corp
POST /getDocumentsGET /v1/efactura/documentsQuery params ?type=all|outgoing|incoming&status&limit&offset replace the {start} cursorParametrii ?type=all|outgoing|incoming&status&limit&offset înlocuiesc cursorul {start}
POST /downloadPdf / downloadZipGET /v1/efactura/download/{uid}?type=pdf|xmlStreams the file bytes directly (not a URL to a file); zip aliases xmlTransmite direct octeții fișierului (nu un URL); zip este alias pentru xml
POST /testDocumentSandbox POST /v1/efactura/sendSandbox POST /v1/efactura/sendUse the sandbox for dry runs; it checks the document structure only and never touches ANAFFolosește sandbox-ul pentru teste; verifică doar structura documentului și nu atinge niciodată ANAF
GET /testAuth- (any authenticated call)- (orice apel autentificat)No dedicated endpoint; e.g. call GET /v1/efactura/documents to confirm keysFără endpoint dedicat; ex. apelează GET /v1/efactura/documents pentru a verifica cheile
GET /getLicenseGET /v1/efactura/consentIts practical use - “is my access still valid?” - maps to the consent check: returns consentStatus and validUntil, or data: null if no enabled consent. Company/plan metadata lives in the Fint UI, or the Organization API (Enterprise).Utilizarea practică - „mai am acces valid?” - corespunde verificării consimțământului: returnează consentStatus și validUntil, sau data: null dacă nu există consimțământ activ. Metadatele de companie/plan sunt în interfața Fint sau în API-ul Organizație (Enterprise).

Invoice payload mappingMaparea câmpurilor facturii

Drop the documentData wrapper and send fields at the top level. Seller and client fields, which were flat, become nested from and to objects with an address.

Renunță la învelișul documentData și trimite câmpurile la nivelul de sus. Câmpurile de vânzător și client, care erau simple, devin obiecte from și to cu un address.

apiefactura.roFintNotesNote
numberdocumentNumberRequired, non-empty JSON string ("123", not 123)Obligatoriu, șir JSON nevid ("123", nu 123)
issueDatedocumentDateYYYY-MM-DDYYYY-MM-DD
currencycurrencyMust be RON.Trebuie să fie RON.
invoiceCodedocumentTypeCodeSame UNCL 1001 set: 380, 381, 384, 389, 751; default 380Același set UNCL 1001: 380, 381, 384, 389, 751; implicit 380
name, address, city, subdivision, countryfrom.name, from.address.{line, city, countrySubdivision, country}Add from.cui - your company CUI, which must equal the enabled consent CUI. On apiefactura.ro the seller CUI came from the license; on Fint you send it explicitly.Adaugă from.cui - CUI-ul companiei tale, care trebuie să coincidă cu CUI-ul consimțământului activ. Pe apiefactura.ro CUI-ul vânzătorului venea din licență; pe Fint îl trimiți explicit.
clientCui, clientName, clientAddress, clientCity, clientSubdivision, clientCountryto.cui, to.name, to.address.{line, city, countrySubdivision, country}B2C: use CUI 0000000000000 or the client CNP, as beforeB2C: folosește CUI 0000000000000 sau CNP-ul clientului, ca înainte
regCom, clientRegComfrom.regCom, to.regComTrade register numbers, same values and same format (J40/12813/2016). from.regCom is optional on Fint: leave it out and it is filled from Info CUI by from.cui.Numerele de la registrul comerțului, aceleași valori și același format (J40/12813/2016). from.regCom este opțional pe Fint: dacă îl omiți, este completat din Info CUI după from.cui.
email- (not required)- (nu este necesar)Fint does not require a seller emailFint nu cere email de vânzător
iban + bankpaymentMeansObject: { paymentMeansCode, iban, paymentId }, or an array of them for several accounts; paymentMeansCode (UNCL 4461, e.g. 30) required when presentObiect: { paymentMeansCode, iban, paymentId }, sau un array de astfel de obiecte pentru mai multe conturi; paymentMeansCode (UNCL 4461, ex. 30) necesar când e prezent
note, deliveryDatenote, deliveryDateSame, at header levelLa fel, la nivel de antet
items[].{name, price, quantity, vatRate, vatScheme}items[].{name, quantity, price, vatRate, vatScheme}Same fields. VAT schemes unchanged (UNCL 5305: S, Z, E, AE, K, G, O, L, M)Aceleași câmpuri. Schemele TVA neschimbate (UNCL 5305: S, Z, E, AE, K, G, O, L, M)
items[].vatexCodeitems[].vatexCodeSame VAT exemption code; also vatexReason, classificationCode + classificationListAcelași cod de scutire TVA; și vatexReason, classificationCode + classificationList

Addresses are normalized for you. As on apiefactura.ro, you do not pre-format addresses to CIUS-RO. Fint accepts county names (e.g. Cluj) or codes (RO-CJ) and handles Bucharest sectors. line, city, countrySubdivision and country are still required on both parties; a Romanian city or county that Fint cannot recognise is corrected from Info CUI by the party’s CUI.

Adresele sunt normalizate automat. Ca pe apiefactura.ro, nu preformatezi adresele la CIUS-RO. Fint acceptă nume de județ (ex. Cluj) sau coduri (RO-CJ) și gestionează sectoarele Bucureștiului. line, city, countrySubdivision și country rămân obligatorii pentru ambele părți; un oraș sau județ din România pe care Fint nu îl recunoaște este corectat din Info CUI după CUI-ul părții.

Send example, side by sideExemplu de trimitere, comparativ

apiefactura.ro - POST /sendDocumentapiefactura.ro - POST /sendDocument

json
{
  "documentData": {
    "number": "INV-1",
    "issueDate": "2026-03-21",
    "currency": "RON",
    "email": "contact@seller.ro",
    "name": "Seller SRL",
    "address": "Str. Test 1",
    "city": "Bucuresti",
    "subdivision": "Bucuresti",
    "country": "RO",
    "clientCui": "12345678",
    "clientName": "Buyer SRL",
    "clientAddress": "Str. Client 2",
    "clientCity": "Bucuresti",
    "clientSubdivision": "Bucuresti",
    "clientCountry": "RO",
    "items": [
      { "name": "Service", "price": 100, "quantity": 1, "vatRate": 21, "vatScheme": "S" }
    ]
  }
}

Fint - POST /v1/efactura/sendFint - POST /v1/efactura/send

POST
curl -sS -X POST 'https://api.fint.ro/v1/efactura/send' \
  -H 'X-Org-Key: YOUR_ORG_KEY' \
  -H 'X-Api-Key: YOUR_COMPANY_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentNumber": "INV-1",
    "documentDate": "2026-03-21",
    "currency": "RON",
    "from": {
      "cui": "34790982",
      "name": "Seller SRL",
      "address": { "line": "Str. Test 1", "city": "Bucuresti", "postalCode": "010001", "countrySubdivision": "Bucuresti", "country": "RO" },
      "regCom": "J40/12813/2016"
    },
    "to": {
      "cui": "12345678",
      "name": "Buyer SRL",
      "address": { "line": "Str. Client 2", "city": "Bucuresti", "postalCode": "010002", "countrySubdivision": "Bucuresti", "country": "RO" },
      "regCom": "J40/8853/2015"
    },
    "items": [
      { "name": "Service", "quantity": 1, "price": 100, "vatRate": 21, "vatScheme": "S" }
    ]
  }'
const res = await fetch("https://api.fint.ro/v1/efactura/send", {
  method: "POST",
  headers: {
    "X-Org-Key": "YOUR_ORG_KEY",
    "X-Api-Key": "YOUR_COMPANY_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "documentNumber": "INV-1",
    "documentDate": "2026-03-21",
    "currency": "RON",
    "from": {
      "cui": "34790982",
      "name": "Seller SRL",
      "address": {
        "line": "Str. Test 1",
        "city": "Bucuresti",
        "postalCode": "010001",
        "countrySubdivision": "Bucuresti",
        "country": "RO"
      },
      "regCom": "J40/12813/2016"
    },
    "to": {
      "cui": "12345678",
      "name": "Buyer SRL",
      "address": {
        "line": "Str. Client 2",
        "city": "Bucuresti",
        "postalCode": "010002",
        "countrySubdivision": "Bucuresti",
        "country": "RO"
      },
      "regCom": "J40/8853/2015"
    },
    "items": [
      {
        "name": "Service",
        "quantity": 1,
        "price": 100,
        "vatRate": 21,
        "vatScheme": "S"
      }
    ]
  }),
});
const body = await res.json();
console.log(body.data);
import requests

resp = requests.post(
    "https://api.fint.ro/v1/efactura/send",
    headers={
        "X-Org-Key": "YOUR_ORG_KEY",
        "X-Api-Key": "YOUR_COMPANY_KEY",
    },
    json={
        "documentNumber": "INV-1",
        "documentDate": "2026-03-21",
        "currency": "RON",
        "from": {
            "cui": "34790982",
            "name": "Seller SRL",
            "address": {
                "line": "Str. Test 1",
                "city": "Bucuresti",
                "postalCode": "010001",
                "countrySubdivision": "Bucuresti",
                "country": "RO",
            },
            "regCom": "J40/12813/2016",
        },
        "to": {
            "cui": "12345678",
            "name": "Buyer SRL",
            "address": {
                "line": "Str. Client 2",
                "city": "Bucuresti",
                "postalCode": "010002",
                "countrySubdivision": "Bucuresti",
                "country": "RO",
            },
            "regCom": "J40/8853/2015",
        },
        "items": [
            {
                "name": "Service",
                "quantity": 1,
                "price": 100,
                "vatRate": 21,
                "vatScheme": "S",
            },
        ],
    },
)
print(resp.json()["data"])
<?php
$body = <<<'JSON'
{
    "documentNumber": "INV-1",
    "documentDate": "2026-03-21",
    "currency": "RON",
    "from": {
        "cui": "34790982",
        "name": "Seller SRL",
        "address": {
            "line": "Str. Test 1",
            "city": "Bucuresti",
            "postalCode": "010001",
            "countrySubdivision": "Bucuresti",
            "country": "RO"
        },
        "regCom": "J40/12813/2016"
    },
    "to": {
        "cui": "12345678",
        "name": "Buyer SRL",
        "address": {
            "line": "Str. Client 2",
            "city": "Bucuresti",
            "postalCode": "010002",
            "countrySubdivision": "Bucuresti",
            "country": "RO"
        },
        "regCom": "J40/8853/2015"
    },
    "items": [
        {
            "name": "Service",
            "quantity": 1,
            "price": 100,
            "vatRate": 21,
            "vatScheme": "S"
        }
    ]
}
JSON;

$ch = curl_init('https://api.fint.ro/v1/efactura/send');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'X-Org-Key: YOUR_ORG_KEY',
        'X-Api-Key: YOUR_COMPANY_KEY',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result['data']);

Success responseRăspuns de succes

json
{
  "status": "success",
  "msg": "Document has been validated with Fint. Pending upload and ANAF confirmation.",
  "reason": null,
  "data": { "uid": "Xk7pQ2mZ9vLw4RtB8nYc3HsJ6dFg1aEu", "status": "pending" }
}

Keep the uid: you use it to poll status and to download the PDF or signed XML.

Păstrează uid-ul: îl folosești pentru a interoga statusul și pentru a descărca PDF-ul sau XML-ul semnat.

Document statusStatusul documentului

The lifecycle is the same shape with renamed states. Poll GET /v1/efactura/document/{uid} until the status is final: validated, rejected or failed. A document can stay pending with an errorMessage while Fint retries a failed upload, so poll with a timeout.

Ciclul de viață are aceeași formă, cu stări redenumite. Interoghează GET /v1/efactura/document/{uid} până când statusul este final: validated, rejected sau failed. Un document poate rămâne pending cu un errorMessage cât timp Fint reîncearcă o încărcare eșuată, așa că interoghează cu un timeout.

apiefactura.roFintMeaningSemnificație
lobbypendingValidated by the service, queued for ANAF uploadValidat de serviciu, în coadă pentru încărcare la ANAF
pendingsentUploaded to ANAF, awaiting confirmationÎncărcat la ANAF, în așteptarea confirmării
validatedvalidatedAccepted by ANAFAcceptat de ANAF
errorsrejectedANAF rejected it (see errorMessage). Fint also has failed: the upload to ANAF failed 12 times and Fint stopped retrying.Respins de ANAF (vezi errorMessage). Fint are și failed: încărcarea către ANAF a eșuat de 12 ori și Fint nu mai reîncearcă.

Incoming documents (your inbox) are no longer a separate endpoint - list them with GET /v1/efactura/documents?type=incoming.

Documentele de intrare (inbox-ul tău) nu mai au un endpoint separat - listează-le cu GET /v1/efactura/documents?type=incoming.

Error handlingGestionarea erorilor

apiefactura.ro returned { status, message, errors[] } at HTTP 200. Fint returns { status, msg, reason, data } with a real HTTP code; validation failures list machine-readable codes under data.errors[].

apiefactura.ro returna { status, message, errors[] } la HTTP 200. Fint returnează { status, msg, reason, data } cu un cod HTTP real; erorile de validare listează coduri procesabile în data.errors[].

CaseCazapiefactura.roFint
Bad credentialsCredențiale greșite200, "API autentification failed."200, "API autentification failed."401 invalid_api_key / invalid_org_api_key (wrong key; missing_api_key / missing_org_api_key when a header is absent), (cheie greșită; missing_api_key / missing_org_api_key când lipsește un header), 403 for a disabled key, license or service (e.g. api_key_disabled)pentru o cheie, licență sau serviciu dezactivat (ex. api_key_disabled)
Invalid invoiceFactură invalidă200, errors[] strings200, string-uri în errors[]422 validation_failed, data.errors[].code
Duplicate numberNumăr duplicat200, "Duplicated document number"200, "Duplicated document number"409 duplicate_document, data.existingDocumentUid (only while the earlier document with that number and seller CUI is pending or sent; a number already validated, rejected or failed is accepted again)(doar cât timp documentul anterior cu același număr și CUI de furnizor este pending sau sent; un număr deja validated, rejected sau failed este acceptat din nou)
Quota reachedLimită atinsă200, "License document limit has been reached."200, "License document limit has been reached."429 limit_exceeded
No consentFără consimțământ- (consent handled per license)- (consimțământ per licență)403 efactura_consent_required

Testing with the sandboxTestare cu sandbox

apiefactura.ro’s testDocument validated a document without uploading. On Fint, use the mocked sandbox at https://sandbox.fint.ro/v1: same paths and envelope and the same structural checks, but it never touches ANAF. The live API also builds the UBL, normalizes addresses, runs ANAF validation and checks for duplicates, so a document the sandbox accepts can still get 422 or 409 live.

Endpoint-ul testDocument de la apiefactura.ro valida un document fără a-l încărca. Pe Fint, folosește sandbox-ul simulat la https://sandbox.fint.ro/v1: aceleași căi și înveliș și aceleași verificări structurale, dar nu atinge niciodată ANAF. API-ul live construiește în plus UBL-ul, normalizează adresele, rulează validarea ANAF și verifică duplicatele, deci un document acceptat de sandbox poate primi totuși 422 sau 409 live.

  • Generate separate sandbox keys (org_sandbox_…, key_sandbox_…) from the same API-keys pages; live keys are rejected on the sandbox, and sandbox keys are rejected on the live API.
  • Generează chei sandbox separate (org_sandbox_…, key_sandbox_…) din aceleași pagini de chei API; cheile live sunt respinse pe sandbox, iar cheile sandbox sunt respinse pe API-ul live.
  • The sandbox consent CUI is 123456, so from.cui must be 123456 (or RO123456) there.
  • CUI-ul de consimțământ din sandbox este 123456, deci from.cui trebuie să fie 123456 (sau RO123456) acolo.

See the Sandbox API and the full eFactura reference for every field, error code, and example.

Vezi API-ul Sandbox și referința eFactura completă pentru fiecare câmp, cod de eroare și exemplu.