Ir al contenido
UnoPagoDocumentación
Referencia de la APIFiscal printingInvoice print job

Remove an invoice number to voided invoice. It should only be used when the printed invoice has been voided by mistake or there was an error in assigning the invoice number..

DELETE
/v1/invoice-print-job/{invoiceId}/delete-sequence

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

Parámetros de ruta

invoiceId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
invoiceSequence*integer
Rango-9007199254740991 <= value <= 9007199254740991

Cuerpo de la respuesta

Successful response

application/json
  1. response
success*boolean
Ejemplo de solicitud
curl -X DELETE 'https://api.unopago.com/v1/invoice-print-job/string/delete-sequence?invoiceSequence=-9007199254740991'
Ejemplo de respuesta
{  "success": true}