Verifactu
VERI*FACTU invoices (Invoice) and invoice drafts (InvoiceDraft) under /invoices/verifactu.
Invoice: List invoices
Invoice: List invoices
Invoice: Create and send an invoice
Creates and sends an outgoing invoice. Accepts a Facturae 3.2.2 document as XML or JSON, or a VERI*FACTU RegistroAlta XML with the business data only. The invoice is queued and sent to AEAT asynchronously; the outcome is delivered through webhooks.
InvoiceDraft: List invoice drafts
Returns the invoice drafts of the caller.
InvoiceDraft: Create an invoice draft
Creates an invoice draft that can be reviewed and updated before it is sent. Accepts a Facturae 3.2.2 document as XML or JSON, or a VERI*FACTU RegistroAlta XML; only the sender and receiver identity are required.
InvoiceDraft: Create a simplified invoice draft
Creates a VERI*FACTU simplified invoice (F2) draft that can be reviewed and updated before it is sent. Accepts a VERI*FACTU RegistroAlta as XML or JSON; only the issuer identity is required.
InvoiceDraft: Update a simplified invoice draft
Replaces the data of a simplified invoice draft that has not been sent yet. Accepts a VERI*FACTU RegistroAlta as XML or JSON.
InvoiceDraft: Get an invoice draft
Returns an invoice draft.
InvoiceDraft: Update an invoice draft
Replaces the data of an invoice draft that has not been sent yet. Accepts a Facturae 3.2.2 document as XML or JSON, or a VERI*FACTU RegistroAlta XML.
InvoiceDraft: Delete an invoice draft
Deletes an invoice draft that has not been sent yet.
InvoiceDraft: Send an invoice draft
Sends an invoice draft. The invoice is queued and sent to AEAT asynchronously; the outcome is delivered through webhooks.
Invoice: Create and send a simplified invoice
Creates and sends an outgoing VERI*FACTU simplified invoice (F2), without recipient. Accepts a VERI*FACTU RegistroAlta as XML or JSON. The invoice is queued and sent to AEAT asynchronously; the outcome is delivered through webhooks.
Invoice: Get an invoice
Invoice: Get an invoice
Invoice: Cancel an invoice
Cancels an invoice accepted by AEAT by sending a VERI*FACTU anulación; the invoice stays readable and its number cannot be reused. The invoice is queued and sent to AEAT asynchronously; the outcome is delivered through webhooks.
Invoice: Correct an invoice accepted with errors
Corrects an invoice that AEAT accepted with errors by sending a VERI*FACTU subsanación with the whole corrected document, in the same format as the original invoice. The invoice is queued and sent to AEAT asynchronously; the outcome is delivered through webhooks.
Invoice: Get the VERI*FACTU QR of an invoice
Returns the VERI*FACTU QR of an invoice, as its AEAT payload in JSON or as a PNG image depending on the Accept header.