List credit notes
Changed onEndpoint for retrieving a list of credit notes.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/credit-notes/
- AuthAPI key in header Authorization
Query parameters
The unique identifier of the branch.
The unique identifier of the contact.
The timestamp in UTC when the credit note was created
The timestamp in UTC when the credit note was created
Credit note date
Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, branch, contact, contact.persons, journal, line_items, line_items.account, line_items.cost_center, line_items.item, line_items.tax_rate, project, warehouse. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.
External identifier
The timestamp in UTC when the credit note was last modified
The timestamp in UTC when the credit note was last modified
A page number within the paginated result set.
Number of results to return per page.
The unique identifier of the project.
The status of the credit note
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- breaking
the
//response's property type changed fromstringto no type for status - warning
removed the optional property
//from the response with the status - info
added the new optional
queryrequest parameterexpand - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
removed the
arenum value from the//response property for the response status - info
removed the
enenum value from the//response property for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking