curl --request GET \
--url https://api.quentli.com/v1/invoices/{id} \
--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",
"concept": null,
"quantity": 1
}
],
"subscriptionId": "sub_1234567890abcdefghij",
"expireDate": null,
"paidById": null,
"beneficiaryId": null,
"paidWithId": null,
"canceledAt": null,
"canceledById": null,
"meta": {
"Ciclo Escolar": "2025-1"
}
}Returns an invoice by id.
curl --request GET \
--url https://api.quentli.com/v1/invoices/{id} \
--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",
"concept": null,
"quantity": 1
}
],
"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_....
Identifier of the invoice.
Invoice details
Invoice details response. Returns null if the invoice does not exist.
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
Line items included in this invoice.
Show child attributes
[
{
"id": "invi_1234567890abcdefghij",
"description": "Colegiatura Enero 2025",
"conceptId": "pc_1234567890abcdefghij",
"concept": null,
"quantity": 1
}
]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?