Fred Revision Api (v1)

Download OpenAPI specification:

Fred Revision API

This API manages the audit/revision lifecycle for accounting folders: revision instances, cycles, diligences, account states, validation tasks, notes, rubrics, synthesis and the templates that drive them. 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/revision
Staging https://api-staging.inqom.com/revision

AccountingAudits

Gets the accounting audits list for a given dossierId

Authorizations:
oauth2
path Parameters
dossierId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

AccountState

Gets synchronized account states by revision ID.

Refreshed from Accounting and saved first when the caller has the write routes' rights (Write and edit permission), else returned as stored. A revision of another accounting folder answers 403.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

Responses

Response samples

Content type
[
  • {
    }
]

Updates the account state snapshot for a revision.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

Request Body schema:

The account snapshot model.

SourceId
required
integer <int32>
SubSourceId
integer <int32>
Balance
required
number <double>
LastEntryLineDate
required
string <date-time>

Responses

Request samples

Content type
{
  • "SourceId": 0,
  • "SubSourceId": 0,
  • "Balance": 0.1,
  • "LastEntryLineDate": "2019-08-24T14:15:22Z"
}

Updates the manual state of accounts in a revision. Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
accountStateIds
Array of integers <int32> [ items <int32 > ]

The account state IDs.

state
string
Enum: "None" "Review" "ReviewWithAnomaly"

The manual state to set.

Request Body schema:

The account keys.

Array
AccountId
required
integer <int32>
SubAccountId
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

Expires account states for a revision. Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
eventDatetime
string <date-time>

The event date and time.

Request Body schema:

The accounts to expire.

Array
AccountId
required
integer <int32>
SubAccountId
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

Updates the manual state of the account states of a revision, by account identifier (411, 411ABC).

This operation requires write permissions for BookKeeping resources and the edit permission on the revision. When the call reads Accounting (an identifier no account state carries, or an account state without identifier), an account with no entry left loses its account state, as on a refresh, and its new state goes with it. An account identifier that no account state carries is skipped and logged; the others still change. Possible HTTP response codes:

  • 204 No Content: The account states carrying the identifiers changed, twins together; the identifiers no account state carries are skipped.
  • 400 Bad Request: Indicates that the list is empty, holds only blank identifiers, or that the body is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision is not in this accounting folder.
  • 417 Expectation Failed: Indicates that the user cannot edit the revision: it does not exist, is closed, or is validated and the user is not a supervisor.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

Request Body schema: application/json

The account identifiers, matched exactly, and the manual state to set.

AccountIdentifiers
required
Array of strings non-empty
State
required
string <Enumeration>
Enum: "None" "Review" "ReviewWithAnomaly"

Responses

Request samples

Content type
application/json
{
  • "AccountIdentifiers": [
    ],
  • "State": "None"
}

Expires the account states of a revision, by account identifier (411, 411ABC).

This operation requires write permissions for BookKeeping resources and the edit permission on the revision. An account identifier that no account state carries (a new compte auxiliaire with no account state yet) has nothing to expire: it is skipped and logged, as in V1. The account identifiers read from Accounting on the way are saved. Possible HTTP response codes:

  • 204 No Content: The account states carrying the identifiers are expired; the identifiers no account state carries are skipped.
  • 400 Bad Request: Indicates that the list is empty, holds only blank identifiers, or that the body is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision is not in this accounting folder.
  • 417 Expectation Failed: Indicates that the user cannot edit the revision: it does not exist, is closed, or is validated and the user is not a supervisor.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

Request Body schema: application/json

The account identifiers, matched exactly, and the event date and time.

AccountIdentifiers
required
Array of strings non-empty
EventDatetime
required
string <date-time>

Responses

Request samples

Content type
application/json
{
  • "AccountIdentifiers": [
    ],
  • "EventDatetime": "2019-08-24T14:15:22Z"
}

Gets linked diligences for an account state.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
sourceId
integer <int32>

The source ID.

subSourceId
integer <int32>

The sub-source ID (optional).

Responses

Response samples

Content type
[
  • {
    }
]

Gets the diligences whose accounts cover an account (411, 411ABC): a diligence account it starts with (4, 41, 411…). A diligence without stored filters (created before them) covers the account through its comptes généraux.

This operation requires read permissions for BookKeeping resources. Reads Revision only: no Accounting call, nothing saved. Possible HTTP response codes:

  • 200 OK: Returns the diligences covering the account; empty when none does.
  • 400 Bad Request: Indicates that the account is missing or blank.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision is not in this accounting folder.
  • 404 Not Found: Indicates that the revision does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

query Parameters
accountIdentifier
required
string

The account (case and surrounding spaces ignored).

Responses

Response samples

Content type
[
  • {
    }
]

Cycle

Gets the content of a specific cycle in a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

cycleId
required
integer <int32>

The cycle ID.

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "Position": 0,
  • "IsActivated": true,
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "MasterSheet": [
    ],
  • "Diligences": [
    ]
}

Gets a cycle's diligences, deactivated ones included, each with its own accounts (4011, 401AMAZ) instead of Accounting ids: its stored filters in their saved order. A diligence without stored filters (created before them) comes with the numbers of its comptes généraux (401, 4011).

This operation requires read permissions for BookKeeping resources. Reads Revision only: no Accounting call, nothing saved. Possible HTTP response codes:

  • 200 OK: Returns the cycle's diligences; empty when it has none, AccountIdentifiers empty for a diligence with no account.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision is not in this accounting folder.
  • 404 Not Found: Indicates that the revision does not exist, or that the cycle is not one of the revision.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

cycleId
required
integer <int32> [ 1 .. 2147483647 ]

The ID of a cycle of the revision.

Responses

Response samples

Content type
[
  • {
    }
]

Gets the progress status of a specific cycle in a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

cycleId
required
integer <int32>

The cycle ID.

Responses

Response samples

Content type
{
  • "Name": "string",
  • "Color": "string",
  • "OverallProgress": 0.1,
  • "TotalDiligencesCount": 0,
  • "CompletedDiligencesCount": 0,
  • "PrioritizedCompletedDiligencesCount": 0,
  • "MandatoryCompletedDiligencesCount": 0,
  • "PrioritizedDiligencesCount": 0,
  • "MandatoryDiligencesCount": 0,
  • "BlockedRemainingDiligencesCount": 0,
  • "InvalidDiligencesCount": 0,
  • "IgnoredDiligencesCount": 0,
  • "ExpiredDiligencesCount": 0,
  • "TotalAccountCount": 0,
  • "ValidAccountCount": 0,
  • "InvalidAccountCount": 0,
  • "UnReviewAccountCount": 0,
  • "ExpiredAccountCount": 0,
  • "OpenItemCount": 0,
  • "UnseenLineCount": 0
}

Assigns a user to a cycle.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

cycleId
required
integer <int32>

The cycle ID.

userId
required
integer <int32>

The user ID to assign.

Responses

Removes a user from a cycle.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

cycleId
required
integer <int32>

The cycle ID.

userId
required
integer <int32>

The user ID to remove.

Responses

Gets all notes for a specific cycle.

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

The cycle ID.

Responses

Response samples

Content type
[
  • {
    }
]

Gets resources included by cycle for a revision instance. (Obsolete) Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionInstanceId
required
integer <int32>

The revision instance ID.

Responses

Response samples

Content type
[
  • {
    }
]

CycleTemplate

Get cycle templates by company id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Create a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
Request Body schema:
required
Name
required
string or null
RevisionTemplateId
required
integer <int32>
Type
required
string
Enum: "None" "Custom" "Treasury" "Stock" "CustomerSale" "ProviderPurchaseCharge" "FixedAsset" "Personnel" "State" "Equity"
Color
required
string or null
IsMandatory
required
boolean
ChartOfAccountId
required
integer <int32>

Responses

Request samples

Content type
{
  • "Name": "string",
  • "RevisionTemplateId": 0,
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "ChartOfAccountId": 0
}

Response samples

Content type
0
0

