# Get your Domínio documents through an API

> Read the documents in Documentos do Cliente and the requests waiting in Comunicações on Domínio's Onvio with one API call each. Or have a workflow check each morning what your accountant published and email you the new documents, those due within 7 days first.

Page: https://fous.com/automate/dominio-sistemas
Updated: 2026-11-12

Works with your own Domínio Sistemas account. Fous is an independent product.

## What you can build on Onvio

### Get published documents

Reads the Documentos do Cliente (client documents) tab of the Documentos menu for one client: what the office published, in which folder, and when it falls due.

- Takes: Client, folder (optional), published since (optional)
- Returns: Document name, folder, published date, due date, file type

### Check requests in Comunicações

Reads the Comunicações (communications) tab for one client: the document requests and approval requests the office sent, and the documents sent with them.

- Takes: Client
- Returns: Request type, title, sent date, sent by, message, attached documents

### Send a Lançamento de Rubricas

Opens the service requests of the Portal do Cliente and records Lançamento de Rubricas (payroll entries) for the month, for your accounting office to process.

- Takes: Company, month, employee, rubrica, amount or quantity
- Returns: Request number, company, month, entries recorded

### Request a Cálculo de Férias

Opens the service requests of the Portal do Cliente and sends a Cálculo de Férias (vacation pay calculation) request for one employee to the accounting office.

- Takes: Company, employee, vacation start date, number of days, notes (optional)
- Returns: Request number, company, employee, vacation start date, days

## Automate Onvio with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Documents your accountant published, with due dates

Starts: Every weekday at 8:00

1. Get the documents published in Documentos do Cliente since the last run.
2. Keep the documents that were not there on the last run.
3. Email you the list, with the ones due in the next 7 days first.

### Open requests from the office in Comunicações

Starts: Every Monday at 9:00

