CreateInvoice
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
dreamclass-secret-key
Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.
tenant
Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is "myaccount"), or your full white-labelled domain. Required on every request.
schoolCode
Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.
Request
This endpoint expects an object.
entityType
entityId
schoolPeriodId
feesFromDate
feesToDate
issueDate
dueDate
privateNotes
publicNotes
notify
Response
OK
id
amount
paidAmount
status
fullname
address
telephone
email
createdAt
issueDate
dueDate
privateNotes
publicNotes
fees
payments
invoiceRefId

