Skip to main content
GET
/
invoices
/
batches
Listar lotes de facturas
curl --request GET \
  --url https://facture.ar/api/invoices/batches \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "pending",
      "createdAt": "2023-11-07T05:31:56Z",
      "totalItems": 123,
      "processedItems": 123,
      "failedItems": 123,
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "totalPages": 123
  }
}

Authorizations

x-api-key
string
header
required

API Key para autenticación. Formato: test_sk_xxx para testing, prod_sk_xxx para producción.

Query Parameters

status
enum<string>

Filtrar por estado del lote

Available options:
pending,
processing,
completed,
failed
page
integer
default:1

Número de página

Required range: x >= 1
limit
integer
default:20

Elementos por página

Required range: 1 <= x <= 100

Response

200 - application/json

Lista de lotes obtenida exitosamente

data
object[]
meta
object