salesorderId
ID of the sales order to update.
customerId
ID of the customer to whom the sales order has to be created.
contactPersons
A list of contact person(s) for whom sales order has to be sent.
date
The date, the sales order is created.
shipmentDate
Shipping date of sales order.
customFields
A list of custom field objects for a sales order. **Example: {\
placeOfSupply
Place where the goods/services are supplied to. (If not given, `place of contact` given for the contact will be taken).
salespersonId
ID of the salesperson.
merchantId
ID of the merchant.
gstTreatment
Choose whether the contact is GST registered/unregistered/consumer/overseas.
gstNo
15 digit GST identification number of the customer.
isInclusiveTax
Used to specify whether the line item rates are inclusive or exclusive of tax.
lineItems
A list of line items objects of a sales order. **Example: {\
notes
Notes for this Sales Order.
terms
The terms added below expressing gratitude or for conveying some information.
billingAddressId
ID of the Billing Address
shippingAddressId
ID of the Shipping Address.
vatTreatment
Enter vat treatment.
taxTreatment
VAT treatment for the invoice.
salesorderNumber
Mandatory if auto number generation is disabled.
referenceNumber
**For Customer Only** : If a contact is assigned to any particular user, that user can manage transactions for the contact
isUpdateCustomer
Boolean to update billing address of customer.
discount
Discount applied to the sales order. It can be either in % or in amount. e.g. 12.5% or 190.
exchangeRate
Exchange rate of the currency.
salespersonName
Name of the sales person.
notesDefault
Default Notes for the Sales Order
termsDefault
Default Terms of the Sales Order.
taxAuthorityId
ID of the tax authority. Tax authority depends on the location of the customer. For example, if the customer is located in NY, then the tax authority is NY tax authority.
taxExemptionId
ID of the tax exemption.
taxAuthorityName
Tax Authority
taxExemptionCode
Code of Tax Exemption that is applied.
avataxExemptNo
ID of the tax exemption.
avataxUseCode
Used to group like customers for exemption purposes. It is a custom value that links customers to a tax rule.
shippingCharge
Shipping charges applied to the invoice.
estimateId
ID of the estimate associated with the Sales Order.
isDiscountBeforeTax
Used to specify how the discount has to applied. Either before or after the calculation of tax.
discountType
How the discount is specified. Allowed values are entity_level or item_level.
templateId
ID of the PDF template.
documents
A list of documents.
ignoreAutoNumberGeneration
Ignore auto sales order number generation for this sales order. This mandates the sales order number.
canSendInMail
Can the file be sent in mail.
totalFiles
Total number of files.
doc
Document that is to be attached