List invoices
Changed onget/tabs/{storeId}/invoices
Request
- Base URLhttps://api.service.getjusto.com/v3
- Authnone declared
Path parameters
storeIdstring required
Query parameters
fromDatestring date-time
Fecha de inicio de la búsqueda.
Example:2020-01-01T00:00:00.000Z
toDatestring date-time
Fecha de fin de la búsqueda.
Example:2020-01-01T00:00:00.000Z
pagenumber
Número de página.
Example:1
limitnumber
Número de items por página. Max 100. Por defecto: 10.
Example:10
sortBy'createdAt'
Campo por el cual se ordenará la lista. Por defecto: "createdAt".
Example:createdAt
sortType'asc' | 'desc'
Tipo de ordenamiento.
Example:desc
Response
The OpenAPI spec
Example response
{
"success": true,
"data": {
"items": [
{
"_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"providerId": "openFactura",
"storeId": "sto-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"tabId": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"inventorySaleId": "isale-4c48bf33-1411-4c3f-adac-db39b4631cb8",
"createdAt": "2020-01-01T00:00:00.000Z",
"generatedAt": "2020-01-01T00:00:00.000Z",
"externalInvoiceId": "123456",
"externalVoidInvoiceId": "654321",
"errorMessage": "Error al generar la factura.",
"voidedAt": "2020-01-01T00:00:00.000Z",
"statusLabel": "Pendiente",
"invoiceURL": "https://getjusto.com/invoice/123456",
"totalAmount": 100,
"taxAmount": 10,
"netAmount": 90
}
]
}
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- warning
added the new
generatingenum value to the///response property for the response status
- warning