v1

latestOpenAPI 3.0.02026-07-2418630310.7 KB
Sync Company-Specific

Reset Bookkeeping Data

Allows you to reset bookkeeping data for a company up to a specified date. If no date is provided, all bookkeeping data will be reset. Silverfin expect an incremental approach. This means you must only perform one request at a time per company. <b>Required scope(s):</b> financials:transactions:sync

<b>after_date</b>: It is recommended to always use this endpoint with the after_date parameter set to the date of the oldest change for regular sync attempts. The "oldest change" refers to the earliest date of any financial transaction or record that has changed. If a customer notices an inconsistency, you can perform a reset without date, allowing you to re-sync all data.

delete/api/v4/f/{firm_id}/syncs/companies/{company_id}/reset

Path parameters

firm_idnumber required

The unique identifier of the firm.

company_idnumber required

The unique identifier of the company.

Query parameters

after_datestring date

Recommended setting the date to the oldest change. Example: "01/01/2023" would reset all data from 1 January 2023 onward.

Response

Bookkeeping data successfully reset.

sync_pointstring required

A unique string representing a sync point used to track sync states.

Example response

{
  "sync_point": "f9a7c6df341325822e3ea264cfe39e5ef8c73aa4"
}