Invoice
Update the invoice
Update the invoice
PUT
/
v1
/
invoices
/
{invoice_id}
Headers
X-BUSINESS-API-KEY
string
requiredPath Parameters
invoice_id
string
requiredIt's required field
Body
application/json
customer_name
string
requiredCustomer's email
customer_email
string
requiredCustomer's name
invoice_date
string
requiredThe format is 31/12/2022
due_date
string
Invoice Due Date, format d/m/Y. Example: 31/12/2022
auto_invoice_number
string
auto_invoice_number
invoice_number
string
Invoice Number, required if auto_invoice_number set 0
currency
string
requiredInvoice currency
amount
number
requiredInvoice amount, only required for payment by amount
payment_by
string
requiredPayment is by product or amount
tax_setting
string
Tax id
send_email
integer
default: 0Hitpay to send email receipts to the customer. Default value is 0
webhook
string
Optional URL value to which hitpay will send a POST request when there is a new charge or if there is an error charging the card
reference
string
Invoice Description
footer
string
Invoice Footer
allow_partial_payments
string
allow partial payment of invoice (0 or 1)
partial_payments
object
products
object
stackable_discounts
object
recipients
object
Was this page helpful?