VismaBouwsoftAPICalls.v1_GET_PurchaseOrders Method
v1_GET_PurchaseOrders() as String

This API call is used to get fields of a(n) PurchaseOrder(s)

HTTP method API version
GET v1

Don’t forget to put the Authorization field in the header

API Path: /PurchaseOrders/
or
API Path: /PurchaseOrders/{id}
or
API Path: /PurchaseOrders/FieldInfo/

You can make this API call:
* without the key field id to get a list of PurchaseOrders
* with the key field id as the path parameter (the specific id of the PurchaseOrder you want to get)
* to request the FieldInfo for this call

Fields

The following fields are available:

Field Name Type Id Type Name Length Required Writeable Force Write Link
company_id 1 tpLong 0 No Yes No
company_name 2 tpString 250 No No No
type 2 tpString 50 No No No
nr 1 tpLong 0 No Yes No
nr_add 2 tpString 5 No Yes No
date 3 tpDate 0 No Yes No
expirationdate 3 tpDate 0 No Yes No
title 2 tpString 50 No Yes No
concerning 2 tpString 100 No Yes No
ordernr 2 tpString 100 No Yes No
pricedecimals 1 tpLong 0 No Yes No
ledger 1 tpLong 0 No Yes No
workingdocumentdata_id 1 tpLong 0 No No No WorkingDocumentData
address_id 1 tpLong 0 No Yes No Addresses
address_salutation 2 tpString 50 No No No
address_name 2 tpString 150 No No No
address_address 2 tpString 63 No No No
address_addressline2 2 tpString 63 No No No
address_latitude 4 tpDouble 0 No No No
address_longitude 4 tpDouble 0 No No No
address_countrycode 2 tpString 2 No No No
address_zipcode 2 tpString 15 No No No
address_city 2 tpString 40 No No No
address_state 2 tpString 40 No No No
address_readonly 5 tpBool 0 No No No
shippingaddress_address 2 tpString 63 No No No
shippingaddress_addressline2 2 tpString 63 No No No
shippingaddress_latitude 4 tpDouble 0 No No No
shippingaddress_longitude 4 tpDouble 0 No No No
shippingaddress_countrycode 2 tpString 2 No No No
shippingaddress_zipcode 2 tpString 15 No No No
shippingaddress_city 2 tpString 40 No No No
shippingaddress_state 2 tpString 40 No No No
contact_id 1 tpLong 0 No Yes Yes AddressContacts
contact_salutation 2 tpString 50 No No No
contact_name 2 tpString 100 No No No
vatnr 2 tpString 50 No No No
gln 2 tpString 13 No No No
be_rpr 2 tpString 50 No No No
telephone1 9 tpTelefoon 25 No No No
telephone2 9 tpTelefoon 25 No No No
fax 15 tpFax 25 No No No
gsm 9 tpTelefoon 25 No No No
email 10 tpEmail 100 No No No
project_id 1 tpLong 0 No Yes No Projects
project_pnr 1 tpLong 0 No No No
project_unr 1 tpLong 0 No No No
project_name 2 tpString 100 No No No
yourreference 2 tpString 50 No No No
be_werkplaatsnr30bis 2 tpString 50 No No No
basis 8 tpCurrency 0 No No No
vatcode 2 tpString 0 No Yes No
vatpercent 4 tpDouble 0 No No No
vatamount 8 tpCurrency 0 No No No
amountinclvat 8 tpCurrency 0 No No No
basis1 8 tpCurrency 0 No No No
taxableamount1 8 tpCurrency 0 No No No
vatcode1_id 1 tpLong 0 No No No
vatcode1 2 tpString 5 No No No
vatpercent1 4 tpDouble 0 No No No
vatcocontractor1 5 tpBool 0 No No No
vatamount1 8 tpCurrency 0 No No No
amountinclvat1 8 tpCurrency 0 No No No
basis2 8 tpCurrency 0 No No No
taxableamount2 8 tpCurrency 0 No No No
vatcode2_id 1 tpLong 0 No No No
vatcode2 2 tpString 5 No No No
vatpercent2 4 tpDouble 0 No No No
vatcocontractor2 5 tpBool 0 No No No
vatamount2 8 tpCurrency 0 No No No
amountinclvat2 8 tpCurrency 0 No No No
basis3 8 tpCurrency 0 No No No
taxableamount3 8 tpCurrency 0 No No No
vatcode3_id 1 tpLong 0 No No No
vatcode3 2 tpString 5 No No No
vatpercent3 4 tpDouble 0 No No No
vatcocontractor3 5 tpBool 0 No No No
vatamount3 8 tpCurrency 0 No No No
amountinclvat3 8 tpCurrency 0 No No No
basis4 8 tpCurrency 0 No No No
taxableamount4 8 tpCurrency 0 No No No
vatcode4_id 1 tpLong 0 No No No
vatcode4 2 tpString 5 No No No
vatpercent4 4 tpDouble 0 No No No
vatcocontractor4 5 tpBool 0 No No No
vatamount4 8 tpCurrency 0 No No No
amountinclvat4 8 tpCurrency 0 No No No
basis5 8 tpCurrency 0 No No No
taxableamount5 8 tpCurrency 0 No No No
vatcode5_id 1 tpLong 0 No No No
vatcode5 2 tpString 5 No No No
vatpercent5 4 tpDouble 0 No No No
vatcocontractor5 5 tpBool 0 No No No
vatamount5 8 tpCurrency 0 No No No
amountinclvat5 8 tpCurrency 0 No No No
cashdiscount_expirationdate 6 tpDateNullString 0 No No No
cashdiscount_percent 4 tpDouble 0 No Yes No
cashdiscount_amount 4 tpDouble 0 No No No
creditlimitation_expirationdate 6 tpDateNullString 0 No No No
creditlimitation_percent 4 tpDouble 0 No Yes No
creditlimitation_amount 4 tpDouble 0 No No No
commercialdiscount_percent 4 tpDouble 0 No Yes No
distributeddiscount_amount 4 tpDouble 0 No Yes No
include_commission_in_total 5 tpBool 0 No Yes No
advance 8 tpCurrency 0 No Yes No
balance 8 tpCurrency 0 No No No
blocked 5 tpBool 0 No Yes No
locked 5 tpBool 0 No No No
createdby 2 tpString 50 No No No
lasteditedby 2 tpString 50 No No No
approved 5 tpBool 0 No Yes No
approved_date 6 tpDateNullString 0 No Yes No
rejected 5 tpBool 0 No Yes No
rejected_date 6 tpDateNullString 0 No Yes No
verified 5 tpBool 0 No Yes No
sent 5 tpBool 0 No Yes No
sent_date 6 tpDateNullString 0 No Yes No
signed 5 tpBool 0 No No No
billed 5 tpBool 0 No Yes No
ordered 5 tpBool 0 No Yes No
delivered 5 tpBool 0 No No No
detail_source 1 tpLong 0 No Yes No
detail_sourcelist 2 tpString 50 No Yes No
detail_ordergroups 5 tpBool 0 No Yes No
einvoice_date 6 tpDateNullString 0 No No No
has_split_vat 5 tpBool 0 No No No
ts_lastupdate 3 tpDate 0 No No No

