VismaBouwsoftAPICalls.v1_POST_Orders | Method |
This API call is used to add a(n) Order
General Description
HTTP method | API version |
---|---|
POST | v1 |
Don’t forget to put the Authorization field in the header
API Path: /Orders
or
API Path: /Orders/{id}/ActualizePrices
or
API Path: /Orders/{id}/Copy
or
API Path: /Orders/{id}/Move
or
API Path: /Orders/{id}/Sign
Fields
The following fields are available:
Field Name | Type |
---|---|
reentrant | Boolean |
expireDate | String |
id | Number |
company_id | Number |
company_name | String |
type | String |
type_localized | String |
type_id | Number |
nr | Number |
nr_add | String |
date | String |
expirationdate | String |
title | String |
concerning | String |
ordernr | String |
pricedecimals | Number |
ledger | Number |
workingdocumentdata_id | Number |
address_id | Number |
address_salutation | String |
address_name | String |
address_address | String |
address_addressline2 | String |
address_latitude | Number |
address_longitude | Number |
address_countrycode | String |
address_zipcode | String |
address_city | String |
address_state | String |
address_readonly | Boolean |
shippingaddress_address | String |
shippingaddress_addressline2 | String |
shippingaddress_latitude | Number |
shippingaddress_longitude | Number |
shippingaddress_countrycode | String |
shippingaddress_zipcode | String |
shippingaddress_city | String |
shippingaddress_state | String |
contact_id | Number |
contact_salutation | String |
contact_name | String |
vatnr | String |
gln | String |
be_rpr | String |
telephone1 | String |
telephone2 | String |
fax | String |
gsm | String |
String | |
project_id | Number |
project_pnr | Number |
project_unr | Number |
project_name | String |
yourreference | String |
be_werkplaatsnr30bis | String |
basis | Number |
vatcode | String |
vatpercent | Number |
vatamount | Number |
amountinclvat | Number |
basis1 | Number |
taxableamount1 | Number |
vatcode1 | String |
vatpercent1 | Number |
vatcocontractor1 | Boolean |
vatamount1 | Number |
amountinclvat1 | Number |
basis2 | Number |
taxableamount2 | Number |
vatcode2 | String |
vatpercent2 | Number |
vatcocontractor2 | Boolean |
vatamount2 | Number |
amountinclvat2 | Number |
basis3 | Number |
taxableamount3 | Number |
vatcode3 | String |
vatpercent3 | Number |
vatcocontractor3 | Boolean |
vatamount3 | Number |
amountinclvat3 | Number |
basis4 | Number |
taxableamount4 | Number |
vatcode4 | String |
vatpercent4 | Number |
vatcocontractor4 | Boolean |
vatamount4 | Number |
amountinclvat4 | Number |
basis5 | Number |
taxableamount5 | Number |
vatcode5 | String |
vatpercent5 | Number |
vatcocontractor5 | Boolean |
vatamount5 | Number |
amountinclvat5 | Number |
cashdiscount_expirationdate | String |
cashdiscount_percent | Number |
cashdiscount_amount | Number |
creditlimitation_expirationdate | String |
creditlimitation_percent | Number |
creditlimitation_amount | Number |
commercialdiscount_percent | Number |
distributeddiscount_amount | Number |
include_commission_in_total | Boolean |
advance | Number |
balance | Number |
blocked | Boolean |
locked | Boolean |
createdby | String |
lasteditedby | String |
approved | Boolean |
approved_date | String |
rejected | Boolean |
rejected_date | String |
verified | Boolean |
sent | Boolean |
sent_date | String |
signed | Boolean |
billed | Boolean |
detail_source | Number |
detail_sourcelist | String |
detail_ordergroups | Boolean |
ts_lastupdate | String |
orderid | Number |
ordertype | String |
order_address_id | Number |
order_address_name | String |
order_project_id | Number |
order_project_pnr | Number |
linenr | Number |
linkedto_type | String |
linkedto_type_localized | String |
linkedto_source | Number |
linkedto_id | Number |
group | String |
nr1 | String |
nr2 | String |
description | String |
unit1 | String |
unit2 | String |
unit1_localized | String |
unit2_localized | String |
quantity1 | Number |
quantity2 | Number |
quantity3 | Number |
quantity4 | Number |
quantity_total | Number |
all_quantities_are_included_in_quantity_total | Boolean |
price_unit | Number |
discount | Number |
price_total | Number |
vatcocontractor | Boolean |
price_unit_afterdiscount | Number |
cost_products | Number |
margin_products | Number |
cost_hours | Number |
margin_hours | Number |
hours_unit | Number |
hours_total | Number |
cost_machines | Number |
margin_machines | Number |
cost_subcontractors | Number |
margin_subcontractors | Number |
margin_fixed | Number |
info_brand | String |
info_type | String |
planned_quantity | Number |
supplier_id | Number |
supplier_nr | Number |
supplier_name | String |
include_line_in_total | Boolean |
include_line_on_print | Boolean |
start_on_new_page | Boolean |
/Orders
API Path: /Orders/
If everything succeeds the HTTP response status is 201
(201 CREATED)
If you forget to send the Authorization, the response status and code is 401
(401 Unauthorized)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/Orders
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: lkrfWxffOUzSfrrtIfzRqIrjfOflfGtPfUtkzjfDjDGGUVlmUU
ParameterName: Content-Type, ParameterValue:
Query Parameters :
ParameterName: columns, ParameterValue: type=’FAKTUUR’,company_id=2,address_id=3759
Success gives statuscode 201 And the following result
{“RecordChanges”:
[
{
"id": 16124,
"company_id": 2,
"company_name": "Groensoft",
"type": "FAKTUUR",
"type_localized": "INVOICE",
"type_id": 4,
"nr": 202400099,
"nr_add": "",
"date": "2025–02–12",
"expirationdate": "2025–02–22",
"title": "",
"concerning": "",
"ordernr": "",
"pricedecimals": 2,
"ledger": 700000,
"workingdocumentdata_id": 30532,
"address_id": 3759,
"address_salutation": "B.V.",
"address_name": "Spikesoft",
"address_address": "Gruuthof 23",
"address_addressline2": "",
"address_latitude": 51.191470000000002,
"address_longitude": 3.15141,
"address_countrycode": "BE",
"address_zipcode": "8490",
"address_city": "Varsenare",
"address_state": "West-vlaanderen",
"address_readonly": false,
"shippingaddress_address": "",
"shippingaddress_addressline2": "",
"shippingaddress_latitude": 0,
"shippingaddress_longitude": 0,
"shippingaddress_countrycode": "",
"shippingaddress_zipcode": "",
"shippingaddress_city": "",
"shippingaddress_state": "",
"contact_id": 32334,
"contact_salutation": "B.V.",
"contact_name": "Gino Deblauwe",
"vatnr": "BE 0722 772 536",
"gln": "",
"be_rpr": "",
"telephone1": "+32 486 60 64 21",
"telephone2": "",
"fax": "+32 50 45 40 80",
"gsm": "+32 486 60 64 09",
"email": "gino@bouwsoft.be",
"project_id": 955,
"project_pnr": 20170184,
"project_unr": 2018005,
"project_name": "Warmtepomp plaatsen",
"yourreference": "testingref",
"be_werkplaatsnr30bis": "",
"basis": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatamount": 0.0,
"amountinclvat": 0.0,
"basis1": 0.0,
"taxableamount1": 0.0,
"vatcode1": "21",
"vatpercent1": 21,
"vatcocontractor1": false,
"vatamount1": 0.0,
"amountinclvat1": 0.0,
"basis2": 0.0,
"taxableamount2": 0.0,
"vatcode2": "21B",
"vatpercent2": 21,
"vatcocontractor2": false,
"vatamount2": 0.0,
"amountinclvat2": 0.0,
"basis3": 0.0,
"taxableamount3": 0.0,
"vatcode3": "21M",
"vatpercent3": 21,
"vatcocontractor3": true,
"vatamount3": 0.0,
"amountinclvat3": 0.0,
"basis4": 0.0,
"taxableamount4": 0.0,
"vatcode4": "6B",
"vatpercent4": 6,
"vatcocontractor4": false,
"vatamount4": 0.0,
"amountinclvat4": 0.0,
"basis5": 0.0,
"taxableamount5": 0.0,
"vatcode5": "6P",
"vatpercent5": 6,
"vatcocontractor5": false,
"vatamount5": 0.0,
"amountinclvat5": 0.0,
"cashdiscount_expirationdate": "",
"cashdiscount_percent": 0,
"cashdiscount_amount": 0,
"creditlimitation_expirationdate": "",
"creditlimitation_percent": 0,
"creditlimitation_amount": 0,
"commercialdiscount_percent": 0,
"distributeddiscount_amount": 0,
"include_commission_in_total": true,
"advance": 0.0,
"balance": 0.0,
"blocked": false,
"locked": false,
"createdby": "DIRK",
"lasteditedby": "DIRK",
"approved": false,
"approved_date": "",
"rejected": false,
"rejected_date": "",
"verified": false,
"sent": false,
"sent_date": "",
"signed": false,
"billed": false,
"detail_source": 11,
"detail_sourcelist": "",
"detail_ordergroups": false,
"ts_lastupdate": "2025–02–12 14:29:22"
}
]
}
/Orders/{id}/ActualizePrices
If everything succeeds the HTTP response status is 200
(200 OK)
If there is something wrong with the request, the response status and code is 400
(400 Bad Request)
If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)
If you forget to send the Authorization, the response status is 401
(401 Unauthorized)
If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/Orders/16124/ActualizePrices
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: GkffWxfDAjzSfjlrbfzRqljAfkVkfGAkfUfkzkjrrODGkGDfkD
Success gives statuscode 200 And the following result
{
“Content-Range”:“0–3/4”,
“Records”:
[
{
"id": 139690,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 1,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "APITest",
"nr1": "",
"nr2": "",
"description": "API Description",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 24.199999999999999,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:31:49"
},
{
"id": 139692,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 2,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "",
"nr1": "",
"nr2": "",
"description": "",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 1,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:31:49"
}
,
…
]
}
/Orders/{id}/Copy
If everything succeeds the HTTP response status is 200
(200 OK)
If there is something wrong with the request, the response status and code is 400
(400 Bad Request)
If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)
If you forget to send the Authorization, the response status is 401
(401 Unauthorized)
If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/Orders/16124/Copy
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: lkrfWxffOUzSfrrtIfzRqIrjfOflfGtPfUtkzjfDjDGGUVlmUU
Query Parameters :
ParameterName: to_type, ParameterValue: FACTUUR
ParameterName: with_introduction, ParameterValue: true
ParameterName: with_conclusion, ParameterValue: true
ParameterName: with_orderlines, ParameterValue: true
ParameterName: with_orderline_quantity, ParameterValue: true
ParameterName: with_orderline_quantity_calc, ParameterValue: false
ParameterName: with_orderline_unit_price, ParameterValue: true
ParameterName: with_orderline_cost_calc, ParameterValue: false
ParameterName: and_actualize_prices, ParameterValue: true
ParameterName: with_orderline_note, ParameterValue: true
ParameterName: with_orderline_image, ParameterValue: true
ParameterName: with_orderline_tender, ParameterValue: false
ParameterName: with_orderline_tender_price, ParameterValue: false
Success gives statuscode 200 And the following result
{
“Content-Range”:“0–0/1”,
“Records”:
[
{
"id": 16127,
"company_id": 1,
"company_name": "Bouwsoft",
"type": "FAKTUUR",
"type_localized": "INVOICE",
"type_id": 4,
"nr": 2020001047,
"nr_add": "",
"date": "2025–02–12",
"expirationdate": "2025–03–15",
"title": "",
"concerning": "",
"ordernr": "",
"pricedecimals": 2,
"ledger": 700000,
"workingdocumentdata_id": 30535,
"address_id": 42178,
"address_salutation": "",
"address_name": "SupportTest Andy",
"address_address": "Molenweg 9",
"address_addressline2": "",
"address_latitude": 51.231999999999999,
"address_longitude": 3.164,
"address_countrycode": "BE",
"address_zipcode": "8377",
"address_city": "Meetkerke",
"address_state": "West-vlaanderen",
"address_readonly": false,
"shippingaddress_address": "",
"shippingaddress_addressline2": "",
"shippingaddress_latitude": 0,
"shippingaddress_longitude": 0,
"shippingaddress_countrycode": "",
"shippingaddress_zipcode": "",
"shippingaddress_city": "",
"shippingaddress_state": "",
"contact_id": 0,
"contact_salutation": "",
"contact_name": "",
"vatnr": "",
"gln": "",
"be_rpr": "",
"telephone1": "",
"telephone2": "",
"fax": "",
"gsm": "",
"email": "",
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"yourreference": "",
"be_werkplaatsnr30bis": "",
"basis": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatamount": 0.0,
"amountinclvat": 0.0,
"basis1": 0.0,
"taxableamount1": 0.0,
"vatcode1": "21",
"vatpercent1": 21,
"vatcocontractor1": false,
"vatamount1": 0.0,
"amountinclvat1": 0.0,
"basis2": 0.0,
"taxableamount2": 0.0,
"vatcode2": "21B",
"vatpercent2": 21,
"vatcocontractor2": false,
"vatamount2": 0.0,
"amountinclvat2": 0.0,
"basis3": 0.0,
"taxableamount3": 0.0,
"vatcode3": "21M",
"vatpercent3": 21,
"vatcocontractor3": true,
"vatamount3": 0.0,
"amountinclvat3": 0.0,
"basis4": 0.0,
"taxableamount4": 0.0,
"vatcode4": "6B",
"vatpercent4": 6,
"vatcocontractor4": false,
"vatamount4": 0.0,
"amountinclvat4": 0.0,
"basis5": 0.0,
"taxableamount5": 0.0,
"vatcode5": "6P",
"vatpercent5": 6,
"vatcocontractor5": false,
"vatamount5": 0.0,
"amountinclvat5": 0.0,
"cashdiscount_expirationdate": "",
"cashdiscount_percent": 0,
"cashdiscount_amount": 0,
"creditlimitation_expirationdate": "2025–02–19",
"creditlimitation_percent": 3,
"creditlimitation_amount": 0,
"commercialdiscount_percent": 0,
"distributeddiscount_amount": 0,
"include_commission_in_total": true,
"advance": 0.0,
"balance": 0.0,
"blocked": false,
"locked": false,
"createdby": "DIRK",
"lasteditedby": "DIRK",
"approved": false,
"approved_date": "",
"rejected": false,
"rejected_date": "",
"verified": false,
"sent": false,
"sent_date": "",
"signed": false,
"billed": false,
"detail_source": 11,
"detail_sourcelist": "",
"detail_ordergroups": false,
"ts_lastupdate": "2025–02–12 14:31:55"
}
]
}
/Orders/{id}/Move
If everything succeeds the HTTP response status is 200
(200 OK)
If there is something wrong with the request, the response status and code is 400
(400 Bad Request)
If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)
If you forget to send the Authorization, the response status is 401
(401 Unauthorized)
If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/Orders/16124/Move
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: GkffWxfDAjzSfjlrbfzRqljAfkVkfGAkfUfkzkjrrODGkGDfkD
Query Parameters :
ParameterName: line_with_nr, ParameterValue: 1
ParameterName: down, ParameterValue: 1
Success gives statuscode 200 And the following result
{
“Content-Range”:“0–3/4”,
“Records”:
[
{
"id": 139690,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 1,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "",
"nr1": "",
"nr2": "",
"description": "",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 1,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:30:18"
},
{
"id": 139692,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 2,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "",
"nr1": "",
"nr2": "",
"description": "",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 1,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:30:18"
}
,
…
]
}
https://ra.bouwsoft.be/api/v1/Orders/16124/Move
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: GkffWxfDAjzSfjlrbfzRqljAfkVkfGAkfUfkzkjrrODGkGDfkD
Query Parameters :
ParameterName: lines_with_nrs, ParameterValue: 1,2
ParameterName: lines_with_ids, ParameterValue:
ParameterName: down, ParameterValue: 1
Success gives statuscode 200 And the following result
{
“Content-Range”:“0–3/4”,
“Records”:
[
{
"id": 139690,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 1,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "",
"nr1": "",
"nr2": "",
"description": "",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 1,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:30:18"
},
{
"id": 139692,
"orderid": 16124,
"ordertype": "FAKTUUR",
"ordernr": 2020001046,
"order_address_id": 42178,
"order_address_name": "SupportTest Andy",
"order_project_id": 278,
"order_project_pnr": 20140143,
"linenr": 2,
"linkedto_type": "",
"linkedto_type_localized": "",
"linkedto_source": 0,
"linkedto_id": 0,
"group": "",
"nr1": "",
"nr2": "",
"description": "",
"unit1": "",
"unit2": "",
"unit1_localized": "",
"unit2_localized": "",
"quantity1": 0,
"quantity2": 1,
"quantity3": 1,
"quantity4": 1,
"quantity_total": 0,
"all_quantities_are_included_in_quantity_total": true,
"price_unit": 0.0,
"discount": 0,
"price_total": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatcocontractor": false,
"ledger": 700000,
"price_unit_afterdiscount": 0.0,
"cost_products": 0.0,
"margin_products": 0,
"cost_hours": 0.0,
"margin_hours": 0,
"hours_unit": 0,
"hours_total": 0,
"cost_machines": 0.0,
"margin_machines": 0,
"cost_subcontractors": 0.0,
"margin_subcontractors": 0,
"margin_fixed": 0,
"info_brand": "",
"info_type": "",
"planned_quantity": 0,
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"supplier_id": 0,
"supplier_nr": 0,
"supplier_name": "",
"include_line_in_total": true,
"include_line_on_print": true,
"start_on_new_page": false,
"ts_lastupdate": "2025–02–12 14:30:18"
}
,
…
]
}
/Orders/{id}/Sign
If everything succeeds the HTTP response status is 200
(200 OK)
If there is something wrong with the request, the response status and code is 400
(400 Bad Request)
If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)
If you forget to send the Authorization, the response status is 401
(401 Unauthorized)
If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/Orders/16124/Sign
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: lkrfWxffOUzSfrrtIfzRqIrjfOflfGtPfUtkzjfDjDGGUVlmUU
ParameterName: Content-Type, ParameterValue: image/*
Body Parameters :
ParameterName: imageParameterValue: Signature.png
Success gives statuscode 200 And the following result
{
“Content-Range”:“0–0/1”,
“Records”:
[
{
"id": 16124,
"company_id": 1,
"company_name": "Bouwsoft",
"type": "FAKTUUR",
"type_localized": "INVOICE",
"type_id": 4,
"nr": 2020001046,
"nr_add": "",
"date": "2018–06–02",
"expirationdate": "2018–07–03",
"title": "",
"concerning": "",
"ordernr": "",
"pricedecimals": 2,
"ledger": 700000,
"workingdocumentdata_id": 30532,
"address_id": 42178,
"address_salutation": "",
"address_name": "SupportTest Andy",
"address_address": "Molenweg 9",
"address_addressline2": "",
"address_latitude": 51.231999999999999,
"address_longitude": 3.164,
"address_countrycode": "BE",
"address_zipcode": "8377",
"address_city": "Meetkerke",
"address_state": "West-vlaanderen",
"address_readonly": false,
"shippingaddress_address": "",
"shippingaddress_addressline2": "",
"shippingaddress_latitude": 0,
"shippingaddress_longitude": 0,
"shippingaddress_countrycode": "",
"shippingaddress_zipcode": "",
"shippingaddress_city": "",
"shippingaddress_state": "",
"contact_id": 0,
"contact_salutation": "",
"contact_name": "",
"vatnr": "",
"gln": "",
"be_rpr": "",
"telephone1": "",
"telephone2": "",
"fax": "",
"gsm": "",
"email": "",
"project_id": 278,
"project_pnr": 20140143,
"project_unr": 0,
"project_name": "SupportTest Andy Plaatsen Deuren",
"yourreference": "",
"be_werkplaatsnr30bis": "",
"basis": 0.0,
"vatcode": "21",
"vatpercent": 21,
"vatamount": 0.0,
"amountinclvat": 0.0,
"basis1": 0.0,
"taxableamount1": 0.0,
"vatcode1": "21",
"vatpercent1": 21,
"vatcocontractor1": false,
"vatamount1": 0.0,
"amountinclvat1": 0.0,
"basis2": 0.0,
"taxableamount2": 0.0,
"vatcode2": "21B",
"vatpercent2": 21,
"vatcocontractor2": false,
"vatamount2": 0.0,
"amountinclvat2": 0.0,
"basis3": 0.0,
"taxableamount3": 0.0,
"vatcode3": "21M",
"vatpercent3": 21,
"vatcocontractor3": true,
"vatamount3": 0.0,
"amountinclvat3": 0.0,
"basis4": 0.0,
"taxableamount4": 0.0,
"vatcode4": "6B",
"vatpercent4": 6,
"vatcocontractor4": false,
"vatamount4": 0.0,
"amountinclvat4": 0.0,
"basis5": 0.0,
"taxableamount5": 0.0,
"vatcode5": "6P",
"vatpercent5": 6,
"vatcocontractor5": false,
"vatamount5": 0.0,
"amountinclvat5": 0.0,
"cashdiscount_expirationdate": "",
"cashdiscount_percent": 0,
"cashdiscount_amount": 0,
"creditlimitation_expirationdate": "2018–06–09",
"creditlimitation_percent": 3,
"creditlimitation_amount": 0,
"commercialdiscount_percent": 0,
"distributeddiscount_amount": 0,
"include_commission_in_total": true,
"advance": 0.0,
"balance": 0.0,
"blocked": false,
"locked": false,
"createdby": "DIRK",
"lasteditedby": "DIRK",
"approved": true,
"approved_date": "2025–02–12",
"rejected": false,
"rejected_date": "",
"verified": false,
"sent": false,
"sent_date": "",
"signed": true,
"billed": false,
"detail_source": 11,
"detail_sourcelist": "",
"detail_ordergroups": false,
"ts_lastupdate": "2025–02–12 14:32:00"
}
]
}