PayInvoice

View as Markdown
Used to issue a payment against an invoice. Input variables - invoiceId: number of the invoice (path variable) - json representation of a payment object - amount (decimal) - privateNotes (if any) - publicNotes (if any) - paymentmethod (1 Cash, 2 Bank Transfer, 3 Online, 4 Check,...) - createdAt (optional)

Headers

tenantstringOptional
schoolCodestringOptional

Request

This endpoint expects an object.
amountstringRequired
publicNotesstringRequired
paymentmethodobjectRequired
createdAtdatetimeRequired
privateNotesanyOptional

Response

OK
idinteger
amountinteger
paidAmountinteger
statusinteger
fullnamestring
addressstring
createdAtdatetime
issueDatedate
dueDatedate
feeslist of objects
paymentslist of objects
invoiceRefIdanyOptional
telephoneanyOptional
emailanyOptional
privateNotesanyOptional
publicNotesanyOptional