{
"id": 0,
"no": "string",
"date": "string",
"staff_id": 0,
"subscription_id": null,
"store_id": 0,
"type": 0,
"po_number": "string",
"client_id": 0,
"is_offline": 0,
"currency_code": "string",
"client_business_name": "string",
"client_first_name": null,
"client_last_name": null,
"client_email": "string",
"client_address1": "string",
"client_address2": null,
"client_postal_code": null,
"client_city": null,
"client_state": null,
"client_country_code": "string",
"payment_status": 0,
"draft": 0,
"discount": 0,
"due_after": 0,
"issue_date": "string",
"summary_subtotal": 0,
"summary_discount": 0,
"summary_total": 0,
"summary_paid": 0,
"summary_unpaid": 0,
"terms_id": null,
"html_notes": "string",
"created": "string",
"modified": "string",
"required_terms_file": 0,
"last_sent": null,
"invoice_layout_id": 0,
"estimate_id": 0,
"shipping_option_id": null,
"summary_refund": 0,
"client_active_secondary_address": 0,
"client_secondary_name": null,
"client_secondary_address1": "string",
"client_secondary_address2": null,
"client_secondary_city": null,
"client_secondary_state": null,
"client_secondary_postal_code": null,
"client_secondary_country_code": null,
"follow_up_status": null,
"source_type": null,
"source_id": null,
"sales_person_id": 0,
"extra_details": "string",
"discount_amount": 0,
"shipping_amount": null,
"work_order_id": null,
"item_columns": "string",
"branch_id": 0,
"requisition_delivery_status": null,
"item_discount_amount": 0,
"pos_shift_id": null,
"requisitions": [
"string"
],
"adjustment_label": null,
"adjustment_value": null,
"order_source_id": null,
"store": {
"id": 0,
"name": "string",
"active": 0
},
"clients": {
"id": 0,
"group_price_id": null,
"is_offline": 0,
"client_number": "string",
"staff_id": 0,
"business_name": "string",
"first_name": null,
"last_name": null,
"email": null,
"password": null,
"address1": "string",
"address2": null,
"city": null,
"state": null,
"postal_code": null,
"phone1": "string",
"phone2": null,
"country_code": null,
"notes": null,
"active_secondary_address": 0,
"secondary_name": null,
"secondary_address1": "string",
"secondary_address2": null,
"secondary_city": null,
"secondary_state": null,
"secondary_postal_code": null,
"secondary_country_code": null,
"language_code": null,
"default_currency_code": null,
"last_login": null,
"suspend": 0,
"last_ip": null,
"created": "string",
"modified": "string",
"follow_up_status": null,
"category": "string",
"bn1": null,
"bn1_label": null,
"bn2_label": null,
"bn2": null,
"starting_balance": null,
"photo": null,
"birth_date": null,
"gender": null,
"map_location": null,
"type": 0,
"credit_limit": 0,
"credit_period": 0,
"branch_id": 0,
"national_id": null,
"attachment": null,
"category_id": null,
"secondary_follow_up_status": null,
"timezone": 0,
"tags": null,
"assigned_users": null
},
"branch": {
"id": 0,
"name": "string",
"status": 0,
"created": "string",
"modified": "string"
},
"payment": [
{
"invoice_id": 0,
"client_id": null,
"payment_method": "string",
"amount": 0,
"transaction_id": "string",
"date": "string",
"email": null,
"status": 0,
"notes": null,
"response_code": null,
"response_message": null,
"created": "string",
"currency_code": "string",
"first_name": null,
"last_name": null,
"address1": "string",
"address2": null,
"city": null,
"state": null,
"postal_code": null,
"country_code": "string",
"phone1": "string",
"phone2": null,
"attachment": null,
"staff_id": 0,
"payment_work_order_id": null,
"treasury_id": 0,
"pos_shift_id": null,
"receipt_notes": null,
"extra_details": null,
"branch_id": 0,
"id": 0,
"added_by": 0
}
],
"invoice_item": [
{
"invoice_id": 0,
"item": "string",
"description": "string",
"unit_price": 0,
"quantity": 0,
"tax1": 0,
"tax2": 0,
"product_id": 0,
"col_3": "string",
"col_4": "string",
"col_5": null,
"discount": null,
"discount_type": null,
"store_id": 0,
"unit_factor": null,
"unit_small_name": null,
"unit_name": null,
"display_order": 0,
"summary_tax1": 0,
"summary_tax2": 0,
"col_6": null,
"col_7": null,
"col_8": null,
"created": "string",
"modified": "string",
"unit_factor_id": null,
"offer_id": null,
"tracking_data": "string",
"serials": null,
"extra_details": null,
"calculated_discount": 0,
"subtotal": 0,
"id": 0,
"sales_account_id": null,
"cost_center_id": null,
"sales_person_id": null
}
],
"invoice_documents": [
"string"
],
"invoice_custom_fields": [
"string"
],
"invoice_client": {
"id": 0,
"group_price_id": null,
"is_offline": 0,
"client_number": "string",
"staff_id": 0,
"business_name": "string",
"first_name": null,
"last_name": null,
"email": null,
"password": null,
"address1": "string",
"address2": null,
"city": null,
"state": null,
"postal_code": null,
"phone1": "string",
"phone2": null,
"country_code": null,
"notes": null,
"active_secondary_address": 0,
"secondary_name": null,
"secondary_address1": "string",
"secondary_address2": null,
"secondary_city": null,
"secondary_state": null,
"secondary_postal_code": null,
"secondary_country_code": null,
"language_code": null,
"default_currency_code": null,
"last_login": null,
"suspend": 0,
"last_ip": null,
"created": "string",
"modified": "string",
"follow_up_status": null,
"category": "string",
"bn1": null,
"bn1_label": null,
"bn2_label": null,
"bn2": null,
"starting_balance": null,
"photo": null,
"birth_date": null,
"gender": null,
"map_location": null,
"type": 0,
"credit_limit": 0,
"credit_period": 0,
"branch_id": 0,
"national_id": null,
"attachment": null,
"category_id": null,
"secondary_follow_up_status": null,
"timezone": 0,
"tags": null,
"assigned_users": null
},
"invoice_layout": {
"id": 0,
"field1": "string",
"field2": "string",
"field3": "string",
"field4": "string",
"field5": "string",
"image": null,
"staff_id": 0,
"html": "string",
"invoice_title": "string",
"estimate_title": "string",
"creditnote_title": "string",
"business_info": "string",
"logo": "string",
"client_info": "string",
"label_invoice_no": "string",
"label_date": "string",
"label_po_no": "string",
"label_total": "string",
"label_status": "string",
"label_due_days": "string",
"label_due_date": "string",
"label_deposit": "string",
"label_paid_amount": "string",
"label_unpaid_amount": "string",
"label_subtotal": "string",
"label_description": "string",
"label_item": "string",
"label_tax1": null,
"label_tax2": null,
"label_quantity": "string",
"label_unit_price": "string",
"label_item_total": "string",
"label_from_date": "string",
"label_to_date": "string",
"label_discount": "string",
"items_list": "string",
"custom_fields": "string",
"template_id": 0,
"footer": "string",
"created": "string",
"default": 0,
"default_estimate": 0,
"default_creditnote": 0,
"default_refundreceipt": 0,
"simple_item_currency": 0,
"show_balance_due": 0,
"show_ship": 0,
"label_ship": "string",
"ship_info": "string",
"language_id": 0,
"label_shipping": "string",
"item_columns": "string",
"footer_html": null,
"css_style": null,
"view_style": "string",
"label_creditnote_no": "string",
"label_creditnote_to": null,
"label_creditnote_date": "string",
"label_estimate_no": "string",
"label_estimate_date": "string",
"refundreceipt_title": "string",
"quantity_price": "string",
"label_refundreceipt_no": "string",
"label_refundreceipt_date": "string",
"label_to": "string",
"label_refunded": "string",
"alt_template": 0,
"layout_type": 0,
"sticky_footer": "string",
"sticky_header": "string",
"default_purchase_refund": 0,
"default_purchase_order": 0,
"branch_id": 0,
"purchase_order_title": null,
"default_width": 0,
"default_height": 0,
"min_width": 0,
"min_height": 0,
"max_width": 0,
"max_height": 0,
"name": "string"
},
"invoice_installment_agreements": [
"string"
],
"invoice_requisitions": [
"string"
],
"journal_account_route": [
"string"
],
"invoice_appointments": [
"string"
],
"staff": null,
"work_orders": null,
"pos_shifts": null,
"invoice_source_order": null,
"custom_data": null
}