1. For each client you name, check the requests in Comunicações.
2. Keep the document and approval requests that are new since the last run.
3. Post each one, with its type, title, sent date and message, to your webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get published documents” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "onvio.com.br/get_published_documents",
    "input": {
      "client": "Acme Comércio Ltda",
      "published_since": "2026-11-01"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "client": "Acme Comércio Ltda",
    "documents": [
      {
        "name": "DAS 10-2026.pdf",
        "folder": "Fiscal",
        "published_date": "2026-11-10",
        "due_date": "2026-11-20",
        "file_type": "pdf"
      },
      {
        "name": "Folha de pagamento 10-2026.pdf",
        "folder": "Pessoal",
        "published_date": "2026-11-05",
        "due_date": null,
        "file_type": "pdf"
      }
    ],
    "count": 2
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## Onvio’s own options

Thomson Reuters documents an Onvio API for ERPs: it receives a client's invoice XMLs and sends them to the accounting office's Domínio. An ERP registers with Domínio for its own client ID and secret, and the accountant creates a key for each CNPJ. There is no documented API for reading the Portal do Cliente's documents or requests, which you use in the browser.

| Option | What it covers | What it takes |
| --- | --- | --- |
| Onvio API for ERPs | Sends invoice XML batches from an ERP to the office's Escrita Fiscal and checks that each batch was stored. | Registration with Domínio for a client ID and secret used only by the ERP, plus a key per CNPJ from the accountant. |
| Domínio integration with Documentos | The office's Domínio system publishes documents into the client's folders in Documentos do Cliente. | Run by your accounting office from its Domínio system. Files up to 500 MB each, no storage limit. |
| Onvio by hand | Documentos, Comunicações and the service requests, one client at a time. Clients get an email when the office sends a communication. | A user created for you by your accounting office, with a password and two-factor sign-in. |

Read on November 12, 2026: [Onvio API: integration documentation for ERPs](https://suporte.dominioatendimento.com/central/faces/solucao.html?codigo=8476), [How the Onvio Documentos menu works](https://suporte.dominioatendimento.com/central/faces/solucao.html?codigo=11563), [Setting up two-factor sign-in (MFA)](https://suporte.dominioatendimento.com/central/faces/solucao.html?codigo=11661).

## Signing in to Onvio

Onvio asks for your email address and password, then a required second step: SMS or a phone call, an Auth0 Guardian push approval, a code app or a security key. It asks again every 60 days and on new devices. With Fous you sign in once through Onvio's own sign-in with your own account, sealed with AES-256. When your second step is an Auth0 Guardian push approval, Fous handles it and signs an expired session back in.

## Worth knowing

- **One login for every Onvio application**: The same Thomson Reuters account and two-factor step protect ONVIO Gestão, Portal do Cliente, Domínio Web, Portal do Empregado and Onbalance. You change the second step under Gerenciar Conta Thomson Reuters > Segurança.
- **Your office decides what you see**: The accounting office creates client users and shares folders with them, and office staff only reach the tabs and folders their permission group in ONVIO Gestão allows.
- **The ERP API has a daily token rule**: An ERP creates its access token once a day and uses it for every client: the token lasts 24 hours. Domínio blocks an ERP that goes above 40 token requests and may deactivate its integration.
- **Not every file opens in the browser**: PDF, Word, text, XML, CSV and email files open in the browser. Spreadsheets, images, ZIP and OFX files are kept as downloads only. Each file can be up to 500 MB.

## More in Accounting, tax and ERP software

- [CONTPAQi](https://fous.com/automate/contpaqi.md)
- [Comarch ERP Optima](https://fous.com/automate/comarch-erp-optima.md)
- [Cegid Loop](https://fous.com/automate/cegid-loop.md)
- [Xero Practice Manager](https://fous.com/automate/xero-practice-manager.md)
- [a3innuva](https://fous.com/automate/a3innuva.md)
- [Confirmation](https://fous.com/automate/confirmation.md)
- [MyCodabox](https://fous.com/automate/codabox.md)
- [Xero bank feeds](https://fous.com/automate/xero-bank-feeds.md)
- [Exact Online](https://fous.com/automate/exact-online.md)
- [Twinfield](https://fous.com/automate/twinfield.md)
- [Sage Intacct](https://fous.com/automate/sage-intacct.md)
- [CCH Axcess](https://fous.com/automate/cch-axcess.md)
- [TallyPrime](https://fous.com/automate/tallyprime.md)
- [TaxDome](https://fous.com/automate/taxdome.md)
- [Drake Tax](https://fous.com/automate/drake-tax.md)
- [Dext Prepare](https://fous.com/automate/dext-prepare.md)
- [Lexware Office](https://fous.com/automate/lexware-office.md)
- [MYOB Business](https://fous.com/automate/myob-business.md)
- [弥生会計](https://fous.com/automate/yayoi-kaikei.md)
- [SAP Concur](https://fous.com/automate/sap-concur.md)

Other industries: [Mindbody](/automate/mindbody), [First Call Online](/automate/first-call-online), [Kia KDealer+](/automate/kia-kdealer), [SEEK Employer](/automate/seek-employer), [Autodesk Build](/automate/autodesk-build), [JOOR](/automate/joor).

## Frequently asked questions

### Does Domínio Sistemas have an API?

Yes, for ERPs that send invoices. The Onvio API receives a client's invoice XMLs for the office's Escrita Fiscal, with a client ID and secret from Domínio and a key per CNPJ from the accountant. No documented API reads the Portal do Cliente's documents or requests.

### How do I get the key to connect my ERP to my accountant's Domínio?

Ask your accounting office. The accountant creates one key for each CNPJ that will use the integration, and these keys do not expire. Your ERP confirms the key shows your office, company name and CNPJ, then turns it into an integration key for sending XMLs.

### How often does Onvio ask for the two-factor code?

Every 60 days, and each time you sign in from a new device, for example the office computer and then one at home. If you cannot use your chosen method, the recovery code you saved when the user was activated lets you set it up again.

### Will I know when my accountant asks me for a document?

Yes. When the office uses the Comunicações tab to request a document, ask for an approval or send you a document, Onvio notifies you by email. With Fous, you can also build a workflow that reads Comunicações on a schedule and posts new requests to your own system by webhook.

### Is Fous affiliated with Thomson Reuters?

No. Fous is an independent product. You use it with your own Onvio account, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of Domínio Sistemas (Thomson Reuters). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
