Sign in

Create invoice

documented

Create a PayPal invoice.

POST /v1/invoicing/invoicesInvoicingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-m.paypal.com/v2/invoicing/invoices" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"detail": {"invoice_number": "{{$invoice_number}}", "reference": "{{$reference}}", "note": "{{$note}}", "terms_and_conditions": "{{$terms}}", "memo": "{{$memo}}", "currency_code": "{{$currency_code}}", "attachments": []}, "primary_recipients": [{"billing_info": {"name": {"given_name": "{{$billing_given_name}}", "surname": "{{$billing_surname}}"}}, "email_address": "{{$customer_email}}"}], "items": [{"name": "{{$item_name}}", "description": "{{$item_description}}", "quantity": "{{$quantity}}", "unit_amount": {"currency_code": "{{$currency_code}}", "value": "{{$unit_price}}"}}]}'}
Create invoice · PayPal · OpenIntegrations