---
title: "Docs | Tax Filing by R&D Copilot"
description: "Guides, API reference and events for Tax Filing."
canonical: "https://declarations.rdcopilot.com/docs/"
language: en
updated: 2026-11-22
---

# Documentation

Guides, API reference and events for Tax Filing.

Rules shared by every R&D Copilot API are in the [Developer guide](https://rdcopilot.com/docs/).

## Get started

-   [Overview](https://declarations.rdcopilot.com/docs/get-started/overview/): What the Tax Filing API does, how a call is built and where to go next.
-   [Quickstart](https://declarations.rdcopilot.com/docs/get-started/quickstart/): File the SAF-T return of October from the test company: find the obligation, read its findings, file it and follow it.
-   [Authentication](https://declarations.rdcopilot.com/docs/get-started/authentication/): Get client credentials, request a token and call the Tax Filing API with it.
-   [Sandbox and live](https://declarations.rdcopilot.com/docs/get-started/sandbox-and-live/): Build and test against a test company, then move the same calls to your live company.
-   [Go-live checklist](https://declarations.rdcopilot.com/docs/get-started/go-live-checklist/): What to have working in the test company before you call the live API.

## Concepts

-   [Companies and obligations](https://declarations.rdcopilot.com/docs/concepts/companies-and-obligations/): A company files a return for each form and period. That pair is an obligation, and it has a due date.
-   [Return types and versions](https://declarations.rdcopilot.com/docs/concepts/return-types-and-versions/): The four forms, what their rows hold, and how a return moves from draft to the answer of the authority.
-   [Periods and due dates](https://declarations.rdcopilot.com/docs/concepts/periods-and-due-dates/): How the API counts the day a return is due, and when a return can be built.
-   [Evidence: generation, validation, signing](https://declarations.rdcopilot.com/docs/concepts/evidence/): The three records a return keeps before it can be approved, in the order they are made.
-   [Approvals](https://declarations.rdcopilot.com/docs/concepts/approvals/): Who may approve a return, what blocks the approval, and what is recorded.
-   [Receipts](https://declarations.rdcopilot.com/docs/concepts/receipts/): What the authority returns for a filed return, what the product stores, and how a rejection is kept.
-   [Corrections](https://declarations.rdcopilot.com/docs/concepts/corrections/): A correction is a new version that points back to the first. The first version never changes.

## Guides

-   [Build a return from ledger data](https://declarations.rdcopilot.com/docs/guides/build-a-return-from-ledger-data/): Build the rows of a return from the ledger, read what each row came from, and rebuild when the ledger changes.
-   [Validate before approval](https://declarations.rdcopilot.com/docs/guides/validate-before-approval/): Read the findings, understand the rules, and rebuild the form that is behind until the errors are gone.
-   [Approve and file](https://declarations.rdcopilot.com/docs/guides/approve-and-file/): Sign, approve and file a validated return, and follow it to the answer of the authority.
-   [Handle a rejection](https://declarations.rdcopilot.com/docs/guides/handle-a-rejection/): Read the message of the authority, fix the ledger, and file a corrected version 2.
-   [Archive receipts](https://declarations.rdcopilot.com/docs/guides/archive-receipts/): List the receipts of a company, keep each file with its hash and check the hash when you read it back.

## Reference

-   [Errors](https://declarations.rdcopilot.com/docs/reference/errors/): The error object of the Tax Filing API and the codes that say what went wrong.
-   [Idempotency and concurrency](https://declarations.rdcopilot.com/docs/reference/idempotency/): Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
-   [Pagination](https://declarations.rdcopilot.com/docs/reference/pagination/): Lists come in pages. Follow the cursor until it is empty.
-   [Limits](https://declarations.rdcopilot.com/docs/reference/limits/): The limits of the Tax Filing API, with their values and what happens over them.
-   [Versioning](https://declarations.rdcopilot.com/docs/reference/versioning/): The version is in the path. Additions keep it; a change that could break a caller gets a new one.
-   [Changelog](https://declarations.rdcopilot.com/docs/reference/changelog/): What changed in each version of the contract.

## API reference

-   [Obligations](https://declarations.rdcopilot.com/docs/api-reference/obligations/): The companies of your account and the returns each of them files, period by period, with the due date.
-   [Returns](https://declarations.rdcopilot.com/docs/api-reference/returns/): Build a return from the ledger, read its rows and findings, rebuild it when the ledger changes and correct it after the authority answered.
-   [Evidence](https://declarations.rdcopilot.com/docs/api-reference/evidence/): The three records kept before approval: generation, validation and signing. Sign a validated return here.
-   [Approvals](https://declarations.rdcopilot.com/docs/api-reference/approvals/): Approve a signed return and read who approved it and when.
-   [Submissions](https://declarations.rdcopilot.com/docs/api-reference/submissions/): File an approved return, follow the answer of the authority and send it again when the outcome is unknown.
-   [Receipts](https://declarations.rdcopilot.com/docs/api-reference/receipts/): The file the authority returned for an accepted return, stored with its hash.
-   [Operations](https://declarations.rdcopilot.com/docs/api-reference/operations/): A request that changes data is accepted once and answered with an operation result you can read again.
-   [Subscriptions](https://declarations.rdcopilot.com/docs/api-reference/subscriptions/): Register the HTTPS endpoint that receives events, and read, retry and replay the deliveries.

## Events

-   [Event envelope](https://declarations.rdcopilot.com/docs/events/event-envelope/): Every Tax Filing event has the same envelope; only `data` changes with the type of the event.
-   [Event catalogue](https://declarations.rdcopilot.com/docs/events/event-catalogue/): The three events a return produces, when each is sent and what its `data` holds.
-   [Subscriptions](https://declarations.rdcopilot.com/docs/events/subscriptions/): Register an HTTPS endpoint and Tax Filing sends your events to it, each one signed.
-   [Verify signatures](https://declarations.rdcopilot.com/docs/events/signatures/): Every delivery is signed. Check the signature on the raw body before you trust the event.
-   [Delivery and retries](https://declarations.rdcopilot.com/docs/events/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](https://declarations.rdcopilot.com/docs/events/replay/): Send a parked event again once your endpoint is ready to take it.
