Download OpenAPI specification:
This API manages the lifecycle of accounting archives: creating fiscal archives for an accounting folder, attaching the underlying documents and artifacts, tracking their generation status and exposing the archived proofs and bundles for download. 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/archives |
| Staging | https://api-staging.inqom.com/archives |
| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "SituationId": 0,
- "ExerciseId": 0,
- "Name": "string",
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "NotificationSentAt": "2019-08-24T14:15:22Z",
- "Status": "Created",
- "Documents": [
- {
- "Id": 0,
- "Type": "Unkown",
- "Status": "Requested",
- "DetailId": 0,
- "Url": "string",
- "Name": "string",
- "Hash": "string",
- "Size": 0
}
]
}
]| accountingFolderId required | integer <int32> |
| CompanyId required | integer <int32> |
| ExerciseId required | integer <int32> |
| SituationId | integer or null <int32> |
| ArchiveType required | string Value: "ArchiveFiscale" |
| OptionalDocumentTypes | Array of strings or null Enum: "Unkown" "PlanComptable" "GrandLivre" "Balance" "LivreInventaire" "Pieces" "Bilan" "Immobilisation" "Revision" "FEC" "FEC_Description" "EntriesJournal" |
{- "CompanyId": 0,
- "ExerciseId": 0,
- "SituationId": 0,
- "ArchiveType": "ArchiveFiscale",
- "OptionalDocumentTypes": [
- "Unkown"
]
}{- "Id": 0,
- "AccountingFolderId": 0,
- "SituationId": 0,
- "ExerciseId": 0,
- "Name": "string",
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "NotificationSentAt": "2019-08-24T14:15:22Z",
- "Status": "Created"
}| accountingFolderId required | integer <int32> |
| archiveId required | integer <int32> |
| internalUrl | boolean Default: false |
{- "Id": 0,
- "AccountingFolderId": 0,
- "SituationId": 0,
- "ExerciseId": 0,
- "Name": "string",
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "NotificationSentAt": "2019-08-24T14:15:22Z",
- "Status": "Created",
- "Documents": [
- {
- "Id": 0,
- "Type": "Unkown",
- "Status": "Requested",
- "DetailId": 0,
- "Url": "string",
- "Name": "string",
- "Hash": "string",
- "Size": 0
}
]
}| accountingFolderId required | integer <int32> |
| archiveId required | integer <int32> |
| FileUrl | string or null |
| FileName | string or null |
| FileHash | string or null |
| FileType | string or null |
| FileSize required | integer <int64> |
| ExternalKey required | string <uuid> |
{- "FileUrl": "string",
- "FileName": "string",
- "FileHash": "string",
- "FileType": "string",
- "FileSize": 0,
- "ExternalKey": "3db83760-b3a9-4358-b6ee-e96f6dccc191"
}| accountingFolderId required | integer <int32> |
| archiveId required | integer <int32> |
| Id | integer or null <int32> |
| Url | string or null |
| Name | string or null |
| Type | string or null |
| Hash | string or null |
| Size required | integer <int64> |
{- "Id": 0,
- "Url": "string",
- "Name": "string",
- "Type": "string",
- "Hash": "string",
- "Size": 0
}| accountingFolderId required | integer <int32> |
| archiveId required | integer <int32> |
Array of objects or null (DocumentKeys) |
{- "ArtifactsIds": [
- {
- "DocumentId": 0,
- "DetailId": 0
}
]
}