Skip to main content
POST

Body Parameters

string
required
The patient ID
array
required
Invoice line items
string
Invoice notes
number
Discount amount in COP
string
Link the invoice to a clinical record (EMR). An attention can be billed exactly once — to a payer (agreement charge) or to the patient (this endpoint), never both. Linking a record that is already billed on either rail is rejected; see Errors.

Errors

object
Returned when medicalRecordId (or the record resolved from appointmentId) is already billed on the payer rail (an active, non-voided agreement charge) or already has an active particular invoice. An attention is billed once, on one rail; re-billing it after its existing charge or invoice is voided is allowed.
409