Create an invoice
Create a new invoice for a customer
URI
POST
https://api.tryduplo.com/v1/merchants/invoiceParameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Body Param
recipient_ref
string required
Recipient reference
due_date
string required
Invoice due dare
items
array required
The items array specifies the content in the invoice e.g:
shipping_fee
string required
Shipping fee
business_id
string required
Bussiness id
discount
objectrequired
The discount contains the offered discount(s) for the invoice. e.g:
tax
objectrequired
Tax object. e.g:
note
string
Invoice notes
status
string
Invoice status, this can either be invoice or draft the default value invoice
invoice_number
string
Invoice number
Sample request
Duplo Response
Last updated
Was this helpful?