{
"code": 0,
"message": "success",
"retainerinvoice": {
"retainerinvoice_id": 0,
"retainerinvoice_number": "RET-00003",
"date": "2013-10-01",
"status": "active",
"is_pre_gst": false,
"place_of_supply": "DU",
"project_id": "460000000044019",
"project_name": "REAL TIME TRAFFIC FLUX",
"last_payment_date": " ",
"reference_number": " ",
"customer_id": "460000000044001",
"customer_name": "SAF Instruments Inc",
"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
}
}
],
"currency_id": "460000000000097",
"currency_code": "USD",
"currency_symbol": "$",
"exchange_rate": 1,
"is_viewed_by_client": true,
"client_viewed_time": true,
"is_inclusive_tax": false,
"location_id": "460000000038080",
"location_name": "string",
"line_items": [
{
"line_item_id": "3640355000000319008",
"description": "The New York State Department of Taxation and Finance",
"item_order": 1,
"rate": 1.23,
"bcy_rate": 30,
"tax_id": "982000000566009",
"tax_name": "Sales Group",
"tax_type": "tax",
"tax_percentage": 10.5,
"item_total": 7500,
"location_id": "460000000038080",
"location_name": "string"
}
],
"sub_total": 33,
"total": 10000,
"taxes": "982000000566009",
"payment_made": 0,
"payment_drawn": 26.91,
"balance": "48.75",
"allow_partial_payments": true,
"price_precision": 2,
"payment_options": {
"payment_gateways": [
{
"configured": true,
"additional_field1": "standard",
"gateway_name": "paypal"
}
]
},
"is_emailed": false,
"documents": [
"string"
],
"billing_address": [
"address",
"city",
"state",
"zip",
"country",
"fax",
"attention"
],
"shipping_address": {
"address": {
"city": "New York City",
"state": "New York",
"country": "string",
"attention": "string",
"state_code": "NY",
"street_address1": "No:234,90 Church Street",
"street_address2": "McMillan Avenue"
},
"city": "New York City",
"state": "New York",
"zip": 11364,
"country": "string",
"fax": "string"
},
"notes": " ",
"terms": "Terms and conditions apply.",
"custom_fields": [
{
"customfield_id": "46000000012845",
"value": "Normal"
}
],
"template_id": 0,
"template_name": "Standard Template",
"page_width": "8.27in",
"page_height": "11.69in",
"orientation": "portrait",
"template_type": "standard",
"created_time": "2016-06-05T02:30:08-0700",
"last_modified_time": "string",
"created_by_id": "2112155000000069001",
"attachment_name": "string",
"can_send_in_mail": false,
"invoice_url": "https://invoice.zoho.com/SecurePayment?CInvoiceID=23d84d0cf64f9a72ea0c66fded25a08c8bafd0ab508aff05323a9f80e2cd03fdc5dd568d3d6407bbda969d3e870d740b6fce549a9438c4ea"
}
}