PayInvoice
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
tenant
schoolCode
Request
This endpoint expects an object.
amount
publicNotes
paymentmethod
createdAt
privateNotes
Response
OK
id
amount
paidAmount
status
fullname
address
createdAt
issueDate
dueDate
fees
payments
invoiceRefId
telephone
email
privateNotes
publicNotes

