- 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 send a GET request to/v1/commerce/billing/invoices?issuing_date_from={date}&issuing_date_to={date}
with required query parameters. On successful request processing, PayPal returns the list of filtered invoices.
Query parameters
Parameter name | Description |
---|---|
page string | Page number for retrieval. |
per_page string | Number of invoices per page. |
issuing_date_from Required, string | Filter invoices issued after this date (YYYY-MM-DD). |
issuing_date_to Required, string | Filter invoices issued before this date (YYYY-MM-DD). |
status string | 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_status string | 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_id string | Filter invoices pertaining to a customer. |
Response parameter
Note: 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 |
---|---|
id string | Unique identifier for the invoice. Use this value as the invoice_id parameter in the Get invoice details call to retrive details of a specific invoice. |
Get invoice details
Use a valid access token and send a GET request to/v1/commerce/billing/invoices/{invoice_id}
. Use the id
value 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.
Note: For the exhaustive list of response parameters, see API reference.