Expand description

Use the Invoicing API to create, send, and manage invoices. You can also use the API or webhooks to track invoice payments. When you send an invoice to a customer, the invoice moves from draft to payable state. PayPal then emails the customer a link to the invoice on the PayPal website. Customers with a PayPal account can log in and pay the invoice with PayPal. Alternatively, customers can pay as a guest with a debit card or credit card. For more information, see the Invoicing Overview and the Invoicing Integration Guide.

Reference: https://developer.paypal.com/docs/api/invoicing/v2/

Structs

The discount

Represents an amount of money.

Billing information

The breakdown of the amount. Breakdown provides details such as total item amount, total tax amount, custom amount, shipping and discounts, if any.

Cancel invoice reason

The invoice configuration details. Includes partial payment, tip, and tax calculated after discount.

Contact information

The custom amount to apply to an invoice

Discount information

Paypal File reference

Definition: https://developer.paypal.com/docs/api/invoicing/v2/#invoices_get

The details of the invoice. Includes the invoice number, date, payment terms, and audit metadata.

A invoice list

An invoice payload

The invoicer information.

Item information

Metadata about a resource

A name to be used as recipient, etc.

The partial payment details.

Payment detail

The payment due date for the invoice.

Payments registered against the invoice

Phone information

QR creation parameters

Recipient information

Used to record a payment.

Refund details

List of refunds

The shipping fee

Tax information

Enums

Flow type The flow variation

The payment mode or method through which the invoicer can accept the payment.

The payment term type.

The payment type in an invoicing flow

The status of the invoice

The unit of measure for the invoiced item.

Constants

QR details action

QR pay action