Create the credential
- Sign in to Xledger as a domain administrator.
- Go to Administration → System Access → GraphQL → API tokens.
- Create a token for Control and grant only the read rights required for the integration.
- Generate and copy the API token or hash.
- Confirm whether the company uses the live or demo GraphQL endpoint.
Fill the fields in Control
Save and verify the credentials. If your organization rotates tokens, update Control after every rotation.
GraphQL access required
The token must be able to query these root fields:
Grant query/read access only. Xledger applies the token owner’s domain, entity, role, and data-access restrictions to
GraphQL results, so verify that the token can see every entity intended for Control.
Data imported
- Xledger entities
- Accounts-receivable and accounts-payable transactions, including outstanding amounts
- Customers and suppliers
- Projects and products
- Purchase orders