ANAF SPV
In short:SPV (Spațiul Privat Virtual, the Private Virtual Space) is the ANAF secure space where companies receive and submit tax documents, including RO e-Factura messages. Companies register and log in with a qualified digital certificate; invoices stay available in SPV for 60 days, and high volumes are downloaded through the ANAF APIs with OAuth authentication.
A practical guide for companies: what SPV is, how to register with a qualified digital certificate, how to log in, where e-Invoice documents appear and how automated download through the API works. For the quick login links, see the glossary definition.
SPV (Spațiul Privat Virtual, the Private Virtual Space) is a secure space on the servers of the Romanian Ministry of Finance, through which ANAF and taxpayers exchange documents about the tax position. In SPV you can download acts, requests and filings sent by ANAF, see the access history, change identification data and pay certain obligations online. The service is available around the clock.
One point that matters in practice: under the SPV terms and conditions, documents issued by ANAF are deemed communicated 15 days after they are made available in SPV. Messages should therefore be checked regularly, not only when you expect one.
Individuals can register directly or through a representative. Legal entities and entities without legal personality use SPV through their legal representative, designated representative or authorised agent.
For RO e-Factura, operators must be registered in SPV, in their own name or through a representative. Only people with SPV representation rights for a given tax ID can download the responses for that tax ID, and a mandate can only be granted to a natural person.
Legal entities, with a qualified digital certificate: you obtain the certificate from an authorised provider and ask for the confirmation document for ANAF, which must contain the text "Pentru inregistrarea unui utilizator cu certificat digital". Then you fill in the ANAF form for legal entities: company data (tax ID), certificate holder data (personal ID number, ID document, capacity: legal representative, designated representative or authorised agent, Romanian mobile number, valid email) and accept the terms. You upload the confirmation document and a ZIP archive with the ID and the documents proving the capacity, enter the codes received by email and keep the registration number. The result arrives by email.
Individuals: the ANAF form has two options, registration with a password (followed by an approval, for example by document number, video identification or at an ANAF counter) or registration with a digital certificate.
The ANAF guides we consulted date from 2020 and 2022, and an older instruction for legal entities also mentions a counter visit. Check the current steps in the portal before you start.
Legal entities log in with the qualified digital certificate, from the certificate login page on anaf.ro. Individuals acting as representatives or agents also use the certificate, while individuals acting for themselves can, depending on their situation, use a username, password and one-time code sent by ANAF, or the certificate.
After logging in with the certificate, you open the invoice responses option in the electronic invoice menu, choose the tax ID and the number of days, click "Obține răspunsuri" and then "Descarcă". Valid XML files and error messages stay available for download for 60 days from publication; after that they are archived and can be made available again on request. The email alert for documents not downloaded within 24 hours is optional.
The legally relevant document is the XML file signed by ANAF. For easier reading, ANAF offers an XML-to-PDF conversion application: you upload the XML and download the view. The resulting PDF is only a visual representation.
A program cannot do the manual certificate login. That is why ANAF offers APIs for e-Factura. The invoicing program registers its application in the ANAF developer portal and receives a Client ID and a secret. The user whose certificate is enrolled in SPV authorises the application once, through the OAuth 2.0 flow: they pick the certificate on the ANAF page and the program receives a token.
The access token is valid for 90 days and the refresh token for 365 days; with the latter the program obtains a new token automatically, without asking for the certificate again. With a valid token the program polls for new messages and downloads the invoices, without anyone logging in to SPV.
The cases below are the ones described in the official ANAF documentation:
The company enrols with a qualified digital certificate; a mandate lets a service provider submit on its behalf.
API integration uses an OAuth token issued from the certificate and refreshed automatically.
Hundreds or thousands of invoices per day instead of manual file-by-file uploads.
Periodic polling for new messages and automatic download of supplier invoices.
Every API call is logged with timestamp, index and result, ready for a tax inspection.
Notifications when a token expires, a submission fails or an invoice is rejected.
Companies log in with a qualified digital certificate, from the certificate login page on anaf.ro. Individuals can use a username, password and one-time code, or a digital certificate. The account has to be registered in SPV before the first login.
For legal entities, yes: a qualified digital certificate issued by an authorised provider, linked to the legal representative, designated representative or authorised agent of the company. Individuals can also choose a username with a password.
Valid XML files and error messages stay available for download for 60 days from publication. After that they are archived and can be made available again on request, according to the ANAF guide.
Yes. An invoicing program or an intermediary platform connects to the ANAF APIs with OAuth authentication and downloads new messages without a manual login. EDIconnect downloads supplier invoices automatically and matches them with the orders in your ERP.
ANAF documentation says the error can be transient and the call should be repeated. If it persists, check that the certificate is enrolled in SPV for that tax ID and that the token has not expired.
Yes, based on a mandate registered in SPV. Fiscal responsibility stays with the taxpayer.
30-minute demo on your own invoice flow and ERP. No commitment.