Customer Invoices
Upload an appendix for a customer invoice
Changed onUpload a file that will be an appendix attached to a customer invoice.
Note that this will not upload a file into the DMS (GED).
ℹ️ This endpoint requires the following scope: customer_invoices:all
post/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
Path parameters
customer_invoice_idinteger required
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.
Request body multipart/form-data
Response
Returns the created appendix
Example response
{
"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