Skip to content
agovena.
agovena.
Get started
Community

API overview

List the customer's invoices

Choose an operation to see its request, response shape, access rules and implementation source.

ReadAuthenticated

GET/api/v1/invoices

List the customer's invoices

Sanctum session or bearer token. Required bearer ability: invoices.read

Request
FieldInRule
pageQuery stringOptional page number; default 1. No per_page or sort override.

No request body.

cURL
curl --request GET "https://shop.example.test/api/v1/invoices" \
  --header 'Accept: application/json' \
  --header "Authorization: Bearer $API_TOKEN" \
  --get \
  --data-urlencode 'page=1'
Response200
Success: 200

Response shape (notation, not a captured response)

schema
{ data: Invoice[], links, meta }

Full response schema

Common errors
HTTP statusMeaning
401unauthenticated: missing or invalid authentication.
403unauthorized, insufficient_scope or ip_not_allowed: check account context, required ability and token IP policy.
429rate_limited: back off before retrying, especially writes.
Error envelope and global caveats

Search documentation

Search guides, commands and API endpoints

What are you looking for?

Documentation