Skip to main content
PUT
/
api
/
sale-invoices
/
{id}

Headers

Authorization
string
required
Example:
organization-id
string
required

Path Parameters

id
number
required

Body

application/json
customerId
number
required
Example:
invoiceDate
string<date-time>
required
Example:
dueDate
string<date-time>
required
Example:
entries
object[]
required
Minimum length: 1
attachments
string[]
required
Example:
invoiceNo
string
Example:
referenceNo
string
Example:
delivered
boolean
default:false
invoiceMessage
string
Example:
termsConditions
string
Example:
exchangeRate
number
Required range: x >= 0
Example:
warehouseId
number
Example:
branchId
number
Example:
projectId
number
Example:
isInclusiveTax
boolean
Example:
pdfTemplateId
number
Example:
paymentMethods
object[]
discount
number
Example:
discountType
enum<string>
Available options:
percentage,
amount
Example:
adjustment
number
Example:
fromEstimateId
number
Example:

Response