Massive download from "Cassetto Fiscale"
With A-Cube platform you can download invoices that are in the "Cassetto Fiscale" for a given company.
The company you want to download the invoices for must be set up in the A-Cube platform and you must have the credentials to access the "Cassetto Fiscale" portal.
Follow our guide to onboard a company and set up the credentials to access the "Cassetto Fiscale" portal.
Please note that
- Invoices may not be available in real time in the "Cassetto Fiscale", it may take up to 72 hours.
- The electronic invoice files issued and received through the SdI are made available in the consultation area until December 31 of the year following the one in which the invoices were received by the Sistema di Interscambio.
How to schedule invoices download
You can schedule the download of invoices from the "Cassetto Fiscale"
portal by using the API POST /schedule/invoice-download/{fiscal_id}
.
By calling this API you are scheduling the download of invoices for the Business Registry Configuration identified by {fiscal_id}
.
The API will return a 201 Created
response if the request is valid and the download is scheduled.
By default, the schedule is set to run once per day.
Pricing
The scheduled download of invoices is a paid service. Please contact our Sales Team for more information.
Retrieve scheduled download information
You can retrieve the status of the scheduled invoices download by using the API GET /schedule/invoice-download/{fiscal_id}
.
The API will return a 200 OK
response with the following body:
{
"enabled": false,
"valid_until": null,
"auto_renew": null
}
Delete scheduled download
You can delete the scheduled download of invoices by using the API DELETE /schedule/invoice-download/{fiscal_id}
.
Disable scheduled download subscription
You can disable the subscription auto-renew by using the API PUT /schedule/invoice-download/{fiscal_id}
and sending the following body:
{
"auto_renew": false
}
How to retrieve the downloaded invoices
You can retrieve the downloaded invoices by using the API GET /invoices
.
The daily job will download the invoices from the "Cassetto Fiscale" portal and make them available in the A-Cube platform.
For each downloaded invoice you will be able to:
- Download the invoice PDF
- Download the invoice XML
- Download the invoice JSON
- Download reports in CSV format
And in general you will be able to execute any operation / API call available for the invoice.