...
Header-Key:
This is the FT ID in CODAT = "UnB6UWtHSmJrR1A1SXBJVXdhcjZHUEx5YmtiSnluM2w0MGYwSFNlZw=="
It is similar for all Accounting Platforms, but we will need to set up the FT\CODAT developer account for each of them to use it.
Here is an example of how we should do it in XERO:
Set up the Xero integration | Codat_docsAfter the process, we should have Client ID ( CODAT \ FT ID from XERO ) and generate a secret Key for each platform.
The FT ID in CODAT, Client ID and Secret Key will be stored in a config table in the FT DB.Company Id:
For each FT client, we need to generate a Company ID by logging in to CODAT, going to Companies and Adding a new company:NOTE: There is No Hierarchy in CODAT, so sub-companies will have to be treated in CODAT as independent, and we will need to manage it from our DB
Company Connection :
...
Once the process is finished, the Compnt any Company record in CODAT will have a connection string ch we can use.
...
How to use the connection IDs:
For getting Data, we need to use only 1,2, and for pushing Data, all of the above :
...