FMSYNC

acomba.customer

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

Add/Update a customer 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 client, if client code does not exist, Bridge will create it.
active
BOOLEAN
required
Client status. Must be active to invoice
name
STRING
Client Name
sortkey
STRING
Keywords used by Acomba for searching
contact
STRING
Contact name for this client
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
Client Address
city
STRING
Client City
region
STRING
Client Region/Province/State
postal
STRING
Client Postal/Zip Code
country
STRING
Client Country
creditline
OBJECT
Credit Line informations
type
NUMBER
Credit Line type : 0 = None, 1 = Upon Authorization, 2 = Credit Line Check, 3 = Unlimited
amount
NUMBER
Credit Line Amount
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
payterm
NUMBER
Payment Term ID ( Check your acomba to get the list )
taxgroup
STRING
Tax Group Code ( Check your acomba to get the list )
salesrep
NUMBER
Sales Representative ID ( Check your acomba to get the list )
territory
NUMBER
Territory ID ( Check your acomba to get the list )
receivableaccount
NUMBER
Receivable Account ID ( Check your acomba to get the list )
orderallowed
BOOLEAN
Determine if orders are allowed for this client
openingdate
STRING
Opening date of the client account
comment
STRING
Comments on this client
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/customer
-d task={
   "token":"1714919909",
   "code":"fmsync2",
   "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,
   "creditline":{
      "type":3,
      "amount":5000
   },
   "phonenumber":"18005556666",
   "extension":"315",
   "faxnumber":"18779876547",
   "phonecustom":[{
      "description":"Mobile",
      "number":"5149784578",
      "extension":"315"
   }],
   "payterm":1,
   "taxgroup":"GST",
   "salesrep":2,
   "territory":1,
   "receivableaccount":1,
   "orderallowed":true,
   "openingdate":"08\/01\/18",
   "comment":"This client is awesome !",
   "return":{
      "syslog":{
         "table":"syslog",
         "record":{
            "key":"id",
            "value":1
         },
         "fntaskid":"taskid",
         "fnstatus":"status",
         "fnmessage":"message"
      }
   }
}
Return
-d data={
   "success":true,
   "message":null,
   "taskid":"20a686bf4bab9df1b0f30c85842d2b556d9898e5",
   "context":"acomba.customer"
}

Copyright © Création Logicom 2025