Invoice Line Items
List invoice line items
Changed onEndpoint for retrieving a list of invoice line items.
get/invoices/{invoice_id}/line-items/
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/invoices/{invoice_id}/line-items/
- AuthAPI key in header Authorization
Path parameters
invoice_idstring required
Query parameters
expandstring
Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, item, tax_rate, cost_center. Nested relations are joined with a dot.
pageinteger
A page number within the paginated result set.
page_sizeinteger
Number of results to return per page.
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- breaking
added to the
//response propertyoneOflist for the response status - info
added the new optional
queryrequest parameterexpand - info
removed from the
//response propertyoneOflist for the response status
- breaking