Sync invoices for a period
Triggers a synchronous sync of the company's electronic documents (DTEs) from the SII for the tax periods in [from, to] (both YYYY-MM, inclusive). The call authenticates with this key, walks each month in the range, and upserts the resulting fiscal invoices.
The range is validated server-side: from and to must both match YYYY-MM, from must be ≤ to, and the span must not exceed 24 months — otherwise the request fails with 422 (sii/invalid-range).
Because CxP payables ingestion relies on the company's own certificate, this is how you backfill or refresh a company's SII inbox/outbox on demand. The call is synchronous and can take a while for wide ranges.
Request
- Base URLhttps://api.cardda.com
- URLhttps://api.cardda.com/v1/sii/keys/{sii_key_id}/sync_invoices
- AuthHTTP bearer
Path parameters
UUID of the SII key (digital-certificate credential).
Parameters
Request body
Example request
{
"from": "2026-01",
"to": "2026-03"
}Response
The sync completed successfully.
Example response
{
"status": "synced",
"from": "2026-01",
"to": "2026-03",
"last_synced_at": "2026-07-21T14:03:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.