An array of invoice-level details.
Note: This array does not return item details for the invoice.
An array of invoice objects.
statusenumOptionalConnected to an invoice. The customer clicks Pay on the invoice to make a payment. The payment is automatically recorded.
Disconnected from an invoice. The customer pays by check, wire transfer, or another method. The merchant manually records the payment.
| Status | Occurs when |
|---|---|
DRAFT | A merchant creates a draft invoice. Note: A customer cannot pay an invoice with this status. A customer cannot pay an invoice until it has a status of |
UNPAID | A merchant chooses to suppress the PayPal email notification when he or she sends the invoice through the API or the Create Invoice page, and then manually sends the invoice link in his or her own email. To send an invoice without email notification, the merchant either:
|
SENT | A merchant accepts the default PayPal email notification when he or she sends the invoice through the API or the Create Invoice page. PayPal automatically emails the invoice to the customer and a Pay button appears on the invoice, which enables the customer to pay the invoice. In a web app, the invoice appears as |
SCHEDULED | A merchant schedules an invoice to send on a future date. At 07:00 on that date in the preferred time zone of the merchant's PayPal account profile, PayPal emails an invoice notification to the merchant and the customer, adds an online payment button to the customer’s view of the invoice, and updates the invoice status to |
PARTIALLY_PAID | A customer makes a partial payment for the invoice through one of these methods:
|
PAYMENT_PENDING | A customer pays an invoice but the payment is pending for one of these reasons:
Note: Most payments never go into a payment-pending state. |
PAID | A customer fully pays the invoice through one of these methods:
|
MARKED_AS_PAID | A customer makes a disconnected payment for the balance of the invoice. The merchant manually marks the invoice as paid. |
CANCELLED | A merchant or customer cancels a sent invoice. You can cancel an invoice in |
REFUNDED | A merchant fully refunds an invoice through one these methods:
|
PARTIALLY_REFUNDED | A merchant partially refunds an invoice through one or both of these methods:
|
MARKED_AS_REFUNDED | A merchant makes a disconnected refund, such as a check payment, for the invoice balance and manually marks the invoice as fully refunded. Note: A merchant can only mark a marked-as-paid invoice as refunded. |
merchant_infoobject<merchant-info>Requiredaddressobject<address>Optionalcountry_codestringRequiredNote: The country code for Great Britain is `GB` and not `UK` as is used in that country's top-level domain names. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
statestringOptionalphoneobject<phone>Optionalfaxobject<phone>Optionalbilling_infoobject<billing-info>[]OptionalNote: This value is an array with only one element.
phoneobject<phone>Optionaladdressobject<address>Optionalcountry_codestringRequiredNote: The country code for Great Britain is `GB` and not `UK` as is used in that country's top-level domain names. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
statestringOptionallanguageenumOptionalshipping_infoobject<shipping-info>Optionaladdressobject<address>Optionalcountry_codestringRequiredNote: The country code for Great Britain is `GB` and not `UK` as is used in that country's top-level domain names. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
statestringOptionalcc_infoobject<participant>[]Optionalitemsobject<invoice-item>[]Optionalunit_priceobject<currency>RequiredvaluestringRequiredtaxobject<tax>Optionalamountobject<currency>OptionalvaluestringRequireddiscountobject<discount>Optionalamountobject<currency>OptionalvaluestringRequiredpayment_termobject<payment-term>Optionaldiscountobject<discount>Optionalamountobject<currency>OptionalvaluestringRequiredshipping_costobject<shipping-cost>Optionalamountobject<currency>OptionalvaluestringRequiredtaxobject<tax>Optionalamountobject<currency>OptionalvaluestringRequiredcustomobject<custom-amount>Optionalamountobject<currency>OptionalvaluestringRequiredminimum_amount_dueobject<currency>OptionalvaluestringRequiredtotal_amountobject<currency>OptionalvaluestringRequiredpaymentsobject<payment-detail>[]Optionalamountobject<currency>OptionalvaluestringRequiredrefundsobject<refund-detail>[]OptionaltypeenumOptionalamountobject<currency>OptionalvaluestringRequiredmetadataobject<metadata>Optionalpaid_amountobject<payment-summary>Optionalpaypalobject<currency>OptionalvaluestringRequiredotherobject<currency>OptionalvaluestringRequiredrefunded_amountobject<payment-summary>Optionalpaypalobject<currency>OptionalvaluestringRequiredotherobject<currency>OptionalvaluestringRequiredattachmentsobject<file-attachment>[]Optionalallow_tipbooleanOptionalNote: This feature is not available for merchants in `Hong Kong`, `Taiwan`, `India`, or `Japan`.
template_idstringOptionalNote: If you are just using the Invoicing APIs to create and send invoices, leave this field blank. The `template_id` is only needed if you use the Invoicing API to build a full invoicing solution that includes templates.
linksobject<link_description>[]OptionalhrefstringRequiredrelstringRequiredmethodenumOptionalschemaobject<link_schema>OptionaladditionalItemsobject<additionalItems>Optionaldependenciesobject<dependencies>Optionalitemsobject<items>OptionalpatternPropertiesobject<patternProperties>Optionalpropertiesobject<properties>OptionalallOfarray<allOf>OptionalanyOfarray<anyOf>OptionaloneOfarray<oneOf>Optionalnotobject<not>Optionallinksarray<links>Optionalmediaobject<media>OptionaltargetSchemaobject<link_schema>OptionaladditionalItemsobject<additionalItems>Optionaldependenciesobject<dependencies>Optionalitemsobject<items>OptionalpatternPropertiesobject<patternProperties>Optionalpropertiesobject<properties>OptionalallOfarray<allOf>OptionalanyOfarray<anyOf>OptionaloneOfarray<oneOf>Optionalnotobject<not>Optionallinksarray<links>Optionalmediaobject<media>Optional