Invoices
API version
Select a version to change the base URI
in syntax and code examples. Learn about versions:
in syntax and code examples. Learn about versions
Represents a list of invoices issued for an applicant.
/api/v10/applicants/ID/invoicesGDPR information
Due to GDPR regulations, you can delete applicants from the system using the Right to be forgotten tool, batch purges (by academic term) or individual applicant record deletions.
To preserve the accounting history, DreamApply retains invoices in the system after an applicant record is deleted. During deletion, it detaches invoices from the applicant records, removing the data association. As a result:
- In the list of invoices, these invoices are marked with the anonymous icon.
- In the API response, the
applicantandapplicationfields are set tonull.
The collected field indicates whether an invoice is paid in full. Partial collections do not update this field. Collections in excess reset this field to null. If you edit an invoice after the payment and this edit changes the invoice amount, this field is also set to null. For invoices with a value of 0, the field value remains undefined.
GET List invoices
List all invoices issued for an applicant.
GET /api/v10/applicants/123/invoices
Host: apply.example.edu
Authorization: DREAM apikey="..."Example request
curl \
-X GET \
-H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
"https://apply.example.edu/api/v10/applicants/123/invoices"Response headers
| Header | Value | Description |
|---|---|---|
Content-Type | application/json | The media type of the resource |
Content-Length | 1234 | The size of the response body in bytes |
X-Count | 2 | The number of returned invoices |
Response codes
| Response code | Description |
|---|---|
200 OK | The list of invoices was successfully returned |
Example response
{
"320": {
"id": 320,
"type": "Invoice",
"nr": "AF-12345678",
"serie": {
"id": 2,
"name": "Application fee"
},
"applicant": "/api/v10/applicants/415",
"application": "/api/v10/applications/432",
"course": null,
"deadline": "2026-05-29",
"issued": "2026-05-15T11:16:11+00:00",
"delivered": "2026-05-15T11:16:11+00:00",
"reminder": true,
"reminded": "2026-05-27T00:01:21+00:00",
"collected": null,
"currency": "EUR",
"items": [
{
"item": "Application fee (one-time)",
"price": "20.00",
"qty": "1.00",
"unit": null,
"inventory_item_ID": null
}
],
"collections": {},
"instructions": "Invoice instructions",
"smallprint": "Please make sure that you include the invoice number in the payment transaction. Otherwise the payment may not get properly processed.\r\n\r\nThis invoice has been issued electronically and is valid without a signature. The invoice is issued in accordance to the region that you specified during your registration. If the region (and the currency) is not correct, please contact us for re-issuance.",
"payer": {
"name": "John Smith",
"email": "john.smith@email.com"
}
},
"321": {
"id": 321,
"type": "Receipt",
"nr": "SH-12345",
"serie": {
"id": 123,
"name": "Shopping invoice series"
},
"applicant": "/api/v10/applicants/415",
"application": "/api/v10/applications/441",
"course": "/api/v10/courses/20",
"deadline": "2026-09-01",
"issued": "2026-05-15T11:42:45+00:00",
"delivered": null,
"reminder": false,
"reminded": null,
"collected": "2026-05-28T12:34:37+00:00",
"currency": "EUR",
"items": [
{
"item": "Airport pickup fee",
"price": "25.00",
"qty": "1.00",
"unit": null,
"inventory_item_ID": null
},
{
"item": "City excursion fee",
"price": "25.00",
"qty": "1.00",
"unit": null,
"inventory_item_ID": null
}
],
"collections": {
"60": {
"id": 60,
"amount": "50.00",
"invoice": "/api/v10/invoices/321",
"inserted": "2026-05-28T12:34:37+00:00",
"collected": "2026-05-28",
"administrator": null,
"payment": {
"payment": "01KSQ97NQQE2VB9E0Q1RDT24AB",
"external_id": "pi_3Tc38x3BsCbItDpn1nhonSAP",
"status": "captured",
"message": null,
"inserted": "2026-05-28T12:34:03+00:00",
"updated": "2026-05-28T12:34:37+00:00",
"gateway": {
"id": 39,
"name": "Stripe",
"adapter": "Stripe"
}
}
}
},
"instructions": "Invoice instructions",
"smallprint": "This invoice has been issued electronically and is valid without a signature",
"payer": {
"name": "John Smith",
"email": "john.smith@email.com"
}
}
}