---
title: "Overview | Docs | Tax Filing by R&D Copilot"
description: "What the Tax Filing API does, how a call is built and where to go next."
canonical: "https://declarations.rdcopilot.com/docs/get-started/overview/"
language: en
updated: 2026-11-22
---

# Overview

What the Tax Filing API does, how a call is built and where to go next.

The Tax Filing API builds the tax returns of your companies from the ledger, checks them against the form and against each other, records who signed and approved them, files them with the tax authority and keeps the receipt. It covers the VAT return (D300), the recapitulative statement (D390), the informative return D394 and the SAF-T return (D406).

Client credentials, your base address and a test company are issued with your account. Accounts are opened by our team: ask for one through the contact form and we set it up with you.

[Request an account](https://rdcopilot.com/contact/?product=declarations&topic=api-access)

## How a call works

1.  Sign in
    
    Ask for a token with your client credentials. See [Authentication](https://declarations.rdcopilot.com/docs/get-started/authentication/).
    
2.  Choose the obligation
    
    One account holds many companies, and each company files a return for each form and period. List the [obligations](https://declarations.rdcopilot.com/docs/concepts/companies-and-obligations/) of a company and read the due dates.
    
3.  Build and check
    
    Build the return from the ledger, then read its rows and findings. See [Build a return from ledger data](https://declarations.rdcopilot.com/docs/guides/build-a-return-from-ledger-data/).
    
4.  Sign and approve
    
    One person signs, another approves. Both are recorded. See [Approve and file](https://declarations.rdcopilot.com/docs/guides/approve-and-file/).
    
5.  File and follow
    
    File the approved return, then follow the answer of the authority. Every change carries an `operationId` and, on an existing return, an `expectedRevision`. See [Idempotency and concurrency](https://declarations.rdcopilot.com/docs/reference/idempotency/).
    
6.  Listen
    
    Events tell you when a return is filed and answered. See [Event envelope](https://declarations.rdcopilot.com/docs/events/event-envelope/).
    

## Return states

A return has one `status`. The product views show the same words, and the authority’s own words where it has them. [Return types and versions](https://declarations.rdcopilot.com/docs/concepts/return-types-and-versions/) says what moves a return from one status to the next.

| Status | Meaning |
| --- | --- |
| Draft `draft` | The obligation exists and nothing is built. The period may still be open. |
| Generated `generated` | The rows are built from a ledger snapshot and the generation evidence is recorded. |
| Validated `validated` | The checks found no error and the validation evidence is recorded. |
| Signed `signed` | A person who may sign has signed, and the signing evidence is recorded. |
| Approved `authorized` | An approver who did not sign has approved the return. The approver and the time are recorded. |
| Queued `queued` | The return waits for its upload. It passes this status in the same action that files it. |
| Filed `submitted` | The return is uploaded and the authority returned an upload index. |
| în prelucrare `processing` | The authority has not finished processing the file. |
| ok `accepted` | The authority accepted the return. The receipt is stored. |
| nok `rejected` | The authority rejected the return and gave a message. A rejected return does not change; the correction is a new version. |
| Outcome unknown `manual_review` | The product cannot tell whether the file arrived. Check, then send it again. |

## Where next

-   File your first return in the [Quickstart](https://declarations.rdcopilot.com/docs/get-started/quickstart/).
-   Learn how deadlines are counted in [Periods and due dates](https://declarations.rdcopilot.com/docs/concepts/periods-and-due-dates/).
-   See what the checks look for in [Validate before approval](https://declarations.rdcopilot.com/docs/guides/validate-before-approval/).
-   Look up every operation in [Returns](https://declarations.rdcopilot.com/docs/api-reference/returns/).
