The Fatture in Cloud API, explained for teams building for Italy
Fatture in Cloud is Italian e-invoicing and business management software from TeamSystem. If your customers in Italy invoice with it, here is how its v2 REST API handles authentication, scopes, quotas, webhooks and e-invoices, as the vendor documents it. The maesn integration is in preparation.
What Fatture in Cloud does for Italian businesses
Fatture in Cloud is e-invoicing software that keeps e-invoices, quotes, due dates and payments in one program.
The vendor addresses every Partita IVA, the Italian VAT number of a business or freelancer, in three groups: businesses, professionals and forfettari, the taxpayers in the flat-rate regime.
E-invoicing
Create and issue e-invoices in the product. Dispatch to the Sistema di Interscambio (SdI), the system that carries Italian e-invoices, is automatic.
Payments
Receive payments from customers, pay suppliers and reconcile bank statements in the same software.
Quotes
A quote turns into an invoice in a few clicks.
Accountant access
A business invites its commercialista, the certified accountant, and decides what the accountant sees.
Warehouse
Stock is updated with every invoice and purchase.
Purchases
Received e-invoices are recorded automatically and categorised.
- 2013
Started at MadBit Entertainment, the company of its founder
- 2015
TeamSystem acquires 51%
- 2025
Merger by incorporation of MadBit Entertainment S.r.l.: a product of TeamSystem S.p.A.
How Fatture in Cloud e-invoices reach the Sistema di Interscambio
As Fatture in Cloud explains it, an Italian e-invoice is a structured XML file with a prescribed format and a prescribed route.
- Document
Created in Fatture in Cloud
not_sentThe invoice has yet to be sent
- XML
FatturaPA layout in XML, the format the regulation requires, the vendor states
- SdI
Sistema di Interscambio, sends and receives e-invoices
Dry runAPI flag: all e-invoice checks, no dispatch
sentThe invoice was sentprocessingThe SdI is delivering the invoice to the customerdiscardedRejected by the SdI, to be corrected and re-sentnot_deliveredThe SdI was unable to deliver the invoice
- Recipient
Public administration, business or consumer
acceptedThe customer accepted the invoicerejectedThe customer rejected the invoice, to be corrected
ei_status is a field of the issued document with 14 values. The seven that mark the route stand at their station.
The vendor's guide describes e-invoicing as mandatory towards the public administration and, since 1 January 2019, between private parties resident, established and identified in Italy. Since 1 January 2024 it covers all forfettari as well.
The format is FatturaPA and the carrier is the SdI of the Agenzia delle Entrate, the Italian revenue agency, which the vendor compares to a postman for e-invoices.
In the product, dispatch to the SdI is automatic. Through the API it is an explicit call.
Verify e-invoice XMLCheck the XML before sendingSend e-invoiceHand the e-invoice to the SdIGet Issued DocumentRead ei_statusGet rejection reasonWhen the SdI discards the invoice
- Only documents created in Fatture in Cloud can be sent. The API creates them from JSON.
- Uploading an existing XML is currently not supported.
- Sending and the dry-run flag both require a paid plan.
What the Fatture in Cloud API exposes
The Fatture in Cloud v2 API is a RESTful API that exposes most of the features of the web interface.
It is enabled automatically for every user and included in all plans, the Trial licence among them. A feature missing from a plan on the website is also unavailable through the API.
The OpenAPI specification describes 123 operations on 84 paths, grouped under 17 tags. Eight official SDKs are available.
- Issued Documents18What a company emits, such as invoices and delivery notes
- Received Documents16What it receives, such as a supplier's invoice after a purchase
- Info16Reference lists such as countries, currencies, VAT types and payment methods
- Settings15Payment methods, payment accounts and VAT types of the company
- Receipts7Entries in the receipt log (Registro Corrispettivi)
- Taxes7F24 tax payment forms
- Clients6Customers of the company
- Archive6Generic uploaded documents
- Webhooks6Subscriptions for notifications
- Suppliers5Suppliers of the company
- Products5Products or services
- Cashbook5Single inbound or outbound transactions
- Issued e-invoices4Send, verify and download the XML, read the rejection reason
- User2The account that logs in
- Companies2The owner of almost every resource
- PriceLists2Price lists and their items
- Emails1List of emails
GEThttps://api-v2.fattureincloud.it/c/{company_id}/entities/suppliers/{supplier_id}- Base URL
- One host for every call
- Company scope
- Most methods take a company_id. List User Companies returns the companies a user can access.
- Resource
- Here the method Get Supplier
- SDKs
- .NETGoJavaJavaScriptPHPPythonRubyTypeScript
- Pagination
- 50 items per page by default, 100 maximum
Three ways to authenticate with the Fatture in Cloud API
The first thing you need to use the API is an app, created in a Fatture in Cloud account. The app obtains its token in one of three ways.
OAuth 2.0 Device Code Flow
Manual Authentication
Fatture in Cloud strongly recommends the OAuth 2.0 Authorization Code Flow by default. The user is redirected to a Fatture in Cloud web page, logs in and approves or denies the permissions the application needs.
According to the documentation, each of the three requires human interaction at some point. For machine-to-machine access it points to the manual token, which a person creates once, or to the refresh token of the Authorization Code Flow.
- Scopes
- received_documentsResource:rLevel:r read-only:a full write permission
23 scopes in the form RESOURCE:LEVEL
- App visibility
- Private
The default. A whitelist of up to 20 accounts.
Verification by the Fatture in Cloud team
PublicUsable by any Fatture in Cloud user.
The accountant access of the product has no counterpart in the API, which currently does not support Accountant Mode. An accountant cannot manage clients' resources with their own account: each client generates a token for its own company and shares it with the accountant.
Fatture in Cloud API quotas and webhooks
Requests are counted in three windows. Changes arrive as notifications.
Quotas
- Requests every 5 minutes300
One quota per company, shared by all apps and users
429 Too Many Requests - Requests per hour1.000
Per company for each public app, shared per company by all private apps
403 Forbidden - Requests per month40.000
Per company for each public app, shared per company by all private apps
403 Forbidden
RateLimit-HourlyRemainingRateLimit-HourlyLimitRateLimit-MonthlyRemainingRateLimit-MonthlyLimit
The five-minute limit uses a sliding-window algorithm and cannot be increased. Above it the API returns 429 Too Many Requests.
The hourly and monthly quotas are long-term limits on fixed time windows. Above one, the API returns 403 Forbidden. Fatture in Cloud can raise them on request, and approval is not automatic. The 403 and the 429 each carry a Retry-After header with the seconds to wait.
Webhooks
ce-type- The notification type, here one of the 71 event types
ce-subject- The company the resource belongs to
data.ids- The IDs of the modified resources, nothing else. You fetch the current state with the matching Get method.
Webhooks are available to all users without prior authorisation. Fatture in Cloud documents 71 event types. Notifications comply with the CloudEvents Core Specification.
Delivery follows an at-least-once policy. A notification answered with a 5xx status is sent up to four times in total. When delivery keeps failing, the subscription gets an expiration date 10 days after the first error. One successful notification resets it.
Sources: developers.fattureincloud.it, fattureincloud.it, github.com/fattureincloud/openapi-fattureincloud, teamsystem.com
How the maesn Unified API will cover Fatture in Cloud
You integrate once against the maesn Unified API and reach 30+ ERP and accounting systems.
Connect once and sync data the exact same way with every system you need to support: one integration, one data model, one authentication flow.
Once the Fatture in Cloud integration is live, you reach it through the same Unified API as every other system.
- Common data model
One normalised schema across every system you connect.
- Unified authentication
Every auth method and multi-company flow, abstracted.
- Pagination and filtering
One way to filter, order and page results everywhere.
Fintechs already build their integrations on maesn
Companies including Tipalti, Agicap, Findity and Rally rely on maesn to connect their products to Europe's ERP and accounting landscape.
Maesn is built and hosted in Germany, is ISO 27001 certified and GDPR compliant and passes API calls between your system and the target platform in real time without storing customer data.
If your customers in Italy work with Fatture in Cloud, tell us which data your product needs.











