PayPal Invoices API

Use the `/invoices` resource to create, update, and send invoices and invoice reminders. To manage invoices, you can also list invoices, show details for invoices, delete draft invoices, and cancel sent invoices. You can also record payments for invoices to mark them as fully or partially paid, or record refunds for invoices to mark them as fully or partially refunded. You can create QR codes for invoices that can be scanned, viewed, and paid by a mobile phone.

GitHub OpenAPI
Business capability
Accounts Receivable Management BC-200.30

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/invoicing/invoices Create a draft invoice · Paypal Create draft invoice #
Ask an LLM
“How do I create an invoice before sending it?”
“What items and amounts must a draft invoice include?”
Tell an agent
Create a draft invoice with items {items}.
Draft an invoice for {primary_recipients} with amount {amount}.
GET /v2/invoicing/invoices List invoices · Paypal List invoices #
Ask an LLM
“Which invoices have my customers paid and which are still outstanding?”
“Can I page through my invoices and get each page's total?”
Tell an agent
List my invoices.
Show invoices with fields {fields}, {page_size} per page.
POST /v2/invoicing/invoices/{invoice_id}/send Send an invoice to a customer · Paypal Send invoice #
Ask an LLM
“How do I email a customer's invoice to them right now?”
“Can I hold an invoice to go out on a future date?”
Tell an agent
Send invoice {invoice_id}.
Send invoice {invoice_id} to recipient {send_to_recipient} with subject {subject}.
POST /v2/invoicing/invoices/{invoice_id}/remind Send a reminder for an invoice · Paypal Send invoice reminder #
Ask an LLM
“How do I remind a customer about an unpaid invoice?”
“Can I add a note to an invoice reminder?”
Tell an agent
Remind the payer of invoice {invoice_id}.
Send a reminder for invoice {invoice_id} with note {note}.
POST /v2/invoicing/invoices/{invoice_id}/cancel Cancel a sent invoice · Paypal Cancel sent invoice #
Ask an LLM
“How do I cancel an invoice I already sent?”
“Can I notify the customer when an invoice is cancelled?”
Tell an agent destructive · confirm first
Cancel invoice {invoice_id}.
Cancel invoice {invoice_id} with note {note}.
POST /v2/invoicing/invoices/{invoice_id}/payments Record a payment on an invoice · Paypal Record payment for invoice #
Ask an LLM
“How do I record a payment a customer made on an invoice?”
“What happens to an invoice when a payment is recorded?”
Tell an agent
Record a {method} payment of {amount} on invoice {invoice_id}.
Mark invoice {invoice_id} as paid with payment {payment_id}.
DELETE /v2/invoicing/invoices/{invoice_id}/payments/{transaction_id} Delete an external payment from an invoice · Paypal Delete external payment #
Ask an LLM
“How do I remove a cash or check payment I recorded on an invoice?”
“Can I delete an external payment transaction from an invoice?”
Tell an agent destructive · confirm first
Delete external payment {transaction_id} from invoice {invoice_id}.
Remove the cash payment {transaction_id} on invoice {invoice_id}.
POST /v2/invoicing/invoices/{invoice_id}/refunds Record a refund against an invoice · Paypal Record refund for invoice #
Ask an LLM
“How do I record a refund for a customer's invoice?”
“What happens to the invoice status once a refund is recorded?”
Tell an agent
Record a {type} refund of {amount} on invoice {invoice_id} using method {method}.
Refund {amount} for invoice {invoice_id} via {method} with refund ID {refund_id}.
DELETE /v2/invoicing/invoices/{invoice_id}/refunds/{transaction_id} Delete an external refund from an invoice · Paypal Delete external refund #
Ask an LLM
“Can I remove a refund that was recorded on an invoice?”
“How do I delete an external refund transaction?”
Tell an agent destructive · confirm first
Delete external refund {transaction_id} from invoice {invoice_id}.
Remove refund transaction {transaction_id} on invoice {invoice_id}.
POST /v2/invoicing/invoices/{invoice_id}/generate-qr-code Generate a QR code for an invoice · Paypal Generate QR code #
Ask an LLM
“How do I create a QR code to let customers pay an invoice by scanning?”
“Can I change the size or URL type of an invoice QR code?”
Tell an agent
Generate a QR code for invoice {invoice_id}.
Make a {width}x{height} {action} QR code for invoice {invoice_id}.
POST /v2/invoicing/generate-next-invoice-number Generate the next invoice number · Paypal Generate invoice number #
Ask an LLM
“What is the next invoice number available to me?”
“How does the next invoice number increment?”
Tell an agent
Generate the next invoice number.
Get the next invoice number after my last one.
GET /v2/invoicing/invoices/{invoice_id} Get an invoice's details · Paypal Show invoice details #
Ask an LLM
“What are the line items and totals on a specific invoice?”
“Can I look up one invoice by its ID?”
Tell an agent
Show invoice {invoice_id}.
Get the details of invoice {invoice_id}.
PUT /v2/invoicing/invoices/{invoice_id} Fully update an invoice · Paypal Fully update invoice #
Ask an LLM
“How do I change an invoice's items or amount in one update?”
“Does updating an invoice support partial changes?”
Tell an agent
Fully update invoice {invoice_id} with {detail}.
Replace the items on invoice {invoice_id} with {items}.
DELETE /v2/invoicing/invoices/{invoice_id} Delete a draft or scheduled invoice · Paypal Delete invoice #
Ask an LLM
“How do I delete an invoice I haven't sent yet?”
“Can I delete a scheduled invoice before it goes out?”
Tell an agent destructive · confirm first
Delete draft invoice {invoice_id}.
Remove scheduled invoice {invoice_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paypal:paypal-invoices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paypal-invoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paypal Invoices API
  description: Use the Invoicing API to create, send, and manage invoices.
  version: '2.3'
  contact: {}
servers:
- url: https://api-m.sandbox.paypal.com
  description: PayPal Sandbox Environment
- url: https://api-m.paypal.com
  description: PayPal Live Environment
tags:


# --- truncated at 32 KB (146 KB total) ---
# Full source: https://artifacts.apis.io/paypal/openapi/paypal-invoices-api-openapi.yml