Using CDC Events
Anytime data changes in any accounting system, SmoothIntegration will create an Event. This is what is called Change Data Capture (CDC).
Events will be created immediately, or periodically, depending on the accounting system in use, their rate limits, and available features like webhooks.
You can listen to new events live, or in batches. This guide will focus on live streaming, but if you want to import changes in batches you can follow the Batch Import Events Guide. Commonly you want to import events in batches to ensure values do not change as your users are using your solution.
If you're not interested in responding to changes in ( or the creation of ) documents, or synchronising your data, you can use the normal read endpoints like /v1/data/invoices instead.
CDC Example Use Cases
Here you can find some examples on how you can use the Accounting CDC- Synchronize data to your data store
- Save new Invoices to Excel