token STRING required | Encrypted token that contains de credential to access the accounting software. Use the online Tokenizer to generate new tokens. | ||||||||||||||||||||||||
code STRING required | The unique identifier for a supplier, Bridge will use all informations for this supplier to create the purchase (Address, Terms, GL etc). | ||||||||||||||||||||||||
date STRING required | Date of the current purchase | ||||||||||||||||||||||||
purchasetoclient STRING | Client code to address the purchase | ||||||||||||||||||||||||
reference STRING | Purchase Reference | ||||||||||||||||||||||||
description STRING | Purchase short description | ||||||||||||||||||||||||
project NUMBER | Project number associate with this purchase | ||||||||||||||||||||||||
taxgroup STRING | Name of the Tax Group, if not defined, bridge will use the default tax group of the supplier | ||||||||||||||||||||||||
ship OBJECT | Shipping informations
| ||||||||||||||||||||||||
lines ARRAY | Purchase Details.
| ||||||||||||||||||||||||
return OBJECT | Return informations to your application
|
{
"token":"1714919909",
"code":"5593366",
"date":"08\/01\/18",
"reference":"This my Reference",
"description":"This is my description",
"taxgroup":"GST",
"ship":{
"name":"Miracle Company",
"contact":"John Doe",
"address":"123 Bonneville Street",
"city":"Montreal",
"postal":"J9E 4T4",
"country":"CA",
"amount":30.99
},
"lines":[{
"product":"GiftCertificates",
"description":"Gift Certificat",
"quantity":1,
"price":10
},
{
"product":"WFrenchWin",
"description":"Steel French Window and 2 Tiled Windows",
"quantity":1.45,
"price":375.45
},
{
"description":"Descriptive line only",
"quantity":0,
"price":0
}],
"return":{
"table":"acomba.purchase",
"record":{
"key":"id",
"value":1
},
"fnpurchasenumber":"nopurchase",
"fnprefix":"prefix",
"syslog":{
"table":"syslog",
"record":{
"key":"id",
"value":1
},
"fntaskid":"taskid",
"fnstatus":"status",
"fnmessage":"message"
}
}
}
{
"success":true,
"message":null,
"taskid":"20a686bf4bab9df1b0f30c85842d2b556d9898e5",
"context":"acomba.purchase",
"data":{
"purchasenumber":"14657",
"prefix":"SU"
}
}
Copyright © Création Logicom 2025