API Reference

Create an invoice from a transaction or refund

You can also create an invoice from a transaction created on the Create a transaction/tax calculation or Create a refund API endpoint.

The transaction or refund needs to be in "pending" status.

Once the invoice is created, you can Update a transaction or Update a refund with the invoice information.

Send the following parameter on the request body:

ParameterTypeDescription
transaction_idStringId of the transaction to create the invoice for. The transaction must be on a "pending" status.
refund_idStringId of the refund to create the invoice for. The refund must be on a "pending" status.