Skip to content
Docs menu: Overview

Tallio docs

Docs

Everything you need to send documents through Tallio: a short path through the sandbox, then the API reference.

On this page

Note

The sandbox stands in for the provider and the tax authority, so nothing you send there reaches either. Get a sandbox key to start.

From sandbox key to webhook #

  1. Get a sandbox key

    Your sandbox key is a test key (sk_test_…). Send it as a Bearer token on every request.

  2. Preview a document

    Create a merchant for the business, then preview a document: Tallio validates and classifies it and returns any warnings, without issuing it.

  3. Issue it

    Create the document with an idempotency key. A retry with the same key returns the first document.

  4. Receive the webhook

    When the document is issued, Tallio sends a signed webhook with the result. Check the signature before you trust it.

Your first call #

Preview a document from a shell: set TALLIO_API_URL and TALLIO_API_KEY (your sandbox key), and put the document in document.json. Nothing is issued.

POST /api/v1/documents/preview
curl "$TALLIO_API_URL/api/v1/documents/preview" \
  -H "Authorization: Bearer $TALLIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d @document.json

Greek and French documents #

Every document names its tax regime in regime, and it must match the merchant’s. Each regime has its own document types, VAT codes and required fields: the reference shows each regime’s fields under its own tab.

A document is issued when its status is issued and issued_at is set.

Greece

GR: a document issued through myDATA.

  • myDATA’s MARK, uid and QR code are under mydata.

France

FR: an e-invoice issued through an accredited platform, or through Chorus Pro when the buyer is a French public body.

  • number is the number you assign; the platform’s references are under ctc.
  • Documents issue through the sandbox, with a test key.

AI agents #

Agents call the same operations as tools through Tallio’s hosted MCP server, with your API key. A test key never issues live: it uses the merchant’s test-mode connection, or Tallio’s sandbox when there is none.

API reference #

Documents

Preview and issue fiscal documents.

Merchants

The businesses that issue documents under your account.

Connections

A merchant's credentials for one provider, in one mode.

Webhooks

Endpoints that receive your events, signed. The events Tallio sends to your endpoints, each signed with the tallio-signature header.

Events

What happened in your account, kept for polling and catching up.

Logs

Your requests to the API and the calls Tallio made to providers for you.

Lookups

Check a VAT number against a public registry.

Stores

Online stores: connecting one to Tallio, the orders it sends and the documents they become.

Privacy

Erase a customer's personal data when they ask.

Keys

The API key a request is made with.

Meta

This API's own description.