factus-js iconfactus-js
Facturas

Ver y filtrar facturas

Listar facturas con filtros y paginación.

Firma del método

list(params?: ListParams<InvoiceFilters>): Promise<GetInvoicesResponse>

Endpoint Factus

GET /v1/bills

Fuente oficial: Ver y filtrar facturas

Parámetros

Prop

Type

Ejemplo

const response = await factus.bills.list({
  filter: {
    status: "1",
    number: "SETP99",
  },
  page: 1,
  per_page: 15,
});

const facturas = response.data.data;
const paginacion = response.data.pagination;

Ejemplo de respuesta

Ver respuesta oficial: Ejemplo de respuesta

En esta página