CreateInvoice

View as Markdown
Creates a new Invoice Input variables - json representation of new Invoice parameters - entityType (student | guardian) - to select if you are invoicing a Student or a Guardian - entityId - the id of the entity you are invoicing - schoolPeriodId - the id of the School Period you are invoicing - feesFromDate - include all uninvoiced feed from that date - feesToDate - include all uninvoiced feed to that date - issueDate - dueDate - privateNotes - publicNotes - notify (true | false) - to send auto notification to the invoice recipient

Headers

tenantstringOptional
schoolCodestringOptional

Request

This endpoint expects an object.
notifybooleanRequired
dueDatedateRequired
entityIdintegerRequired
issueDatedateRequired
entityTypestringRequired
feesToDatedateRequired
publicNotesstringRequired
feesFromDatedateRequired
privateNotesstringRequired
schoolPeriodIdintegerRequired

Response

OK
idinteger
feeslist of objects
emailstringformat: "email"
amountinteger
statusinteger
addressstring
dueDatedate
fullnamestring
paymentslist of any
createdAtdatetime
issueDatedate
telephonestring
paidAmountinteger
publicNotesstring
privateNotesstring
invoiceRefIdany