Fred Interco Api (v1)

Download OpenAPI specification:

Fred Interco API

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.

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/interco
Staging https://api-staging.inqom.com/interco

AccountComparison

Get all accounting folder relations with account comparisons for a given accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
startDate
required
string <date-time>
endDate
required
string <date-time>
onlyInPeriod
boolean

Responses

Response samples

Content type
[
  • {
    }
]

Create or upsert multiple account comparisons for a given accounting folder and a related accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
relatedAccountingFolderId
required
integer <int32>
Request Body schema:
required
StartDate
required
string <date-time>
EndDate
required
string <date-time>
required
Array of objects or null (AccountComparisonCommand)

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "AccountComparisons": [
    ]
}

Response samples

Content type
{
  • "OriginFolder": {
    },
  • "RelatedFolder": {
    },
  • "AccountComparisons": [
    ],
  • "PeriodStatus": {
    },
  • "IsCrossExercise": true,
  • "ComparisonIsOk": true,
  • "DetailedErrors": "string"
}

Delete all account comparisons for a given accounting folder and a related accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
relatedAccountingFolderId
required
integer <int32>

Responses

Get all entries for origin and related accounts on a dedicated period

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
accountComparisonId
required
integer <int32>
relatedAccountingFolderId
required
integer <int32>
Request Body schema:
required
required
object (AccountIdentifiers)
required
object (AccountIdentifiers)
StartDate
required
string <date-time>
EndDate
required
string <date-time>

Responses

Request samples

Content type
{
  • "Origin": {
    },
  • "Related": {
    },
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "Origin": {
    },
  • "Related": {
    }
}

ExportAccountComparison

IntercoExportAccountComparison_ExportAccountComparisons

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
startDate
required
string <date-time>
endDate
required
string <date-time>
exportType
string or null
onlyInPeriod
boolean

Responses

Response samples

Content type
{
  • "Name": "string",
  • "Url": "string"
}

Pointing

IntercoPointing_PointingEntry

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
accountComparisonId
required
integer <int32>
Request Body schema:
required
required
object (EntryInformations)
EntryLineIds
required
Array of integers or null <int64> [ items <int64 > ]
IsPointed
required
boolean

Responses

Request samples

Content type
{
  • "Entry": {
    },
  • "EntryLineIds": [
    ],
  • "IsPointed": true
}

IntercoPointing_PointingAccount

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
accountComparisonId
required
integer <int32>
Request Body schema:
required
required
object (AccountIdentifiers)
StartDate
required
string <date-time>
EndDate
required
string <date-time>
IsPointed
required
boolean

Responses

Request samples

Content type
{
  • "Account": {
    },
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "IsPointed": true
}