Diamant
Connectors · General
Your customers and receivables from Diamant reach Bilendo automatically through the Diamant REST API.
What the Diamant connection delivers
Two kinds of data on a schedule, a third on request. Bilendo fetches them over your Diamant API and uploads them to Bilendo as CSV files.
Customers: master data with name, VAT identification number, payment condition, address, contact details and the dunning type from Diamant.
Open items: open receivables with amount, due date, dunning level, the posting details and settlement information.
Cleared items (on request only, not part of the scheduled runs): settled postings with the clearing details, such as clearing amount, clearing number and clearing year.
Several company codes in one connection. One connection can cover several company codes of a single Diamant installation. Bilendo creates one file per company code and data type.
Business unit, area and cost centre. Open items, and cleared items when they are fetched, carry the cost centre from Diamant. Bilendo derives the business unit and the area from it (see Good to know).
Automatic runs. Customers and open items are imported on a schedule that Bilendo sets up with you, as a full or a differential sync.
How it works
- Bilendo sets up the connection with your Diamant API access → Connection test: Bilendo fetches one customer record
- Connection test: Bilendo fetches one customer record → First full import
- First full import → Scheduled imports run for every company code
- Scheduled imports run for every company code → Customers and open items are fetched from the Diamant API
- Customers and open items are fetched from the Diamant API → Business unit and area are derived from the cost centre
- Business unit and area are derived from the cost centre → CSV files are uploaded to Bilendo
- Scheduled imports run for every company code → Failed run: retried automatically, then restarted by Bilendo
What you need
A Diamant installation with a REST API that Bilendo can reach. The connection test checks your access data and the network path to the API.
The API endpoint: the full URL of your Diamant API server.
Access data for the API: a user name and a password for the API.
Your company codes. All company codes that Bilendo should import.
A decision on the differential sync (optional). The Journal Sync Overlap is the number of days a differential sync looks back. The default is 0 days. If your ERP sometimes back-dates changes, choose a positive number of days, for example 7.
A note on certificates, if needed. If your Diamant server has certificate problems, tell Bilendo. Checking the certificate can be switched off for the connection, but only after you have agreed with your IT, and it should be avoided in production where possible.
Your preferred run times for the automatic imports.
Setting it up with Bilendo
In the Importer there is no screen of your own for the connection: Bilendo creates it together with you. Please hand over the API endpoint, the user name and password, the company codes and your optional settings through a secure channel, never by ticket or plain email. Bilendo stores the user name and password encrypted.
After saving, the connection is first inactive. Bilendo runs the connection test, starts a first full import and checks the data in your Bilendo account, in particular amounts, dates and categorisations. Only then the automatic schedule is switched on. A first full import can take from a few minutes to several hours, depending on the data volume.
Good to know
Schedule. A new connection gets a default schedule that runs daily at 15:15. Bilendo can add further schedules for a connection, for example a differential sync every day and a full sync once a week, and spreads run times across customers to avoid load peaks.
Full or differential. A full sync fetches all records. A differential sync fetches only records changed within the look-back window of the Journal Sync Overlap; it is meant for the regular runs. Customers are always fetched in full, even during a differential run.
Scheduled runs cover customers and open items. Cleared items are currently not part of the scheduled runs; Bilendo starts that import by hand on request.
Business unit and area. The cost centre is looked up in a fixed table. With a match you get its business unit and area. Without a match the area is Sonstiges. A posting without a cost centre gets the business unit nocostcentres and the area Sonstiges; a posting with several comma-separated cost centres gets multiplecostcentres and Sonstiges. If you see unexpected values, tell Bilendo: a cost centre that is not yet in the table can be added.
Speed. To avoid repeated API calls, Bilendo keeps a cache of the cost centre and the ledger entry number of each open item and takes care of it. If you correct a cost centre in Diamant and the old value still appears, tell Bilendo.
One run at a time. Only one import runs per connection at a time; a second trigger is rejected. A lock that is stuck is released automatically after three hours.
If a run fails. Temporary errors, such as a short timeout, restart the whole run automatically. If it still fails, the run is marked as failed. Bilendo then looks at the error message, and once the cause is resolved, for example invalid access data or an unreachable API, restarts the import. The failed run stays unchanged; a new run is started.
Data missing after a successful run. If a differential run missed changes that were back-dated by more than the look-back window, a longer overlap or a full run fetches them again. Files are only sent to Bilendo if the file upload is enabled for the connection, which Bilendo takes care of.