Download OpenAPI specification:
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.
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.
| Environment | Base URL |
|---|---|
| Production | https://api.inqom.com/lettering |
| Staging | https://api-staging.inqom.com/lettering |
| enterpriseId required | integer <int32> |
| RunFromStart required | boolean |
{- "RunFromStart": true
}[- {
- "NbLetteredLines": 0,
- "Lines": [
- {
- "LineId": 0,
- "SubAccountId": 0,
- "LineAmount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "LineLabel": "string",
- "EntryDocRef": "string",
- "AccountId": 0,
- "JournalName": "string"
}
], - "BookLetterId": 0,
- "LetterAlgo": "SameAmountDate"
}
]| enterpriseId required | integer <int32> |
| AccountNames | Array of strings or null |
{- "AccountNames": [
- "string"
]
}[- {
- "NbLetteredLines": 0,
- "Lines": [
- {
- "LineId": 0,
- "SubAccountId": 0,
- "LineAmount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "LineLabel": "string",
- "EntryDocRef": "string",
- "AccountId": 0,
- "JournalName": "string"
}
], - "BookLetterId": 0,
- "LetterAlgo": "SameAmountDate"
}
]| enterpriseId required | integer <int32> |
| account | integer or null <int32> |
| subAccountIds | Array of integers or null <int32> [ items <int32 > ] |
{- "account": 0,
- "subAccountIds": [
- 0
]
}[- {
- "NbLetteredLines": 0,
- "Lines": [
- {
- "LineId": 0,
- "SubAccountId": 0,
- "LineAmount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "LineLabel": "string",
- "EntryDocRef": "string",
- "AccountId": 0,
- "JournalName": "string"
}
], - "BookLetterId": 0,
- "LetterAlgo": "SameAmountDate"
}
]| enterpriseId required | integer <int32> |
{- "Id": 0,
- "AccountingFolderId": 0,
- "IsNightAutoLetteringDeactivated": true,
- "IsLetteringByBalancedAccountActivated": true,
- "ExcludedAccounts": [
- "string"
]
}| enterpriseId required | integer <int32> |
| ExcludedAccounts | Array of strings or null |
| IsNightAutoLetteringDeactivated required | boolean |
| IsLetteringByBalancedAccountActivated required | boolean |
{- "ExcludedAccounts": [
- "string"
], - "IsNightAutoLetteringDeactivated": true,
- "IsLetteringByBalancedAccountActivated": true
}{- "Id": 0,
- "AccountingFolderId": 0,
- "IsNightAutoLetteringDeactivated": true,
- "IsLetteringByBalancedAccountActivated": true,
- "ExcludedAccounts": [
- "string"
]
}| enterpriseId required | integer <int32> |
| ExcludedAccounts | Array of strings or null |
| IsNightAutoLetteringDeactivated required | boolean |
| IsLetteringByBalancedAccountActivated required | boolean |
{- "ExcludedAccounts": [
- "string"
], - "IsNightAutoLetteringDeactivated": true,
- "IsLetteringByBalancedAccountActivated": true
}{- "Id": 0,
- "AccountingFolderId": 0,
- "IsNightAutoLetteringDeactivated": true,
- "IsLetteringByBalancedAccountActivated": true,
- "ExcludedAccounts": [
- "string"
]
}