Get cycle templates by company id and chart of account id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
chartOfAccountId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Get cycle templates by id Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>
cycleTemplateId
required
integer <int32>

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Name": "string",
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "ChartOfAccountId": 0,
  • "MasterSheet": [
    ],
  • "AccountsByChartOfAccount": {
    },
  • "Diligences": [
    ],
  • "SuggestedDiligences": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Get the revision templates a cycle template is used in

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Get cycle types

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>

Responses

Response samples

Content type
{
  • "None": "string",
  • "Custom": "string",
  • "Treasury": "string",
  • "Stock": "string",
  • "CustomerSale": "string",
  • "ProviderPurchaseCharge": "string",
  • "FixedAsset": "string",
  • "Personnel": "string",
  • "State": "string",
  • "Equity": "string"
}

Copy a cycle template in a revision template Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
revisionTemplateId
required
integer <int32>
query Parameters
keepOriginCycleTemplate
boolean

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Name": "string",
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "ChartOfAccountId": 0,
  • "MasterSheet": [
    ],
  • "AccountsByChartOfAccount": {
    },
  • "Diligences": [
    ],
  • "SuggestedDiligences": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Add accounts for chart of account from a other chart of account to a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
revisionTemplateId
required
integer <int32>
Request Body schema:
required
ReferenceChartOfAccountId
required
integer <int32>
DestinationChartOfAccountId
required
integer <int32>

Responses

Request samples

Content type
{
  • "ReferenceChartOfAccountId": 0,
  • "DestinationChartOfAccountId": 0
}

Update a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
Request Body schema:
required
Name
required
string or null
Type
required
string
Enum: "None" "Custom" "Treasury" "Stock" "CustomerSale" "ProviderPurchaseCharge" "FixedAsset" "Personnel" "State" "Equity"
Color
required
string or null
IsMandatory
required
boolean

Responses

Request samples

Content type
{
  • "Name": "string",
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true
}

Delete a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>

Responses

Update the master sheet of a cycle template Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
Request Body schema:
required
required
object or null
Deprecated

Responses

Request samples

Content type
{
  • "AccountsByChartOfAccounts": {
    }
}

Update position of diligences in a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
Request Body schema:
required
Array
DiligenceId
required
integer <int32>
Position
required
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

Activate or deactivate a chart of account in a cycle template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
cycleTemplateId
required
integer <int32>
chartOfAccountId
required
integer <int32>
Request Body schema:
required
RevisionTemplateId
required
integer <int32>
IsActive
required
boolean

Responses

Request samples

Content type
{
  • "RevisionTemplateId": 0,
  • "IsActive": true
}

Gets a cycle template of a revision template, with its master sheet and its diligence templates' Accounts as plain strings.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the cycle template.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the cycle template does not exist or is not available to this company, or that the revision template does not exist or does not hold this cycle template.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

revisionTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The revision template ID.

cycleTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The cycle template ID.

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Name": "string",
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "ChartOfAccountId": 0,
  • "AccountIdentifiersByChartOfAccounts": {
    },
  • "Diligences": [
    ],
  • "SuggestedDiligences": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Copies a cycle template in a revision template, every master sheet Account included.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the copy.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision template or the cycle template belongs to another company.
  • 404 Not Found: Indicates that the revision template does not exist, or that the cycle template is not in it.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

cycleTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The cycle template ID.

revisionTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The revision template ID.

query Parameters
keepOriginCycleTemplate
boolean

Whether the revision template keeps the original cycle template.

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Name": "string",
  • "Type": "None",
  • "Color": "string",
  • "IsMandatory": true,
  • "ChartOfAccountId": 0,
  • "AccountIdentifiersByChartOfAccounts": {
    },
  • "Diligences": [
    ],
  • "SuggestedDiligences": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Updates the whole master sheet of a cycle template. List order is the position; the Accounts are stored as given, no account id is resolved.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 204 No Content: The master sheet is updated.
  • 400 Bad Request: Indicates that the body is invalid, or that an Account is longer than 64 characters.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the cycle template belongs to another company.
  • 404 Not Found: Indicates that the cycle template does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

cycleTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The cycle template ID.

Request Body schema: application/json

The Accounts by chart of accounts.

required
object

Responses

Request samples

Content type
application/json
{
  • "AccountIdentifiersByChartOfAccounts": {
    }
}

Diligence

Creates a personal diligence for a cycle in a revision instance. Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionInstanceId
required
integer <int32>

The revision instance ID.

cycleId
required
integer <int32>

The cycle ID.

Request Body schema:
required

The create personal diligence command.

Reference
string or null
Label
string or null
IsSuggestableAsTemplate
required
boolean
Priority
required
string
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
ControlType
required
string
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
Array of objects or null (AccountCommand)
Deprecated
Array of objects or null (ResourceCommand)

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "Label": "string",
  • "IsSuggestableAsTemplate": true,
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "Accounts": [
    ],
  • "Resources": [
    ]
}

Response samples

Content type
0
0

Updates a personal diligence in a revision instance. Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionInstanceId
required
integer <int32>

The revision instance ID.

diligenceId
required
integer <int32>

The diligence ID.

Request Body schema:
required

The update personal diligence command.

Reference
string or null
Label
string or null
IsSuggestableAsTemplate
boolean
Priority
string or null
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
ControlType
string or null
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
Array of objects or null (AccountCommand)
Deprecated
Array of objects or null (ResourceCommand)

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "Label": "string",
  • "IsSuggestableAsTemplate": true,
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "Accounts": [
    ],
  • "Resources": [
    ]
}

Deletes a personal diligence in a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionInstanceId
required
integer <int32>

The revision instance ID.

diligenceId
required
integer <int32>

The diligence ID.

Responses

Creates a personal diligence for a cycle of a revision. Each Account (401, 401DUPONT) covers every compte général or compte auxiliaire of the folder starting with it; an Account that matches nothing is accepted.

This operation requires write permissions for BookKeeping resources and the edit permission on the revision. Possible HTTP response codes:

  • 200 OK: Returns the ID of the created diligence.
  • 400 Bad Request: Indicates that the body is invalid, an Account is longer than 64 characters, or the Accounts are all blank.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the cycle is not in this revision, or that the revision is not in this accounting folder.
  • 404 Not Found: Indicates that the cycle does not exist.
  • 417 Expectation Failed: Indicates that the user has no edit permission on the revision.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

cycleId
required
integer <int32> [ 1 .. 2147483647 ]

The ID of a cycle of the revision.

Request Body schema: application/json

The diligence, its Accounts (empty: no account) and its resources.

Reference
required
string non-empty
Label
required
string non-empty
IsSuggestableAsTemplate
required
boolean
Priority
required
string <Enumeration>
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
ControlType
required
string <Enumeration>
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
AccountIdentifiers
required
Array of strings
required
Array of objects (ResourceCommand)

Responses

Request samples

Content type
application/json
{
  • "Reference": "string",
  • "Label": "string",
  • "IsSuggestableAsTemplate": true,
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "AccountIdentifiers": [
    ],
  • "Resources": [
    ]
}

Response samples

Content type
0
0

Updates a personal diligence of a revision and replaces its accounts. Each Account (401, 401DUPONT) covers every compte général or compte auxiliaire of the folder starting with it; an Account that matches nothing is accepted.

This operation requires write permissions for BookKeeping resources and the edit permission on the revision. Possible HTTP response codes:

  • 204 No Content: The diligence is updated.
  • 400 Bad Request: Indicates that the body is invalid, an Account is longer than 64 characters, or the Accounts are all blank.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the diligence is not a personal diligence of this revision, or that the revision is not in this accounting folder.
  • 404 Not Found: Indicates that the diligence does not exist.
  • 417 Expectation Failed: Indicates that the user has no edit permission on the revision.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

diligenceId
required
integer <int32> [ 1 .. 2147483647 ]

The ID of a personal diligence of the revision.

Request Body schema: application/json

The diligence, its Accounts (empty: no account) and its resources.

Reference
required
string non-empty
Label
required
string non-empty
IsSuggestableAsTemplate
required
boolean
Priority
required
string <Enumeration>
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
ControlType
required
string <Enumeration>
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
AccountIdentifiers
required
Array of strings
required
Array of objects (ResourceCommand)

