Skip to main content
GET
/
tabs
/
{storeId}
/
invoices
/
{invoiceId}
Get invoice
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/{storeId}/invoices/{invoiceId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_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
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getjusto.com/llms.txt

Use this file to discover all available pages before exploring further.

Obtiene el detalle de un documento tributario generado desde el PDV. Usa este endpoint cuando ya tienes el invoiceId desde el listado de facturación y necesitas revisar el proveedor, cuenta PDV o venta de inventario asociada, estado actual, identificadores externos, URL de descarga y montos del documento. La data siempre queda limitada al website autorizado por el token de API y el documento debe pertenecer al local enviado en storeId.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

storeId
string
required
invoiceId
string
required

Response

The OpenAPI spec

success
boolean
Example:

true

data
object