Skip to content

Instantly share code, notes, and snippets.

@tanvirraj
Last active November 25, 2021 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanvirraj/eab1788db48edef07e30c2b50746f90b to your computer and use it in GitHub Desktop.
Save tanvirraj/eab1788db48edef07e30c2b50746f90b to your computer and use it in GitHub Desktop.
{
"id": 13,
"created_at": "2021-11-15T12:43:07.000000Z",
"reference_number": "21111500006",
"internal_reference_number": null,
"required_by_date": "2021-11-15T21:00:00.000000Z",
"expiry_date": "2021-11-15T21:00:00.000000Z",
"expired_at": null,
"pay_term": 0,
"pay_term_unit": "days",
"payment_option": 1,
"payment_option_name": "Advanced",
"vat_percentage": 0.15,
"vat_amount": 3900,
"sub_total": 26000,
"grand_total": 29900,
"status": 1,
"status_name": "Draft",
"accepted_at": null,
"accepted_by": null,
"acceptance_note": null,
"rejected_at": null,
"rejected_by": null,
"rejection_note": null,
"is_archived": false,
"archived_at": null,
"archived_by": null,
"archiving_note": null,
"cancellation_requested_at": null,
"cancellation_requested_by": null,
"cancellation_request_note": null,
"cancellation_requested_accepted_at": null,
"cancellation_requested_accepted_by": null,
"cancellation_request_acceptance_note": null,
"cancellation_requested_rejected_at": null,
"cancellation_requested_rejected_by": null,
"cancellation_request_rejection_note": null,
"payment_date": null,
"payment_status": 1,
"payment_status_name": "Outstanding",
"note": null,
"company_id": 4,
"company": {
"id": 4,
"name": "Company Fleet",
"registration_number": "3817376611",
"vat_number": "287366178826370",
"country_id": 191,
"country": {
"id": 191,
"name": "Saudi Arabia",
"states": []
},
"district": "As Sulimaniyah",
"state_id": 4122,
"state": {
"id": 4122,
"name": "Riyadh Province"
},
"city_id": 48328,
"city": {
"id": 48328,
"name": "Riyadh"
},
"zipcode": "12245",
"landmark": "3165 Al Urubah Rd, As Sulimaniyah, Riyadh 12245 8404, Saudi Arabia",
"national_address": null,
"street": "3165Al Urubah Road",
"address_line1": null,
"address_line2": null,
"landline": "0138569321",
"mobile": "+90 552 455 04 70",
"email": "omar@spare.com",
"website": "www.spare.com",
"type": 1,
"is_approved": true,
"is_rejected": false,
"brands": [],
"delivery_areas": []
},
"retail_id": 5,
"retail": {
"id": 5,
"name": "Star Shop",
"registration_number": "7166467300",
"vat_number": "888888888888888",
"country_id": 191,
"country": {
"id": 191,
"name": "Saudi Arabia",
"states": []
},
"district": "Al Wurud",
"state_id": 4122,
"state": {
"id": 4122,
"name": "Riyadh Province"
},
"city_id": 48328,
"city": {
"id": 48328,
"name": "Riyadh"
},
"zipcode": "12215",
"landmark": "Olaya Street Olaya street - facing، Center Point, Al Wurud, Riyadh 12215, Saudi Arabia",
"national_address": null,
"street": "7452طريق الملك فهد الفرعي",
"address_line1": null,
"address_line2": null,
"landline": "0138569321",
"mobile": "+966552455048",
"email": "omar@gmail.com",
"website": null,
"type": 2,
"is_approved": true,
"is_rejected": false,
"brands": [
{
"id": 7,
"name": "Ford",
"manufacture_id": 1,
"manufacture": {
"id": 1,
"name": "American",
"brands": []
}
},
{
"id": 4,
"name": "Chrysler",
"manufacture_id": 1,
"manufacture": {
"id": 1,
"name": "American",
"brands": []
}
},
{
"id": 84,
"name": "Hyundai",
"manufacture_id": 5,
"manufacture": {
"id": 5,
"name": "Korean",
"brands": []
}
},
{
"id": 85,
"name": "KIA",
"manufacture_id": 5,
"manufacture": {
"id": 5,
"name": "Korean",
"brands": []
}
},
{
"id": 37,
"name": "BMW",
"manufacture_id": 3,
"manufacture": {
"id": 3,
"name": "European",
"brands": []
}
},
{
"id": 81,
"name": "Toyota",
"manufacture_id": 4,
"manufacture": {
"id": 4,
"name": "Japanese",
"brands": []
}
},
{
"id": 77,
"name": "Nissan",
"manufacture_id": 4,
"manufacture": {
"id": 4,
"name": "Japanese",
"brands": []
}
},
{
"id": 18,
"name": "Tesla",
"manufacture_id": 1,
"manufacture": {
"id": 1,
"name": "American",
"brands": []
}
}
],
"delivery_areas": [
{
"id": 48324,
"name": "Nairyah"
},
{
"id": 48320,
"name": "Al Khobar"
},
{
"id": 48328,
"name": "Riyadh"
},
{
"id": 48321,
"name": "Khafji"
}
]
},
"user_id": 13,
"user": {
"id": 3,
"full_name": "Omar Hendi",
"title": "Mr",
"phone": "+90 552 455 04 70",
"email": "omar@spare.com",
"username": "Omar-company",
"company_id": 4,
"approval_status": 0
},
"items_total_quantity": 520,
"is_expired": true,
"items": [
{
"id": 21,
"part_number": "5262",
"vin_number": "A7687684654545645",
"part_name": "Air filter",
"quantity": 520,
"brand_id": 7,
"brand": {
"id": 7,
"name": "Ford",
"manufacture_id": 1,
"manufacture": {
"id": 1,
"name": "American",
"brands": []
}
},
"price": 50,
"is_returnable": 1,
"is_replacement": 0,
"quotation_item_id": 3,
"quotation_item": {
"id": 3,
"part_number": "12demo12",
"vin_number": "1N4AL11D96C260042",
"part_name": "Motor",
"quantity": 10,
"brand_id": 37,
"brand": {
"id": 37,
"name": "BMW",
"manufacture_id": 3,
"manufacture": {
"id": 3,
"name": "European",
"brands": []
}
},
"price": null,
"is_returnable": null,
"is_replacement": null,
"rfq_item_id": null,
"rfq_item": null
},
"rfq_item_id": 10,
"rfq_item": null
}
],
"quotation_id": 2,
"rfq_id": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment