Skip to main content
POST
Create Manual Invoice

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
patientId
string
required

Identifier of the patient to create the invoice for.

message
string
required

Custom message to be sent with the invoice.

invoiceMethod
enum<string>
required

Method to use for sending the invoice.

Available options:
CHARGE_CARD,
SMS,
EMAIL,
CALL,
MAIL,
EXPIRY
charges
ChargeDetail · object[] | null

Optional charge to create before invoicing. If not provided, will invoice existing outstanding charges.

Response

Successful Response

id
string
required
status
enum<string>
required

The status of an invoice.

Available options:
PENDING,
SENT,
FAILED,
PAUSED,
CANCELLED
amount
integer
required
methodsAttempted
tuple[]
required
method
enum<string> | null

The method used to send an invoice to a patient.

Available options:
CHARGE_CARD,
SMS,
EMAIL,
CALL,
MAIL,
EXPIRY
rule
RuleDetails · object | null
sendTime
string<date-time> | null
pausedDate
string<date-time> | null
resumedDate
string<date-time> | null
failedReason
string | null
pdfPath
string | null
emailStatus
string | null
smsContent
string | null
callStatus
string | null