/PurchaseOrders/

API Path: /PurchaseOrders/

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 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/PurchaseOrders

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: AfbfWxfDbVzSfrbrrfzRqGDUfkPkfGbAffbkzDfAjPmGklkIIr

Query Parameters :
ParameterName: limit, ParameterValue: 5
ParameterName: sort, ParameterValue: id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/488”, “Records”: [
  {
    "id": 27,
    "company_id": 1,
    "company_name": "Bouwsoft",
    "nr": 1,
    "nr_add": "",
    "date": "2012–04–16",
    "expirationdate": "2012–05–16",
    "title": "",
    "concerning": "",
    "ordernr": "",
    "pricedecimals": 2,
    "ledger": 70000,
    "workingdocumentdata_id": 32,
    "address_id": 23,
    "address_salutation": "NV",
    "address_name": "Seifert",
    "address_address": "Industriepark 18",
    "address_addressline2": "",
    "address_latitude": 0,
    "address_longitude": 0,
    "address_countrycode": "BE",
    "address_zipcode": "9031",
    "address_city": "Drongen",
    "address_state": "Oost-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": 0,
    "project_pnr": 0,
    "project_unr": 0,
    "project_name": "",
    "yourreference": "",
    "be_werkplaatsnr30bis": "",
    "basis": 1620.0,
    "vatcode": "0",
    "vatpercent": 0,
    "vatamount": 340.199999999999989,
    "amountinclvat": 1960.200000000000045,
    "basis1": 0.0,
    "taxableamount1": 0.0,
    "vatcode1": "0",
    "vatpercent1": 0,
    "vatcocontractor1": false,
    "vatamount1": 0.0,
    "amountinclvat1": 0.0,
    "basis2": 0.0,
    "taxableamount2": 0.0,
    "vatcode2": "0M",
    "vatpercent2": 0,
    "vatcocontractor2": true,
    "vatamount2": 0.0,
    "amountinclvat2": 0.0,
    "basis3": 0.0,
    "taxableamount3": 0.0,
    "vatcode3": "6",
    "vatpercent3": 6,
    "vatcocontractor3": false,
    "vatamount3": 0.0,
    "amountinclvat3": 0.0,
    "basis4": 0.0,
    "taxableamount4": 0.0,
    "vatcode4": "12",
    "vatpercent4": 12.5,
    "vatcocontractor4": false,
    "vatamount4": 0.0,
    "amountinclvat4": 0.0,
    "basis5": 1620.0,
    "taxableamount5": 0.0,
    "vatcode5": "21",
    "vatpercent5": 21,
    "vatcocontractor5": false,
    "vatamount5": 340.199999999999989,
    "amountinclvat5": 1960.200000000000045,
    "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": "",
    "lasteditedby": "",
    "approved": false,
    "approved_date": "",
    "rejected": false,
    "rejected_date": "",
    "verified": false,
    "sent": false,
    "sent_date": "",
    "signed": false,
    "billed": false,
    "ordered": false,
    "delivered": false,
    "detail_source": 0,
    "detail_sourcelist": "",
    "detail_ordergroups": false,
    "ts_lastupdate": "2019–10–23 09:50:50"
  },
  {
    "id": 38,
    "company_id": 1,
    "company_name": "Bouwsoft",
    "nr": 3,
    "nr_add": "",
    "date": "2012–04–25",
    "expirationdate": "2012–05–25",
    "title": "",
    "concerning": "",
    "ordernr": "",
    "pricedecimals": 2,
    "ledger": 70000,
    "workingdocumentdata_id": 70,
    "address_id": 2691,
    "address_salutation": "NV",
    "address_name": "Dhondt",
    "address_address": "Torhoutse Steenweg 102",
    "address_addressline2": "",
    "address_latitude": 0,
    "address_longitude": 0,
    "address_countrycode": "BE",
    "address_zipcode": "8200",
    "address_city": "Sint-Andries (Brugge)",
    "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": 9,
    "contact_salutation": "Dhr.",
    "contact_name": "Jan",
    "vatnr": "",
    "gln": "",
    "be_rpr": "",
    "telephone1": "+32 50 72 70 70 ",
    "telephone2": "",
    "fax": "+32 50 72 70 72 ",
    "gsm": "",
    "email": "jan@dhont.com",
    "project_id": 8,
    "project_pnr": 20120005,
    "project_unr": 5,
    "project_name": "Project: binnendeuren",
    "yourreference": "",
    "be_werkplaatsnr30bis": "",
    "basis": 1415.740000000000009,
    "vatcode": "0",
    "vatpercent": 0,
    "vatamount": 297.310000000000002,
    "amountinclvat": 1713.049999999999955,
    "basis1": 0.0,
    "taxableamount1": 0.0,
    "vatcode1": "0",
    "vatpercent1": 0,
    "vatcocontractor1": false,
    "vatamount1": 0.0,
    "amountinclvat1": 0.0,
    "basis2": 0.0,
    "taxableamount2": 0.0,
    "vatcode2": "0M",
    "vatpercent2": 0,
    "vatcocontractor2": true,
    "vatamount2": 0.0,
    "amountinclvat2": 0.0,
    "basis3": 0.0,
    "taxableamount3": 0.0,
    "vatcode3": "6",
    "vatpercent3": 6,
    "vatcocontractor3": false,
    "vatamount3": 0.0,
    "amountinclvat3": 0.0,
    "basis4": 0.0,
    "taxableamount4": 0.0,
    "vatcode4": "12",
    "vatpercent4": 12.5,
    "vatcocontractor4": false,
    "vatamount4": 0.0,
    "amountinclvat4": 0.0,
    "basis5": 1415.740000000000009,
    "taxableamount5": 0.0,
    "vatcode5": "21",
    "vatpercent5": 21,
    "vatcocontractor5": false,
    "vatamount5": 297.310000000000002,
    "amountinclvat5": 1713.049999999999955,
    "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": "",
    "lasteditedby": "",
    "approved": false,
    "approved_date": "",
    "rejected": false,
    "rejected_date": "",
    "verified": false,
    "sent": false,
    "sent_date": "",
    "signed": false,
    "billed": false,
    "ordered": false,
    "delivered": false,
    "detail_source": 0,
    "detail_sourcelist": "",
    "detail_ordergroups": false,
    "ts_lastupdate": "2019–10–23 09:50:50"
  }
,

]
}

