factus-js iconfactus-js
Notas crédito

Ver y filtrar notas crédito

Listar notas crédito con filtros y paginación.

Firma del método

list(params?: ListParams<CreditNoteFilters>): Promise<GetCreditNotesResponse>

Endpoint Factus

GET /v1/credit-notes

Fuente oficial: Ver y filtrar notas crédito

Parámetros

Prop

Type

Ejemplo

const response = await factus.creditNotes.list({
  filter: { status: "1" },
  page: 1,
  per_page: 10,
});

const creditNotes = response.data.data;
const pagination = response.data.pagination;

Ejemplo de respuesta

Ver respuesta oficial: Ejemplo de respuesta

En esta página