Download OpenAPI specification:
This API computes, stores and exposes French financial states (Bilan, Compte de Résultat, CapPar, CCA/PCA, Capitaux Propres, Fixed Assets, Tax Result, Tax Credit, Social, SIG, Provisions…), plus the questionnaire that drives them. 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/fscp |
| Staging | https://api-staging.inqom.com/fscp |
Replace the URLs above and the authentication link with the values for this service if they differ.
| accountingFolderId required | integer <int32> |
| Type required | string |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
required | Array of objects (AmountOverride) |
| ChangeSet | string or null |
{- "Type": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Overrides": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Value": null,
- "ValueType": "String",
- "ToDelete": true
}
], - "ChangeSet": "string"
}| accountingFolderId required | integer <int32> |
| Type required | string |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
Array of objects or null (UserLines) | |
Array of objects or null (AmountOverride) | |
| ChangeSet | string or null |
{- "Type": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "UserLines": [
- {
- "NodeId": "string",
- "Value": [
- {
- "Id": 0,
- "Label": "string",
- "Order": 0,
- "Operation": "Add"
}
]
}
], - "Overrides": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Value": null,
- "ValueType": "String",
- "ToDelete": true
}
], - "ChangeSet": "string"
}| accountingFolderId required | integer <int32> |
| FinancialState required | string |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
required | Array of objects (FootnoteOverride) |
| ChangeSet | string or null |
{- "FinancialState": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Overrides": [
- {
- "Type": "PretAccordeEnCoursDexercice",
- "Value": 0.1,
- "ToDelete": true
}
], - "ChangeSet": "string"
}| accountingFolderId required | integer <int32> |
| caller | string or null |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| StateTypes | Array of strings or null |
| ApplyRules required | boolean |
| BalanceSnapshotId | integer or null <int32> |
object (GetFinancialStatesQueryFilter) | |
object (GetFinancialStatesQueryOptions) | |
| Context | string or null Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure" |
| ReferenceStartDate | string or null <date-time> |
| ReferenceEndDate | string or null <date-time> |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "StateTypes": [
- "string"
], - "ApplyRules": true,
- "BalanceSnapshotId": 0,
- "Filter": {
- "Filters": {
- "property1": {
- "ExcludedLines": [
- "string"
], - "ExcludedFootNotes": [
- "string"
], - "ExcludeHiddenLines": true,
- "ExcludeEmptyFootNotes": true,
- "WithDecimals": true,
- "WithVariation": true
}, - "property2": {
- "ExcludedLines": [
- "string"
], - "ExcludedFootNotes": [
- "string"
], - "ExcludeHiddenLines": true,
- "ExcludeEmptyFootNotes": true,
- "WithDecimals": true,
- "WithVariation": true
}
}
}, - "Options": {
- "AllowStatesWithGlobalError": true,
- "ChangeSet": "string"
}, - "Context": "FSCP",
- "ReferenceStartDate": "2019-08-24T14:15:22Z",
- "ReferenceEndDate": "2019-08-24T14:15:22Z"
}{- "LastUpdateDate": "2019-08-24T14:15:22Z",
- "FinancialStates": [
- {
- "Type": "string",
- "StateTitle": "string",
- "Rows": [
- {
- "RowIdentifier": "string",
- "HelpUri": "string",
- "Account": {
- "AccountNumber": "string",
- "Label": "string",
- "AccountId": 0,
- "SubAccountId": 0
}, - "Label": "string",
- "Level": "Section",
- "IsHidden": true,
- "Cells": [
- {
- "ColumnIdentifier": "string",
- "Amount": {
- "Value": null,
- "ModifiedByUser": true,
- "UserValue": null,
- "ValueKind": "String"
}, - "CanBeModifiedByUser": true,
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}
], - "Children": [
- { }
], - "AcceptsUserLines": true,
- "UserLineId": 0,
- "UserLineTemplate": { },
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
], - "FootNoteIndexes": [
- 0
], - "FootnoteIndex": 0,
- "IncludedAccounts": [
- {
- "AccountName": "string",
- "Type": "All",
- "InvertSign": true
}
], - "ExcludedAccounts": [
- {
- "AccountName": "string",
- "Type": "All",
- "InvertSign": true
}
]
}
], - "CheckSummary": {
- "Indicators": {
- "Error": 0,
- "Warning": 0,
- "Information": 0
}, - "Detail": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Type": "Information",
- "Message": "string"
}
]
}, - "Footnotes": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Type": "PretAccordeEnCoursDexercice",
- "UserValue": 0.1,
- "CalculatedValue": 0.1,
- "Label": "string",
- "ReadOnly": true,
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
], - "Index": 0
}
], - "Columns": [
- {
- "Identifier": "string",
- "Label": "string"
}
], - "ColumnDefinitions": {
- "property1": {
- "Identifier": "string",
- "Title": "string",
- "Subtitle": "string",
- "Shortlabel": "string",
- "Tags": [
- "string"
], - "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}, - "property2": {
- "Identifier": "string",
- "Title": "string",
- "Subtitle": "string",
- "Shortlabel": "string",
- "Tags": [
- "string"
], - "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}
}, - "ColumnDisplayStructure": [
- [
- "string"
]
], - "Tags": [
- "string"
], - "DependencyErrors": [
- {
- "Module": "string",
- "Caller": "string",
- "Error": "string"
}
]
}
], - "Metrics": [
- {
- "Key": "string",
- "Measure": 0.1,
- "Count": 0
}
]
}| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| ReferenceStartDate | string or null <date-time> |
| ReferenceEndDate | string or null <date-time> |
| StateTypes | Array of strings or null |
| DisplayMode required | string Enum: "Aggregate" "Compare" |
| TagIds required | Array of integers <int32> unique [ items <int32 > ] |
| ApplyRules required | boolean |
object (GetFinancialStatesQueryFilter) | |
| ChangeSet | string or null |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "ReferenceStartDate": "2019-08-24T14:15:22Z",
- "ReferenceEndDate": "2019-08-24T14:15:22Z",
- "StateTypes": [
- "string"
], - "DisplayMode": "Aggregate",
- "TagIds": [
- 0
], - "ApplyRules": true,
- "Filter": {
- "Filters": {
- "property1": {
- "ExcludedLines": [
- "string"
], - "ExcludedFootNotes": [
- "string"
], - "ExcludeHiddenLines": true,
- "ExcludeEmptyFootNotes": true,
- "WithDecimals": true,
- "WithVariation": true
}, - "property2": {
- "ExcludedLines": [
- "string"
], - "ExcludedFootNotes": [
- "string"
], - "ExcludeHiddenLines": true,
- "ExcludeEmptyFootNotes": true,
- "WithDecimals": true,
- "WithVariation": true
}
}
}, - "ChangeSet": "string"
}[- {
- "Type": "string",
- "StateTitle": "string",
- "Rows": [
- {
- "RowIdentifier": "string",
- "HelpUri": "string",
- "Account": {
- "AccountNumber": "string",
- "Label": "string",
- "AccountId": 0,
- "SubAccountId": 0
}, - "Label": "string",
- "Level": "Section",
- "IsHidden": true,
- "Cells": [
- {
- "ColumnIdentifier": "string",
- "Amount": {
- "Value": null,
- "ModifiedByUser": true,
- "UserValue": null,
- "ValueKind": "String"
}, - "CanBeModifiedByUser": true,
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}
], - "Children": [
- { }
], - "AcceptsUserLines": true,
- "UserLineId": 0,
- "UserLineTemplate": { },
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
], - "FootNoteIndexes": [
- 0
], - "FootnoteIndex": 0,
- "IncludedAccounts": [
- {
- "AccountName": "string",
- "Type": "All",
- "InvertSign": true
}
], - "ExcludedAccounts": [
- {
- "AccountName": "string",
- "Type": "All",
- "InvertSign": true
}
]
}
], - "CheckSummary": {
- "Indicators": {
- "Error": 0,
- "Warning": 0,
- "Information": 0
}, - "Detail": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Type": "Information",
- "Message": "string"
}
]
}, - "Footnotes": [
- {
- "RowIdentifier": "string",
- "ColumnIdentifier": "string",
- "Type": "PretAccordeEnCoursDexercice",
- "UserValue": 0.1,
- "CalculatedValue": 0.1,
- "Label": "string",
- "ReadOnly": true,
- "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
], - "Index": 0
}
], - "Columns": [
- {
- "Identifier": "string",
- "Label": "string"
}
], - "ColumnDefinitions": {
- "property1": {
- "Identifier": "string",
- "Title": "string",
- "Subtitle": "string",
- "Shortlabel": "string",
- "Tags": [
- "string"
], - "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}, - "property2": {
- "Identifier": "string",
- "Title": "string",
- "Subtitle": "string",
- "Shortlabel": "string",
- "Tags": [
- "string"
], - "CheckResults": [
- {
- "Type": "Information",
- "Message": "string"
}
]
}
}, - "ColumnDisplayStructure": [
- [
- "string"
]
], - "Tags": [
- "string"
], - "DependencyErrors": [
- {
- "Module": "string",
- "Caller": "string",
- "Error": "string"
}
]
}
]| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| contextType | string Default: "FSCP" Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure" |
| ChangeSet | string or null |
{- "Classes": [
- {
- "Type": "string",
- "Label": "string",
- "States": [
- {
- "Type": "string",
- "Label": "string",
- "RenderMode": "Array",
- "IsHidden": true,
- "IsConfigurable": true,
- "Group": "string",
- "Tags": [
- "string"
]
}
]
}
]
}| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| ReferenceStartDate | string or null <date-time> |
| ReferenceEndDate | string or null <date-time> |
| BalanceSnapshotId | integer or null <int32> |
| WithDetails required | boolean |
| StateTypes | Array of strings or null |
object (ExportAnalyticFilter) | |
| Type required | string Enum: "Excel" "Pdf" |
| ContextType required | string Enum: "FSCP" "Visualisation" "Plaquette" "FSCP_Structure" |
| Title required | string |
| ShowWatermark required | boolean |
| ShowDecimals required | boolean |
| ShowBilanVariationColumn required | boolean |
| ShowCompteDeResultatVariationColumn required | boolean |
| ThemeId | integer or null <int32> |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "ReferenceStartDate": "2019-08-24T14:15:22Z",
- "ReferenceEndDate": "2019-08-24T14:15:22Z",
- "BalanceSnapshotId": 0,
- "WithDetails": true,
- "StateTypes": [
- "string"
], - "AnalyticFilter": {
- "DisplayMode": "Aggregate",
- "TagIds": [
- 0
]
}, - "Type": "Excel",
- "ContextType": "FSCP",
- "Title": "string",
- "ShowWatermark": true,
- "ShowDecimals": true,
- "ShowBilanVariationColumn": true,
- "ShowCompteDeResultatVariationColumn": true,
- "ThemeId": 0
}{- "filename": "string",
- "tempUrl": "string"
}| accountingFolderId required | integer <int32> |
| StateType required | string |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
[- {
- "Id": "string",
- "Label": "string",
- "Accounts": [
- {
- "AccountId": 0,
- "SubAccountId": 0,
- "AccountName": "string",
- "AccountLabel": "string",
- "AmountType": "All",
- "IsInvert": true
}
]
}
]| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| changeSet | string or null |
[- {
- "FinancialStateType": "string",
- "ChartOfAccountName": "string",
- "ValidFrom": "2019-08-24T14:15:22Z",
- "ValidTo": "2019-08-24T14:15:22Z",
- "FinancialStateSource": "Dynamic",
- "ChangeSet": "string"
}
]| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
[- {
- "AccountingFolderId": 0,
- "LegalPersonName": "string",
- "ChartOfAccountName": "string",
- "IsInqom": true,
- "HasAccess": true,
- "IsImpactable": true,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "StatesToPreload": [
- {
- "StateType": "string",
- "CacheStatus": "NotCached"
}
]
}
]| accountingFolderId required | integer <int32> |
| startDate required | string <date-time> |
| endDate required | string <date-time> |
| changeSet | string or null |
[- {
- "Id": 0,
- "Identifier": "string",
- "Level": 0,
- "Position": 0,
- "Sentence": "string",
- "Answer": true,
- "Questions": [
- { }
]
}
]| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
required | Array of objects (QuestionnaireAnswer) |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Answers": [
- {
- "QuestionIdentifier": "string",
- "Answer": true
}
]
}