Accounting Sync Tie Out
The accounting sync tie out resource.
/accountingSyncTieOutList accounting sync tie outs
Retrieve a paginated list of accounting sync tie outs. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
curl --request GET \
--url 'https://rest.carbon.ms/accountingSyncTieOut?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"id": "abc123def456",
"companyId": "xyz789",
"integration": "string",
"accountingPeriodId": "xyz789",
"accountId": "xyz789",
"carbonPostedAmount": 0,
"syncedAmount": 0,
"docBackedAmount": 0
}
]/accountingSyncTieOutRetrieve a accounting sync tie out
Fetch a single accounting sync tie out by filtering on `id`.
Query parameters
idstringMatch on the accounting sync tie out's `id`, e.g. `eq.{id}`.
curl --request GET \
--url 'https://rest.carbon.ms/accountingSyncTieOut?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"id": "abc123def456",
"companyId": "xyz789",
"integration": "string",
"accountingPeriodId": "xyz789",
"accountId": "xyz789",
"carbonPostedAmount": 0,
"syncedAmount": 0,
"docBackedAmount": 0
}/accountingSyncTieOutCreate a accounting sync tie out
Create a new accounting sync tie out.
Body parameters
integrationstringrequiredaccountingPeriodIdstringrequiredReferences accountingPeriod.id
accountIdstringrequiredReferences account.id
carbonPostedAmountnumberrequiredsyncedAmountnumberrequireddocBackedAmountnumberrequiredexcludedAmountnumberrequiredpendingAmountnumberrequiredblockedAmountnumberrequiredproviderAmountnumberinternalDeltanumberrequiredexternalDeltanumbercomputedAttimestamprequiredcurl --request POST \
--url https://rest.carbon.ms/accountingSyncTieOut \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"integration":"string","accountingPeriodId":"xyz789","accountId":"xyz789","carbonPostedAmount":0,"syncedAmount":0,"docBackedAmount":0,"excludedAmount":0,"pendingAmount":0,"blockedAmount":0,"internalDelta":0,"computedAt":"2026-01-01T00:00:00Z"}'{
"id": "abc123def456",
"companyId": "xyz789",
"integration": "string",
"accountingPeriodId": "xyz789",
"accountId": "xyz789",
"carbonPostedAmount": 0,
"syncedAmount": 0,
"docBackedAmount": 0
}/accountingSyncTieOutUpdate a accounting sync tie out
Update an existing accounting sync tie out, matched on `id`.
Body parameters
integrationstringrequiredaccountingPeriodIdstringrequiredReferences accountingPeriod.id
accountIdstringrequiredReferences account.id
carbonPostedAmountnumberrequiredsyncedAmountnumberrequireddocBackedAmountnumberrequiredexcludedAmountnumberrequiredpendingAmountnumberrequiredblockedAmountnumberrequiredproviderAmountnumberinternalDeltanumberrequiredexternalDeltanumbercomputedAttimestamprequiredcurl --request PATCH \
--url 'https://rest.carbon.ms/accountingSyncTieOut?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"integration":"string"}'{
"id": "abc123def456",
"companyId": "xyz789",
"integration": "string",
"accountingPeriodId": "xyz789",
"accountId": "xyz789",
"carbonPostedAmount": 0,
"syncedAmount": 0,
"docBackedAmount": 0
}/accountingSyncTieOutDelete a accounting sync tie out
Delete a accounting sync tie out, matched on `id`. Returns 204 No Content.
Query parameters
idstringThe `id` of the accounting sync tie out to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url 'https://rest.carbon.ms/accountingSyncTieOut?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'