Customer Invoices
List appendices of a customer invoice
Changed onList appendices of a customer invoice
ℹ️ This endpoint requires one of the following scopes: customer_invoices:all, customer_invoices:readonly
get/api/external/v2/customer_invoices/{customer_invoice_id}/appendices
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/customer_invoices/{customer_invoice_id}/appendices
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: customer_invoices:all, customer_invoices:readonly
Path parameters
customer_invoice_idinteger required
Query parameters
cursorstring
Example:dXBkYXRlZF9hdDoxNjc0MTIzNDU2
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.
limitinteger
Example:20
Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.
Headers
X-Company-Idstring
Example:12345
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
The list of appendices of the customer invoice
Example response
{
"has_more": true,
"next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2",
"items": [
{
"url": "https://www.pennylane.com/rails/active_storage/blobs/redirect/eyJfc..==--26d6e7391dd728fae2cde59bd3fbe4dd11e20a95/Invoice42.pdf",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}
]
}Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info