Responses

Request samples

Content type
application/json
{
  • "Reference": "string",
  • "Label": "string",
  • "IsSuggestableAsTemplate": true,
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "AccountIdentifiers": [
    ],
  • "Resources": [
    ]
}

Updates the manual state of diligences in a revision.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
diligenceIds
Array of integers <int32> non-empty [ items <int32 > ]

The diligence IDs.

diligenceManualState
string
Enum: "None" "Valid" "Invalid" "Inapplicable" "Error" "Block"

The manual state to set.

Responses

Redeploys a resource for a diligence in a revision.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

Request Body schema:

The redeploy resource command.

CompanyId
required
integer <int32>
DiligenceId
required
integer <int32>
ResourceId
required
integer <int32>
FileName
string or null
AddNewNote
required
boolean

Responses

Request samples

Content type
{
  • "CompanyId": 0,
  • "DiligenceId": 0,
  • "ResourceId": 0,
  • "FileName": "string",
  • "AddNewNote": true
}

Check id resource is upload for diligence with type worksheet

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionId
required
integer <int32>
diligenceId
required
integer <int32>

Responses

Response samples

Content type
true

Gets diligence content by ID. Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

diligenceId
required
integer <int32>

The diligence ID.

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Position": 0,
  • "Label": "string",
  • "Reference": "string",
  • "ManualState": "None",
  • "AutomatedState": "None",
  • "Type": "None",
  • "ControlType": "None",
  • "Priority": "Unprioritized",
  • "IsActivated": true,
  • "IsExpired": true,
  • "IsSuggestableAsTemplate": true,
  • "UpdatedByUserId": 0,
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "CycleColor": "string",
  • "Notes": [
    ],
  • "ValidationAccounts": [
    ],
  • "MappingLeaves": [
    ],
  • "AutomatedErrors": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "Link": [
    ],
  • "Files": [
    ],
  • "ApefLinks": [
    ],
  • "ValidationAccountIdentifiers": [
    ]
}

Gets a diligence's content with its own accounts (401DUPONT) instead of Accounting ids: its stored filters in their saved order. A diligence without stored filters (created before them) comes with the numbers of its comptes généraux (401, 4011).

This operation requires read permissions for BookKeeping resources. Reads Revision only: no Accounting call, nothing saved. Possible HTTP response codes:

  • 200 OK: Returns the diligence's content; AccountIdentifiers is empty for a diligence with no account.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the revision is not in this accounting folder.
  • 404 Not Found: Indicates that the revision does not exist, or that the diligence is not one of the revision.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The accounting folder ID.

revisionId
required
integer <int32> [ 1 .. 2147483647 ]

The revision ID.

diligenceId
required
integer <int32> [ 1 .. 2147483647 ]

The ID of a diligence of the revision.

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Position": 0,
  • "Label": "string",
  • "Reference": "string",
  • "ManualState": "None",
  • "AutomatedState": "None",
  • "Type": "None",
  • "ControlType": "None",
  • "Priority": "Unprioritized",
  • "IsActivated": true,
  • "IsExpired": true,
  • "IsSuggestableAsTemplate": true,
  • "UpdatedByUserId": 0,
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "CycleColor": "string",
  • "Notes": [
    ],
  • "ValidationAccounts": [
    ],
  • "ValidationAccountIdentifiers": [
    ],
  • "AccountIdentifiers": [
    ],
  • "AutomatedErrors": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "Link": [
    ],
  • "Files": [
    ],
  • "ApefLinks": [
    ]
}

Use by accounting to check if exercises can be closed

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

Responses

Response samples

Content type
[
  • {
    }
]

Use by accounting to check any diligence not done in period

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

Responses

Response samples

Content type
[
  • {
    }
]

Requests an update for the generated proof associated with a specific diligence.

This operation requires write permissions for bookkeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the state of the note tracker associated with the diligence.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 417 Expectation Failed: Indicates a functional error occurred.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The identifier of the accounting folder containing the diligence.

revisionId
required
integer <int32>

The identifier of the revision instance associated with the diligence.

diligenceId
required
integer <int32>

The identifier of the diligence for which the proof update is requested.

Request Body schema: application/json

The command containing the details required to enqueue the generation of the diligence proof.

DiligenceType
required
string
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"
ExerciseStartDate
required
string <date-time>
ExerciseEndDate
required
string <date-time>

Responses

Request samples

Content type
application/json
{
  • "DiligenceType": "None",
  • "ExerciseStartDate": "2019-08-24T14:15:22Z",
  • "ExerciseEndDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
"None"

DiligenceTemplate

Get list of diligence templates Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
query Parameters
type
Array of strings
revisionTemplateId
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Create a new diligence template Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
Request Body schema:
required
ChartOfAccountId
required
integer <int32>
CycleTemplateId
integer <int32>
Label
required
string non-empty
Reference
required
string non-empty
DiligenceType
required
string
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"
DiligenceControlType
required
string
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
DiligencePriority
required
string
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
RubricId
integer <int32>
Array of objects or null (AccountCommand)
Deprecated
object or null
Deprecated
ValidationThreshold
required
number <decimal>
MappingRubricId
integer <int32>
Array of objects or null (AccountCommand)
Deprecated
object or null
Deprecated
Array of objects or null (RuleCommand)
Array of objects or null (ResourceCommand)
Array of objects or null (FscpQuestionCommand)
ConfiguredChartOfAccount
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "ChartOfAccountId": 0,
  • "CycleTemplateId": 0,
  • "Label": "string",
  • "Reference": "string",
  • "DiligenceType": "None",
  • "DiligenceControlType": "None",
  • "DiligencePriority": "Unprioritized",
  • "RubricId": 0,
  • "ValidationAccounts": [
    ],
  • "ValidationAccountsByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "MappingRubricId": 0,
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccounts": {
    },
  • "Rules": [
    ],
  • "Resources": [
    ],
  • "FscpQuestions": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Response samples

Content type
{
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccounts": {
    },
  • "MappingRubricId": 0,
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "Reference": "string",
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "ChartOfAccountId": 0,
  • "ResourceCounts": {
    },
  • "CompanyId": 0,
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedByUserId": 0,
  • "UpdatedByUserFullName": "string",
  • "CompanyName": "string",
  • "ConfiguredChartOfAccount": [
    ]
}

Get list of diligence templates by chart of account id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
chartOfAccountId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Get category list of diligence Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
string

Responses

Response samples

Content type
{
  • "property1": [
    ],
  • "property2": [
    ]
}

Get configuration of diligence rules

Authorizations:
oauth2
path Parameters
companyId
required
string

Responses

Response samples

Content type
[
  • {
    }
]

Get if reference is already used

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
query Parameters
referenceCode
string

Responses

Response samples

Content type
true

Get a diligence template by id Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccounts": [
    ],
  • "ValidationAccountsByChartOfAccount": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccount": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

Delete a diligence template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>

Responses

Update diligence Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>
Request Body schema:
required
Label
required
string or null
Reference
required
string or null
CycleTemplateId
integer <int32>
DiligenceType
required
string
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"
DiligenceControlType
required
string
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
DiligencePriority
required
string
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
RubricId
integer <int32>
Array of objects or null (AccountCommand)
Deprecated
ValidationThreshold
required
number <decimal>
MappingRubricId
integer <int32>
Array of objects or null (AccountCommand)
Deprecated
Array of objects or null (RuleCommand)
Array of objects or null (ResourceCommand)
Array of objects or null (FscpQuestionCommand)
object or null
Deprecated
object or null
Deprecated

Responses

Request samples

Content type
{
  • "Label": "string",
  • "Reference": "string",
  • "CycleTemplateId": 0,
  • "DiligenceType": "None",
  • "DiligenceControlType": "None",
  • "DiligencePriority": "Unprioritized",
  • "RubricId": 0,
  • "ValidationAccounts": [
    ],
  • "ValidationThreshold": 0,
  • "MappingRubricId": 0,
  • "MappingAccounts": [
    ],
  • "Rules": [
    ],
  • "Resources": [
    ],
  • "FscpQuestions": [
    ],
  • "ValidationAccountsByChartOfAccounts": {
    },
  • "MappingAccountsByChartOfAccounts": {
    }
}

