{
"customer_id": "460000000044001",
"currency_id": "460000000000097",
"contact_persons_associated": [
{
"contact_person_id": 0,
"communication_preference": {
"is_email_enabled": true,
"is_whatsapp_enabled": true
}
}
],
"invoice_number": "INV-00004",
"place_of_supply": "DU",
"vat_treatment": "string",
"tax_treatment": "vat_registered",
"is_reverse_charge_applied": true,
"gst_treatment": "business_gst",
"cfdi_usage": "acquisition_of_merchandise",
"cfdi_reference_type": "return_of_merchandise",
"reference_invoice_id": "982000000567005",
"gst_no": "22AAAAA0000A1Z5",
"reference_number": " ",
"template_id": 0,
"date": "2013-10-01",
"payment_terms": 0,
"payment_terms_label": "Due on Receipt",
"due_date": "6:52 PM",
"discount": "30%",
"is_discount_before_tax": true,
"discount_type": "entity level",
"is_inclusive_tax": false,
"exchange_rate": 1,
"recurring_invoice_id": "90300000072369",
"invoiced_estimate_id": " ",
"salesperson_name": " ",
"custom_fields": [
{
"customfield_id": "46000000012845",
"value": "Normal"
}
],
"location_id": "460000000038080",
"line_items": [
{
"item_id": 460000000000108,
"project_id": "460000000044019",
"time_entry_ids": " ",
"product_type": "goods",
"hsn_or_sac": "string",
"sat_item_key_code": "string",
"unitkey_code": "string",
"location_id": "460000000038080",
"expense_id": 982000000030049,
"expense_receipt_name": " ",
"name": "Hard Drive",
"description": "The New York State Department of Taxation and Finance",
"item_order": 1,
"bcy_rate": 30,
"rate": 1.23,
"quantity": 1,
"unit": "100GB",
"discount_amount": 20,
"tags": [
{
"tag_id": "460000000094001",
"tag_option_id": "460000000048001",
"tag_name": "Location",
"tag_option_name": "USA"
}
],
"discount": "30%",
"tax_id": "982000000566009",
"tds_tax_id": "string",
"tax_name": "Sales Group",
"tax_type": "tax",
"tax_percentage": 10.5,
"tax_treatment_code": "uae_others",
"header_name": "Header 1",
"header_id": "982000000567105"
}
],
"payment_options": {
"payment_gateways": [
{
"configured": true,
"additional_field1": "standard",
"gateway_name": "paypal"
}
]
},
"allow_partial_payments": true,
"custom_body": " ",
"custom_subject": " ",
"notes": " ",
"terms": "Terms and conditions apply.",
"shipping_charge": 0,
"adjustment": 0,
"adjustment_description": " ",
"reason": "string",
"tax_authority_id": "460000000066001",
"tax_exemption_id": "460000000076002",
"avatax_use_code": 982000000037049,
"avatax_exempt_no": "string",
"tax_id": "982000000566009",
"expense_id": 982000000030049,
"salesorder_item_id": " ",
"avatax_tax_code": 982000000037049,
"line_item_id": "3640355000000319008"
}