Customer Invoices
Delete draft invoice
Changed onDelete a draft customer invoice or draft credit note
ℹ️ This endpoint requires the following scope: customer_invoices:all
delete/api/external/v2/customer_invoices/{id}
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/customer_invoices/{id}
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: customer_invoices:all
Path parameters
idinteger required
The unique identifier of the customer invoice
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
Draft invoice deleted
Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info