Retrieve bill
Changed onEndpoint for retrieving a single bill.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/bills/{id}/
- AuthAPI key in header Authorization
Path parameters
Query parameters
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. 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}.
Response
Changes
- breaking
added to the
//response propertyoneOflist for the response status - breaking
the
response's property type changed fromstringto no type for status - info
added the new optional
queryrequest parameterexpand - info
added to the
response propertyallOflist for the response status - info
removed the
arenum value from theresponse property for the response status - info
removed the
enenum value from theresponse property for the response status - info
removed from the
//response propertyoneOflist 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 - info
added the required property
to the response with the status
- breaking