Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Documentation

    Guides, API reference and events for e‑TVA Check.

    On this page

    Rules shared by every R&D Copilot API are in the Developer guide.

    Get started

    • Overview: What the e‑TVA Check API does, how a call is built and where to go next.
    • Quickstart: Compare one month of a test company: open the period, import the pre-filled return and the postings, read the rows and find the difference.
    • Authentication: Get client credentials, request a token and call the e‑TVA Check API with it.
    • Sandbox and live: Build and test against a test company, then move the same calls to your live company.
    • Go-live checklist: Eight checks, in order, that you can run against the API before your software works on a real period.

    Concepts

    • Periods and VAT schemes: A period is one company and one month. It carries the VAT scheme, the limits, the explanation file and the revision that every change names.
    • Return rows: The four rows of the comparison, how each is the sum of documents and postings, how the difference and the percent are worked out, and the three statuses of a row.
    • Differences: What sets the two returns apart: the six kinds, the effect of each on the rows, how documents and postings are matched and what makes a difference disappear.
    • Documents behind the figures: The documents behind the pre-filled figure and the postings behind yours: where they come from, what they carry, their match states and how a link ties them.
    • Reasons and explanations: The reasons that fit each kind of difference, the rules of the note, how to reopen an explanation and the three states of the explanation file.

    Guides

    • Import the pre-filled return: Send the four rows of the pre-filled VAT return and the documents behind them, check that the rows equal the documents, and replace an import when a new one arrives.
    • Compare with your return: Import the postings of your ledger, read the four rows and the differences behind them, and set the limits that mark a row.
    • Resolve a missing invoice: Find the invoice the ledger lacks and explain why it is not posted, or link it when the ledger holds it under another number.
    • Resolve a duplicate: Confirm that the pre-filled return lists an invoice twice, explain the difference as a duplicate at the authority and read the rows after.
    • Prepare the explanation file: Read the explanations of a period, have a second person approve the file, withdraw the approval if something changes, mark the file as filed and export it.
    • Check against SAF-T: Import the invoice-level data of your SAF-T return as postings, compare the period against it, and go back to the postings of your ledger.

    Reference

    • Errors: The error object of the e‑TVA Check API and the codes that say what went wrong.
    • Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
    • Pagination: Lists come in pages. Follow the cursor until it is empty.
    • Limits: The limits of the e‑TVA Check API, with their values and what happens over them.
    • Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
    • Changelog: Every version of the e‑TVA Check contract, with its day and what it contains.

    API reference

    • Periods: A company, a month and the VAT scheme: the unit of every comparison. Open a period and set the limits that mark its rows.
    • Imports: Send the pre-filled return and the postings of your ledger. A new import replaces the one before it.
    • Rows: The four rows of the comparison, each with your figures, the pre-filled figures, the difference and the status.
    • Differences: What sets the two returns apart, one difference for each document or posting that does not match. Explain it with a reason and a note, or reopen the explanation.
    • Documents: The documents behind the pre-filled figure and the postings of your ledger, and the link that ties a document to the posting it stands for.
    • Explanations: The explanation file of a period: the explained differences, and its three states: draft, approved, filed.
    • Exports: The rows, the differences and the explanation file as CSV files.
    • Operations: A request that changes data is accepted once and answered with an operation result you can read again.
    • Subscriptions: Register the HTTPS endpoint that receives events, and read, retry and replay the deliveries.

    Events

    • Event envelope: Every e‑TVA Check event has the same envelope; only data changes with the type of the event.
    • Event catalogue: The six events of a period, when each one is sent, what its data holds and which operation causes it.
    • Subscriptions: Register an HTTPS endpoint and e‑TVA Check sends your events to it, each one signed.
    • Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
    • Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
    • Replay: Send a parked event again once your endpoint is ready to take it.