Skip to main content
GET
Receipts
When to use it: To check whether and how a patient paid, or what was collected in a period. Amounts are in cents.

Authorizations

Authorization
string
header
required

Brelio API key (organization or user) or a WorkOS access token.

Query Parameters

cursor
string

next_cursor of the previous page. Omit it for the first page.

Maximum string length: 200
limit
integer
default:25

Page size, 1 to 100.

Required range: 1 <= x <= 100
patientId
string<uuid>

Only this patient’s receipts.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
from
string<date-time>

Received at or after, ISO 8601.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
to
string<date-time>

Received at or before, ISO 8601.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
includeReversed
boolean

Also list receipts reversed by a correction. Default false.

Response

Success

data
object[]
required
next_cursor
string | null
required

Pass it as cursor to read the next page; null on the last page.

has_more
boolean
required