API Reference

Invoices

Read your practice's issued invoices and the amounts recorded against them.

  • Scope: read_invoices, granted explicitly. Patient or payment scopes don't include it, and existing keys don't gain it automatically.
  • Issued invoices only. Drafts and invoices with no or an unknown status are excluded. Nothing here creates or changes an invoice.
  • Statuses: open, past_due, partially_paid, paid, void, uncollectible, refunded, partially_refunded, credited. Overdue is never inferred from today's date.
  • Amounts are recorded facts, not a recalculated ledger. All seven amount fields (amount_cents, amount_due_cents, amount_paid_cents, amount_refunded_cents, amount_remaining_cents, amount_balance_applied_cents, amount_credited_to_balance_cents) are integers in minor units (pence), keep their sign, and stay null when unrecorded. Inconsistent statuses or dates are not repaired, and no payment, credit or refund total is derived.
  • Don't sum invoices for a billing total. A replaced invoice keeps its original amount alongside its replacement, so adding every row double-counts. The replacement and predecessor ids link them; a link is only shown when the other invoice is visible, in your practice and for the same patient (otherwise that invoice may be unavailable until its reference is fixed).
  • Currency is the exact three-letter code as recorded, case-sensitive and never assumed to be GBP.
  • invoice_number is the issued Stripe number, otherwise the Xero number, otherwise null. It is never Jump's internal id.
  • Not returned: provider ids, hosted, PDF or payment URLs, descriptions, line items, and sync internals.

Listing

Filters: patient_id, status, currency, plus limit (default 20, max 100) and offset (max 100,000). An empty, repeated or unsupported parameter returns 422; a patient_id you can't see returns 404. Newest first. See Pagination. Responses carry Cache-Control: no-store.

Payments, refunds, credits, voiding and line items are separate; see Payments.

GET/invoicesScoperead_invoices

List permitted patient invoices

Requires read_invoices on a live practice key. Draft/null/unknown states are excluded. Invoice, patient and exposed replacement ownership are checked. Amounts are recorded minor-unit integers, not recomputed balances. Null balances/currency remain unknown. Superseded originals can retain billed amounts; summing every row is not a correct aggregate. Sort: created_at DESC NULLS LAST, id DESC. Repeated, empty or unknown query parameters are rejected. No provider payloads, URLs or actions.

Query

limitinteger
20
offsetinteger
0
patient_iduuid
No description yet.
statusstring
openpast_duepartially_paidpaidvoiduncollectiblerefundedpartially_refundedcredited
currencystring

Exact case-sensitive native three-letter code

Responses

200

Bounded invoice page with Cache-Control no-store

403

Missing live invoice read authority

404

Invoice

422

Invalid query

500

Invoice read failed or recorded values exceed safe limits

GET/invoices/{id}Scoperead_invoices

Get one permitted patient invoice

Requires read_invoices; accepts no query parameters. No draft or financial action is provided.

Path

iduuidrequired
No description yet.

Responses

200

Invoice metadata with Cache-Control no-store

403

Missing live invoice read authority

404

Invoice or replacement reference unavailable

422

Invalid identifier or query

500

Invoice read failed

Was this page helpful?