Message us on WhatsApp

    ANAF SPV

    ANAF SPV: complete guide for companies

    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.

    Company login
    qualified digital certificate
    e-Invoices in SPV
    available for 60 days
    High volume
    ANAF APIs, OAuth authentication
    EDIconnect audit log
    an entry for every ANAF call

    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.

    What is ANAF SPV

    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.

    Who uses SPV

    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.

    How to register in SPV

    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.

    • Use a valid email and a valid mobile number; each user should have a single email.
    • Accept the terms and conditions: otherwise the registration is rejected automatically.
    • When the certificate is renewed, tell ANAF through the digital certificate renewal option, uploading a new confirmation document.

    How to log in to SPV

    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.

    e-Invoice in SPV: where to find the invoices

    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.

    Automated download through the API, in plain words

    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.

    Common problems and documented fixes

    The cases below are the ones described in the official ANAF documentation:

    • Registration fails if the email address is wrong.
    • For legal entities, the certificate confirmation document must contain the text required by ANAF.
    • Registration is rejected automatically if the terms are not accepted.
    • After the provider renews the certificate, the renewal must also be reported to ANAF.
    • The "Utilizator neautorizat" error on API calls can be transient: repeat the call.
    • An expired access token is replaced using the refresh token, without a new certificate login.
    • For OAuth issues, ANAF points to its contact form, the technical support category for IT services, subcategory OAUTH.

    How EDIconnect helps

    Enrolment and mandate

    The company enrols with a qualified digital certificate; a mandate lets a service provider submit on its behalf.

    OAuth authentication

    API integration uses an OAuth token issued from the certificate and refreshed automatically.

    High-volume submission

    Hundreds or thousands of invoices per day instead of manual file-by-file uploads.

    Inbound document retrieval

    Periodic polling for new messages and automatic download of supplier invoices.

    Audit trail

    Every API call is logged with timestamp, index and result, ready for a tax inspection.

    Failure alerting

    Notifications when a token expires, a submission fails or an invoice is rejected.

    Frequently asked questions

    How do I log in to ANAF SPV?+

    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.

    Do I need a digital certificate for SPV?+

    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.

    How long do e-Invoice documents stay available in SPV?+

    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.

    Can I download invoices from SPV automatically?+

    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.

    What if the API returns "Utilizator neautorizat"?+

    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.

    Can an external provider submit for me?+

    Yes, based on a mandate registered in SPV. Fiscal responsibility stays with the taxpayer.

    Want to automate e-Invoicing from SPV?

    30-minute demo on your own invoice flow and ERP. No commitment.