[][src]Module paypal_rs::invoice

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

AggregatedDiscount

The discount

Amount

Represents an amount of money.

BillingInfo

Billing information

Breakdown

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

CancelReason

Cancel invoice reason

Configuration

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

ContactInformation

Contact information

CustomAmount

The custom amount to apply to an invoice

Discount

Discount information

FileReference

Paypal File reference

Invoice

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

InvoiceDetail

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

InvoiceList

A invoice list

InvoicePayload

An invoice payload

InvoicerInfo

The invoicer information.

Item

Item information

Metadata

Metadata about a resource

Name

A name to be used as recipient, etc.

PartialPayment

The partial payment details.

PaymentDetail

Payment detail

PaymentTerm

The payment due date for the invoice.

Payments

Payments registered against the invoice

PhoneDetail

Phone information

QRCodeParams

QR creation parameters

RecipientInfo

Recipient information

RecordPaymentPayload

Used to record a payment.

RefundDetail

Refund details

Refunds

List of refunds

ShippingCost

The shipping fee

Tax

Tax information

Enums

FlowType

Flow type The flow variation

PaymentMethod

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

PaymentTermType

The payment term type.

PaymentType

The payment type in an invoicing flow

Status

The status of the invoice

UnitOffMeasure

The unit of measure for the invoiced item.

Constants

QR_ACTION_DETAILS

QR details action

QR_ACTION_PAY

QR pay action