Billing
List the invoices of the site subscription
Invoices of the subscription of the site, newest first, 12 per page, with amounts in the smallest currency unit and a link to the PDF. Only the invoices of this site’s own subscription are listed: those of the owner’s other sites and one-off purchases such as credit packs are not. A site without a subscription invoice reads an empty list. No billing address, tax number, payment method or payment page is returned.
GET
/
profiles
/
{profile_id}
/
billing
/
invoices
Error
A valid request URL is required to generate request examples{
"data": [
{
"id": "<string>",
"status": "<string>",
"currency": "<string>",
"amount_due": 123,
"amount_paid": 123,
"created_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z",
"pdf_url": "<string>",
"number": "<string>"
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pagination": {
"limit": 50,
"has_more": true,
"next_cursor": "<string>"
},
"catalog": {
"available_count": 1,
"enriched_count": 1,
"truncated": true
}
}
}{
"error": {
"code": "insufficient_quota",
"message": "The current article generation quota is exhausted.",
"request_id": "33333333-3333-4333-8333-333333333333",
"retryable": false
}
}{
"error": {
"code": "insufficient_quota",
"message": "The current article generation quota is exhausted.",
"request_id": "33333333-3333-4333-8333-333333333333",
"retryable": false
}
}Authorizations
OAuth2PersonalAPIKey
Path Parameters
Query Parameters
⌘I
Error
A valid request URL is required to generate request examples{
"data": [
{
"id": "<string>",
"status": "<string>",
"currency": "<string>",
"amount_due": 123,
"amount_paid": 123,
"created_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z",
"pdf_url": "<string>",
"number": "<string>"
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pagination": {
"limit": 50,
"has_more": true,
"next_cursor": "<string>"
},
"catalog": {
"available_count": 1,
"enriched_count": 1,
"truncated": true
}
}
}{
"error": {
"code": "insufficient_quota",
"message": "The current article generation quota is exhausted.",
"request_id": "33333333-3333-4333-8333-333333333333",
"retryable": false
}
}{
"error": {
"code": "insufficient_quota",
"message": "The current article generation quota is exhausted.",
"request_id": "33333333-3333-4333-8333-333333333333",
"retryable": false
}
}
