Customer Invoices

Delete draft invoice

Changed on

Delete 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 URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/v2/customer_invoices/{id}
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token 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