Response samples

Content type
{
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccounts": {
    },
  • "MappingRubricId": 0,
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "Reference": "string",
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "ChartOfAccountId": 0,
  • "ResourceCounts": {
    },
  • "CompanyId": 0,
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedByUserId": 0,
  • "UpdatedByUserFullName": "string",
  • "CompanyName": "string",
  • "ConfiguredChartOfAccount": [
    ]
}

Get the revision templates a diligence template is used in

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Get a suggested diligence by id Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
suggestedDiligenceId
required
integer <int32>

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccounts": [
    ],
  • "ValidationAccountsByChartOfAccount": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccount": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

Activate or deactivate a chart of account for a diligence template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>
chartOfAccountId
required
integer <int32>
Request Body schema:
required
CycleTemplateId
required
integer <int32>
IsActive
required
boolean

Responses

Request samples

Content type
{
  • "CycleTemplateId": 0,
  • "IsActive": true
}

Copy a diligence template in a cycle template Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
diligenceTemplateId
required
integer <int32>
cycleTemplateId
required
integer <int32>
query Parameters
keepOriginDiligenceTemplate
boolean

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccounts": [
    ],
  • "ValidationAccountsByChartOfAccount": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccounts": [
    ],
  • "MappingAccountsByChartOfAccount": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

Retrieves a list of categories for diligence templates.

This endpoint is used to fetch the available categories of diligence templates for all companies. This method requires the caller to have read access to the BookKeeping resource.

Authorizations:
oauth2
path Parameters
companyId
required
string

Responses

Response samples

Content type
[
  • {
    }
]

Gets the diligence templates of a company, with their mapping Accounts as plain strings.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the diligence templates.
  • 400 Bad Request: Indicates that the request is invalid, or that a diligence type is unknown.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

query Parameters
type
Array of strings

The diligence types to keep, all when empty.

revisionTemplateId
integer <int32>

The revision template the diligence templates belong to, if any.

Responses

Response samples

Content type
[
  • {
    }
]

Creates a diligence template. The mapping and validation Accounts are stored as given; no account id is resolved. An Account rule carries its accounts in AccountIdentifiers, prefix filters; its ReferenceId is ignored and may be left out. A Rubric or DiligenceState rule requires it.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the created diligence template.
  • 400 Bad Request: Indicates that the body is invalid, that an Account is longer than 64 characters, that a rubric is given with a validation list, or that a rule is incomplete (an Account rule without AccountIdentifiers, or with blanks only; a Rubric or DiligenceState rule without ReferenceId).
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the cycle template belongs to another company, or that a resource is listed twice.
  • 404 Not Found: Indicates that the cycle template, the rubric or the diligence template a rule names does not exist.
  • 409 Conflict: Indicates that the reference already exists.
  • 417 Expectation Failed: Indicates that a new resource has no URL, or that a revision file resource has no id.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

Request Body schema: application/json

The diligence template, its mapping and validation Accounts by chart of accounts.

ChartOfAccountId
required
integer <int32> [ 1 .. 2147483647 ]
CycleTemplateId
integer <int32>
Label
required
string non-empty
Reference
required
string non-empty
DiligenceType
required
string <Enumeration>
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"
DiligenceControlType
required
string
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
DiligencePriority
required
string
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
RubricId
integer <int32>
required
object
ValidationThreshold
required
number <decimal>
required
object
Array of objects or null (RuleV2Command)
Array of objects or null (ResourceCommand)
Array of objects or null (FscpQuestionCommand)
ConfiguredChartOfAccount
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
application/json
{
  • "ChartOfAccountId": 1,
  • "CycleTemplateId": 0,
  • "Label": "string",
  • "Reference": "string",
  • "DiligenceType": "None",
  • "DiligenceControlType": "None",
  • "DiligencePriority": "Unprioritized",
  • "RubricId": 0,
  • "ValidationAccountIdentifiersByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "Rules": [
    ],
  • "Resources": [
    ],
  • "FscpQuestions": [
    ],
  • "ConfiguredChartOfAccount": [
    ]
}

Response samples

Content type
{
  • "MappingRubricId": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "Reference": "string",
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "ChartOfAccountId": 0,
  • "ResourceCounts": {
    },
  • "CompanyId": 0,
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedByUserId": 0,
  • "UpdatedByUserFullName": "string",
  • "CompanyName": "string",
  • "ConfiguredChartOfAccount": [
    ]
}

Gets a diligence template, with its mapping and validation Accounts as plain strings, and the AccountIdentifiers of each Account rule.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the diligence template.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the diligence template does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

diligenceTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The diligence template ID.

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccountIdentifiersByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

Updates a diligence template, its whole lists of mapping and validation Accounts included. An Account rule carries its accounts in AccountIdentifiers, prefix filters; its ReferenceId is ignored and may be left out. A Rubric or DiligenceState rule requires it.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the updated diligence template, without the charts of accounts switched on nor IsUsed: both depend on the cycles, and the save names none.
  • 400 Bad Request: Indicates that the body is invalid, that an Account is longer than 64 characters, that a rubric is given with a validation list, or that a rule is incomplete (an Account rule without AccountIdentifiers, or with blanks only; a Rubric or DiligenceState rule without ReferenceId).
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the diligence template belongs to another company, or that a resource is listed twice.
  • 404 Not Found: Indicates that the diligence template, the rubric or the diligence template a rule names does not exist.
  • 409 Conflict: Indicates that the reference already exists, or that the type cannot change because a rule depends on the state of this diligence.
  • 417 Expectation Failed: Indicates that a new resource has no URL, or that a revision file resource has no id.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

diligenceTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The diligence template ID.

Request Body schema: application/json

The diligence template, its mapping and validation Accounts by chart of accounts.

Label
required
string non-empty
Reference
required
string non-empty
DiligenceType
required
string <Enumeration>
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"
DiligenceControlType
required
string
Enum: "None" "Substance" "Process" "Metier" "Analytique" "Fiscal" "PointOfAttention"
DiligencePriority
required
string
Enum: "Unprioritized" "MandatoryForPeriodClosing" "NeededForSupervision"
RubricId
integer <int32>
required
object
ValidationThreshold
required
number <decimal>
required
object
Array of objects or null (RuleV2Command)
Array of objects or null (ResourceCommand)
Array of objects or null (FscpQuestionCommand)

Responses

Request samples

Content type
application/json
{
  • "Label": "string",
  • "Reference": "string",
  • "DiligenceType": "None",
  • "DiligenceControlType": "None",
  • "DiligencePriority": "Unprioritized",
  • "RubricId": 0,
  • "ValidationAccountIdentifiersByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "Rules": [
    ],
  • "Resources": [
    ],
  • "FscpQuestions": [
    ]
}

Response samples

Content type
{
  • "MappingRubricId": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "Reference": "string",
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "ChartOfAccountId": 0,
  • "ResourceCounts": {
    },
  • "CompanyId": 0,
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "UpdatedByUserId": 0,
  • "UpdatedByUserFullName": "string",
  • "CompanyName": "string"
}

Gets a suggested diligence, with its revision accounts as plain strings, and the AccountIdentifiers of each Account rule.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the suggested diligence.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the suggested diligence does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

suggestedDiligenceId
required
integer <int32> [ 1 .. 2147483647 ]

The suggested diligence ID.

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccountIdentifiersByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

Copies a diligence template in a cycle template, every Account of its private lists and the AccountIdentifiers of its Account rules included.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the copy.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the cycle template or the diligence template is not available to this company.
  • 404 Not Found: Indicates that the cycle template does not exist, or that the diligence template is not in it.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

diligenceTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The diligence template ID.

cycleTemplateId
required
integer <int32> [ 1 .. 2147483647 ]

The cycle template ID.

query Parameters
keepOriginDiligenceTemplate
boolean

Whether the cycle template keeps the original diligence template.

Responses

Response samples

