Fred Lettering Api (v1)

Download OpenAPI specification:

Fred Lettering API

This API manages the lettering (reconciliation matching) of accounting entries: it runs automatic and manual lettering across accounting folders, exposes the lettering configuration, and pushes the resulting matches back to the accounting backend. It is part of the larger Fred platform and is consumed by other Fred services.

Authentication

All endpoints are protected and require a valid Fred bearer token, except where explicitly marked as anonymous. Authentication and authorization follow the common Inqom mechanism shared by every Fred microservice.

See the shared Inqom authentication documentation for how to obtain a token and call the API behind the gateway.

Environments

Environment Base URL
Production https://api.inqom.com/lettering
Staging https://api-staging.inqom.com/lettering

Lettering

Letter by accounting folder id

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>
Request Body schema:
RunFromStart
required
boolean

Responses

Request samples

Content type
{
  • "RunFromStart": true
}

Response samples

Content type
[
  • {
    }
]

LetteringLettering_LetterByAccounts

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>
Request Body schema:
AccountNames
Array of strings or null

Responses

Request samples

Content type
{
  • "AccountNames": [
    ]
}

Response samples

Content type
[
  • {
    }
]

LetteringLettering_LetterByAccount

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>
Request Body schema:
account
integer or null <int32>
subAccountIds
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "account": 0,
  • "subAccountIds": [
    ]
}

Response samples

Content type
[
  • {
    }
]

LetteringConfiguration

Get a lettering configuration by accounting folder

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "IsNightAutoLetteringDeactivated": true,
  • "IsLetteringByBalancedAccountActivated": true,
  • "ExcludedAccounts": [
    ]
}

Create a lettering configuration

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>
Request Body schema:
ExcludedAccounts
Array of strings or null
IsNightAutoLetteringDeactivated
required
boolean
IsLetteringByBalancedAccountActivated
required
boolean

Responses

Request samples

Content type
{
  • "ExcludedAccounts": [
    ],
  • "IsNightAutoLetteringDeactivated": true,
  • "IsLetteringByBalancedAccountActivated": true
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "IsNightAutoLetteringDeactivated": true,
  • "IsLetteringByBalancedAccountActivated": true,
  • "ExcludedAccounts": [
    ]
}

Update a lettering configuration

Authorizations:
oauth2
path Parameters
enterpriseId
required
integer <int32>
Request Body schema:
ExcludedAccounts
Array of strings or null
IsNightAutoLetteringDeactivated
required
boolean
IsLetteringByBalancedAccountActivated
required
boolean

Responses

Request samples

Content type
{
  • "ExcludedAccounts": [
    ],
  • "IsNightAutoLetteringDeactivated": true,
  • "IsLetteringByBalancedAccountActivated": true
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "IsNightAutoLetteringDeactivated": true,
  • "IsLetteringByBalancedAccountActivated": true,
  • "ExcludedAccounts": [
    ]
}

Get all lettering configurations

Authorizations:
oauth2

Responses

Response samples

Content type
[
  • {
    }
]