{
"vendor_id": " ",
"currency_id": "460000000000097",
"contact_persons_associated": [
{
"contact_person_id": 0,
"communication_preference": {
"is_email_enabled": true,
"is_whatsapp_enabled": true
}
}
],
"purchaseorder_number": "PO-0001",
"gst_treatment": "business_gst",
"tax_treatment": "vat_registered",
"gst_no": "22AAAAA0000A1Z5",
"source_of_supply": "TN",
"destination_of_supply": "TN",
"place_of_supply": "DU",
"pricebook_id": "string",
"reference_number": " ",
"billing_address_id": "string",
"crm_owner_id": "string",
"crm_custom_reference_id": 0,
"template_id": 0,
"date": "2013-10-01",
"delivery_date": "2014-02-10",
"due_date": "6:52 PM",
"exchange_rate": 1,
"discount": "30%",
"discount_account_id": "460000000000403",
"is_discount_before_tax": true,
"is_inclusive_tax": false,
"notes": " ",
"notes_default": "string",
"terms": "Terms and conditions apply.",
"terms_default": "string",
"ship_via": "string",
"delivery_org_address_id": "string",
"delivery_customer_id": "string",
"attention": "string",
"vat_treatment": "string",
"is_update_customer": false,
"salesorder_id": "460000124728314",
"location_id": "460000000038080",
"line_items": [
{
"item_id": 460000000000108,
"account_id": "460000000000358",
"name": "Hard Drive",
"description": "The New York State Department of Taxation and Finance",
"unit": "100GB",
"location_id": "460000000038080",
"hsn_or_sac": "string",
"reverse_charge_tax_id": 982000000567254,
"rate": 1.23,
"quantity": 1,
"item_order": 1,
"tax_id": "982000000566009",
"tds_tax_id": "string",
"tax_treatment_code": "uae_others",
"tax_exemption_code": "RESELLER",
"tax_exemption_id": "460000000076002",
"acquisition_vat_id": "string",
"reverse_charge_vat_id": "string",
"item_custom_fields": [
{
"index": 1,
"value": "Normal"
}
],
"tags": [
{
"tag_id": "460000000094001",
"tag_option_id": "460000000048001",
"tag_name": "Location",
"tag_option_name": "USA"
}
],
"project_id": "460000000044019"
}
],
"custom_fields": [
{
"customfield_id": "46000000012845",
"value": "Normal"
}
],
"documents": [
"string"
]
}