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

Add an invoice number to the invoice print job. Should only be used in case of failed print jobs that were generated physically

PUT
/v1/invoice-print-job/{invoiceId}/add-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
application/json
  1. body
invoiceSequence*integer
Rango-9007199254740991 <= value <= 9007199254740991

Cuerpo de la respuesta

Successful response

application/json
  1. response
success*boolean
Ejemplo de solicitud
curl -X PUT 'https://api.unopago.com/v1/invoice-print-job/string/add-sequence' \  -H 'Content-Type: application/json' \  -d '{  "invoiceSequence": -9007199254740991}'
Ejemplo de respuesta
{  "success": true}