Provisions a qualified signing certificate for an organization and jurisdiction. OpenFiskal uses this certificate to sign all fiscal documents on the organization’s behalf.
The certificate must be obtained from the relevant authority before provisioning:
Upload the certificate as a base64-encoded PKCS#12 bundle with its private key. OpenFiskal stores it encrypted and uses it only for document signing.
OpenFiskal monitors certificate expiry and sends renewal reminders at 60, 30, and 7 days before expiry. After expiry, document submission is blocked until a replacement is provisioned.
Platform API key sent as Authorization: Bearer ofk_platform_....
Platform integrators also pass OpenFiskal-Organization: org_xxx
to act on behalf of a merchant.
Jurisdiction this certificate covers. Use ISO 3166-2 subdivision codes for sub-national systems (TicketBAI requires one certificate per province).
"ES-PV-SS"
Base64-encoded PKCS#12 bundle containing the certificate and private key. OpenFiskal stores this encrypted at rest and uses it only for document signing.
Passphrase protecting the PKCS#12 bundle
Human-readable label for internal reference
"Gipuzkoa TicketBAI 2026"
If true, replaces an existing active certificate for this
jurisdiction. The previous certificate is immediately revoked.
Use with caution — ensure the new certificate is valid before
setting this.
Certificate provisioned
"fiscal_certificate""cert_01HXYZ"
"ES-PV-SS"
active, expired, revoked Certificate subject DN
"CN=Acme S.L., OU=TicketBAI, O=FNMT, C=ES"
Certificate issuer DN
Renewal reminders are sent at 60, 30, and 7 days before this date. Document submission is blocked after expiry.
SHA-256 fingerprint of the certificate (hex)
"3a:7b:f2:..."