Content type
{
  • "CrossCompanies": true,
  • "Id": 0,
  • "Label": "string",
  • "ValidationAccountIdentifiersByChartOfAccounts": {
    },
  • "ValidationThreshold": 0,
  • "ValidationRubricId": 0,
  • "MappingAccountIdentifiersByChartOfAccounts": {
    },
  • "MappingRubricId": 0,
  • "Reference": "string",
  • "Files": [
    ],
  • "Link": [
    ],
  • "ApefLinks": [
    ],
  • "Type": "None",
  • "Priority": "Unprioritized",
  • "ControlType": "None",
  • "IsUsed": true,
  • "Category": "string",
  • "Rules": [
    ],
  • "FscpQuestionIdentifiers": [
    ],
  • "ChartOfAccountId": 0
}

EventWebhooks

Retrieves an event webhook associated with a specific event type and company group.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the event webhook associated with the specified event type and company group.
  • 400 Bad Request: Indicates that the request is invalid.
  • 404 Not Found: Indicates that no webhook was found for the specified event type and company group.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
eventType
required
string

The type of the event.

companyGroupId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the company group.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the accounting folder.

Responses

Response samples

Content type
{
  • "Id": 0,
  • "CompanyGroupId": 0,
  • "Method": "string",
  • "EventType": "string",
  • "Url": "string",
  • "AuthParameters": {
    }
}

Retrieves event webhooks associated with a specific company group.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns webhooks associated with the specified company group.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyGroupId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Company Group.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Accounting Folder.

Responses

Response samples

Content type
[
  • {
    }
]

Retrieves event webhooks associated with a specific event type.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns webhooks associated with the specified event type.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
eventType
required
string

The type of event.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Accounting Folder.

Responses

Response samples

Content type
[
  • {
    }
]

Creates a new event webhook for a specific company group and event type.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the created webhook.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 409 Conflicting request: The webhook already exists or there is a conflict with existing data.
  • 417 Expectation Failed: The webhook could not be created due to unmet expectations.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Accounting Folder.

Request Body schema: application/json

The Fred.Revision.Application.Webhooks.CommandHandlers.CreateEventWebhookCommand containing the details of the webhook to be created.

Url
required
string non-empty
Method
required
string [ 1 .. 8 ] characters
required
object (EventWebhookAuthParametersViewModel)
EventType
required
string [ 1 .. 128 ] characters
CompanyGroupId
required
integer <int32> [ 1 .. 2147483647 ]

Responses

Request samples

Content type
application/json
{
  • "Url": "string",
  • "Method": "string",
  • "AuthParameters": {
    },
  • "EventType": "string",
  • "CompanyGroupId": 1
}

Updates an existing event webhook.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the updated webhook.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the webhook with the specified ID does not exist.
  • 417 Expectation Failed: The webhook could not be updated due to unmet expectations.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
id
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the webhook to be updated.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Accounting Folder.

Request Body schema: application/json

The Fred.Revision.Application.Webhooks.CommandHandlers.UpdateEventWebhookCommand containing the updated details of the webhook.

Url
required
string non-empty
Method
required
string [ 1 .. 8 ] characters
required
object (EventWebhookAuthParametersViewModel)

Responses

Request samples

Content type
application/json
{
  • "Url": "string",
  • "Method": "string",
  • "AuthParameters": {
    }
}

Response samples

Content type
{
  • "Id": 0,
  • "CompanyGroupId": 0,
  • "Method": "string",
  • "EventType": "string",
  • "Url": "string",
  • "AuthParameters": {
    }
}

Deletes an existing event webhook.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 204 No Content: Indicates that the webhook was successfully deleted.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the webhook with the specified ID does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
id
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the webhook to be deleted.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the Accounting Folder.

Responses

Export

Generates a synthesis export for the specified accounting folder and revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:
required

The synthesis export command.

CompanyId
required
integer <int32>
SynthesisId
required
integer <int32>

Responses

Request samples

Content type
{
  • "CompanyId": 0,
  • "SynthesisId": 0
}

Renders the synthesis export as a PDF preview, without producing an export resource.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:
required

The same options as the synthesis export.

SynthesisId
required
integer <int32>

Responses

Request samples

Content type
{
  • "SynthesisId": 0
}

Generates a revision export for the specified accounting folder and revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:
required

The revision export command.

CompanyId
required
integer <int32>
SynthesisId
integer <int32>
WithCyclesNotes
required
boolean
WithDiligencesNotes
required
boolean
WithAccountsNotes
required
boolean

Responses

Request samples

Content type
{
  • "CompanyId": 0,
  • "SynthesisId": 0,
  • "WithCyclesNotes": true,
  • "WithDiligencesNotes": true,
  • "WithAccountsNotes": true
}

Renders the revision export as a PDF preview, without producing an export resource.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:
required

The same options as the revision export.

SynthesisId
integer <int32>
WithCyclesNotes
required
boolean
WithDiligencesNotes
required
boolean
WithAccountsNotes
required
boolean

Responses

Request samples

Content type
{
  • "SynthesisId": 0,
  • "WithCyclesNotes": true,
  • "WithDiligencesNotes": true,
  • "WithAccountsNotes": true
}

Generates a files export for the specified accounting folder and revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:
required

The files export command.

CompanyId
required
integer <int32>
SynthesisId
integer <int32>
FromCyclesNotes
required
boolean
FromDiligencesNotes
required
boolean
FromAccountsNotes
required
boolean
OnlyFromSynthesisNotes
required
boolean
ProtectSheetFiles
required
boolean

Responses

Request samples

Content type
{
  • "CompanyId": 0,
  • "SynthesisId": 0,
  • "FromCyclesNotes": true,
  • "FromDiligencesNotes": true,
  • "FromAccountsNotes": true,
  • "OnlyFromSynthesisNotes": true,
  • "ProtectSheetFiles": true
}

Sets the exports in error state for the specified accounting folder and revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The ID of the accounting folder.

revisionInstanceId
required
integer <int32>

The ID of the revision instance.

Request Body schema:

The command to set exports in error.

ExportIds
required
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "ExportIds": [
    ]
}

GenerationStates

Retrieves the state of a generated note tracker associated with a specific diligence.

This operation requires read permissions for bookkeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the state of the associated note tracker.
  • 400 Bad Request: Indicates that the request is invalid.
  • 404 Not Found: Indicates that the note tracker was not found.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
diligenceId
required
integer <int32>

The unique identifier of the diligence.

Responses

Response samples

Content type
"None"

Note

Adds a new note to a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
companyId
integer <int32>

The company ID (unused).

Request Body schema:
required

The note creation command.

EntityId
required
integer <int32>
EntityType
required
string
Enum: "None" "Diligence" "Cycle"
Description
string or null
Label
string or null
Array of objects or null (ResourceCommand)
IncludeRevision
required
boolean
object (AccountSubCommand)

Responses

Request samples

Content type
{
  • "EntityId": 0,
  • "EntityType": "None",
  • "Description": "string",
  • "Label": "string",
  • "Resources": [
    ],
  • "IncludeRevision": true,
  • "Account": {
    }
}

Response samples

Content type
0
0

Updates notes in a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
companyId
integer <int32>

The company ID (unused).

Request Body schema:
required

The update note commands.

Array
NoteId
required
integer <int32>
Description
string or null
Array of objects or null (ResourceCommand)
IncludeRevision
required
boolean
Force
required
boolean
Label
string or null

Responses

Request samples

Content type
[
  • {
    }
]

Deletes notes from a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
companyId
integer <int32>

The company ID (unused).

Request Body schema:
required

The remove note commands.

Array
NoteId
required
integer <int32>
Force
required
boolean

Responses

Request samples

Content type
[
  • {
    }
]

Gets all cycle notes for a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

query Parameters
includeOnlyFavourites
boolean

Whether to include only favourite notes or not. Null means include all notes.

Responses

Response samples

Content type
[
  • {
    }
]

Copies an account note to a cycle in a revision instance.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder ID.

revisionId
required
integer <int32>

The revision ID.

noteAccountId
required
integer <int32>

The note account ID.

cycleId
required
integer <int32>

The cycle ID.

query Parameters
companyId
integer <int32>

The company ID (unused).

includeRevision
boolean

