invoices
Generate invoice number
Generates the next invoice number that is available to the merchant. The next invoice number uses the prefix and suffix from the last invoice number and increments the number by one. For example, the next invoice number after INVOICE-1234 is INVOICE-1235.
post/v2/invoicing/generate-next-invoice-number
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.
Request body
Response
A successful request returns the HTTP 200 OK status code and a JSON response body that shows the next invoice number.
Changes
No recorded changes to this operation across all 1 revision of this API.