Both sides previous revisionPrevious revisionNext revision | Previous revision |
api:api_invoices [2014/07/12 13:03] – Lauri | api:api_invoices [2024/07/30 11:50] (current) – external edit 127.0.0.1 |
---|
| |
^ Name ^ ^ Description ^ Notes ^ | ^ Name ^ ^ Description ^ Notes ^ |
| | ''byIssuedSince'' | Optional | ISO 8601 datetime. Only show invoices issued after this. | | |
| | ''byCollectedSince'' | Optional | ISO 8601 datetime. Only show invoices collected after this. | | |
| ''byApplicantIDs'' | Optional | List of [[api:api_applicants|applicant ID-s]] | [1] | | | ''byApplicantIDs'' | Optional | List of [[api:api_applicants|applicant ID-s]] | [1] | |
| ''bySerieIDs'' | Optional | List of [[api:api_invoices_series|serie ID-s]] | [1] | | | ''bySerieIDs'' | Optional | List of [[api:api_invoices_series|serie ID-s]] | [1] | |
Content-Length: 1234 | Content-Length: 1234 |
X-Count: 15 | X-Count: 15 |
| |
| |
| ==== Response example ==== |
| |
| { |
| "1": { |
| "nr": "TUIT-123/2014", |
| "applicant": "/api/applicants/65", |
| "issued": "2014-07-12T12:09:42+00:00", |
| "delivered": "2014-07-12T12:09:57+00:00", |
| "deadline": "2019-09-17" |
| "reminded": null, |
| "collected": null, |
| "items": [ |
| { |
| "item": "Tuition fee", |
| "price": "1899", |
| "qty": "1", |
| "unit": "-" |
| } |
| ], |
| "collections": [ |
| { |
| "inserted": "2014-07-12T12:09:42+00:00", |
| "collected": "2014-07-12", |
| "amount": "50.55", |
| "administrator": "/api/administrators/123" |
| } |
| ], |
| "currency": "EUR", |
| "instructions": "dfgsdfgs dfgs\r\ndfg\r\nsdfg\r\nsd\r\nfgsdfgsdfgsdfg", |
| "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." |
| }, |
| "2": { |
| "nr": "APPF-223/2014", |
| "applicant": "/api/applicants/65", |
| "issued": "2014-07-17T10:54:19+00:00", |
| "delivered": "2014-07-17T10:54:19+00:00", |
| "deadline": "2019-09-17" |
| "reminded": null, |
| "collected": null, |
| "items": [ |
| { |
| "item": "Appfee", |
| "price": "44", |
| "qty": "1", |
| "unit": "-" |
| } |
| ], |
| "collections": [], |
| "currency": "EUR", |
| "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." |
| }, |
| } |
| |