In this section you will find frequently asked questions prepared by the VeriFacti team as well as FAQs published by the AEAT (Spanish Tax Agency) on their website.
Idempotency-Key header lets you retry a submission without the risk of duplicating it, for example after a timeout or a dropped connection. It is accepted by /verifactu/create, /verifactu/create_bulk, /verifactu/modify and /verifactu/cancel, and in TicketBai by /ticketbai/create, /ticketbai/modify and /ticketbai/cancel.Generate a unique key per operation (a printable ASCII string of 1 to 255 characters; a UUID works) and store it with the invoice before sending it. This is how it works:Idempotent-Replayed: true header, and does not create a new record.incidencia field must be sent with the value S.serie, numero and fecha_expedicion (and fecha_operacion if you sent it). The API queries the AEAT and returns the record with its uuid, status and hash.Idempotency-Key, you can also repeat the same request with the same key and body: you will get the original response, with the uuid, without creating a new record.In TicketBai, POST /ticketbai/status accepts the same fields.bilbabit, IdSistemaInformatico A1 and the declared version. Your software does not appear in this block, and the identification is the same for every NIF in your account.S.NombreSistemaInformatico, IdSistemaInformatico 77, version 1.0.03), which is why the test XML does not match the production one.GET /representacion/estado/:nif returns the signing link and its expiry date (fecha_expiracion), and the signer can resume the process at any time from the email or from that link. If the process expires, a new one can be started, which is charged as a new signature.GET /representacion/estado/:nif or from the web interface, under Configuration → Representation.idioma field (es or en) of POST /representacion/firma_remota/:nif they can be shown in English. In addition, the optional notificacion object lets you customise the email the signer receives: the sender name, the subject and the message.email field is mandatory, but it doesn't have to be the NIF holder's: you can simply provide an internal address of your own so that your end customer receives no email from Verifacti. The response of POST /representacion/firma_remota/:nif includes the signing link (url), so you can deliver it yourself through whichever channel you prefer (your own application, your email, WhatsApp…). If you lose the link, GET /representacion/estado/:nif returns it while the process is in Pendiente status.PUT /representacion/cancelar/:nif or from the web interface. Keep in mind that the €2.90 + VAT cost is applied when the process is created, so it is not refunded on cancellation; if another process is started afterwards, it is charged as a new signature.