List invoice lines for a quote
Changed onList invoice lines for a quote
ℹ️ This endpoint requires one of the following scopes: quotes:all, quotes:readonly
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/quotes/{quote_id}/invoice_lines
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: quotes:all, quotes:readonly
Path parameters
Query parameters
Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.
Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.
You can choose to sort items on specific attributes Sort field may be prefixed with - for descending order. Example : id will sort by ascending order, -id will sort by descending order. Available fields : id
Headers
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Returns the list of invoice lines for a quote
Example response
{
"has_more": true,
"next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2",
"items": [
{
"id": 444,
"label": "Demo label",
"unit": "piece",
"quantity": "12",
"amount": "50.4",
"currency_amount": "50.4",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor",
"product": {
"id": 3049,
"url": "https://app.pennylane.com/api/external/v2/products/42"
},
"vat_rate": "FR_200",
"currency_amount_before_tax": "30",
"currency_tax": "10",
"tax": "10",
"raw_currency_unit_price": "5",
"discount": {
"value": "25"
},
"section_rank": 1,
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z",
"custom_fields": [
{
"name": "color"
}
]
}
]
}Changes
- warning
added the new
DE_intracom_exempt_BU0233enum value to the//response property for the response status - warning
added the new
ES_intracom_sales_goodsenum value to the//response property for the response status - warning
added the new
ES_intracom_sales_servicesenum value to the//response property for the response status - warning
added the new
ES_isp_purchases_100enum value to the//response property for the response status - warning
added the new
ES_isp_purchases_210enum value to the//response property for the response status - warning
added the new
ES_isp_salesenum value to the//response property for the response status - warning
added the new
ES_suplidoenum value to the//response property for the response status - info
added the new optional
headerrequest parameterX-Company-Id - info
added the required property
//to the response with the status
- warning