{
"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": [
{
"line_id": "460000000038005",
"account_id": "460000000000358",
"customer_id": "460000000044001",
"customer_name": "SAF Instruments Inc",
"account_name": "Undeposited Funds",
"description": "The New York State Department of Taxation and Finance",
"debit_or_credit": "debit",
"tax_exemption_id": "460000000076002",
"tax_exemption_type": "string",
"tax_exemption_code": "RESELLER",
"tax_authority_id": "460000000066001",
"tax_authority_name": "Illinois Department of Revenue",
"tax_id": "982000000566009",
"tax_name": "Sales Group",
"tax_type": "tax",
"tax_percentage": 10.5,
"amount": 2000,
"bcy_amount": 2000,
"acquisition_vat_id": "string",
"acquisition_vat_name": "string",
"acquisition_vat_percentage": "string",
"acquisition_vat_amount": "string",
"reverse_charge_vat_id": "string",
"reverse_charge_vat_name": "string",
"reverse_charge_vat_percentage": "string",
"reverse_charge_vat_amount": "string",
"tags": [
{
"tag_id": "460000000094001",
"tag_option_id": "460000000048001",
"tag_name": "Location",
"tag_option_name": "USA"
}
],
"location_id": "460000000038080",
"location_name": "string",
"project_id": "460000000044019",
"project_name": "REAL TIME TRAFFIC FLUX"
}
],
"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,
"item_id": 460000000000108,
"account_id": "460000000000358",
"name": "Hard Drive",
"avatax_tax_code": 982000000037049,
"description": "The New York State Department of Taxation and Finance",
"unit": "100GB",
"rate": 1.23,
"quantity": 1
}