FMSYNC

acomba.supplier

Schema : https://api.fmsync.net/apiref/schema/acomba/supplier
Namespace : acomba
Method : supplier

Add/Update a supplier of Acomba.
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, if supplier code does not exist, Bridge will create it.
active
BOOLEAN
required
Supplier status. Must be active to invoice
name
STRING
Supplier Name
sortkey
STRING
Keywords used by Acomba for searching
contact
STRING
Contact name for this supplier
email
STRING
Email Address
emailstatement
BOOLEAN
Determine if Acomba statement will be sent to the Email Address by default
web
STRING
Website Url
language
NUMBER
Acomba's language ID. Default values are 9=English and 12=French. Please check your Acomba to confirm.
location
OBJECT
Address informations
address
STRING
Supplier Address
city
STRING
Supplier City
region
STRING
Supplier Region/Province/State
postal
STRING
Supplier Postal/Zip Code
country
STRING
Supplier Country
phonenumber
STRING
Phone Number
extension
STRING
Phone Extension
faxnumber
STRING
Fax Number
phonecustom
ARRAY
Custom Phone Number
description
STRING
required
Phone Description
number
STRING
required
Phone Number
extension
STRING
Phone Extension
salesrep
OBJECT
Sales Representative informations
name
STRING
Name of the representative
email
STRING
Email Address of the representative
phonenumber
STRING
Phone Number of the representative
extension
STRING
Phone Extension of the representative
payterm
NUMBER
Payment Term ID ( Check your acomba to get the list )
taxgroup
STRING
Tax Group Code ( Check your acomba to get the list )
receivableaccount
NUMBER
Receivable Account ID ( Check your acomba to get the list )
payableaccount
NUMBER
Payable Account ID ( Check your acomba to get the list )
purchaseaccount
NUMBER
Purchase Account ID ( Check your acomba to get the list )
comment
STRING
Comments on this supplier
return
OBJECT
Return informations to your application
syslog
OBJECT
Status returned to your system table
table
STRING
required
Name of your system table
fntaskid
STRING
required
Field Name of the taskid column
fnstatus
STRING
required
Field Name of the status column
fnmessage
STRING
required
Field Name of the message column

Request
[POST] curl https://api.fmsync.net/v2/{sourcekey}/acomba/supplier
-d task={
   "token":"1714919909",
   "code":"fmsync",
   "active":true,
   "name":"46 NORTH LLC",
   "contact":"David",
   "sortkey":"Bridge Synchronisation Service",
   "location":{
      "address":"123 Bonneville Street",
      "city":"Montreal",
      "postal":"J9E 4T4",
      "region":"QC",
      "country":"CA"
   },
   "email":"fmsync@fortysixnorth.com",
   "emailstatement":true,
   "web":"https:\/\/fmsync.net",
   "language":9,
   "salesrep":{
      "name":"",
      "email":"",
      "phonenumber":"",
      "extension":""
   },
   "phonenumber":"18005556666",
   "extension":"315",
   "faxnumber":"18779876547",
   "phonecustom":[{
      "description":"Mobile",
      "number":"5149784578",
      "extension":"315"
   }],
   "payterm":1,
   "taxgroup":"GST",
   "territory":1,
   "receivableaccount":1,
   "orderallowed":true,
   "openingdate":"08\/20\/18",
   "comment":"This supplier is awesome !",
   "return":{
      "syslog":{
         "table":"fmsync",
         "fntaskid":"taskid",
         "fnstatus":"status",
         "fnmessage":"message"
      }
   }
}
Return
-d data={
   "status":1,
   "customernumber":"fmsync",
   "response":"success",
   "context":"acomba.supplier",
   "taskid":"9f805d9a3c22f2079ee7ecd215ffd16811be16ac"
}

Copyright © Création Logicom 2025