/PurchaseOrders/{id}

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/PurchaseOrders/17618

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: trbfWxfkIOzSfGPDktzRqOVbftGVIOmOjDjtzmmDttjGfDlVGl
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–0/1”, “Records”: [
  {
    "id": 17618,
    "company_id": 2,
    "company_name": "Groensoft",
    "nr": 29,
    "nr_add": "",
    "date": "2026–05–07",
    "expirationdate": "2026–06–06",
    "title": "",
    "concerning": "apitest",
    "ordernr": "",
    "pricedecimals": 2,
    "ledger": 700000,
    "workingdocumentdata_id": 33620,
    "address_id": 0,
    "address_salutation": "",
    "address_name": "",
    "address_address": "",
    "address_addressline2": "",
    "address_latitude": 0,
    "address_longitude": 0,
    "address_countrycode": "",
    "address_zipcode": "",
    "address_city": "",
    "address_state": "",
    "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": 0,
    "project_pnr": 0,
    "project_unr": 0,
    "project_name": "",
    "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": "19FR",
    "vatpercent5": 19,
    "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,
    "ordered": false,
    "delivered": false,
    "detail_source": 37,
    "detail_sourcelist": "FACTUUR",
    "detail_ordergroups": false,
    "ts_lastupdate": "2026–05–07 09:21:19"
  }
]
}

/PurchaseOrders/FieldInfo

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/PurchaseOrders/FieldInfo

with the following parameters :

Header Parameters :
ParameterName: AccessToken, ParameterValue: ffjfWxfODjzSfPGtOtzRqUUUfkGUIOrmjIAtzOttOjVGrUAkrO
ParameterName: Clientnr, ParameterValue: 115

Success gives statuscode 200 And the following result

[
  {
    "name": "company_id",
    "type_id": 1,
    "type_name": "tpLong",
    "length": 0,
    "required": false,
    "writeable": true,
    "forcewrite": false,
    "link": ""
  },
  {
    "name": "company_name",
    "type_id": 2,
    "type_name": "tpString",
    "length": 250,
    "required": false,
    "writeable": false,
    "forcewrite": false,
    "link": ""
  }
,

]