Whether to include revision.

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Label": "string",
  • "Description": "string",
  • "IncludeRevision": true,
  • "UserId": 0,
  • "DiligenceRef": "string",
  • "Resources": [
    ],
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "DiligenceId": 0,
  • "Account": {
    }
}

PublicRevisionTemplate

Resources

RevisionResources_GetFileResource

Authorizations:
oauth2
path Parameters
resourceFileId
required
integer <int32>
query Parameters
dossierId
integer <int32>
revisionId
integer <int32>
preview
boolean

Responses

Response samples

Content type
"string"

RevisionResources_RenameFileResource

Authorizations:
oauth2
path Parameters
resourceFileId
required
integer <int32>
query Parameters
ownerId
required
integer <int32>
Request Body schema:
NewName
string or null

Responses

Request samples

Content type
{
  • "NewName": "string"
}

Response samples

Content type
{
  • "ResourceId": 0,
  • "OwnerId": 0,
  • "Type": "None",
  • "Name": "string",
  • "Url": "string",
  • "Size": 0,
  • "ContentType": "string",
  • "ExternalStoragePath": "string",
  • "ProtocolUrl": "string"
}

RevisionResources_AddFileResource

Authorizations:
oauth2
query Parameters
ownerId
required
integer <int32>
Request Body schema: multipart/form-data
attachmentFile
string <binary>

Responses

Response samples

Content type
0
0

RevisionResources_AddLinkResource

Authorizations:
oauth2
Request Body schema:
OwnerId
required
integer <int32>
Name
required
string non-empty
Url
required
string <uri> non-empty

Responses

Request samples

Content type
{}

Response samples

Content type
0
0

RevisionResources_DeleteResource

Authorizations:
oauth2
path Parameters
resourceId
required
integer <int32>
query Parameters
ownerId
required
integer <int32>

Responses

RevisionResources_GetResourcesByOrigin

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
Origins
required
Array of strings or null
Enum: "Account" "Cycle" "Diligence"
OnlyIncludedInSynthesis
required
boolean
SynthesisId
integer <int32>

Responses

Request samples

Content type
{
  • "Origins": [
    ],
  • "OnlyIncludedInSynthesis": true,
  • "SynthesisId": 0
}

Response samples

Content type
[
  • {
    }
]

RevisionResources_SearchResourcesByOrigin

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
Origins
required
Array of strings or null
Enum: "Account" "Cycle" "Diligence"
OnlyIncludedInSynthesis
required
boolean
SynthesisId
integer <int32>

Responses

Request samples

Content type
{
  • "Origins": [
    ],
  • "OnlyIncludedInSynthesis": true,
  • "SynthesisId": 0
}

Response samples

Content type
[
  • {
    }
]

RevisionInstances

RevisionRevisionInstances_GetRevisionInstances

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

RevisionRevisionInstances_CreateRevisionInstance

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
required
Name
string or null
BeginDate
required
string <date-time>
EndDate
required
string <date-time>
PrevBeginDate
string or null <date-time>
PrevEndDate
string or null <date-time>
ExerciseId
required
integer <int32>
RevisionTemplateId
required
integer <int32>
SigningUserId
integer <int32>
WishStartingDate
string or null <date-time>

Responses

Request samples

Content type
{
  • "Name": "string",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ExerciseId": 0,
  • "RevisionTemplateId": 0,
  • "SigningUserId": 0,
  • "WishStartingDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "ExerciseId": 0,
  • "Name": "string",
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "DateOnWhichStart": "2019-08-24T14:15:22Z",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ModelName": "string",
  • "State": "None",
  • "AccountRevisable": true,
  • "CanBeExpireInProtectedSituation": true,
  • "SigningUserId": 0,
  • "ValidationStatus": "None",
  • "CompanyId": 0
}

RevisionRevisionInstances_GetRevisionCycleHeader

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

Responses

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "ExerciseId": 0,
  • "Name": "string",
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "DateOnWhichStart": "2019-08-24T14:15:22Z",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ModelName": "string",
  • "State": "None",
  • "AccountRevisable": true,
  • "CanBeExpireInProtectedSituation": true,
  • "SigningUserId": 0,
  • "ValidationStatus": "None",
  • "CompanyId": 0,
  • "TotalActivatedDiligencesCount": 0,
  • "CompletedDiligencesCount": 0,
  • "TotalActivatedCyclesCount": 0,
  • "CompletedCyclesCount": 0,
  • "AccountToReviewNumber": 0,
  • "LastModifyByUserId": 0,
  • "LastModifyByUserAt": "2019-08-24T14:15:22Z",
  • "Cycles": [
    ]
}

RevisionRevisionInstances_GetRevisionTrackingSummary

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

Responses

Response samples

Content type
{
  • "ExerciseId": 0,
  • "RevisionInstanceId": 0,
  • "HasActiveRevision": true,
  • "State": "None",
  • "ValidationStatus": "None",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "ProgressPercentage": 0,
  • "RemainingCyclesCount": 0,
  • "RemainingDiligencesCount": 0,
  • "AccountsToReviewCount": 0,
  • "OpenItemCount": 0,
  • "PendingTasksCount": 0,
  • "LastModification": {
    }
}

RevisionRevisionInstances_GetSimpleRevisionById

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

Responses

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "ExerciseId": 0,
  • "Name": "string",
  • "CreatedAt": "2019-08-24T14:15:22Z",
  • "DateOnWhichStart": "2019-08-24T14:15:22Z",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ModelName": "string",
  • "State": "None",
  • "AccountRevisable": true,
  • "CanBeExpireInProtectedSituation": true,
  • "SigningUserId": 0,
  • "ValidationStatus": "None",
  • "CompanyId": 0
}

RevisionRevisionInstances_ComputeRevisionInstance

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

Responses

RevisionRevisionInstances_ComputeModuleRevisionInstances

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
query Parameters
type
string
Enum: "None" "Simple" "PersonalSimple" "Worksheet" "ModuleLoans" "ModuleFixedAsset" "ModuleLeasing" "ModuleCutOff" "ModuleBankReconciliation" "ModuleFscp" "ModuleInterco" "ModuleICC" "AutomatedByAccountBalance" "ModuleBalanceVariationAbsoluteValue" "ModuleBalanceVariationPercentage" "AccountingFolderInfo"

Responses

RevisionRevisionInstances_UpdateRevisionInstance

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]
revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]
Request Body schema:
required
Name
string or null
BeginDate
required
string <date-time>
EndDate
required
string <date-time>
PrevBeginDate
string or null <date-time>
PrevEndDate
string or null <date-time>
ExerciseId
required
integer <int32>
WishStartingDate
string or null <date-time>
SigningUserId
integer <int32> [ 1 .. 2147483647 ]

Responses

Request samples

Content type
{
  • "Name": "string",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ExerciseId": 0,
  • "WishStartingDate": "2019-08-24T14:15:22Z",
  • "SigningUserId": 1
}

RevisionRevisionInstances_UpdateStateRevisionInstance

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
NewState
required
string
Enum: "None" "Activated" "Hided" "Closed"

Responses

Request samples

Content type
{
  • "NewState": "None"
}

RevisionRevisionInstances_ResultRevisionInstanceReport

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
State
required
string
Enum: "None" "Queued" "Processed" "Error" "Empty" "Partial"
Type
required
string
Enum: "None" "Pdf" "Files"
AssociateResourceExportId
required
integer <int32>
ProcessedDate
required
string <date-time>
Url
string or null
Name
string or null
Error
string or null
Array of objects or null (RetrieveFileError)

Responses

Request samples

Content type
{
  • "State": "None",
  • "Type": "None",
  • "AssociateResourceExportId": 0,
  • "ProcessedDate": "2019-08-24T14:15:22Z",
  • "Url": "string",
  • "Name": "string",
  • "Error": "string",
  • "RetrieveFileErrors": [
    ]
}

RevisionRevisionInstances_GetRevisionInstanceReports

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

Responses

Response samples

Content type
[
  • {
    }
]

RevisionRevisionInstances_GenerateRevisionInstanceReport

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
CompanyId
required
integer <int32>
IncludeSynthesisId
integer <int32>
IsSafeExcelExport
required
boolean

