FINA Certificate
FINA Certificate
Upload and manage the P12/PFX certificate required for Croatian CIS fiscalization
Upload FINA certificate
/fiscalization/fina/settings/certificateUpload a P12/PFX certificate for CIS fiscalization. The certificate will be processed to extract expiry date and stored securely.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Body parameters
P12/PFX certificate file
curl -X POST "https://eu.spaceinvoices.com/fiscalization/fina/settings/certificate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID" \
-F "file=@/path/to/image.png"Returns
{
"certificate_expiry": "2026-12-31T23:59:59.000Z",
"certificate_cn": "12345678901",
"certificate_issuer": "FINA RDC 2015",
"uploaded_at": "2025-06-15T10:30:00.000Z",
"message": "Certificate uploaded and validated successfully"
}Get certificate metadata
/fiscalization/fina/settings/certificateRetrieve certificate metadata including expiry date and upload time. Does not return the certificate or private key.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
curl "https://eu.spaceinvoices.com/fiscalization/fina/settings/certificate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"Returns
{
"certificate_expiry": "2026-12-31T23:59:59.000Z",
"certificate_cn": "12345678901",
"certificate_issuer": "FINA RDC 2015",
"uploaded_at": "2025-06-15T10:30:00.000Z",
"message": "Certificate uploaded and validated successfully"
}Delete FINA certificate
/fiscalization/fina/settings/certificateDelete the FINA certificate for the entity. This will remove both the uploaded file reference and the extracted certificate from the database.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
curl -X DELETE "https://eu.spaceinvoices.com/fiscalization/fina/settings/certificate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"