Download OpenAPI specification:
This API manages the permanent file (dossier permanent) of an accounting folder: long-lived reference data attached to a company such as buildings, shareholders, agricultural activities, accounting policies and account certifications. It is part of the larger Fred platform and is consumed by other Fred services.
All endpoints are protected and require a valid Fred bearer token, except where explicitly marked as anonymous. Authentication and authorization follow the common Inqom mechanism shared by every Fred microservice.
See the shared Inqom authentication documentation for how to obtain a token and call the API behind the gateway.
| Environment | Base URL |
|---|---|
| Production | https://api.inqom.com/permanent-file |
| Staging | https://api-staging.inqom.com/permanent-file |
| accountingFolderId required | integer <int32> AccountingFolderId |
[- {
- "CertificateId": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "FileName": "string",
- "PublicUrl": "string",
- "PrivateUrl": "string",
- "Size": 0,
- "HtmlRawText": "string",
- "Attestation": {
- "Header": "string",
- "Footer": "string",
- "ThemeId": 0,
- "CreationDate": "2019-08-24",
- "Location": "string",
- "Issuers": [
- {
- "FullName": "string",
- "Position": "string"
}
], - "Lines": [
- {
- "RowIdentifier": "string",
- "Label": "string",
- "Value": 0.1
}
]
}
}
]| accountingFolderId required | integer <int32> AccountingFolderId |
| FormData.StartDate required | string <date-time> Period start date |
| FormData.EndDate required | string <date-time> Period end date |
| FormData.PdfFile | string <binary> Uploaded PDF |
| FormData.ProvidedPdfFilename | string Provided PDF filename (optional if PdfFile is provided as MemoryStream) |
| FormData.RawText | string Raw Text |
0| accountingFolderId required | integer <int32> AccountingFolderId |
| accountCertificationId required | integer <int32> AccountCertificationId |
{- "CertificateId": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "FileName": "string",
- "PublicUrl": "string",
- "PrivateUrl": "string",
- "Size": 0,
- "HtmlRawText": "string",
- "Attestation": {
- "Header": "string",
- "Footer": "string",
- "ThemeId": 0,
- "CreationDate": "2019-08-24",
- "Location": "string",
- "Issuers": [
- {
- "FullName": "string",
- "Position": "string"
}
], - "Lines": [
- {
- "RowIdentifier": "string",
- "Label": "string",
- "Value": 0.1
}
]
}
}| accountingFolderId required | integer <int32> AccountingFolderId |
| StartDate required | string <date-time> Début de la période |
| EndDate required | string <date-time> Fin de la période |
{- "CertificateId": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "FileName": "string",
- "PublicUrl": "string",
- "PrivateUrl": "string",
- "Size": 0,
- "HtmlRawText": "string",
- "Attestation": {
- "Header": "string",
- "Footer": "string",
- "ThemeId": 0,
- "CreationDate": "2019-08-24",
- "Location": "string",
- "Issuers": [
- {
- "FullName": "string",
- "Position": "string"
}
], - "Lines": [
- {
- "RowIdentifier": "string",
- "Label": "string",
- "Value": 0.1
}
]
}
}| accountingFolderId required | integer <int32> AccountingFolderId |
| FormData.StartDate required | string <date-time> Period start date |
| FormData.EndDate required | string <date-time> Period end date |
| FormData.PdfFile | string <binary> Uploaded PDF. When provided, the template body fields are ignored. |
| FormData.ProvidedPdfFilename | string Provided PDF filename (optional, used when PdfFile is provided) |
| FormData.Header | string En-tête de l'attestation |
| FormData.Footer | string Pied de page de l'attestation |
| FormData.ThemeId | integer <int32> Thème de plaquette utilisé pour générer les états financiers |
| FormData.CreationDate | string <date-time> Date de création affichée sur l'attestation |
| FormData.Location | string Lieu affiché sur l'attestation |
| FormData.Issuers | string Émetteurs de l'attestation (2 maximum). À envoyer sous forme de tableau JSON sérialisé en string. Exemple : [{"FullName":"John","Position":"CEO"}] |
| FormData.Lines | string Lignes de l'état SyntheseDesComptes à afficher sur l'attestation. À envoyer sous forme de tableau JSON sérialisé en string. Exemple : [{"Identifier":"ROW_A","Label":"Ventes","Value":1234.56}] |
0| accountingFolderId required | integer <int32> AccountingFolderId |
| StartDate required | string <date-time> Début de la période |
| EndDate required | string <date-time> Fin de la période |
| ThemeId | integer or null <int32> Thème de plaquette à appliquer au PDF régénéré. Non fourni : le thème déjà enregistré sur l'attestation est conservé. |
{- "CertificateId": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "FileName": "string",
- "PublicUrl": "string",
- "PrivateUrl": "string",
- "Size": 0,
- "HtmlRawText": "string",
- "Attestation": {
- "Header": "string",
- "Footer": "string",
- "ThemeId": 0,
- "CreationDate": "2019-08-24",
- "Location": "string",
- "Issuers": [
- {
- "FullName": "string",
- "Position": "string"
}
], - "Lines": [
- {
- "RowIdentifier": "string",
- "Label": "string",
- "Value": 0.1
}
]
}
}| accountingFolderId required | integer <int32> |
required | object (AccountingPolicies) |
{- "AccountingPolicies": {
- "Answers": [
- {
- "QuestionIdentifier": "string",
- "OptionIdentifier": "string"
}
]
}
}{- "FullName": "string",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> |
[- {
- "Exercise": {
- "Id": 0,
- "BeginDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z"
}, - "ModificatorInformation": {
- "UserId": 0,
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
}
]| accountingFolderId required | integer <int32> |
| exerciseId required | integer <int32> |
| chartOfAccountsType | string |
{- "Groups": [
- {
- "Title": "string",
- "Questions": [
- {
- "Title": "string",
- "Identifier": "string",
- "ValidFrom": "2019-08-24T14:15:22Z",
- "ValidTo": "2019-08-24T14:15:22Z",
- "ChartOfAccountsTypes": [
- "string"
], - "Options": [
- {
- "Label": "string",
- "Id": "string",
- "IsDefault": true
}
], - "OptionSelected": "string"
}
]
}
], - "User": {
- "FullName": "string",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
}| accountingFolderId required | integer <int32> |
| exerciseId required | integer <int32> |
required | object (AccountingPolicies) |
{- "AccountingPolicies": {
- "Answers": [
- {
- "QuestionIdentifier": "string",
- "OptionIdentifier": "string"
}
]
}
}{- "FullName": "string",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}This method requires the caller to have read access to the Permanent File resource.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder. Must be a positive integer greater than 0. |
[- {
- "Id": 0,
- "Fullname": "string",
- "Type": "Unknown",
- "FolderSituation": "Shareholder"
}
]This endpoint returns a 200 OK response with the agricultural identifiers if the request is successful. It may also return a 400 Bad Request response if the input is invalid.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder. Must be a positive integer greater than or equal to 1. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}Possible HTTP response codes:
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder. Must be a positive integer greater than zero. |
The command containing the details of the agricultural identifiers to be created.
| Bdni | string or null |
| Msa | string or null |
| Pacage | string or null |
| PrimaryBreedingNumber | string or null |
| SecondaryBreedingNumber | string or null |
| TernaryBreedingNumber | string or null |
{- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}Possible HTTP response codes:
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder. Must be a positive integer greater than zero. |
The command containing the updated agricultural identifiers, including administrative and breeding identifiers.
| Bdni | string or null |
| Msa | string or null |
| Pacage | string or null |
| PrimaryBreedingNumber | string or null |
| SecondaryBreedingNumber | string or null |
| TernaryBreedingNumber | string or null |
{- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}| accountingFolderId required | integer <int32> The identifier of the accounting folder (not used in the query, kept for route consistency and authorization). |
[- {
- "Id": 0,
- "ProductionType": "string",
- "Reference": "string",
- "Label": "string"
}
]| accountingFolderId required | integer <int32> The identifier of the accounting folder (not used in the query, kept for route consistency and authorization). |
[- {
- "Id": 0,
- "Unit": "string",
- "Label": "string"
}
]| accountingFolderId required | integer <int32> The identifier of the accounting folder. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "PlantProductions": [
- {
- "Id": 0,
- "AgriculturalActivityId": 0,
- "Surface": 0,
- "HarvestedQuantity": 0,
- "HarvestedQuantityUnitId": 0,
- "YieldN_1": 0,
- "YieldN_2": 0,
- "YieldN_3": 0,
- "YieldN_4": 0
}
], - "AnimalProductions": [
- {
- "Id": 0,
- "AgriculturalActivityId": 0,
- "InitialStock": 0,
- "FinalStock": 0,
- "Loss": 0,
- "UGB": 0,
- "LossN_1": 0,
- "UGBN_1": 0
}
], - "DairyContractQuantity": 0,
- "DirectSalesQuantity": 0,
- "IncludingThoseSoldInDairiesQuantity": 0,
- "IncludingInternalTransfersQuantity": 0,
- "IncludingThoseSoldDirectly": 0,
- "IncludingTransformed": 0
}
]| accountingFolderId required | integer <int32> The identifier of the accounting folder. |
The creation command describing the agricultural folder activity to create.
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
| DairyContractQuantity required | number <decimal> |
| DirectSalesQuantity required | number <decimal> |
| IncludingThoseSoldInDairiesQuantity required | number <decimal> |
| IncludingInternalTransfersQuantity required | number <decimal> |
| IncludingThoseSoldDirectly required | number <decimal> |
| IncludingTransformed required | number <decimal> |
Array of objects or null (CreatePlantProductionCommandModel) | |
Array of objects or null (CreateAnimalProductionCommandModel) |
{- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "DairyContractQuantity": 0,
- "DirectSalesQuantity": 0,
- "IncludingThoseSoldInDairiesQuantity": 0,
- "IncludingInternalTransfersQuantity": 0,
- "IncludingThoseSoldDirectly": 0,
- "IncludingTransformed": 0,
- "PlantProductions": [
- {
- "AgriculturalActivityId": 0,
- "Surface": 0,
- "HarvestedQuantity": 0,
- "HarvestedQuantityUnitId": 0,
- "YieldN_1": 0,
- "YieldN_2": 0,
- "YieldN_3": 0,
- "YieldN_4": 0
}
], - "AnimalProductions": [
- {
- "AgriculturalActivityId": 0,
- "InitialStock": 0,
- "FinalStock": 0,
- "Loss": 0,
- "UGB": 0,
- "LossN_1": 0,
- "UGBN_1": 0
}
]
}0| accountingFolderId required | integer <int32> The identifier of the accounting folder. |
| agriculturalFolderActivityId required | integer <int32> The identifier of the agricultural folder activity to delete. |
| accountingFolderId required | integer <int32> The identifier of the accounting folder. |
| agriculturalFolderActivityId required | integer <int32> The identifier of the agricultural folder activity to update. |
The update command describing the new values for the agricultural folder activity.
| DairyContractQuantity required | number <decimal> |
| DirectSalesQuantity required | number <decimal> |
| IncludingThoseSoldInDairiesQuantity required | number <decimal> |
| IncludingInternalTransfersQuantity required | number <decimal> |
| IncludingThoseSoldDirectly required | number <decimal> |
| IncludingTransformed required | number <decimal> |
Array of objects or null (CreatePlantProductionCommandModel) | |
Array of objects or null (UpdatePlantProductionCommandModel) | |
Array of objects or null (CreateAnimalProductionCommandModel) | |
Array of objects or null (UpdateAnimalProductionCommandModel) |
{- "DairyContractQuantity": 0,
- "DirectSalesQuantity": 0,
- "IncludingThoseSoldInDairiesQuantity": 0,
- "IncludingInternalTransfersQuantity": 0,
- "IncludingThoseSoldDirectly": 0,
- "IncludingTransformed": 0,
- "NewPlantProductions": [
- {
- "AgriculturalActivityId": 0,
- "Surface": 0,
- "HarvestedQuantity": 0,
- "HarvestedQuantityUnitId": 0,
- "YieldN_1": 0,
- "YieldN_2": 0,
- "YieldN_3": 0,
- "YieldN_4": 0
}
], - "UpdatedPlantProductions": [
- {
- "Id": 0,
- "AgriculturalActivityId": 0,
- "Surface": 0,
- "HarvestedQuantity": 0,
- "HarvestedQuantityUnitId": 0,
- "YieldN_1": 0,
- "YieldN_2": 0,
- "YieldN_3": 0,
- "YieldN_4": 0
}
], - "NewAnimalProductions": [
- {
- "AgriculturalActivityId": 0,
- "InitialStock": 0,
- "FinalStock": 0,
- "Loss": 0,
- "UGB": 0,
- "LossN_1": 0,
- "UGBN_1": 0
}
], - "UpdatedAnimalProductions": [
- {
- "Id": 0,
- "AgriculturalActivityId": 0,
- "InitialStock": 0,
- "FinalStock": 0,
- "Loss": 0,
- "UGB": 0,
- "LossN_1": 0,
- "UGBN_1": 0
}
]
}| accountingFolderId required | integer <int32> The identifier of the accounting folder. |
| startDate required | string <date-time> The start date of the exercise period. |
| endDate required | string <date-time> The end date of the exercise period. |
"string"| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] |
{- "ExceptionalAgriculturalIncomeViewModels": [
- {
- "Id": 0,
- "ExerciseClosingDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "Beneficiaries": [
- {
- "ExceptionalAgriculturalIncomeId": 0,
- "BeneficiaryId": 0,
- "PersonId": 0,
- "PersonName": "string",
- "PersonType": "Unknown",
- "EligibleAmount": 0
}
]
}
], - "PrecautionarySavingDeductionViewModels": [
- {
- "Id": 0,
- "ExerciseSavingDate": "2019-08-24T14:15:22Z",
- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "ExerciceId": 0,
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0,
- "NonReintegratedBalance": 0,
- "AccumulatedSavings": 0
}
]
}
], - "AgriculturalProductionMeanViewModels": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "OwnedLands": 0,
- "LeasedLands": 0,
- "SharecroppedLands": 0,
- "LandsProvidedByTenantPartner": 0,
- "LandsProvidedByOwnerPartner": 0,
- "OtherProvidedLands": 0,
- "OtherSurfaces": 0,
- "UtilizedAgriculturalArea": 0,
- "EligibleForEuropeanSubsidies": 0,
- "IrrigatedLands": 0,
- "DrainedLands": 0,
- "OrganicFarmingLands": 0,
- "OwnedBuildings": 0,
- "BareOwnershipBuildings": 0,
- "LeasedBuildings": 0,
- "OtherBuildings": 0,
- "OtherBuildingsComment": "string",
- "TotalLands": 0
}
], - "ThreeYearAverageViewModels": [
- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "PersonType": "Unknown",
- "Periods": [
- {
- "Id": 0,
- "OptionFormulationDate": "2019-08-24T14:15:22Z",
- "OptionCancellationDate": "2019-08-24T14:15:22Z"
}
]
}
], - "WorkforceReadViewModels": [
- {
- "AccountingFolderId": 0,
- "ExerciseId": 0,
- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0,
- "Total": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0,
- "Total": 0
}
}
], - "YoungFarmerProfitAllowanceViewModels": [
- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "Type": "Unknown",
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
], - "EligiblePersonsViewModels": [
- {
- "Id": 0,
- "Fullname": "string",
- "Type": "Unknown",
- "FolderSituation": "Shareholder"
}
], - "AgriculturalIdentifiers": {
- "Id": 0,
- "AccountingFolderId": 0,
- "Bdni": "string",
- "Msa": "string",
- "Pacage": "string",
- "PrimaryBreedingNumber": "string",
- "SecondaryBreedingNumber": "string",
- "TernaryBreedingNumber": "string"
}
}| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "ExerciseClosingDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "Beneficiaries": [
- {
- "ExceptionalAgriculturalIncomeId": 0,
- "BeneficiaryId": 0,
- "PersonId": 0,
- "PersonName": "string",
- "PersonType": "Unknown",
- "EligibleAmount": 0
}
]
}
]| accountingFolderId required | integer <int32> |
required | Array of objects or null (UpsertExceptionalAgriculturalIncomeRequest) |
{- "ReaList": [
- {
- "ExceptionalAgriculturalIncomeId": 0,
- "ExerciseClosingDate": "2019-08-24T14:15:22Z",
- "TotalAmount": 0,
- "IncomeBeneficiaries": [
- {
- "BeneficiaryId": 0,
- "PersonId": 0,
- "PersonType": "Unknown",
- "Amount": 0
}
]
}
]
}| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "ExerciseSavingDate": "2019-08-24T14:15:22Z",
- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "ExerciceId": 0,
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0,
- "NonReintegratedBalance": 0,
- "AccumulatedSavings": 0
}
]
}
]| accountingFolderId required | integer <int32> |
| ExerciseSavingDate required | string <date-time> |
| AmountDeducted required | number <decimal> |
required | Array of objects or null (SavingDeductionExerciceCreationRequest) |
{- "ExerciseSavingDate": "2019-08-24T14:15:22Z",
- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0
}
]
}{- "Id": 0,
- "ExerciseSavingDate": "2019-08-24T14:15:22Z",
- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "ExerciceId": 0,
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0,
- "NonReintegratedBalance": 0,
- "AccumulatedSavings": 0
}
]
}| accountingFolderId required | integer <int32> |
| precautionarySavingDeductionId required | integer <int32> |
| AmountDeducted required | number <decimal> |
required | Array of objects or null (SavingDeductionExerciceUpdateRequest) |
{- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "Id": 0,
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0
}
]
}{- "Id": 0,
- "ExerciseSavingDate": "2019-08-24T14:15:22Z",
- "AmountDeducted": 0,
- "SavingDeductionExercices": [
- {
- "ExerciceId": 0,
- "ConcernedExerciseEndDate": "2019-08-24T14:15:22Z",
- "SavingAccountAmount": 0,
- "CurrentAccountAmount": 0,
- "SavingForageStockAmount": 0,
- "SavingStockOfProductsOrAnimalsAmount": 0,
- "TotalRestitutions": 0,
- "NonReintegratedBalance": 0,
- "AccumulatedSavings": 0
}
]
}| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "OwnedLands": 0,
- "LeasedLands": 0,
- "SharecroppedLands": 0,
- "LandsProvidedByTenantPartner": 0,
- "LandsProvidedByOwnerPartner": 0,
- "OtherProvidedLands": 0,
- "OtherSurfaces": 0,
- "UtilizedAgriculturalArea": 0,
- "EligibleForEuropeanSubsidies": 0,
- "IrrigatedLands": 0,
- "DrainedLands": 0,
- "OrganicFarmingLands": 0,
- "OwnedBuildings": 0,
- "BareOwnershipBuildings": 0,
- "LeasedBuildings": 0,
- "OtherBuildings": 0,
- "OtherBuildingsComment": "string",
- "TotalLands": 0
}
]| accountingFolderId required | integer <int32> |
| OwnedLands required | number <decimal> |
| LeasedLands required | number <decimal> |
| SharecroppedLands required | number <decimal> |
| LandsProvidedByTenantPartner required | number <decimal> |
| LandsProvidedByOwnerPartner required | number <decimal> |
| OtherProvidedLands required | number <decimal> |
| OtherSurfaces required | number <decimal> |
| UtilizedAgriculturalArea required | number <decimal> |
| EligibleForEuropeanSubsidies required | number <decimal> |
| IrrigatedLands required | number <decimal> |
| DrainedLands required | number <decimal> |
| OrganicFarmingLands required | number <decimal> |
| OwnedBuildings required | number <decimal> |
| BareOwnershipBuildings required | number <decimal> |
| LeasedBuildings required | number <decimal> |
| OtherBuildings required | number <decimal> |
| OtherBuildingsComment | string or null |
| StartDate required | string <date-time> |
| EndDate required | string <date-time> |
{- "OwnedLands": 0,
- "LeasedLands": 0,
- "SharecroppedLands": 0,
- "LandsProvidedByTenantPartner": 0,
- "LandsProvidedByOwnerPartner": 0,
- "OtherProvidedLands": 0,
- "OtherSurfaces": 0,
- "UtilizedAgriculturalArea": 0,
- "EligibleForEuropeanSubsidies": 0,
- "IrrigatedLands": 0,
- "DrainedLands": 0,
- "OrganicFarmingLands": 0,
- "OwnedBuildings": 0,
- "BareOwnershipBuildings": 0,
- "LeasedBuildings": 0,
- "OtherBuildings": 0,
- "OtherBuildingsComment": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z"
}0| accountingFolderId required | integer <int32> |
| productionMeanId required | integer <int32> |
| OwnedLands required | number <decimal> |
| LeasedLands required | number <decimal> |
| SharecroppedLands required | number <decimal> |
| LandsProvidedByTenantPartner required | number <decimal> |
| LandsProvidedByOwnerPartner required | number <decimal> |
| OtherProvidedLands required | number <decimal> |
| OtherSurfaces required | number <decimal> |
| UtilizedAgriculturalArea required | number <decimal> |
| EligibleForEuropeanSubsidies required | number <decimal> |
| IrrigatedLands required | number <decimal> |
| DrainedLands required | number <decimal> |
| OrganicFarmingLands required | number <decimal> |
| OwnedBuildings required | number <decimal> |
| BareOwnershipBuildings required | number <decimal> |
| LeasedBuildings required | number <decimal> |
| OtherBuildings required | number <decimal> |
| OtherBuildingsComment | string or null |
{- "OwnedLands": 0,
- "LeasedLands": 0,
- "SharecroppedLands": 0,
- "LandsProvidedByTenantPartner": 0,
- "LandsProvidedByOwnerPartner": 0,
- "OtherProvidedLands": 0,
- "OtherSurfaces": 0,
- "UtilizedAgriculturalArea": 0,
- "EligibleForEuropeanSubsidies": 0,
- "IrrigatedLands": 0,
- "DrainedLands": 0,
- "OrganicFarmingLands": 0,
- "OwnedBuildings": 0,
- "BareOwnershipBuildings": 0,
- "LeasedBuildings": 0,
- "OtherBuildings": 0,
- "OtherBuildingsComment": "string"
}| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "PersonType": "Unknown",
- "Periods": [
- {
- "Id": 0,
- "OptionFormulationDate": "2019-08-24T14:15:22Z",
- "OptionCancellationDate": "2019-08-24T14:15:22Z"
}
]
}
]| accountingFolderId required | integer <int32> |
| PersonId required | integer <int32> |
| PersonType required | string Enum: "Unknown" "NaturalPerson" "LegalPerson" |
required | Array of objects or null (UpsertThreeYearAveragesPeriod) |
[- {
- "PersonId": 0,
- "PersonType": "Unknown",
- "Periods": [
- {
- "Id": 0,
- "OptionFormulationDate": "2019-08-24T14:15:22Z",
- "OptionCancellationDate": "2019-08-24T14:15:22Z"
}
]
}
]| accountingFolderId required | integer <int32> The ID of the accounting folder. |
| exerciseId required | integer <int32> The ID of the Exercise. |
{- "AccountingFolderId": 0,
- "ExerciseId": 0,
- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0,
- "Total": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0,
- "Total": 0
}
}| accountingFolderId required | integer <int32> The ID of the accounting folder. |
| exerciseId required | integer <int32> The ID of the Exercise. |
The content used to create human workforce information.
object (ExternalWorkforceWriteDto) | |
object (SalariedWorkforceWriteDto) | |
object (NonSalariedWorkforceWriteDto) |
{- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0
}
}{- "AccountingFolderId": 0,
- "ExerciseId": 0,
- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0,
- "Total": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0,
- "Total": 0
}
}| accountingFolderId required | integer <int32> The ID of the accounting folder. |
| exerciseId required | integer <int32> The ID of the Exercise. |
The content used to fully update human workforce information.
object (ExternalWorkforceWriteDto) | |
object (SalariedWorkforceWriteDto) | |
object (NonSalariedWorkforceWriteDto) |
{- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0
}
}{- "AccountingFolderId": 0,
- "ExerciseId": 0,
- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0,
- "Total": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0,
- "Total": 0
}
}| accountingFolderId required | integer <int32> The ID of the accounting folder. |
[- {
- "AccountingFolderId": 0,
- "ExerciseId": 0,
- "ExternalWorkforce": {
- "Total": 0
}, - "SalariedWorkforce": {
- "PermanentEmployees": 0,
- "Spouses": 0,
- "TemporaryEmployees": 0,
- "Total": 0
}, - "NonSalariedWorkforce": {
- "OperationManagers": 0,
- "Spouses": 0,
- "FamilyHelpers": 0,
- "Total": 0
}
}
]| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "Type": "Unknown",
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> |
| PersonId required | integer <int32> |
| Type required | string Enum: "Unknown" "NaturalPerson" "LegalPerson" |
| GrantDate required | string <date-time> |
| ApplicationStartDate required | string <date-time> |
| ApplicationEndDate required | string <date-time> |
| InstallationJaDate | string or null <date-time> |
[- {
- "PersonId": 0,
- "Type": "Unknown",
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
][- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "Type": "Unknown",
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> |
| Id required | integer <int32> |
| GrantDate required | string <date-time> |
| ApplicationStartDate required | string <date-time> |
| ApplicationEndDate required | string <date-time> |
| InstallationJaDate | string or null <date-time> |
[- {
- "Id": 0,
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
][- {
- "Id": 0,
- "PersonId": 0,
- "PersonName": "string",
- "Type": "Unknown",
- "GrantDate": "2019-08-24T14:15:22Z",
- "ApplicationStartDate": "2019-08-24T14:15:22Z",
- "ApplicationEndDate": "2019-08-24T14:15:22Z",
- "InstallationJaDate": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> |
| Title | string or null |
| Content | string or null |
{- "Title": "string",
- "Content": "string"
}{- "Id": 0,
- "Title": "string",
- "Content": "string",
- "LastUpdateDate": "2019-08-24T14:15:22Z",
- "EditorId": 0
}| accountingFolderId required | integer <int32> |
| noteId required | integer <int32> |
| Title | string or null |
| Content | string or null |
{- "Title": "string",
- "Content": "string"
}{- "Id": 0,
- "Title": "string",
- "Content": "string",
- "LastUpdateDate": "2019-08-24T14:15:22Z",
- "EditorId": 0
}| accountingFolderId required | integer <int32> |
[- {
- "Id": 0,
- "Address": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}, - "BuildingNumber": "string",
- "Nature": {
- "Code": "NotSet",
- "Label": "string"
}, - "PurchaseDate": "2019-08-24T14:15:22Z",
- "ExitDate": "2019-08-24T14:15:22Z",
- "IsBuilt": {
- "Code": "NotSet",
- "Label": "string"
}, - "SpecificDeduction": {
- "Id": 0,
- "Label": "string"
}, - "AmortizationDeduction": {
- "Id": 0,
- "Label": "string"
}, - "PremisesCount": 0,
- "TagId": 0,
- "FreeBeneficiaryLegalPersonIds": [
- 0
], - "FreeBeneficiaryNaturalPersonIds": [
- 0
], - "IsDeletable": true
}
]| accountingFolderId required | integer <int32> |
| PurchaseDate required | string <date-time> |
| ExitDate | string or null <date-time> |
object (LocationCommand) | |
| BuildingNumber required | string non-empty |
| Nature required | string Enum: "NotSet" "U" "R" "IR" "AP" "M" "P" "AU" |
| IsBuilt required | string Enum: "NotSet" "B" "NB" |
| SpecificDeduction | integer or null <int32> |
| AmortizationDeduction | integer or null <int32> |
| PremisesCount | integer or null <int32> |
| FreeBeneficiaryLegalPersonIds | Array of integers or null <int32> [ items <int32 > ] |
| FreeBeneficiaryNaturalPersonIds | Array of integers or null <int32> [ items <int32 > ] |
{- "PurchaseDate": "2019-08-24T14:15:22Z",
- "ExitDate": "2019-08-24T14:15:22Z",
- "Address": {
- "Street": "string",
- "City": "string",
- "ZipCode": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "CountryId": 0
}, - "BuildingNumber": "string",
- "Nature": "NotSet",
- "IsBuilt": "NotSet",
- "SpecificDeduction": 0,
- "AmortizationDeduction": 0,
- "PremisesCount": 0,
- "FreeBeneficiaryLegalPersonIds": [
- 0
], - "FreeBeneficiaryNaturalPersonIds": [
- 0
]
}0| accountingFolderId required | integer <int32> |
| buildingId required | integer <int32> |
{- "Id": 0,
- "Address": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}, - "BuildingNumber": "string",
- "Nature": {
- "Code": "NotSet",
- "Label": "string"
}, - "PurchaseDate": "2019-08-24T14:15:22Z",
- "ExitDate": "2019-08-24T14:15:22Z",
- "IsBuilt": {
- "Code": "NotSet",
- "Label": "string"
}, - "SpecificDeduction": {
- "Id": 0,
- "Label": "string"
}, - "AmortizationDeduction": {
- "Id": 0,
- "Label": "string"
}, - "PremisesCount": 0,
- "TagId": 0,
- "FreeBeneficiaryLegalPersonIds": [
- 0
], - "FreeBeneficiaryNaturalPersonIds": [
- 0
], - "IsDeletable": true
}| accountingFolderId required | integer <int32> |
| buildingId required | integer <int32> |
| PurchaseDate required | string <date-time> |
| ExitDate | string or null <date-time> |
object (LocationCommand) | |
| BuildingNumber required | string non-empty |
| Nature required | string Enum: "NotSet" "U" "R" "IR" "AP" "M" "P" "AU" |
| IsBuilt required | string Enum: "NotSet" "B" "NB" |
| SpecificDeduction | integer or null <int32> |
| AmortizationDeduction | integer or null <int32> |
| PremisesCount | integer or null <int32> |
| FreeBeneficiaryLegalPersonIds | Array of integers or null <int32> [ items <int32 > ] |
| FreeBeneficiaryNaturalPersonIds | Array of integers or null <int32> [ items <int32 > ] |
{- "PurchaseDate": "2019-08-24T14:15:22Z",
- "ExitDate": "2019-08-24T14:15:22Z",
- "Address": {
- "Street": "string",
- "City": "string",
- "ZipCode": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "CountryId": 0
}, - "BuildingNumber": "string",
- "Nature": "NotSet",
- "IsBuilt": "NotSet",
- "SpecificDeduction": 0,
- "AmortizationDeduction": 0,
- "PremisesCount": 0,
- "FreeBeneficiaryLegalPersonIds": [
- 0
], - "FreeBeneficiaryNaturalPersonIds": [
- 0
]
}| accountingFolderId required | integer <int32> |
[- {
- "PersonId": 0,
- "IsLegal": true,
- "Name": "string",
- "IsShareholder": true,
- "Siren": "string",
- "Gender": "string",
- "PersonAddress": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}, - "IsPersonAddressEqualsToBuildingAddress": true,
- "Building": {
- "Id": 0,
- "BuildingNumber": "string",
- "Address": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}
}
}
]| accountingFolderId required | integer <int32> |
| buildingId required | integer <int32> |
| FreeBeneficiaryLegalPersonId | integer or null <int32> |
| FreeBeneficiaryNaturalPersonId | integer or null <int32> |
{- "FreeBeneficiaryLegalPersonId": 0,
- "FreeBeneficiaryNaturalPersonId": 0
}| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] |
{- "BuildingViewModels": [
- {
- "Id": 0,
- "Address": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}, - "BuildingNumber": "string",
- "Nature": {
- "Code": "NotSet",
- "Label": "string"
}, - "PurchaseDate": "2019-08-24T14:15:22Z",
- "ExitDate": "2019-08-24T14:15:22Z",
- "IsBuilt": {
- "Code": "NotSet",
- "Label": "string"
}, - "SpecificDeduction": {
- "Id": 0,
- "Label": "string"
}, - "AmortizationDeduction": {
- "Id": 0,
- "Label": "string"
}, - "PremisesCount": 0,
- "TagId": 0,
- "FreeBeneficiaryLegalPersonIds": [
- 0
], - "FreeBeneficiaryNaturalPersonIds": [
- 0
], - "IsDeletable": true
}
], - "BuildingSpecificDeductionViewModels": [
- {
- "Id": 0,
- "Code": "string",
- "Label": "string"
}
], - "BuildingAmortizationDeductionViewModels": [
- {
- "Id": 0,
- "Code": "string",
- "Label": "string",
- "ValidityStartDate": "2019-08-24T14:15:22Z",
- "ValidityEndDate": "2019-08-24T14:15:22Z"
}
], - "FreeBeneficiaryWithBuildingViewModels": [
- {
- "PersonId": 0,
- "IsLegal": true,
- "Name": "string",
- "IsShareholder": true,
- "Siren": "string",
- "Gender": "string",
- "PersonAddress": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}, - "IsPersonAddressEqualsToBuildingAddress": true,
- "Building": {
- "Id": 0,
- "BuildingNumber": "string",
- "Address": {
- "Street": "string",
- "AdditionalAddress": "string",
- "Hamlet": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0
}
}
}
], - "CountryCodes": [
- {
- "Id": 0,
- "ISO2LetterCode": "string",
- "ISO3LetterCode": "string",
- "PhoneCode": 0,
- "Name": "string",
- "PhoneRegexs": "string",
- "ZipCodeRegexs": "string",
- "LanguagesIETFTag": "string",
- "LanguageIRTFTagId": 0,
- "LanguageIRTFTag": {
- "Id": 0,
- "Label": "string",
- "AbbyName": "string",
- "IETFTag": "string",
- "PrimaryIETFTag": "string",
- "Available": true
}, - "CurrencyId": 0,
- "InEurope": true,
- "Available": true
}
]
}This method requires the caller to have the appropriate permissions to access the tax compliance reviewer data.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder for which the tax compliance reviewer is to be retrieved. |
{- "Id": 0,
- "Name": "string",
- "Siren": "string",
- "NameComplement1": "string",
- "NameComplement2": "string",
- "Address": "string",
- "AddressComplement": "string",
- "Locality": "string",
- "City": "string",
- "CountryId": 0,
- "ZipCode": "string"
}This method requires the caller to have the appropriate permissions to manage the tax compliance reviewer data.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder for which the tax compliance reviewer is to be created. |
The content used to create the tax compliance reviewer.
| Name required | string or null |
| Siren | string or null |
| CountryId | integer or null <int32> [ 1 .. 2147483647 ] |
| NameComplement1 | string or null |
| NameComplement2 | string or null |
| Address | string or null |
| AddressComplement | string or null |
| Locality | string or null |
| ZipCode | string or null |
| City | string or null |
{- "Name": "string",
- "Siren": "string",
- "CountryId": 1,
- "NameComplement1": "string",
- "NameComplement2": "string",
- "Address": "string",
- "AddressComplement": "string",
- "Locality": "string",
- "ZipCode": "string",
- "City": "string"
}{- "Id": 0,
- "Name": "string",
- "Siren": "string",
- "NameComplement1": "string",
- "NameComplement2": "string",
- "Address": "string",
- "AddressComplement": "string",
- "Locality": "string",
- "City": "string",
- "CountryId": 0,
- "ZipCode": "string"
}This method requires the caller to have the appropriate permissions to manage the tax compliance reviewer data.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder whose tax compliance reviewer is to be updated. |
The content used to fully update the tax compliance reviewer.
| Name required | string or null |
| Siren | string or null |
| CountryId | integer or null <int32> [ 1 .. 2147483647 ] |
| NameComplement1 | string or null |
| NameComplement2 | string or null |
| Address | string or null |
| AddressComplement | string or null |
| Locality | string or null |
| ZipCode | string or null |
| City | string or null |
{- "Name": "string",
- "Siren": "string",
- "CountryId": 1,
- "NameComplement1": "string",
- "NameComplement2": "string",
- "Address": "string",
- "AddressComplement": "string",
- "Locality": "string",
- "ZipCode": "string",
- "City": "string"
}{- "Id": 0,
- "Name": "string",
- "Siren": "string",
- "NameComplement1": "string",
- "NameComplement2": "string",
- "Address": "string",
- "AddressComplement": "string",
- "Locality": "string",
- "City": "string",
- "CountryId": 0,
- "ZipCode": "string"
}This method requires the caller to have the appropriate permissions to manage the tax compliance reviewer data.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder whose tax compliance reviewer is to be deleted. |
This method requires the caller to have the appropriate permissions to access the tax compliance reviewer data.
| accountingFolderId required | integer <int32> [ 1 .. 2147483647 ] The unique identifier of the accounting folder for which the existence of a tax compliance reviewer is checked. |
true| accountingFolderId required | integer <int32> |
{- "Groups": [
- {
- "Title": "string",
- "Questions": [
- {
- "Title": "string",
- "Identifier": "string",
- "ValidFrom": "2019-08-24T14:15:22Z",
- "ValidTo": "2019-08-24T14:15:22Z",
- "ChartOfAccountsTypes": [
- "string"
], - "Options": [
- {
- "Label": "string",
- "Id": "string",
- "IsDefault": true
}
], - "OptionSelected": "string"
}
]
}
], - "User": {
- "FullName": "string",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
}| accountingFolderId required | integer <int32> |
| SourcePersonId required | integer <int32> |
| DestinationPersonId required | integer <int32> |
| PersonType required | string Enum: "Unknown" "NaturalPerson" "LegalPerson" |
[- {
- "SourcePersonId": 0,
- "DestinationPersonId": 0,
- "PersonType": "Unknown"
}
]