Overview
What the Tax Filing API does, how a call is built and where to go next.
On this page
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 accountHow a call works
Sign in
Ask for a token with your client credentials. See Authentication.
Choose the obligation
One account holds many companies, and each company files a return for each form and period. List the obligations of a company and read the due dates.
Build and check
Build the return from the ledger, then read its rows and findings. See Build a return from ledger data.
Sign and approve
One person signs, another approves. Both are recorded. See Approve and file.
File and follow
File the approved return, then follow the answer of the authority. Every change carries an
operationIdand, on an existing return, anexpectedRevision. See Idempotency and concurrency.Listen
Events tell you when a return is filed and answered. See 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 says what moves a return from one status to the next.
| Status | Meaning |
|---|---|
draft | The obligation exists and nothing is built. The period may still be open. |
generated | The rows are built from a ledger snapshot and the generation evidence is recorded. |
validated | The checks found no error and the validation evidence is recorded. |
signed | A person who may sign has signed, and the signing evidence is recorded. |
authorized | An approver who did not sign has approved the return. The approver and the time are recorded. |
queued | The return waits for its upload. It passes this status in the same action that files it. |
submitted | The return is uploaded and the authority returned an upload index. |
processing | The authority has not finished processing the file. |
accepted | The authority accepted the return. The receipt is stored. |
rejected | The authority rejected the return and gave a message. A rejected return does not change; the correction is a new version. |
manual_review | The product cannot tell whether the file arrived. Check, then send it again. |
Where next
- File your first return in the Quickstart.
- Learn how deadlines are counted in Periods and due dates.
- See what the checks look for in Validate before approval.
- Look up every operation in Returns.