Copy an Invoice

Makes a copy of an invoice. The invoice date will be set to today's date, and the due date will be adjusted based on the invoice date and the payment terms.

To make a copy of the invoice with a different invoice number, include invoice_number in the POST body. Invoice payments from the original invoice will not be copied.

Note: This operation requires special permissions for vendor account use. Contact Qualpay Support to enable it.

Path Params
int64
required

The invoice ID, returned as the invoice_id value in a 'Create an Invoice' response.

Body Params

Invoice

string

Format: Variable length, up to 25 AN
Description: The invoice number (also referred to as the purchase identifier) generated by the merchant for the cloned invoice. By default, if this field is not sent, the cloned invoice will have the same invoice number as the original invoice.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json