The customers of the organization, most recently invoiced first, by cursor
One customer per document, written by the emission (a boleta without document creates none) and validated afterwards when SUNAT data can say (today, only a RUC; other documents are unsupported). name is the validated name when there is one, else the last one invoiced with. q is a document number (exact) or part of the name (without case or accents). The invoices of a customer: GET /v1/invoices?customer={id}. Every role that reads invoices has customers:read; a service account with explicit permissions needs it granted.
GET
https://api.invox.page/v1/customersAuthorization
Query parameters
Header parameters
Returns
200
A page of customers, has_more and next_cursor.
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid · cursor_invalid: The after cursor is not valid
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires · organization_mismatch: The X-Organization header names another organization than the key's
JSON
404
not_found: The resource does not exist in this organization
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON