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

Get the invoice print job queue

GET
/v1/invoice-print-job

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.

limit?number
Rangovalue <= 100
Por defecto5
cursor?string
query?string
invoiceIds?string
startDate?string
endDate?string

Cuerpo de la respuesta

Successful response

application/json
  1. response
results*array<>
total*number
totalPages*number
nextCursor?|

The cursor to get the next page of results

exchangeRates?
Ejemplo de solicitud
curl -X GET 'https://api.unopago.com/v1/invoice-print-job'
Ejemplo de respuesta
{  "results": [    {      "account": {        "description": "string",        "id": "string",        "name": "string"      },      "customer": {        "id": "string",        "accountId": "string",        "email": "[email protected]",        "externalId": "string",        "firstName": "string",        "lastName": "string",        "nationalId": "string",        "phoneNumber": "string",        "address": "string"      },      "invoice": {        "id": "string",        "issueDate": "string",        "lateFee": 0,        "paidAt": "string",        "dueDate": "string",        "printJobId": "string",        "billingDetailsId": "string",        "feesTotals": [          {            "rateBase": 0,            "rate": 0,            "type": "IGTF",            "total": 0,            "exchangeRate": 0          }        ],        "invoiceItems": [          {            "description": "string",            "quantity": 0,            "total": 0,            "unitPrice": 0          }        ],        "discounts": [          {            "amount": 0,            "description": "string"          }        ],        "subTotal": 0,        "total": 0      },      "payments": [        {          "amount": 0,          "paymentDate": "string"        }      ]    }  ],  "total": 0,  "totalPages": 0,  "nextCursor": "string",  "exchangeRates": {    "property1": {      "rate": 0,      "rateDate": "string",      "daysAhead": 0    },    "property2": {      "rate": 0,      "rateDate": "string",      "daysAhead": 0    }  }}