Skip to content

Finalize a reconciliation

POST
/api/trust/reconciliations/{id}/finalize
curl --request POST \
--url https://api.getvespy.com/api/trust/reconciliations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/finalize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "notes": "example" }'

Locks a draft once the statement balance equals the cleared balance. A note is required when the books and the owner balances differ.

id
required
string format: uuid
Media typeapplication/json
object
notes
string
>= 1 characters <= 2000 characters
Examplegenerated
{
"notes": "example"
}

Default Response

Media typeapplication/json
object
trustReconciliation
required
object
adjustedBankBalanceCents
required

Statement balance plus outstanding deposits minus outstanding withdrawals.

integer
nullable
bankAccountId
required
string format: uuid
bookBalanceCents
required
integer
nullable
clearedBalanceCents
required

Sum of every movement cleared on the account.

integer
nullable
createdAt
required
string format: date-time
createdByUserId
required
string format: uuid
nullable
depositLiabilityTotalCents
required
integer
finalizedAt
required
string format: date-time
nullable
finalizedByUserId
required
string format: uuid
nullable
id
required
string format: uuid
ledgerEndingBalanceCents
required
integer
notes
required
string
nullable
organizationId
required
string format: uuid
outstandingDepositsCents
required

Money in on the books up to the statement date that has not cleared.

integer
nullable
outstandingWithdrawalsCents
required

Money out on the books up to the statement date that has not cleared.

integer
nullable
ownerPayableTotalCents
required
integer
periodEnd
required
string format: date
periodStart
required
string format: date
reconciliationType
required
string
Allowed values: manual automated
resolvedAt
required
string format: date-time
nullable
statementEndingBalanceCents
required
integer
status
required

A statement reconciliation is worked as a draft and locked when finalized.

string
Allowed values: draft finalized
subledgerTotalCents
required
integer
nullable
threeWayComparison
required
object
bankStatementBalance
required
integer
bankVsBookVariance
required
integer
bookBalance
required
integer
bookVsSubledgerVariance
required
integer
subledgerTotal
required
integer
unresolvedItems
required
Array<object>
object
key
additional properties
any
varianceCents
required
integer
Example
{
"trustReconciliation": {
"reconciliationType": "manual",
"status": "draft"
}
}

Default Response

Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{
"code": "example",
"errors": [
{
"code": "example",
"message": "example",
"path": "example"
}
],
"message": "example"
}

Default Response

Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{
"code": "example",
"errors": [
{
"code": "example",
"message": "example",
"path": "example"
}
],
"message": "example"
}

Default Response

Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{
"code": "example",
"errors": [
{
"code": "example",
"message": "example",
"path": "example"
}
],
"message": "example"
}

Default Response

Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{
"code": "example",
"errors": [
{
"code": "example",
"message": "example",
"path": "example"
}
],
"message": "example"
}

Default Response

Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{
"code": "example",
"errors": [
{
"code": "example",
"message": "example",
"path": "example"
}
],
"message": "example"
}