Quotations
This api is used to fetch generated quotations from WorkorderApp. The result can be filtered by using the advanced filter. As described in the introduction section.
{{client_token}}{{software_token}}quo_quotation_debtor_nreq24Response_200
GET /quotations/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
{
"code": 200,
"messages": [],
"response": [
{
"quo_id": "327",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. \">",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "11",
"quo_number_formatted": "2018-00011",
"quo_status": "OVERDUE",
"quo_reference": "sport",
"quo_external_reference": "",
"quo_date": "2020-02-21",
"quo_due_date": "2020-03-06",
"quo_due_days": "14",
"quo_header": "<p>Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01</p>\r\n",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "13@445697",
"quo_user_send": "13@445697",
"quo_emp_owner": null,
"quo_timestamp_create": "2021-12-03 07:28:10",
"quo_timestamp_mutate": "2021-12-03 07:28:25",
"quo_timestamp_send": "2021-12-03 07:28:25",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": null,
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": null,
"quo_message_accepted": "",
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"qln_lines": [
{
"qln_id": "2344",
"qln_quo_id": "327",
"qln_order": "0",
"qln_material_code": "(laad) 12345",
"qln_material_hourtype": null,
"qln_description": "EV-Box laadstations voor thuis",
"qln_note": "",
"qln_unit": "pc",
"qln_amount": "1.00",
"qln_price": "2300.00",
"qln_vat_percentage": "21.00",
"qln_discount": "0.00",
"qln_total": "2300.00",
"qln_total_discount": "0.00",
"qln_total_vat": "483.00000",
"qln_total_excl": "2300.00000",
"qln_total_incl": "2783.00000",
"qln_freefield_1": null,
"qln_freefield_2": null,
"qln_freefield_3": null,
"qln_freefield_4": null,
"qln_freefield_5": null,
"qln_hidden": "0",
"quo_id": "327",
"quo_cus_id": "78",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_qnd_id": "8",
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. \">",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "11",
"quo_number_formatted": "2018-00011",
"quo_status": "OVERDUE",
"quo_reference": "sport",
"quo_external_reference": "",
"quo_date": "2020-02-21",
"quo_due_date": "2020-03-06",
"quo_due_days": "14",
"quo_header": "<p>Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01</p>\r\n",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "13@445697",
"quo_user_send": "13@445697",
"quo_emp_owner": null,
"quo_timestamp_create": "2021-12-03 07:28:10",
"quo_timestamp_mutate": "2021-12-03 07:28:25",
"quo_timestamp_send": "2021-12-03 07:28:25",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": null,
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": null,
"quo_message_accepted": "",
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"id": "4",
"customerid": "78",
"ref_id": "",
"uom_name": "",
"Artikelcode": "(laad) 12345",
"Omschrijving": "EV-Box laadstations voor thuis",
"Stukprijs": "2300.00",
"Unit": "pc",
"Barcode": "",
"IsInternal": "0",
"EANCode": "",
"VATCode": "",
"FreeField1": null,
"FreeField2": null,
"FreeField3": null,
"FreeField4": null,
"FreeField5": null,
"Image": "",
"Note": "",
"created_at": "2022-08-17 21:05:22",
"updated_at": "2022-08-17 21:05:22"
}
],
"quotation_debtor": {
"qnd_name": "Sportmart B.V. \">",
"qnd_debiteur_number": "24",
"qnd_street": "St Jacobsstraat 247",
"qnd_zip": "3511 BP",
"qnd_city": "Utrecht",
"qnd_country": "",
"qnd_contact": "Ellis Renners",
"qnd_phone": "040-666677767",
"qnd_email": "yoran122@gmail.com",
"qnd_extra": "",
"qnd_external_id": "bedf553c-2583-423a-85c6-06114607e01a",
"qnd_latitude": "52.095570",
"qnd_longitude": "5.114236"
},
"pdf": "https://api.out-smart.com/files/K013VlhGTFVLUzJsc2V1TGZrTnoxRktYbkZOZmwzRHZlK01iTVRJR0hSUT0=/bm1sTU03U0ttUTRVbnRxaXorY2ZVY3FGNzNOYjRyR1AxeDdBUWRpUnZYcG5aeHFoTVlGZ0E4VDUvZEIxZCtoLw==/OW42SEt3bDFFYUpvcHc1K1JCdWZsQT09/K3JtTk93YUc5TFF3TmkzQ1VPSHNCQkdDRnBMeTNSTE9oVDhxcFNnblZhTT0=/ejMzMUpHZlRNdzVBRXRUd2pJQkVQM01GSzg3enBMN2VJVVBtajFVbnhBOFpYNXhQYmpaNmtnSkx2YW1ML0dMYw==/dFNWK3JoblZodStkQlhaQWRxRGNIR1dXamZwM2Fpd25lNkhJOXh3dlZSOD0=/elRqUXQwekJJYzFCQWxXMnNmY3phb2x6N1ROQ1pNd2kyWWdXcTl0dU5haUVnS0ovbmUxWUJwYXJwUkZEZEsrWCsybFMxZ1RmYXpmNisvZFBPN0hnMG5LUXVDMXFjRU1PbFY3MGs0dUdxeTJoSk5MWXFveFVLVDg1Z1lZdG43S0JESXhzTittM1ZhUWVsY2hFZlhiTndhYnExVWpoMHJpeGxWbVVoaHk4NFdEUVBzcC8zSElkVzlJNzJRMUFsNEp3d2tFSEVoeFdIclozdFlNYTMrVUxJUXhwcTFHRENIVmVoYkY4YWFXclRBZG9zaURyS2xiZ25pYUdJdkllVWpXR3pneVM3QUdTeUgyZ0hPM3BWOHNjSmc9PQ==/quotationpdf.php",
"url": "https://api.out-smart.com/quotation/50BDAF86202F85400B4900380DF3A520"
},
{
"quo_id": "328",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. \"><script>alert('XSS')</script>",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "17",
"quo_number_formatted": "2018-00017",
"quo_status": "OVERDUE",
"quo_reference": "sport",
"quo_external_reference": "",
"quo_date": "2020-02-21",
"quo_due_date": "2020-03-06",
"quo_due_days": "14",
"quo_header": "Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "13@445697",
"quo_user_send": "13@445697",
"quo_emp_owner": null,
"quo_timestamp_create": "2021-12-03 07:28:48",
"quo_timestamp_mutate": "2022-12-08 23:13:47",
"quo_timestamp_send": "2022-12-08 23:13:47",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": null,
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": null,
"quo_message_accepted": "",
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"qln_lines": [
{
"qln_id": "2345",
"qln_quo_id": "328",
"qln_order": "0",
"qln_material_code": "(laad) 12345",
"qln_material_hourtype": null,
"qln_description": "EV-Box laadstations voor thuis",
"qln_note": "",
"qln_unit": "pc",
"qln_amount": "1.00",
"qln_price": "2300.00",
"qln_vat_percentage": "21.00",
"qln_discount": "0.00",
"qln_total": "2300.00",
"qln_total_discount": "0.00",
"qln_total_vat": "483.00000",
"qln_total_excl": "2300.00000",
"qln_total_incl": "2783.00000",
"qln_freefield_1": null,
"qln_freefield_2": null,
"qln_freefield_3": null,
"qln_freefield_4": null,
"qln_freefield_5": null,
"qln_hidden": "0",
"quo_id": "328",
"quo_cus_id": "78",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_qnd_id": "19",
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. \"><script>alert('XSS')</script>",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "17",
"quo_number_formatted": "2018-00017",
"quo_status": "OVERDUE",
"quo_reference": "sport",
"quo_external_reference": "",
"quo_date": "2020-02-21",
"quo_due_date": "2020-03-06",
"quo_due_days": "14",
"quo_header": "Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "13@445697",
"quo_user_send": "13@445697",
"quo_emp_owner": null,
"quo_timestamp_create": "2021-12-03 07:28:48",
"quo_timestamp_mutate": "2022-12-08 23:13:47",
"quo_timestamp_send": "2022-12-08 23:13:47",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": null,
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": null,
"quo_message_accepted": "",
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"id": "4",
"customerid": "78",
"ref_id": "",
"uom_name": "",
"Artikelcode": "(laad) 12345",
"Omschrijving": "EV-Box laadstations voor thuis",
"Stukprijs": "2300.00",
"Unit": "pc",
"Barcode": "",
"IsInternal": "0",
"EANCode": "",
"VATCode": "",
"FreeField1": null,
"FreeField2": null,
"FreeField3": null,
"FreeField4": null,
"FreeField5": null,
"Image": "",
"Note": "",
"created_at": "2022-08-17 21:05:22",
"updated_at": "2022-08-17 21:05:22"
},
{
"qln_id": "2353",
"qln_quo_id": "328",
"qln_order": "1",
"qln_material_code": null,
"qln_material_hourtype": null,
"qln_description": "",
"qln_note": "<p>Test</p>",
"qln_unit": "",
"qln_amount": "0.00",
"qln_price": "0.00",
"qln_vat_percentage": "0.00",
"qln_discount": "0.00",
"qln_total": "0.00",
"qln_total_discount": "0.00",
"qln_total_vat": "0.00000",
"qln_total_excl": "0.00000",
"qln_total_incl": "0.00000",
"qln_freefield_1": null,
"qln_freefield_2": null,
"qln_freefield_3": null,
"qln_freefield_4": null,
"qln_freefield_5": null,
"qln_hidden": "0",
"quo_id": "328",
"quo_cus_id": "78",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_qnd_id": "19",
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. \"><script>alert('XSS')</script>",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "17",
"quo_number_formatted": "2018-00017",
"quo_status": "OVERDUE",
"quo_reference": "sport",
"quo_external_reference": "",
"quo_date": "2020-02-21",
"quo_due_date": "2020-03-06",
"quo_due_days": "14",
"quo_header": "Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "13@445697",
"quo_user_send": "13@445697",
"quo_emp_owner": null,
"quo_timestamp_create": "2021-12-03 07:28:48",
"quo_timestamp_mutate": "2022-12-08 23:13:47",
"quo_timestamp_send": "2022-12-08 23:13:47",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": null,
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": null,
"quo_message_accepted": "",
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"id": null,
"customerid": null,
"ref_id": null,
"uom_name": null,
"Artikelcode": null,
"Omschrijving": null,
"Stukprijs": null,
"Unit": null,
"Barcode": null,
"IsInternal": null,
"EANCode": null,
"VATCode": null,
"FreeField1": null,
"FreeField2": null,
"FreeField3": null,
"FreeField4": null,
"FreeField5": null,
"Image": null,
"Note": null,
"created_at": null,
"updated_at": null
}
],
"quotation_debtor": {
"qnd_name": "Sportmart B.V. \"><script>alert('XSS')</script>",
"qnd_debiteur_number": "24",
"qnd_street": "St Jacobsstraat 247",
"qnd_zip": "3511 BP",
"qnd_city": "Utrecht",
"qnd_country": "",
"qnd_contact": "Ellis Renners",
"qnd_phone": "040-666677767",
"qnd_email": "yoran122@gmail.com",
"qnd_extra": "<br/>e",
"qnd_external_id": "bedf553c-2583-423a-85c6-06114607e01a",
"qnd_latitude": "52.095570",
"qnd_longitude": "5.114236"
},
"pdf": "https://api.out-smart.com/files/K013VlhGTFVLUzJsc2V1TGZrTnoxRktYbkZOZmwzRHZlK01iTVRJR0hSUT0=/bm1sTU03U0ttUTRVbnRxaXorY2ZVY3FGNzNOYjRyR1AxeDdBUWRpUnZYcG5aeHFoTVlGZ0E4VDUvZEIxZCtoLw==/OW42SEt3bDFFYUpvcHc1K1JCdWZsQT09/K3JtTk93YUc5TFF3TmkzQ1VPSHNCQkdDRnBMeTNSTE9oVDhxcFNnblZhTT0=/ejMzMUpHZlRNdzVBRXRUd2pJQkVQM01GSzg3enBMN2VJVVBtajFVbnhBOFpYNXhQYmpaNmtnSkx2YW1ML0dMYw==/dFNWK3JoblZodStkQlhaQWRxRGNIR1dXamZwM2Fpd25lNkhJOXh3dlZSOD0=/elRqUXQwekJJYzFCQWxXMnNmY3phalFidnRyY0hQeTZLeVRWM1lUaXBNQXMrbFZRbnJFSnZISFRNblJoejBjclNMcklaU0ZKemlId0ZhdWJmRUFhS3ZHMGs5S004OUl4cnExdnhrZzRtY3V3elJVeEJ4dEF3SFI0SVJmTlozWFlJNjd4Vll3aC95bHhQT0VHc3VnYzU3aFJ5T1BBVlJHQVVxcXVaclFvdG1LVTJSMDN4c0IyYUtubDBaRzBlSm0zRUxoazU5bHFHeE1vRjJsd3ZQZHpCU3hDT1JJRWtha3Zqa0ZZSWNWRCsxM09hSjMzSXlpS1FkTGVYR2JmbkxxL2JDaVYxSm5SN25tQzFQeXN2UWh0Y1E9PQ==/quotationpdf.php",
"url": "https://api.out-smart.com/quotation/B3BBA725078515D2049CA9DA616088BF"
},
{
"quo_id": "329",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. ",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "12",
"quo_number_formatted": "2018-00012",
"quo_status": "CANCELLED",
"quo_reference": "",
"quo_external_reference": "",
"quo_date": "2021-12-03",
"quo_due_date": "2021-12-17",
"quo_due_days": "14",
"quo_header": "<p>Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01</p>\r\n",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "Klant (online)",
"quo_user_send": "13@445697",
"quo_emp_owner": "13",
"quo_timestamp_create": "2021-12-03 07:29:56",
"quo_timestamp_mutate": "2021-12-03 07:35:25",
"quo_timestamp_send": "2021-12-03 07:30:04",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": "2021-12-03 07:35:25",
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": "Rejected",
"quo_message_accepted": null,
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"qln_lines": [
{
"qln_id": "2346",
"qln_quo_id": "329",
"qln_order": "0",
"qln_material_code": "(laad) 12345",
"qln_material_hourtype": null,
"qln_description": "EV-Box laadstations voor thuis",
"qln_note": "",
"qln_unit": "pc",
"qln_amount": "1.00",
"qln_price": "2300.00",
"qln_vat_percentage": "21.00",
"qln_discount": "0.00",
"qln_total": "2300.00",
"qln_total_discount": "0.00",
"qln_total_vat": "483.00000",
"qln_total_excl": "2300.00000",
"qln_total_incl": "2783.00000",
"qln_freefield_1": null,
"qln_freefield_2": null,
"qln_freefield_3": null,
"qln_freefield_4": null,
"qln_freefield_5": null,
"qln_hidden": "0",
"quo_id": "329",
"quo_cus_id": "78",
"quo_qus_id": "16",
"quo_quo_id": null,
"quo_worksheet_id": null,
"quo_qnd_id": "9",
"quo_project_id": null,
"quo_currency_code": "EUR",
"quo_currency_symbol": "€ ",
"quo_description": "",
"quo_quotation_debtor_nr": "24",
"quo_quotation_debtor_name": "Sportmart B.V. ",
"quo_quotation_debtor_email": "yoran122@gmail.com",
"quo_number_numeric": "12",
"quo_number_formatted": "2018-00012",
"quo_status": "CANCELLED",
"quo_reference": "",
"quo_external_reference": "",
"quo_date": "2021-12-03",
"quo_due_date": "2021-12-17",
"quo_due_days": "14",
"quo_header": "<p>Quooker<br />\r\nStaalstraat 1<br />\r\n2984 AJ, Ridderkerk<br />\r\nNederland<br />\r\nKvk: KVK 4243234478<br />\r\nBtw: NL012356278.b01</p>\r\n",
"quo_amount": "2783.00",
"quo_amount_excl": "2300.00",
"quo_user_create": "13@445697",
"quo_user_mutate": "Klant (online)",
"quo_user_send": "13@445697",
"quo_emp_owner": "13",
"quo_timestamp_create": "2021-12-03 07:29:56",
"quo_timestamp_mutate": "2021-12-03 07:35:25",
"quo_timestamp_send": "2021-12-03 07:30:04",
"quo_timestamp_revised": null,
"quo_timestamp_executed": null,
"quo_timestamp_invoiced": null,
"quo_timestamp_declined": null,
"quo_timestamp_cancelled": "2021-12-03 07:35:25",
"quo_timestamp_accepted": null,
"quo_version": "1",
"quo_message_declined": null,
"quo_message_cancelled": "Rejected",
"quo_message_accepted": null,
"quo_accepted_by": null,
"quo_accepted_ip": null,
"quo_accepted_signature": null,
"quo_adr_code_delivery": null,
"quo_cpn_code_delivery": null,
"quo_debtor_nr_delivery": null,
"quo_cpn_code_invoice": null,
"quo_obj_code": null,
"quo_substatus": null,
"id": "4",
"customerid": "78",
"ref_id": "",
"uom_name": "",
"Artikelcode": "(laad) 12345",
"Omschrijving": "EV-Box laadstations voor thuis",
"Stukprijs": "2300.00",
"Unit": "pc",
"Barcode": "",
"IsInternal": "0",
"EANCode": "",
"VATCode": "",
"FreeField1": null,
"FreeField2": null,
"FreeField3": null,
"FreeField4": null,
"FreeField5": null,
"Image": "",
"Note": "",
"created_at": "2022-08-17 21:05:22",
"updated_at": "2022-08-17 21:05:22"
}
],
"quotation_debtor": {
"qnd_name": "Sportmart B.V. ",
"qnd_debiteur_number": "24",
"qnd_street": "St Jacobsstraat 247",
"qnd_zip": "3511 BP",
"qnd_city": "Utrecht",
"qnd_country": "",
"qnd_contact": "Ellis Renners",
"qnd_phone": "040-666677767",
"qnd_email": "yoran122@gmail.com",
"qnd_extra": "",
"qnd_external_id": "bedf553c-2583-423a-85c6-06114607e01a",
"qnd_latitude": "52.095570",
"qnd_longitude": "5.114236"
},
"pdf": "https://api.out-smart.com/files/K013VlhGTFVLUzJsc2V1TGZrTnoxRktYbkZOZmwzRHZlK01iTVRJR0hSUT0=/bm1sTU03U0ttUTRVbnRxaXorY2ZVY3FGNzNOYjRyR1AxeDdBUWRpUnZYcG5aeHFoTVlGZ0E4VDUvZEIxZCtoLw==/OW42SEt3bDFFYUpvcHc1K1JCdWZsQT09/K3JtTk93YUc5TFF3TmkzQ1VPSHNCQkdDRnBMeTNSTE9oVDhxcFNnblZhTT0=/ejMzMUpHZlRNdzVBRXRUd2pJQkVQM01GSzg3enBMN2VJVVBtajFVbnhBOFpYNXhQYmpaNmtnSkx2YW1ML0dMYw==/dFNWK3JoblZodStkQlhaQWRxRGNIR1dXamZwM2Fpd25lNkhJOXh3dlZSOD0=/elRqUXQwekJJYzFCQWxXMnNmY3phblN2R2Z6VEZ1c09nR0c0TEM0NmxzWnhMRnM0TGpaRlhEanlpcUlHMTlHYWVmdXJWSGsvS1NLNVBjRUQ4a3Boa1B1WDQ3M2htU0RyN1RkKzQ0NEJBR29qUUJBU1BpQnhaMHZhYXFENmhDaUxXWXc3NFJGM1BGOTFueVhlcWp5WVlrYVR1cnZvVy9oZ1h1QXdkR09DQTAwam9aVytWTXVUZlpOSGJFWEE0TGdaUE5BbjA0andPNVBiR3ZjZ0VwdFhMM0c1bFFROUl3RzBsdWFuZ2t0NFdoY1paM3JUbXhBQWlIYURNRzJZdmFPRml2S0x1YmNEY1pZV3l3dXZSTW9OZlE9PQ==/quotationpdf.php",
"url": "https://api.out-smart.com/quotation/4851B4099D98D624DC00042D434D07DC"
}
]
}Create Quotation
BETA: Will be released in 4.2.0
This endpoint allows the client to create a new quotation by making an HTTP POST request to the specified URL.
Request Body
quo_quotation_debtor_nr(text, optional): The debtor number for the quotation.options(object):mark_as_sent(boolean): Indicates whether the quotation should be marked as sent.send_email(boolean): Indicates whether an email should be sent.note(text, optional): Additional note for the quotation.
qln_lines(array):qln_note(text, optional): Note for the quotation line.
quo_currency_code(text, required): The currency code for the quotation. Falls back to scheme's currency code if not provided.quo_currency_symbol(text, required): The currency symbol for the quotation. Falls back to scheme's currency symbol if not provided.quo_description(text, optional): Description of the quotation. Falls back to scheme's description if not provided.quo_header(text, optional): Header of the quotation. Generated based on the customer ID and the layout if not provided.quo_due_days(number, optional): The number of due days for the quotation. Falls back to scheme's due days if not provided.quo_date(date, optional): The date of the quotation. Defaults to the current date if not provided.tax_calculation_method(text, required): The method for tax calculation. Defaults to 'EXCLUDING' if not a valid option ('EXCLUDING', 'INCLUDING').
Additional Parameters
quo_obj_code(text, optional): Object code of the quotation.quo_cpn_code_invoice(text, optional): Coupon code for invoicing.quo_debtor_nr_delivery(text, optional): Debtor number for delivery.quo_cpn_code_delivery(text, optional): Coupon code for delivery.quo_adr_code_delivery(text, optional): Address code for delivery.quo_project_id(text, optional): Project ID associated with the quotation.quo_reference(text, optional): Reference for the quotation.quo_emp_owner(text, optional): Employee owner of the quotation.quo_substatus(text, optional): Substatus of the quotation.
Expected Response
The API returns a JSON object with the following fields:
code(number): The status code of the response.messages(array): An array of messages, if any.response(object): The response data, which may include detailed information about the created quotation or may be null in case of an error.
In case of a successful request, the expected response code is 200 with a response object containing information about the newly created quotation. If there are errors in the request, such as missing required fields, the response code will differ, and the messages array will contain details about the errors encountered.
{{client_token}}{{software_token}}POST /quotations/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 431
{
"quo_quotation_debtor_nr": "24",
"options": {
"mark_as_sent": false,
"send_email": false,
"note": "Additional message"
},
"qln_lines": [
{
"qln_note": "Test"
},
{
"qln_material_code": "CODE100",
"qln_description": " My custom description",
"qln_amount": 12.3,
"qln_price": 100,
"qln_hidden": 0,
"qln_billable": 1
},
{
"qln_material_hourtype": "HRT100",
"qln_description": " My hourtype description",
"qln_amount": 4.3,
"qln_price": 65,
"qln_hidden": 0,
"qln_billable": 1
}
]
}{{client_token}}{{software_token}}Quotation ID is required
327NEW_REFResponse_200
PUT /quotations/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
{
"code": 200,
"messages": [
"quo_external_reference updated"
],
"response": null
}Last updated
Was this helpful?
