invoices
Delete invoice
Deletes a draft or scheduled invoice, by ID. Deletes invoices in the draft or scheduled state only. For invoices that have already been sent, you can <a href="/docs/api/invoicing/v2/#invoices_cancel">cancel the invoice</a>. After you delete a draft or scheduled invoice, you can no longer use it or show its details. However, you can reuse its invoice number.
delete/v2/invoicing/invoices/{invoice_id}
Request
- Base URLhttps://api-m.paypal.com
- AuthOAuth 2Client credentialsToken URL/v1/oauth2/tokenScopeshttps://uri.paypal.com/services/invoicing/invoices/readwrite
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoice_idstring required
The ID of the draft invoice to delete.
Response
A successful request returns the HTTP 204 No Content status code with no JSON response body.
Changes
No recorded changes to this operation across all 1 revision of this API.