Smileline
ReferenceLedgerLedgerPatientidPayments

Take a payment

A payment on the patient's account, allocated to the named charges and then oldest-first (a balance carried in from an earlier account is paid like a charge, from the date it is owed since); any remainder stays as credit. With `holdForPlanId` the payment is held for that treatment plan: it pays only the plan's treatments (409 PLAN_ENDED when the plan has ended) until the plan ends or staff release the hold. With `accountId`, a patient who has moved to another account since answers 409 ACCOUNT_CHANGED and nothing posts.

Loading the API reference…