Responses

Request samples

Content type
{
  • "CompanyId": 0,
  • "IncludeSynthesisId": 0,
  • "IsSafeExcelExport": true
}

RevisionRevisionInstances_GetRevisionProgressDetails

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

Responses

Response samples

Content type
{
  • "LastModifyByUserId": 0,
  • "LastModifyByUserAt": "2019-08-24T14:15:22Z",
  • "TotalNoteCount": 0,
  • "TotalIncludeRevisionNoteCount": 0,
  • "TotalRevisedAccountCount": 0,
  • "TotalOpenItemCount": 0,
  • "UncoveredAccounts": [
    ]
}

RevisionRevisionInstances_GetRevisionInstanceTemplateResources

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

Responses

Response samples

Content type
[
  • {
    }
]

RevisionRevisionInstances_GetCanWriteOdOnDate

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
writeDate
string <date-time>

Responses

Response samples

Content type
true

RevisionRevisionInstances_GetAllAccounts

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

Responses

Response samples

Content type
[
  • {
    }
]

RevisionRevisionInstances_UpdateRevisionInstancePeriod

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
Name
string or null
BeginDate
required
string <date-time>
EndDate
required
string <date-time>
PrevBeginDate
string or null <date-time>
PrevEndDate
string or null <date-time>
ExerciseId
required
integer <int32>

Responses

Request samples

Content type
{
  • "Name": "string",
  • "BeginDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "PrevBeginDate": "2019-08-24T14:15:22Z",
  • "PrevEndDate": "2019-08-24T14:15:22Z",
  • "ExerciseId": 0
}

Determines whether an external revision integration exists for the specified accounting folder.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Indicates that the operation was successful and returns the result.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that no accounting folder or accounting company was found.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the accounting folder.

Responses

Response samples

Content type
true

RevisionTemplate

Get all revision template by company id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Create revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
Request Body schema:
required
Name
required
string or null
AccountRevisable
required
boolean
CanBeExpireInProtectedSituation
boolean
ChartOfAccountId
required
integer <int32>
ConfiguredChartOfAccount
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "Name": "string",
  • "AccountRevisable": true,
  • "CanBeExpireInProtectedSituation": true,
  • "ChartOfAccountId": 0,
  • "ConfiguredChartOfAccount": [
    ]
}

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "AccountRevisable": true,
  • "IsValidated": true,
  • "Activated": true,
  • "CrossCompanies": true,
  • "ChartOfAccountId": 0,
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "NbAccountingFolder": 0,
  • "NbRevisionInstance": 0,
  • "NbSuggestedDiligence": 0,
  • "ConfiguredChartOfAccount": [
    ]
}

Get all revision template by company id and chart of account id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
chartOfAccountId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

Get one revision template by id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "Activated": true,
  • "CrossCompanies": true,
  • "AccountRevisable": true,
  • "IsValidated": true,
  • "ChartOfAccountId": 0,
  • "UpdatedAt": "2019-08-24T14:15:22Z",
  • "Errors": [
    ],
  • "Cycles": [
    ],
  • "NbSuggestedDiligence": 0,
  • "ConfiguredChartOfAccount": [
    ],
  • "CanBeExpireInProtectedSituation": true
}

Delete revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

Content type
0
0

Combine update name and list of cycle template in this revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>
Request Body schema:
required
required
object (PutRevisionTemplateCommand)
required
Array of objects or null (PutCycleTemplateInRevisionTemplateCommand)

Responses

Request samples

Content type
{
  • "RevisionCommand": {
    },
  • "Cycles": [
    ]
}

Duplicate revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

Content type
0
0

Toggle Activation revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>
query Parameters
toggleActivation
required
boolean

Responses

Change list of cycles in this revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>
Request Body schema:
required
Array
CycleTemplateId
required
integer <int32>
Position
required
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

change name of revision template

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>
Request Body schema:
required
NewName
required
string or null
AccountRevisable
required
boolean
ConfiguredChartOfAccount
Array of integers or null <int32> [ items <int32 > ]
CanBeExpireInProtectedSituation
boolean

Responses

Request samples

Content type
{
  • "NewName": "string",
  • "AccountRevisable": true,
  • "ConfiguredChartOfAccount": [
    ],
  • "CanBeExpireInProtectedSituation": true
}

Get csv format of one revision template by id

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

Content type
{ }

RevisionRevisionTemplate_GetExcelWorkSheets

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

Content type
{ }

Export one revision template as a zip holding its structure and its files, and give a temporary link to it

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
revisionTemplateId
required
integer <int32>

Responses

Response samples

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

Import the revision template export zip of an upload link. Add (the default) creates the template, deactivated, and overwrites nothing; Restore overwrites the template of targetRevisionTemplateId and only its elements in place. Inqom and subscribed elements are referenced. The zip is kept

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>

The company importing the template.

Request Body schema:

A dry run writes nothing and reports an element in error instead of refusing; unless backup is off, an overwrite first exports each template it affects, to restore from.

UploadUrl
string or null
DryRun
required
boolean
Backup
required
boolean
Mode
string or null
Enum: "Add" "Restore"
TargetRevisionTemplateId
integer <int32>

Responses

Request samples

Content type
{
  • "UploadUrl": "string",
  • "DryRun": true,
  • "Backup": true,
  • "Mode": "Add",
  • "TargetRevisionTemplateId": 0
}

Response samples

Content type
{
  • "DryRun": true,
  • "Mode": "Add",
  • "TargetRevisionTemplateId": 0,
  • "RevisionTemplateId": 0,
  • "Overwritten": true,
  • "Summary": {
    },
  • "Elements": [
    ],
  • "AffectedRevisionTemplates": [
    ],
  • "Backups": [
    ]
}

RevisionValidationTask

RevisionRevisionValidationTask_GetRevisionValidation

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

Responses

Response samples

Content type
{
  • "RevisionId": 0,
  • "SigningUserId": 0,
  • "ValidationStatus": "None",
  • "LastStatusUpdatedByUserId": 0,
  • "LastStatusUpdatedAt": "2019-08-24T14:15:22Z",
  • "ValidationTask": [
    ]
}

RevisionRevisionValidationTask_SetRevisionValidationState

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]
revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]
query Parameters
newStatus
string
Enum: "None" "InProgress" "OnReview" "ToSupervise" "Validated" "Closed"

Responses

RevisionRevisionValidationTask_CreateValidationTask

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
Request Body schema:
required
CycleId
integer <int32>
Description
required
string or null

Responses

Request samples

Content type
{
  • "CycleId": 0,
  • "Description": "string"
}

Response samples

Content type
0
0

RevisionRevisionValidationTask_UpdateValidationTask

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
validationTaskId
required
integer <int32>
Request Body schema:
required
CycleId
integer <int32>
Description
required
string or null

Responses

Request samples

Content type
{
  • "CycleId": 0,
  • "Description": "string"
}

RevisionRevisionValidationTask_DeleteValidationTask

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
validationTaskId
required
integer <int32>

Responses

RevisionRevisionValidationTask_SetCompletedTask

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionInstanceId
required
integer <int32>
validationTaskId
required
integer <int32>
query Parameters
completed
required
boolean

Responses

RevisionRevisionValidationTask_GetRevisionConsistency

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

Responses

Response samples

Content type
{
  • "TotalWarnings": 0,
  • "SubstanceControlCount": 0,
  • "SupervisionMandatoryCount": 0
}

Rubric

RevisionRubric_GetRubricViewModels Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>

Responses

Response samples

Content type
[
  • {
    }
]

RevisionRubric_CreateRubric Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
Request Body schema:
required
Name
required
string non-empty
Array of objects or null (AccountCommand)
Deprecated
object or null
Deprecated
ChartOfAccountId
required
integer <int32>

Responses

Request samples

Content type
{
  • "Name": "string",
  • "Accounts": [
    ],
  • "AccountsByChartOfAccounts": {
    },
  • "ChartOfAccountId": 0
}

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "CrossCompanies": true,
  • "UsedForValidation": 0,
  • "UsedForRequirement": 0,
  • "ConfiguredChartOfAccounts": [
    ],
  • "AccountsByChartOfAccounts": {
    },
  • "ChartOfAccountId": 0,
  • "Accounts": [
    ]
}

