⌘K
GET /accounts/me/invoices
Returns a list of invoices for the authenticated account.
Base URL: https://api.geocerta.io
Sandbox URL: https://api-staging.geocerta.io
Authentication required. Include your API key in the
api-keyheader. See Authentication.
Endpoint
GET /accounts/me/invoices
Response
200 OK — returns an array of invoices.
Response fields
| Field | Type | Description |
|---|---|---|
invoice_id | string | Invoice ID |
contact_id | string | Contact ID |
invoice_number | string | Invoice number |
reference | string | null | Invoice reference |
amount | number | Invoice total (GBP) |
sub_total | number | Subtotal before tax (GBP) |
total_tax | number | Tax amount (GBP) |
amount_due | number | Remaining amount due (GBP) |
amount_paid | number | Amount already paid (GBP) |
status | string | Invoice status (e.g. DRAFT, AUTHORISED, PAID, VOIDED) |
date | string | Invoice date |
due_date | string | Payment due date |
overdue | boolean | Whether the invoice is past its due date |
Errors
| Status | Message | Cause |
|---|---|---|
401 | Unauthorized | Missing or invalid API key |
404 | No account associated with the API key | API key is not linked to an account |
Example
curl "https://api.geocerta.io/accounts/me/invoices" \
-H "api-key: YOUR_API_KEY"