{
"customer_id": "460000000044001",
"currency_id": "460000000000097",
"contact_persons_associated": [
{
"contact_person_id": 0,
"communication_preference": {
"is_email_enabled": true,
"is_whatsapp_enabled": true
}
}
],
"date": "2013-10-01",
"is_draft": true,
"exchange_rate": 1,
"line_items": [
{
"item_id": 460000000000108,
"invoice_id": "",
"invoice_item_id": "982000000567021",
"description": "The New York State Department of Taxation and Finance",
"code": "basic-monthly",
"name": "Hard Drive",
"type": "customer",
"account_id": "460000000000358",
"account_name": "Undeposited Funds",
"quantity": 1,
"tax_id": "982000000566009",
"tds_tax_id": "string",
"tax_treatment_code": "uae_others",
"product_type": "goods",
"sat_item_key_code": "string",
"unitkey_code": "string",
"serial_numbers": [
"string"
],
"location_id": "460000000038080",
"project_id": "460000000044019"
}
],
"location_id": "460000000038080",
"creditnote_number": "CN-29",
"gst_treatment": "business_gst",
"tax_treatment": "vat_registered",
"is_reverse_charge_applied": true,
"gst_no": "22AAAAA0000A1Z5",
"cfdi_usage": "acquisition_of_merchandise",
"cfdi_reference_type": "return_of_merchandise",
"place_of_supply": "DU",
"ignore_auto_number_generation": true,
"reference_number": " ",
"custom_fields": [
{
"customfield_id": "46000000012845",
"value": "Normal"
}
],
"notes": " ",
"terms": "Terms and conditions apply.",
"template_id": 0,
"tax_id": "982000000566009",
"tax_authority_id": "460000000066001",
"tax_exemption_id": "460000000076002",
"avatax_use_code": 982000000037049,
"avatax_exempt_no": "string",
"vat_treatment": "string",
"is_inclusive_tax": false,
"avatax_tax_code": 982000000037049
}