Send invoice
POST
/v2/invoicing/invoices/{invoice_id}/send
- If the invoice issue date is current or in the past, sends the invoice immediately.
- If the invoice issue date is in the future, schedules the invoice to be sent on that date.
send_to_invoicer
body parameter to false
. To send the invoice through a share link and not through PayPal, set the send_to_recipient
parameter to false
in the notification
object. The send_to_recipient
parameter does not apply to a future issue date because the invoice is scheduled to be sent through PayPal on that date.Notes:
- After you send an invoice, resending it has no effect.
- To send a notification for updates, update the invoice and set the
send_to_recipient
body parameter totrue
.
请求参数
Path 参数
invoice_id
string
必需
示例值:
{{invoice_id}}
Header 参数
Content-Type
string
必需
示例值:
application/json
PayPal-Request-Id
string
必需
示例值:
{{$guid}}
Body 参数application/json
示例代码
返回响应
修改于 2023-08-16 07:18:59