Factuarea APIDevelopers

signing_certificate_unavailable

The company has VeriFactu enabled in NO VERI*FACTU mode, where every billing record is signed (Order HAC/1177/2024, arts. 6.c and 14), and there is nothing to sign it with. `error.param` says WHAT is missing, and it is stable: `certificate` = the company certificate is missing, expired or revoked, carries another company's tax id, or its `.p12` file cannot be read (damaged, or the stored password is no longer valid); `representation` = in the third-party remission modes, the representation that lets Factuarea sign on the company's behalf is not active; `system_certificate` = the Factuarea certificate is unavailable or cannot be read. Without a signature there is no valid record, and an issued or annulled invoice cannot be left without its own, so the operation is rejected before it runs.

CodeTypeHTTPCategory
signing_certificate_unavailableinvalid_request_error422VeriFactu

Cause

The company has VeriFactu enabled in NO VERI*FACTU mode, where every billing record is signed (Order HAC/1177/2024, arts. 6.c and 14), and there is nothing to sign it with. error.param says WHAT is missing, and it is stable: certificate = the company certificate is missing, expired or revoked, carries another company's tax id, or its .p12 file cannot be read (damaged, or the stored password is no longer valid); representation = in the third-party remission modes, the representation that lets Factuarea sign on the company's behalf is not active; system_certificate = the Factuarea certificate is unavailable or cannot be read. Without a signature there is no valid record, and an issued or annulled invoice cannot be left without its own, so the operation is rejected before it runs.

What to do

Depending on error.param: with certificate, upload a valid, current electronic certificate in the app (Settings → Digital certificate); with representation, register the representation (Settings → VeriFactu) or go back to the own-certificate remission mode; with system_certificate there is nothing you can do: it is a platform problem, wait a few minutes and retry (contact support if it lasts). Then repeat the SAME call: the invoice is exactly as it was (a draft without a number, or issued and not annulled) and nothing has been consumed. It only applies to companies with VeriFactu enabled in NO VERIFACTU mode; in VERIFACTU mode, or without VeriFactu enabled, it is never returned.

On this page

Need a hand?Contact support