invoices
Create draft invoice
Creates a draft invoice. To move the invoice from a draft to payable state, you must <a href="#invoices_send">send the invoice</a>.<br/><br/>In the JSON request body, include invoice details including merchant information. The <code>invoice</code> object must include an <code>items</code> array.<blockquote><strong>Note:</strong> The merchant that you specify in an invoice must have a PayPal account in good standing.</blockquote>.
post/v2/invoicing/invoices
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 201 Created status code. A JSON response body that shows invoice details is returned if you set <code>prefer=return=representation</code>.
Changes
No recorded changes to this operation across all 1 revision of this API.