{
"code": 0,
"message": "success",
"salesorder": [
{
"customer_id": "460000000044001",
"billing_address_id": "string",
"shipping_address_id": "218500000000142014",
"is_pre_gst": false,
"gst_no": "22AAAAA0000A1Z5",
"gst_treatment": "business_gst",
"place_of_supply": "DU",
"crm_owner_id": "string",
"crm_custom_reference_id": 0,
"zcrm_potential_id": 0,
"vat_treatment": "string",
"tax_treatment": "vat_registered",
"is_reverse_charge_applied": true,
"is_update_customer": false,
"contact_persons_associated": [
{
"contact_person_id": 0,
"contact_person_name": "Peter",
"first_name": "Peter",
"last_name": "Parker",
"contact_person_email": "willsmith@bowmanfurniture.com",
"phone": "+1-925-921-9201",
"mobile": "+1-4054439562",
"communication_preference": {
"is_email_enabled": true,
"is_whatsapp_enabled": true
}
}
],
"salesorder_number": "SO-00001",
"reference_number": " ",
"template_id": 0,
"date": "string",
"documents": [
"string"
],
"shipment_date": "",
"exchange_rate": 1,
"discount": "30%",
"is_discount_before_tax": true,
"discount_type": "entity level",
"salesperson_id": " ",
"salesperson_name": " ",
"merchant_id": "460000000000597",
"merchant_name": "John Louis",
"estimate_id": "string",
"tax_id": "982000000566009",
"tax_authority_id": "460000000066001",
"tax_authority_name": "Illinois Department of Revenue",
"tax_exemption_id": "460000000076002",
"tax_exemption_code": "RESELLER",
"avatax_exempt_no": "string",
"avatax_use_code": 982000000037049,
"is_inclusive_tax": false,
"sub_statuses": [
{
"status_id": "460000000000097",
"status_code": "cs_openshi",
"parent_status": "active",
"description": "Packed is shipped.",
"display_name": "Open Shipped",
"label_name": "cs_openshi",
"color_code": "208eff"
}
],
"custom_fields": [
{
"customfield_id": "46000000012845",
"value": "Normal"
}
],
"location_id": "460000000038080",
"location_name": "string",
"line_items": [
{
"line_item_id": "460000000039131",
"sku": "s12345",
"bcy_rate": 30,
"tax_name": "Sales Group",
"tax_type": "tax",
"tax_percentage": 10.5,
"tax_id": "982000000566009",
"tds_tax_id": "string",
"tax_treatment_code": "uae_others",
"is_taxable": false,
"product_exemption_id": "string",
"product_exemption_code": "string",
"avatax_use_code_id": "string",
"avatax_use_code_desc": "string",
"avatax_tax_code_id": "string",
"avatax_tax_code_desc": "string",
"item_total_inclusive_of_tax": 7500,
"product_type": "goods",
"hsn_or_sac": "string",
"sat_item_key_code": "string",
"unitkey_code": "string",
"is_invoiced": false,
"stock_on_hand": "string",
"image_id": "string",
"image_name": "string",
"image_type": "string",
"project_id": "460000000044019",
"project_name": "REAL TIME TRAFFIC FLUX",
"location_id": "460000000038080",
"location_name": "string"
}
],
"pricebook_id": "string",
"shipping_charge": 0,
"adjustment": 0,
"adjustment_description": " ",
"delivery_method": "Air",
"notes": " ",
"notes_default": "string",
"terms": "Terms and conditions apply.",
"terms_default": "string"
}
]
}