Data sources and sync
A source identifies a connector and a read credential.
A source connects ERP, CRM, Treasury or e‑Factura Gateway to BI. credentialId references an account-managed secret; it is not the secret itself. The issued-invoices source supplies the net revenue metric.
Refresh moves from fresh or failed to running. Only a completion for the active operation can replace the last successful snapshot. A failed refresh preserves that snapshot and exposes its reason.
Use getSource to read status and lastSuccess. Do not infer freshness from the time you fetched a dashboard. Follow Connect a source to refresh and verify the connection.