{
"status_code": 0,
"error_message": "string",
"result": {
"order_status": "string",
"id": 0,
"document_code": "string",
"document_type": "string",
"paper_number": "string",
"run_sheet_id": "string",
"customer_id": 0,
"customer": {
"id": 0,
"name": "string",
"code": "string",
"relatedaccountcode": "string",
"phone": "string",
"mobile": "string",
"email": "string",
"payment_type": "string",
"credit_limit": 0,
"balance": 0,
"shipping_term": "string",
"insurance": "string",
"has_discount": true,
"discount_from": 0,
"discount_to": 0,
"customer_type": "string",
"pricing_type": "string",
"payment_max_due_days": 0,
"related_account_id": 0,
"related_account_parent_id": 0,
"tax_registeration_id": "string",
"external_id": "string",
"customer_addresses": [
{
"id": 0,
"customer_id": 0,
"name": "string",
"country_id": 0,
"city_id": 0,
"district_id": 0,
"street": "string",
"description": "string",
"is_default": true,
"entity_state": "string",
"address_phone": "string"
}
]
},
"customer_name": "string",
"customer_mobile": "string",
"salesPerson_id": 0,
"warehouse_id": 0,
"warehouse_name": "string",
"salesstore_id": 0,
"salesperson_name": "string",
"shippment_cost": 0,
"document_date": "2019-08-24T14:15:22Z",
"shipping_date": "2019-08-24T14:15:22Z",
"gross_total": 0,
"sub_total": 0,
"net_total": 0,
"total_item_discounts": 0,
"discount": 0,
"discount_rate": 0,
"taxable": true,
"apply_tax_after_discount": true,
"tax": 0,
"cash_amount": 0,
"onAccount_ammount": 0,
"cash_paid": 0,
"currency_id": 0,
"exchange_rate": 0,
"channel": "string",
"notes": "string",
"external_id": "string",
"related_workorder_code": "string",
"related_workorder_value": 0,
"tags": [
"string"
],
"related_salesreturn_codes": [
"string"
],
"related_salesorder_codes": [
"string"
],
"payment_information": {
"property1": 0,
"property2": 0
},
"salesOrder_details": [
{
"id": 0,
"document_id": 0,
"quantity": 0,
"Issuedquantity": 0,
"unit_price": 0,
"price": 0,
"tax_rate": 0,
"tax_id": 0,
"item_discount": 0,
"item_discount_type": 0,
"warehouse_id": 0,
"bundle_id": 0,
"service_item_id": 0,
"stock_item_id": 0,
"stock_item_code": "string",
"stock_item_description": "string",
"unit_of_measure_id": 0,
"batch_number": "string",
"expiry_date": "2019-08-24T14:15:22Z",
"comments": "string",
"returned_quantity": 0,
"insert_user_id": 0,
"insert_date": "2019-08-24T14:15:22Z",
"update_user_id": 0,
"update_date": "2019-08-24T14:15:22Z",
"bundle_quantity": 0,
"related_serials": [
"string"
]
}
],
"salesOrder_installments": [
{
"id": 0,
"document_id": 0,
"days_limit": 0,
"amount": 0,
"due_date": "2019-08-24T14:15:22Z",
"account_id": 0,
"payment_type": "string"
}
],
"document_number": "string",
"invoice_number": "string",
"fulfillment_date": "2019-08-24T14:15:22Z",
"device_serial": "string",
"insert_user_id": 0,
"insert_date": "2019-08-24T14:15:22Z",
"update_user_id": 0,
"update_date": "2019-08-24T14:15:22Z",
"address_id": 0,
"payment_status": "string",
"other_credit_amount": 0,
"is_approved": true,
"is_issued": true,
"require_auto_workorder": true
},
"total_count": 0
}