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
createdAt
publicNotes
paymentmethod
privateNotes
Response
OK
id
fees
amount
status
address
dueDate
fullname
payments
createdAt
issueDate
paidAmount
email
telephone
publicNotes
invoiceRefId
privateNotes

