- List invoices to manage your billing operations:
- View all invoices with filters and create customer dashboards to track payment history.
- Reconcile billing data with your internal systems for accurate record keeping.
- Get the invoice details of a specific customer and display invoice information to the customer.
List invoices
Use a valid access token and make a GET call to the/v1/commerce/billing/invoices?issuing_date_from={date}&issuing_date_to={date} endpoint with required query parameters. On successful request processing, PayPal returns the list of filtered invoices.
Query parameters
| Parameter name | Description |
|---|---|
pagestring | Page number for retrieval. |
per_pagestring | Number of invoices per page. |
issuing_date_fromRequired, string | Filter invoices issued after this date (YYYY-MM-DD). |
issuing_date_toRequired, string | Filter invoices issued before this date (YYYY-MM-DD). |
statusstring | Filter invoices by status. Possible values: DRAFT: The invoice is in draft state and can be modifiedFINALIZED: The invoice has been finalized and cannot be modified |
payment_statusstring | Filter invoices by payment status. Possible values: PENDING: Invoices awaiting paymentFAILED: Invoices with a failed payment statusSUCCEEDED: Invoices with a successful payment status |
external_customer_idstring | Filter invoices pertaining to a customer. Use the external_id you provided when you registered the customer. |
Response parameter
This section documents only the response parameters relevant for the next step. For the exhaustive list of response parameters, see API reference.
| Parameter name | Description and further action |
|---|---|
idstring | Unique identifier for the invoice. Use this id in future operations, such as when retrieving invoice details. |
Get invoice details
Use a valid access token and make a GET call to the/v1/commerce/billing/invoices/{invoice_id} endpoint.
Path parameter: invoice_id is the id returned in the List invoices response.
On successful request processing, PayPal returns detailed invoice information. You can send or show the invoice information in the appropriate format to your customer.
For the exhaustive list of response parameters, see API reference.