PayPal Invoices API is one of 37 APIs that PayPal publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Invoices. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes
14 operations
across 11 paths,
and defines 82 schemas.
It is described by OpenAPI 3.0.3, at version 1.6.
Requests are made against 2 base URLs: https://api-m.sandbox.paypal.com, https://api-m.paypal.com.
The identity and technical contract details declared by the specification.
payment_term
object
The payment term of the invoice. Payment can be due upon receipt, a specified date, or in a set number of days.
1 property
link_description
object
The request-related [HATEOAS link](/docs/api/reference/api-responses/hateoas-links) information.
3 properties
2 required
error_422
object
The requested action cannot be performed and may require interaction with APIs or processes outside of the current request. This is distinct from a 500 respons…
5 properties
invoices.update-400
object
1 property
phone_detail
object
The phone details. Includes the phone number and type.
1 required
invoice
object
The invoice details which includes all information of the invoice like items, billing information.
15 properties
1 required
refunds
object
The invoicing refund details. Includes the refund type, date, amount, and method.
2 properties
error_link_description
object
The request-related [HATEOAS link](/api/rest/responses/hateoas-links) information.
3 properties
2 required
phone
object
The phone number, in its canonical international [E.164 numbering plan format](https://www.itu.int/rec/T-REC-E.164/en).
3 properties
2 required
invoice_payment_term
object
The payment term of the invoice. Payment can be due upon receipt, a specified date, or in a set number of days.
amount_summary_detail
object
The invoice amount summary of item total, discount, tax total, and shipping.
3 properties
template_metadata
object
The audit metadata. Captures all template actions on create and update.
4 properties
error_default
The default error response.
detail
object
The details of the invoice like notes, terms and conditions, memo, attachments.
6 properties
1 required
business_name
object
The business name of the party.
1 property
invoices.cancel-422
object
1 property
invoices.create-400
object
1 property
payment_type
string
The payment type. Can be PayPal or an external payment. Includes cash or a check.
error_401
object
Authentication failed due to missing Authorization header, or invalid authentication credentials.
5 properties
email_address
string
The internationalized email address. Note: Up to 64 characters are allowed before and 255 characters are allowed after the @ sign. However, the generally accep…
date_time
string
The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339section-5.6). Seconds are required while fractional seconds are option…
payment_reference
object
The reference to the payment detail.
1 property
refund_detail
object
The refund details of the invoice. Includes the refund type, date, amount, and method.
5 properties
1 required
language
string
The [language tag](https://tools.ietf.org/html/bcp47section-2) for the language in which to localize the error-related strings, such as messages, issues, and s…
invoices.payments-delete-422
object
1 property
invoices.payments-400
object
1 property
error_403
object
The client is not authorized to access this resource, although it may have valid credentials.
5 properties
invoices.remind-400
object
1 property
name
object
The name of the party.
7 properties
invoices.refunds-400
object
1 property
invoice_detail
object
The details of the invoice. Includes invoice number, date, payment terms, and audit metadata.
partial_payment
object
The partial payment details. Includes the minimum amount that the invoicer expects from the payer.
2 properties
discount
object
The discount as a percent or amount at invoice level. The invoice discount amount is subtracted from the item total.
2 properties
template_configuration
object
The template configuration details. Includes tax information, tip, and partial payment.
4 properties
qr_config
object
The configuration for a QR code.
3 properties
invoices.generate-qr-code-400
object
1 property
payment_method
string
The payment mode or method through which the invoicer can accept the payments.
country_code
string
The [two-character ISO 3166-1 code](/docs/integration/direct/rest/country-codes/) that identifies the country or region. Note: The country code for Great Brita…
invoicer_info
object
The invoicer business information that appears on the invoice.
unit_of_measure
string
The unit of measure for the invoiced item.
refund_reference
object
The reference to the refund payment detail.
1 property
file_reference
object
The file reference. Can be a file in PayPal MediaServ, PayPal DMS, or other custom store.
5 properties
error_404
object
The server has not found anything matching the request URI. This either means that the URI is incorrect or the resource is not available.
5 properties
phone_type
string
The phone type.
payment_term_type
string
The payment term. Payment can be due upon receipt, a specified date, or in a set number of days.
error_details
object
The error details. Required for client-side 4XX errors.
5 properties
1 required
invoices.cancel-400
object
1 property
recipient_info
object
The billing and shipping information. Includes name, email, address, phone, and language.
2 properties
202-response
object
The HTTP 202 Accepted response.
1 property
amount_with_breakdown
object
The breakdown of the amount. Includes total item amount, total tax amount, custom amount, and shipping and discounts, if any.
5 properties
payment_detail
object
The payment details of the invoice. Includes payment type, method, date, discount, and transaction type.
7 properties
1 required
error_503
object
The server is temporarily unable to handle the request, for example, because of planned maintenance or downtime.
4 properties
invoices.payments-422
object
1 property
currency_code
string
The [three-character ISO-4217 currency code](/docs/integration/direct/rest/currency-codes/) that identifies the currency.
shipping_cost
object
The shipping fee for all items. Includes tax on shipping.
2 properties
billing_info
object
The billing information of the invoice recipient. Includes name, address, email, phone, and language.
invoices.remind-422
object
1 property
error_500
object
This is either a system or application error, and generally indicates that although the client appeared to provide a correct request, something unexpected has…
4 properties
payments
object
An array of payments registered against the invoice.
2 properties
error_409
object
The server has detected a conflict while processing this request.
5 properties
invoice_creation_flow
string
The frequency at which the invoice is sent: Multiple recipient. Sent to multiple recipients. Batch. Sent in a batch. Regular single. Sent one time to a single…
item
object
An array of invoice line item information. The maximum items for an invoice is 100.
9 properties
3 required
date_no_time
string
The stand-alone date, in [Internet date and time format](https://tools.ietf.org/html/rfc3339section-5.6). To represent special legal values, such as a date of…
aggregated_discount
object
The discount. Can be an item- or invoice-level discount, or both. Can be applied as a percent or amount. If you provide both amount and percent, amount takes p…
2 properties
invoice_status
string
The status of the invoice.
metadata
object
The audit metadata. Captures all invoicing actions on create, send, update, and cancel.
notification
object
The email or SMS notification to send to the invoicer or payer on sending an invoice.
5 properties
configuration
object
The invoice configuration details. Includes partial payment, tip, and tax calculated after discount.
invoices.refunds-422
object
1 property
money
object
The currency and amount for a financial transaction, such as a balance or payment due.
2 properties
2 required
address_portable
object
The portable international postal address. Maps to [AddressValidationMetadata](https://github.com/googlei18n/libaddressinput/wiki/AddressValidationMetadata) an…
10 properties
1 required
error_400
object
Request is not well-formed, syntactically incorrect, or violates schema.
5 properties
contact_name_address
object
The contact information of the user. Includes name and address.
tax
object
The tax information. Includes the tax name and tax rate of invoice items. The tax amount is added to the item total.
3 properties
2 required
invoice_number
object
The invoice number.
1 property
error_415
object
The server does not support the request payload's media type.
5 properties
percentage
string
The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as 19.99.
invoices
object
An array of merchant invoices. Includes the total invoices count and [HATEOAS links](/docs/api/reference/api-responses/hateoas-links) for navigation.
4 properties
custom_amount
object
The custom amount to apply to an invoice. If you include a label, you must include a custom amount.
2 properties
1 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs PayPal publishes across the network.