Download OpenAPI specification:
This API manages intercompany (interco) accounting reconciliation: it compares accounts across related accounting folders, surfaces account comparisons and their relations, exports the comparisons, and handles the pointing (matching/lettering) of intercompany entries. 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/interco |
| Staging | https://api-staging.inqom.com/interco |
| accountingFolderId required | integer <int32> |
| startDate required | string <date-time> |
| endDate required | string <date-time> |
| onlyInPeriod | boolean |
[- {
- "OriginFolder": {
- "AccountingFolderId": 0,
- "AccountingFolderName": "string"
}, - "RelatedFolder": {
- "AccountingFolderId": 0,
- "AccountingFolderName": "string"
}, - "AccountComparisons": [
- {
- "AccountComparisonId": 0,
- "AccountOrigin": {
- "AccountId": 0,
- "SubAccountId": 0,
- "PointedEntryCount": 0,
- "Balance": 0,
- "NotesCount": 0,
- "LinesCount": 0,
- "AccountName": "string",
- "AccountLabel": "string",
- "StatusByPeriod": [
- {
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "Unknown"
}
]
}, - "AccountRelated": {
- "AccountId": 0,
- "SubAccountId": 0,
- "PointedEntryCount": 0,
- "Balance": 0,
- "NotesCount": 0,
- "LinesCount": 0,
- "AccountName": "string",
- "AccountLabel": "string",
- "StatusByPeriod": [
- {
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "Unknown"
}
]
}, - "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "AccountComparisonIsOk": true,
- "DetailedErrors": [
- "string"
], - "Difference": 0
}
], - "PeriodStatus": {
- "Start": "2019-08-24T14:15:22Z",
- "End": "2019-08-24T14:15:22Z",
- "MonthCount": 0
}, - "IsCrossExercise": true,
- "ComparisonIsOk": true,
- "DetailedErrors": "string"
}
]| accountingFolderId required | integer <int32> |
| relatedAccountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
required | Array of objects or null (AccountComparisonCommand) |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "AccountComparisons": [
- {
- "AccountOriginId": 0,
- "SubAccountOriginId": 0,
- "AccountRelatedId": 0,
- "SubAccountRelatedId": 0,
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z"
}
]
}{- "OriginFolder": {
- "AccountingFolderId": 0,
- "AccountingFolderName": "string"
}, - "RelatedFolder": {
- "AccountingFolderId": 0,
- "AccountingFolderName": "string"
}, - "AccountComparisons": [
- {
- "AccountComparisonId": 0,
- "AccountOrigin": {
- "AccountId": 0,
- "SubAccountId": 0,
- "PointedEntryCount": 0,
- "Balance": 0,
- "NotesCount": 0,
- "LinesCount": 0,
- "AccountName": "string",
- "AccountLabel": "string",
- "StatusByPeriod": [
- {
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "Unknown"
}
]
}, - "AccountRelated": {
- "AccountId": 0,
- "SubAccountId": 0,
- "PointedEntryCount": 0,
- "Balance": 0,
- "NotesCount": 0,
- "LinesCount": 0,
- "AccountName": "string",
- "AccountLabel": "string",
- "StatusByPeriod": [
- {
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "Unknown"
}
]
}, - "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "AccountComparisonIsOk": true,
- "DetailedErrors": [
- "string"
], - "Difference": 0
}
], - "PeriodStatus": {
- "Start": "2019-08-24T14:15:22Z",
- "End": "2019-08-24T14:15:22Z",
- "MonthCount": 0
}, - "IsCrossExercise": true,
- "ComparisonIsOk": true,
- "DetailedErrors": "string"
}| accountingFolderId required | integer <int32> |
| accountComparisonId required | integer <int32> |
| relatedAccountingFolderId required | integer <int32> |
required | object (AccountIdentifiers) |
required | object (AccountIdentifiers) |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
{- "Origin": {
- "AccountId": 0,
- "SubAccountId": 0
}, - "Related": {
- "AccountId": 0,
- "SubAccountId": 0
}, - "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z"
}{- "Origin": {
- "AccountId": 0,
- "SubAccountId": 0,
- "Debit": 0.1,
- "Credit": 0.1,
- "Balance": 0,
- "Entries": [
- {
- "Id": 0,
- "Date": "2019-08-24T14:15:22Z",
- "Lines": [
- {
- "Id": 0,
- "Date": "2019-08-24T14:15:22Z",
- "Journal": "string",
- "Label": "string",
- "Debit": 0.1,
- "Credit": 0.1,
- "ProgressiveBalance": 0.1,
- "IsViewed": true,
- "IsPointed": true
}
]
}
]
}, - "Related": {
- "AccountId": 0,
- "SubAccountId": 0,
- "Debit": 0.1,
- "Credit": 0.1,
- "Balance": 0,
- "Entries": [
- {
- "Id": 0,
- "Date": "2019-08-24T14:15:22Z",
- "Lines": [
- {
- "Id": 0,
- "Date": "2019-08-24T14:15:22Z",
- "Journal": "string",
- "Label": "string",
- "Debit": 0.1,
- "Credit": 0.1,
- "ProgressiveBalance": 0.1,
- "IsViewed": true,
- "IsPointed": true
}
]
}
]
}
}| accountingFolderId required | integer <int32> |
| startDate required | string <date-time> |
| endDate required | string <date-time> |
| exportType | string or null |
| onlyInPeriod | boolean |
{- "Name": "string",
- "Url": "string"
}| accountingFolderId required | integer <int32> |
| accountComparisonId required | integer <int32> |
required | object (EntryInformations) |
| EntryLineIds required | Array of integers or null <int64> [ items <int64 > ] |
| IsPointed required | boolean |
{- "Entry": {
- "Id": 0,
- "Date": "2019-08-24T14:15:22Z",
- "AccountId": 0,
- "SubAccountId": 0
}, - "EntryLineIds": [
- 0
], - "IsPointed": true
}| accountingFolderId required | integer <int32> |
| accountComparisonId required | integer <int32> |
required | object (AccountIdentifiers) |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| IsPointed required | boolean |
{- "Account": {
- "AccountId": 0,
- "SubAccountId": 0
}, - "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IsPointed": true
}