curl --request GET \
--url https://api.quentli.com/v1/invoices \
--header 'Authorization: Bearer <token>'[
{
"id": "inv_1234567890abcdefghij",
"createdAt": "2025-01-10T12:00:00.000Z",
"updatedAt": "2025-01-10T12:00:00.000Z",
"customerId": "cus_1234567890abcdefghij",
"collectionMethod": "SEND_REMINDER",
"totalAmount": 150000,
"currency": "MXN",
"dueDate": "2025-02-01T06:00:00.000Z",
"organizationId": "org_1234567890abcdefghij",
"isPaid": false,
"amountPaid": 0,
"allowOfftimePayment": false,
"items": [
{
"id": "invi_1234567890abcdefghij",
"description": "Colegiatura Enero 2025",
"conceptId": "pc_1234567890abcdefghij",
"quantity": 1,
"concept": {
"id": "pc_1234567890abcdefghij",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"displayName": "Colegiatura",
"amount": 150000,
"currency": "MXN",
"organizationId": "org_1234567890abcdefghij",
"active": true,
"amountEditable": false,
"quantityEditable": false,
"oneOff": false,
"groupId": null,
"group": {
"id": "pcg_1234567890abcdefghij",
"name": "Colegiaturas"
},
"description": "Colegiatura mensual de preparatoria",
"sku": "COL-PREP-001",
"recurrentDetailId": null,
"recurrentDetail": null
}
}
],
"subscriptionId": "sub_1234567890abcdefghij",
"expireDate": null,
"paidById": null,
"beneficiaryId": null,
"paidWithId": null,
"canceledAt": null,
"canceledById": null,
"meta": {
"Ciclo Escolar": "2025-1"
}
}
]Returns invoices.
curl --request GET \
--url https://api.quentli.com/v1/invoices \
--header 'Authorization: Bearer <token>'[
{
"id": "inv_1234567890abcdefghij",
"createdAt": "2025-01-10T12:00:00.000Z",
"updatedAt": "2025-01-10T12:00:00.000Z",
"customerId": "cus_1234567890abcdefghij",
"collectionMethod": "SEND_REMINDER",
"totalAmount": 150000,
"currency": "MXN",
"dueDate": "2025-02-01T06:00:00.000Z",
"organizationId": "org_1234567890abcdefghij",
"isPaid": false,
"amountPaid": 0,
"allowOfftimePayment": false,
"items": [
{
"id": "invi_1234567890abcdefghij",
"description": "Colegiatura Enero 2025",
"conceptId": "pc_1234567890abcdefghij",
"quantity": 1,
"concept": {
"id": "pc_1234567890abcdefghij",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"displayName": "Colegiatura",
"amount": 150000,
"currency": "MXN",
"organizationId": "org_1234567890abcdefghij",
"active": true,
"amountEditable": false,
"quantityEditable": false,
"oneOff": false,
"groupId": null,
"group": {
"id": "pcg_1234567890abcdefghij",
"name": "Colegiaturas"
},
"description": "Colegiatura mensual de preparatoria",
"sku": "COL-PREP-001",
"recurrentDetailId": null,
"recurrentDetail": null
}
}
],
"subscriptionId": "sub_1234567890abcdefghij",
"expireDate": null,
"paidById": null,
"beneficiaryId": null,
"paidWithId": null,
"canceledAt": null,
"canceledById": null,
"meta": {
"Ciclo Escolar": "2025-1"
}
}
]Organization API key using Authorization: Bearer sk_....
A qs-encoded invoiceFilter object.
"isPaid=false&dueDate[gte]=2025-01-01T00:00:00.000Z"
Pagination offset.
x >= 00
Pagination limit.
1 <= x <= 10020
A qs-encoded invoiceOrderBy object.
"createdAt=desc"
Invoices list
Unique identifier of the invoice.
"inv_1234567890abcdefghij"
Date and time when the invoice was created.
"2025-01-10T12:00:00.000Z"
Date and time when the invoice was last updated.
"2025-01-10T12:00:00.000Z"
Identifier of the customer this invoice belongs to.
"cus_1234567890abcdefghij"
How payment is collected: AUTOMATIC, SEND_REMINDER, or NONE.
AUTOMATIC, SEND_REMINDER, NONE "SEND_REMINDER"
Computed total amount of the invoice in minor units.
150000
ISO 4217 currency code for the invoice.
"MXN"
Date and time when payment is due.
"2025-02-01T06:00:00.000Z"
Identifier of the organization that owns this invoice.
"org_1234567890abcdefghij"
Whether the invoice has been fully paid.
false
Total amount paid so far in minor units.
0
Whether payment is accepted outside the due window.
false
Show child attributes
Identifier of the subscription that generated this invoice, if any.
"sub_1234567890abcdefghij"
Date and time when the invoice expires.
null
Identifier of the customer who paid the invoice.
null
Identifier of the beneficiary customer, if any.
null
Identifier of the payment that settled the invoice.
null
Date and time when the invoice was canceled.
null
Identifier of the user who canceled the invoice.
null
Flattened metadata map where each key maps to a string value.
Show child attributes
{ "Ciclo Escolar": "2025-1" }Was this page helpful?