Skip to content

FURS Certificate

FURS Certificate

Upload and manage the P12/PFX certificate required for FURS fiscalization

Upload FURS certificate

POST/fiscalization/furs/settings/certificate

Upload a P12/PFX certificate for FURS fiscalization. The certificate will be processed to extract expiry date and stored securely. The passphrase will be encrypted before storage. Certificate is entity-specific and required for fiscalizing invoices.

Header parameters

entity_idstringoptional

Entity ID on which the request is made. Optional - defaults to the first created entity if not provided.

Body parameters

filestring<binary>required

P12/PFX certificate file

curl -X POST "https://eu.spaceinvoices.com/fiscalization/furs/settings/certificate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-entity-id: YOUR_ENTITY_ID" \
  -F "file=@/path/to/image.png"

Returns

certificate_file_idstring<uuid>
certificate_expirystring<date-time>
messagestring
json
{
  "certificate_file_id": "file_507f1f77bcf86cd799439011",
  "certificate_expiry": "2025-12-31T23:59:59.000Z",
  "certificate_cn": "12345678",
  "certificate_issuer": "SIGOV-CA2",
  "uploaded_at": "2025-01-15T10:30:00.000Z",
  "message": "Certificate uploaded and validated successfully"
}

Get certificate metadata

GET/fiscalization/furs/settings/certificate

Retrieve certificate metadata including expiry date and upload time. Does not return the certificate or private key.

Header parameters

entity_idstringoptional

Entity ID on which the request is made. Optional - defaults to the first created entity if not provided.

curl "https://eu.spaceinvoices.com/fiscalization/furs/settings/certificate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-entity-id: YOUR_ENTITY_ID"

Returns

certificate_file_idstring
certificate_expirystring
certificate_cnstring
certificate_issuerstring
uploaded_atstring
messagestring
json
{
  "certificate_file_id": "file_507f1f77bcf86cd799439011",
  "certificate_expiry": "2025-12-31T23:59:59.000Z",
  "certificate_cn": "12345678",
  "certificate_issuer": "SIGOV-CA2",
  "uploaded_at": "2025-01-15T10:30:00.000Z",
  "message": "Certificate uploaded and validated successfully"
}

Delete FURS certificate

DELETE/fiscalization/furs/settings/certificate

Delete the FURS certificate for the entity. This will remove both the uploaded file reference and the extracted certificate from the database.

Header parameters

entity_idstringoptional

Entity ID on which the request is made. Optional - defaults to the first created entity if not provided.

curl -X DELETE "https://eu.spaceinvoices.com/fiscalization/furs/settings/certificate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-entity-id: YOUR_ENTITY_ID"