token STRING required | Encrypted token that contains de credential to access the accounting software. Use the online Tokenizer to generate new tokens. | ||||||||||||||||||||||||
batch STRING | Name of the batch you want to add the invoice, if it doesn't exist, Bridge will create a new Batch. | ||||||||||||||||||||||||
code STRING required | The unique identifier for a client, Bridge will use all informations for this client to create the invoice (Address, Terms, GL etc). | ||||||||||||||||||||||||
invoice STRING required | Unique Invoice Number | ||||||||||||||||||||||||
order STRING | Order Number | ||||||||||||||||||||||||
po STRING | Purchase order number | ||||||||||||||||||||||||
date STRING required | Date of the current invoice | ||||||||||||||||||||||||
description STRING | Invoice Description | ||||||||||||||||||||||||
termcode STRING | Payment term code | ||||||||||||||||||||||||
currency STRING | 3 Digits currency code ( CAD, USD ) | ||||||||||||||||||||||||
lines ARRAY required | Invoice Details.
| ||||||||||||||||||||||||
return OBJECT | Return informations to your application
|
{
"token":"eyJjaWUiOiJDOlxcVXNlcnNcXFB1YmxpY1xcRG9jdW1lbnRzXFxTaW1wbHkgQWNjb3VudGluZ1xcMjAxOFxcU2FtZGF0YVxcRW50ZXJwcmlzZVxcVW5pdmVyc2wuU0FJIiwidXNlciI6ImZtc3luYyIsInBhc3MiOiJmbXN5bmMifQ==",
"code":"Askew Shopping Centre",
"date":"Mar 31,
2015",
"reference":"This my Reference",
"comment":"This is my comment",
"lines":[{
"product":"C1020",
"description":"Trump's Toilet paper",
"quantity":1,
"price":10,
"amount":10,
"taxcode":"GP"
},
{
"product":"D1020",
"description":"T-Shirt",
"quantity":2,
"price":10,
"amount":20,
"taxcode":"GP"
}]
}
{
"success":true,
"taskid":"96fc4830f56bee198be6aa8c91a59450cfa4dc74",
"data":{
"noinvoice":"10082",
"prefix":"CA"
},
"context":"acomba.invoice",
"source":{
"type":"odbc",
"sent":true,
"message":null
},
"syslog":{
"type":"odbc",
"sent":true,
"message":null
}
}
Copyright © Création Logicom 2025