Skip to main content
An invoice is a payment request you send to a customer for goods or services delivered. In the PayPal Invoicing API, invoices flow through a lifecycle: created as DRAFT, sent to customers, tracked through payment states (UNPAID, PARTIALLY_PAID, PAID), and optionally refunded. The invoice object represents a complete invoice including sender and recipient details, line items, amounts, payment configuration, and status. You receive this object when you create, send, or fetch an invoice.

Sample invoice objects

The following examples show a simple and complex invoice object.

Simple

Complex

Object schema

The following tables document the top-level fields in the invoice object, along with the fields in each nested object.

detail

This is core invoice metadata that is required when creating an invoice.

invoicer

The sender’s business information displayed on the invoice.

primary_recipients

An array of recipient objects. Each entry contains a billing_info object and optionally a shipping_info object.

billing_info

shipping_info

items

An array of line items on the invoice. Each item contains the following fields.

configuration

Options that control invoice behavior and payment rules.

amount

A read-only computed summary of the invoice total. PayPal populates this based on items and configuration.

payments

A read-only record of payments made against the invoice.

refunds

A read-only record of refunds issued against the invoice.

Quick start using Invoicing API

Create and send your first invoice using the PayPal Invoicing API.

Reference

Explore the full schema definitions and interactive examples for the PayPal Invoicing API.