RevisionRubric_GetRubricViewModelById

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
rubricId
required
integer <int32>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "CrossCompanies": true,
  • "UsedForValidation": 0,
  • "UsedForRequirement": 0,
  • "ConfiguredChartOfAccounts": [
    ],
  • "AccountsByChartOfAccounts": {
    },
  • "ChartOfAccountId": 0,
  • "Accounts": [
    ]
}

RevisionRubric_UpdateRubric Deprecated

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
rubricId
required
integer <int32>
Request Body schema:
required
Name
required
string or null
Array of objects or null (AccountCommand)
Deprecated
required
object or null
Deprecated

Responses

Request samples

Content type
{
  • "Name": "string",
  • "Accounts": [
    ],
  • "AccountsByChartOfAccounts": {
    }
}

RevisionRubric_DeleteRubric

Authorizations:
oauth2
path Parameters
companyId
required
integer <int32>
rubricId
required
integer <int32>

Responses

Gets the shared rubrics of a company, with their Accounts as plain strings (411, 411ABC, 401DUP).

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the rubrics.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

Responses

Response samples

Content type
[
  • {
    }
]

Creates a shared rubric. The Accounts are stored as given; no account id is resolved.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Returns the created rubric.
  • 400 Bad Request: Indicates that the body is invalid, or that an Account is longer than 64 characters.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

Request Body schema: application/json

The name, the chart of accounts and the Accounts by chart of accounts.

Name
required
string non-empty
ChartOfAccountId
required
integer <int32> [ 1 .. 2147483647 ]
required
object

Responses

Request samples

Content type
application/json
{
  • "Name": "string",
  • "ChartOfAccountId": 1,
  • "AccountIdentifiersByChartOfAccounts": {
    }
}

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "CrossCompanies": true,
  • "UsedForValidation": 0,
  • "UsedForRequirement": 0,
  • "ChartOfAccountId": 0,
  • "AccountIdentifiersByChartOfAccounts": {
    }
}

Updates a rubric: its name and its whole list of Accounts by chart of accounts.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 204 No Content: The rubric is updated.
  • 400 Bad Request: Indicates that the body is invalid, or that an Account is longer than 64 characters.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 403 Forbidden: Indicates that the rubric belongs to another company.
  • 404 Not Found: Indicates that the rubric does not exist.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
Authorizations:
oauth2
path Parameters
companyId
required
integer <int32> [ 0 .. 2147483647 ]

The company ID.

rubricId
required
integer <int32> [ 1 .. 2147483647 ]

The rubric ID.

Request Body schema: application/json

The name and the Accounts by chart of accounts.

Name
required
string non-empty
required
object

Responses

Request samples

Content type
application/json
{
  • "Name": "string",
  • "AccountIdentifiersByChartOfAccounts": {
    }
}

SubscribeAt

Supervision

Validates the supervision process for a specific revision instance and accounting folder.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Indicates the validation process was successful.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
  • 417 Expectation Failed: Indicates that the validation process failed due to unmet expectations (e.g., business rules not satisfied).
  • 404 Not Found: Indicates that the specified revision instance or accounting folder does not exist.
Authorizations:
oauth2
path Parameters
revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the revision instance to be validated.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the accounting folder associated with the revision.

Request Body schema: multipart/form-data
Notes
Array of strings
AttestationFile
string <binary>
AttestationText
string

Responses

Refuses the supervision of a revision instance for a specific accounting folder.

This operation requires write permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Indicates the refusal process was successful.
  • 400 Bad Request: Indicates that the request is invalid.
  • 404 Not Found: Indicates that the specified revision instance or accounting folder does not exist.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
  • 417 Expectation Failed: Indicates that the refusal process failed due to unmet expectations (e.g., business rules not satisfied).
Authorizations:
oauth2
path Parameters
revisionInstanceId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the revision instance to be refused.

accountingFolderId
required
integer <int32> [ 1 .. 2147483647 ]

The unique identifier of the accounting folder associated with the revision instance.

Request Body schema: application/json

The command containing details about the refusal, including the tasks to complete.

TasksToComplete
Array of strings or null

Responses

Request samples

Content type
application/json
{
  • "TasksToComplete": [
    ]
}

Synthesis

RevisionSynthesis_GetSynthesisById

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionId
required
integer <int32>
synthesisId
required
integer <int32>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "Name": "string",
  • "Sections": [
    ],
  • "LastUpdatedById": 0,
  • "LastUpdatedAt": "2019-08-24T14:15:22Z"
}

RevisionSynthesis_GetPreviousSynthesisElementsById

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionId
required
integer <int32>
synthesisId
required
integer <int32>

Responses

Response samples

Content type
{
  • "NextPeriodElementsSection": {
    },
  • "RevisionPeriodName": "string",
  • "RevisionPeriod": {
    },
  • "SynthesisId": 0
}

RevisionSynthesis_GetSynthesisByRevisionId

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

Responses

Response samples

Content type
[
  • {
    }
]

Creates a new synthesis for the specified revision.

This operation requires read permissions for BookKeeping resources. Possible HTTP response codes:

  • 200 OK: Indicates that the synthesis was successfully created and returns the ID of the created synthesis.
  • 400 Bad Request: Indicates that the request is invalid.
  • 401 Unauthorized: Indicates that the user is unauthorized to perform this action.
  • 404 Not Found: Indicates that the specified accounting folder or revision was not found.
  • 500 Internal Server Error: Indicates an unexpected error occurred on the server.
  • 409 Conflict: Indicates that a synthesis already exists for the specified revision.
  • 403 Forbidden: Indicates that the user does not have permission to create a synthesis for the specified folder.
Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The unique identifier of the accounting folder.

revisionId
required
integer <int32>

The unique identifier of the revision.

Responses

Response samples

Content type
0
0

RevisionSynthesis_PostSynthesisByRevisionId

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

Responses

Response samples

Content type
[
  • {
    }
]

RevisionSynthesis_UpdateSynthesisSectionPositions

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
revisionId
required
integer <int32>
synthesisId
required
integer <int32>
Request Body schema:
required
Array
SynthesisSectionId
required
integer <int32>
Position
required
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

SynthesisNote

RevisionSynthesisNote_CreateSynthesisNote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
synthesisSectionId
integer <int32>
Request Body schema:
required
Label
string or null
DescriptionHtml
string or null
NoteId
integer <int32>

Responses

Request samples

Content type
{
  • "Label": "string",
  • "DescriptionHtml": "string",
  • "NoteId": 0
}

Response samples

Content type
0
0

RevisionSynthesisNote_UpdateSynthesisNote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
synthesisNoteId
required
integer <int32>
Request Body schema:
required
Label
string or null
DescriptionHtml
string or null
NoteId
integer <int32>

Responses

Request samples

Content type
{
  • "Label": "string",
  • "DescriptionHtml": "string",
  • "NoteId": 0
}

RevisionSynthesisNote_UpdateVisibilitySynthesisNote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
synthesisNoteId
required
integer <int32>
query Parameters
hide
required
boolean

Responses

RevisionSynthesisNote_ResetSynthesisNote

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

Responses

Response samples

Content type
{
  • "Id": 0,
  • "SynthesisSectionId": 0,
  • "Label": "string",
  • "DescriptionHtml": "string",
  • "NoteId": 0,
  • "OriginalNoteLabel": "string",
  • "OriginalNoteDescription": "string",
  • "Hide": true,
  • "Position": 0,
  • "LinkResources": [
    ],
  • "DisplayedLabel": "string",
  • "DisplayedDescription": "string"
}

SynthesisSection

RevisionSynthesisSection_UpdateSynthesisNotesOfSynthesisSection

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
synthesisSectionId
required
integer <int32>
Request Body schema:
required
Array
SynthesisNoteId
required
integer <int32>
Position
required
integer <int32>

Responses

Request samples

Content type
[
  • {
    }
]

UnfinishedExportCleaner