One customer
const url = 'https://example.com/v1/receivables/customers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/receivables/customers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Requires receivables.customer.read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The customer
object
object
The organization’s user-defined field values by key (GET /org/custom-fields); {} when none.
object
True when this party is currently mapped to another company of a group the organization belongs to (its own map; see /consolidation/counterparties). Dealings with it are group transactions and are eliminated in a consolidation run.
Example
{ "party_kind": "organization", "registration_type": "brn"}Headers
Section titled “Headers”The record’s revision, quoted.
Not authenticated, or the session is no longer valid.
object
A stable refusal code the client branches on, where the status alone is not enough: owner_role_manage_required and self_lockout on the role editor’s 409s; revision_mismatch (a stale If-Match) and document_bound_elsewhere (the document backs another record) on an expense claim’s 409s.
Example generated
{ "code": "example", "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}The caller does not hold the permission this operation requires.
object
A stable refusal code the client branches on, where the status alone is not enough: owner_role_manage_required and self_lockout on the role editor’s 409s; revision_mismatch (a stale If-Match) and document_bound_elsewhere (the document backs another record) on an expense claim’s 409s.
Example generated
{ "code": "example", "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}No such record in this organization.
object
A stable refusal code the client branches on, where the status alone is not enough: owner_role_manage_required and self_lockout on the role editor’s 409s; revision_mismatch (a stale If-Match) and document_bound_elsewhere (the document backs another record) on an expense claim’s 409s.
Example generated
{ "code": "example", "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}A rate limit was reached: per API key, per organization across its keys, or per source address for repeated failed key authentication. Retry after the number of seconds in Retry-After. Every answer on a key carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset.
object
A stable refusal code the client branches on, where the status alone is not enough: owner_role_manage_required and self_lockout on the role editor’s 409s; revision_mismatch (a stale If-Match) and document_bound_elsewhere (the document backs another record) on an expense claim’s 409s.
Example generated
{ "code": "example", "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds until a retry may succeed.