|
1 | 1 | --- |
2 | 2 | name: openapi-documents |
3 | | -description: Obtain official Italian documents through Openapi - chamber of commerce reports (visure camerali), financial statements/balance sheets, company files (fascicoli), bylaws, DURC, protest reports, cadastral documents. Use when the user needs an official PDF document about an Italian company or person. |
| 3 | +description: Obtain official Italian documents through Openapi - chamber of commerce reports (visure camerali), financial statements/balance sheets, company files (fascicoli), bylaws, DURC, protest reports. Use when the user needs an official PDF document about an Italian company or person. |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | # Openapi official documents |
7 | 7 |
|
8 | | -Three services deliver official documents; all are **asynchronous** (request → poll → download PDF). |
| 8 | +Two main services deliver official documents; both are **asynchronous** (request → poll → download PDF) and **paid per document** — check wallet credit (`openapi-auth` skill) and confirm with the user before bulk requests. |
9 | 9 |
|
10 | | -| Service | Base URL | Use for | |
11 | | -|---|---|---| |
12 | | -| DocuEngine (preferred) | `https://docuengine.openapi.com` | All documents: Business Register, Revenue Agency, Municipalities, INPS (DURC), protests, balance sheets | |
13 | | -| Visure Camerali | `https://visurecamerali.openapi.it` | Chamber of commerce registrations and financial statements | |
14 | | -| Visengine (legacy) | `https://visengine2.altravia.com` | Older engine for the same document families | |
| 10 | +## DocuEngine (preferred) — `https://docuengine.openapi.com` |
15 | 11 |
|
16 | | -Authentication: Bearer token — see the `openapi-auth` skill. |
| 12 | +Official documents from the Business Register, Revenue Agency, Municipalities and INPS, behind one uniform API: |
17 | 13 |
|
18 | | -## DocuEngine workflow |
| 14 | +1. `GET /documents` — list available document services (codes, prices). |
| 15 | +2. `POST /requests` — create a request with the service code and subject (VAT/tax code); optionally pass a `callback` URL. |
| 16 | +3. `GET /requests/{id}` — poll until the request state is fulfilled (`EVASA`). |
| 17 | +4. `GET /requests/{id}/documents` — download the resulting documents. |
| 18 | +5. `PATCH /requests/{id}` — update a request when the service asks for it (e.g. optical balance-sheet processing). |
19 | 19 |
|
20 | | -1. `GET /services` — discover available document types and prices. |
21 | | -2. `POST /documents` with the service code and subject (VAT/tax code) — returns a request `id`. Optionally pass a `callback` URL. |
22 | | -3. `GET /documents/{id}` — poll status until the document is ready. |
23 | | -4. Download the PDF from the returned URL/payload. |
| 20 | +Document families: visura camerale (ordinaria/storica, per company type, also in English), fascicolo società (current/historical), bilancio (XBRL, ottico, riclassificato), statuto, certificato di iscrizione, certificato artigiano, DURC online, visura protesti and pregiudizievoli (companies and natural persons), cariche/quote/soci attivi, eventi negativi, atto ottico. |
24 | 21 |
|
25 | | -Document families include: visura camerale (ordinaria/storica, by company type), fascicolo (company file, current/historical), bilancio (XBRL, ottico, riclassificato), statuto (bylaws), certificato di iscrizione, DURC online, protesti and pregiudizievoli (companies and persons), cariche/quote/soci (offices, shares, shareholders), eventi negativi. |
| 22 | +## Visure Camerali — `https://visurecamerali.openapi.it` |
| 23 | + |
| 24 | +Direct chamber-of-commerce endpoints, one resource per document type, all with the same pattern `POST /<type>` → `GET /<type>/{id}` → `GET /<type>/{id}/allegati` (download): |
| 25 | + |
| 26 | +- `ordinaria-impresa-individuale`, `storica-impresa-individuale` |
| 27 | +- `ordinaria-societa-capitale`, `storica-societa-capitale` |
| 28 | +- `ordinaria-societa-persone`, `storica-societa-persone` |
| 29 | +- `bilancio-ottico`, `certificato-iscrizione`, `certificato-iscrizione-vigenza`, … |
| 30 | +- Company search first: `GET /impresa?...` or `GET /impresa/{cf_piva_id}` to identify the subject. |
| 31 | + |
| 32 | +Visengine (`https://visengine2.altravia.com`) is the older engine for the same families — prefer DocuEngine for new work. |
26 | 33 |
|
27 | 34 | ## Notes |
28 | 35 |
|
29 | | -- These calls are **paid per document** — check wallet credit first (`openapi-auth`) and confirm with the user before bulk requests. |
30 | | -- Sandbox responses are illustrative; enable sandbox credit first. |
31 | | -- Specs: [docuengine](../../knowledge/oas/docuengine.openapi.json) · [visurecamerali](../../knowledge/oas/visurecamerali.openapi.json) · [visengine](../../knowledge/oas/visengine.openapi.json) — endpoint lists in [knowledge/services/](../../knowledge/services/). |
| 36 | +- Sandbox responses are illustrative; enable sandbox credit in the console first. |
| 37 | +- Full specs: https://console.openapi.com/oas/en/docuengine.openapi.json · https://console.openapi.com/oas/en/visurecamerali.openapi.json · https://console.openapi.com/oas/en/visengine.openapi.json |
0 commit comments