Skip to content

getAccountingSyncTieOut

READ

The tie-out grid: every persisted cell for the company, joined with account and period identity, newest period first.

POST /api/v1/accounting/getAccountingSyncTieOut
curl -X POST '<your-host>/api/v1/accounting/getAccountingSyncTieOut' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "integration": "string",
    "accountingPeriodId": "string",
    "accountId": "string"
  }'
Response
{
  "results": [
    {
      "id": "string",
      "companyId": "string",
      "integration": "string",
      "accountingPeriodId": "string",
      "accountId": "string",
      "carbonPostedAmount": 0,
      "syncedAmount": 0,
      "docBackedAmount": 0,
      "excludedAmount": 0,
      "pendingAmount": 0,
      "blockedAmount": 0,
      "providerAmount": 0,
      "internalDelta": 0,
      "externalDelta": 0,
      "computedAt": "string",
      "account": {
        "number": "string",
        "name": "string"
      },
      "accountingPeriod": {
        "startDate": "string",
        "endDate": "string",
        "fiscalYear": 0,
        "periodNumber": 0
      }
    }
  ],
  "count": null
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "integration": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "accountingPeriodId": {
      "type": [
        "string",
        "null"
      ]
    },
    "accountId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}