Financials | Asset Account Posting
The Account Posting represents the accounting data of an asset.(RESERVED FOR INTERNAL USE.).
Overview
| URL | api/{tenantKey}/{orgKey}/financialCore/assetAccountPostings |
| Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
-
GET:
- GET AssetAccountPostings
- GET AssetAccountPostings (paged)
- GET AssetAccountPosting by identifier
- GET AssetAccountPosting by key
- GET Print AssetAccountPosting by identifier
- GET Print AssetAccountPosting by key
- GET Original Print AssetAccountPostingOriginal by identifier
- GET Original Print AssetAccountPosting by key
- POST:
-
PUT:
- PUT Set IsActive AssetAccountPosting
- PUT Set PostingKey AssetAccountPosting
- PUT Set DocumentDate AssetAccountPosting
- PUT Set PostingDate AssetAccountPosting
- PUT Set Description AssetAccountPosting
- PUT Set TotalAmount AssetAccountPosting
- PUT Set SourceDoc AssetAccountPosting
- PUT Set Note AssetAccountPosting
- PUT Set SourceDocId AssetAccountPosting
- PUT Set SourceLineId AssetAccountPosting
- PUT Set SourceDocLine AssetAccountPosting
- PUT Set SourceSchemaEntity AssetAccountPosting
- PUT Set Currency AssetAccountPosting
- PUT Set Party AssetAccountPosting
- PUT Set Company AssetAccountPosting
- PUT Set ChartOfAccount AssetAccountPosting
- PUT Set GLAccount AssetAccountPosting
- PUT Set DimensionSet AssetAccountPosting
- PUT Set Ledger AssetAccountPosting
- PUT Set JournalType AssetAccountPosting
- PUT Set JournalNumber AssetAccountPosting
- PUT Set Unit AssetAccountPosting
- PUT Set Quantity AssetAccountPosting
- PUT Set FinancialYear AssetAccountPosting
- PUT Set Period AssetAccountPosting
- PUT Set TotalBase AssetAccountPosting
- PUT Set TotalReporting AssetAccountPosting
- PUT Set Nature AssetAccountPosting
- PUT Set BusinessParty AssetAccountPosting
- PUT Set ReferenceAccountPosting AssetAccountPosting
- PUT Set AssetTransactionType AssetAccountPosting
- PUT Set AssetTransactionAccountType AssetAccountPosting
- PUT Set AssetId AssetAccountPosting
- PUT Set AssetNaturalKey AssetAccountPosting
- PUT Set DepreciationAreaId AssetAccountPosting
- PUT Set DepreciationAreaNaturalKey AssetAccountPosting
- PUT Set FinancialAccount AssetAccountPosting
- PUT Set ExchangeRate AssetAccountPosting
- PUT Set ExchangeRateDate AssetAccountPosting
- PUT Set ReportingExchangeRate AssetAccountPosting
- PUT Set IsReversal AssetAccountPosting
- PUT Set DimensionAllocation AssetAccountPosting
- DELETE:
All Resources
This service uses the following resources:
All Enumerations
This service uses the following enumerations:
GET AssetAccountPostings
Returns the list of all the entity records available.
Response:
| When successful, the response body contains the list of records available. See AssetAccountPostingResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET AssetAccountPostings (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
| page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
| pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
| When successful, the response body contains the list of records available. See AssetAccountPostingResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET AssetAccountPosting by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body contains the entity record. See AssetAccountPostingResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET AssetAccountPosting by key
Returns the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| postingKey | (int) The posting's key. |
Response:
| When successful, the response body contains the entity record. See AssetAccountPostingResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print AssetAccountPosting by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print AssetAccountPosting by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| postingKey | (int) The posting's key. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print AssetAccountPostingOriginal by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print AssetAccountPosting by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| postingKey | (int) The posting's key. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
POST AssetAccountPostings
Creates a new entity record.
The following elements are required:
| assetAccountPostingResource | (ApiAssetAccountPostingResource) The request body should contain the entity record that should be created. See ApiAssetAccountPostingResource. |
Response:
| When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiAssetAccountPostingResource. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Capitalization Account Posting Exists
This operation verify if exits any asset posting for a given asset. RESERVED FOR INTERNAL USE.
The following elements are required:
| assetId | (Guid) The Asset Identifier. |
Response:
| When successful, the response body contains an item of type 'boolean'. |
Resource URL:
PUT Set AssetId AssetAccountPosting
Updates the value of attribute 'AssetId' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (Guid) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssetNaturalKey AssetAccountPosting
Updates the value of attribute 'AssetNaturalKey' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssetTransactionAccountType AssetAccountPosting
Updates the value of attribute 'AssetTransactionAccountType' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (enum AssetTransactionAccountType) The request body should contain the new value for the attribute. See AssetTransactionAccountType. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssetTransactionType AssetAccountPosting
Updates the value of attribute 'AssetTransactionType' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (enum AssetTransactionType) The request body should contain the new value for the attribute. See AssetTransactionType. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BusinessParty AssetAccountPosting
Updates the value of attribute 'BusinessParty' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ChartOfAccount AssetAccountPosting
Updates the value of attribute 'ChartOfAccount' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Company AssetAccountPosting
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency AssetAccountPosting
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DepreciationAreaId AssetAccountPosting
Updates the value of attribute 'DepreciationAreaId' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (Guid) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DepreciationAreaNaturalKey AssetAccountPosting
Updates the value of attribute 'DepreciationAreaNaturalKey' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description AssetAccountPosting
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DimensionAllocation AssetAccountPosting
Updates the value of attribute 'DimensionAllocation' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DimensionSet AssetAccountPosting
Updates the value of attribute 'DimensionSet' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DocumentDate AssetAccountPosting
Updates the value of attribute 'DocumentDate' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ExchangeRate AssetAccountPosting
Updates the value of attribute 'ExchangeRate' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ExchangeRateDate AssetAccountPosting
Updates the value of attribute 'ExchangeRateDate' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set FinancialAccount AssetAccountPosting
Updates the value of attribute 'FinancialAccount' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set FinancialYear AssetAccountPosting
Updates the value of attribute 'FinancialYear' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set GLAccount AssetAccountPosting
Updates the value of attribute 'GLAccount' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive AssetAccountPosting
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsReversal AssetAccountPosting
Updates the value of attribute 'IsReversal' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set JournalNumber AssetAccountPosting
Updates the value of attribute 'JournalNumber' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (int) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set JournalType AssetAccountPosting
Updates the value of attribute 'JournalType' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Ledger AssetAccountPosting
Updates the value of attribute 'Ledger' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Nature AssetAccountPosting
Updates the value of attribute 'Nature' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (enum AccountingNature) The request body should contain the new value for the attribute. See AccountingNature. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Note AssetAccountPosting
Updates the value of attribute 'Note' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Party AssetAccountPosting
Updates the value of attribute 'Party' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Period AssetAccountPosting
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (int) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PostingDate AssetAccountPosting
Updates the value of attribute 'PostingDate' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set PostingKey AssetAccountPosting
Updates the value of attribute 'PostingKey' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (int) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Quantity AssetAccountPosting
Updates the value of attribute 'Quantity' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ReferenceAccountPosting AssetAccountPosting
Updates the value of attribute 'ReferenceAccountPosting' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ReportingExchangeRate AssetAccountPosting
Updates the value of attribute 'ReportingExchangeRate' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SourceDoc AssetAccountPosting
Updates the value of attribute 'SourceDoc' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SourceDocId AssetAccountPosting
Updates the value of attribute 'SourceDocId' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (Guid) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SourceDocLine AssetAccountPosting
Updates the value of attribute 'SourceDocLine' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (int) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SourceLineId AssetAccountPosting
Updates the value of attribute 'SourceLineId' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (Guid) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SourceSchemaEntity AssetAccountPosting
Updates the value of attribute 'SourceSchemaEntity' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TotalAmount AssetAccountPosting
Updates the value of attribute 'TotalAmount' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TotalBase AssetAccountPosting
Updates the value of attribute 'TotalBase' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TotalReporting AssetAccountPosting
Updates the value of attribute 'TotalReporting' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Unit AssetAccountPosting
Updates the value of attribute 'Unit' in the specified entity record.
The following elements are required:
| postingKey | (int) The posting's key. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE AssetAccountPosting by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE AssetAccountPosting by key
Deletes the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| postingKey | (int) The posting's key. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiAssetAccountPostingResource
The following elements are required:
| postingKey | (int) The posting's key. |
| documentDate | (DateTime) The document date of the original document. |
| postingDate | (DateTime) The posting date of the original document. |
| totalAmount | (MoneyResource) The total amount of the original document.
See MoneyResource . |
| sourceDoc | (string) The original document identification. |
| sourceDocId | (Guid) The original document ID. |
| sourceSchemaEntity | (string) The source schema entity. |
| currency | (string) The currency of the posting. |
| company | (string) The company of the transaction. |
| chartOfAccount | (string) The chart of accounts of the company. |
| gLAccount | (string) The GL account of the transaction. |
| ledger | (string) The ledger of the transaction. |
| journalType | (string) The journal type assigned to the source doc. |
| journalNumber | (int) The journal number assigned to the source doc. |
| financialYear | (string) The financial year of the posting. |
| period | (int) The financial period of the posting. |
| totalBase | (decimal) The total amount in base currency. |
| totalReporting | (decimal) The total amount in reporting currency. |
| assetTransactionType | (enum AssetTransactionType) The type of asset transaction ex.: capitalization.
See AssetTransactionType. |
| assetTransactionAccountType | (enum AssetTransactionAccountType) The asset transaction GL account type.
See AssetTransactionAccountType. |
| assetId | (Guid) The asset identifier. |
| assetNaturalKey | (string) The asset natural key. |
| exchangeRate | (decimal) The exchange rate from transaction currency to base currency of the original document. |
The following elements are optional:
| description | (string) A description for the posting. |
| note | (string) The reference of the posting of the original document. |
| sourceLineId | (Guid) The source doc line ID. |
| sourceDocLine | (int) The source doc line identification. |
| party | (string) The party of the posting. Only to be filled if the GL account is of subledger vendor or customer. |
| dimensionSet | (string) The dimension set of the transaction. |
| unit | (string) For stock movements the unit is filled. |
| quantity | (decimal) For stock movements the quantity is filled. |
| nature | (enum AccountingNature) The nature of the account posting.
See AccountingNature. |
| businessParty | (string) The business party is the party was the document issued. |
| referenceAccountPosting | (string) For settled postings it's assigned this field what open item is beeing settled. |
| depreciationAreaId | (Guid) The depreciation area identifier. |
| depreciationAreaNaturalKey | (string) The depreciation natural key. |
| financialAccount | (string) The bank account of the settlement. Only to be filled if the GL account is of subledger bank. |
| exchangeRateDate | (DateTime) The date of the exchange rate of the original document. |
| reportingExchangeRate | (decimal) The exchange rate between transaction currency and reporting currency. |
| isReversal | (bool) Flag used in the reversal process in the journal entry document. |
| dimensionAllocation | (string) Dimension Allocation. |
AssetAccountPostingResource
The following elements are required:
| postingKey | (int) The posting's key. |
| documentDate | (DateTime) The document date of the original document. |
| postingDate | (DateTime) The posting date of the original document. |
| totalAmount | (MoneyResource) The total amount of the original document.
See MoneyResource . |
| sourceDoc | (string) The original document identification. |
| sourceDocId | (Guid) The original document ID. |
| sourceSchemaEntity | (string) The source schema entity. |
| currency | (string) The currency of the posting. |
| company | (string) The company of the transaction. |
| chartOfAccount | (string) The chart of accounts of the company. |
| gLAccount | (string) The GL account of the transaction. |
| ledger | (string) The ledger of the transaction. |
| journalType | (string) The journal type assigned to the source doc. |
| journalNumber | (int) The journal number assigned to the source doc. |
| financialYear | (string) The financial year of the posting. |
| period | (int) The financial period of the posting. |
| totalBase | (decimal) The total amount in base currency. |
| totalReporting | (decimal) The total amount in reporting currency. |
| assetTransactionType | (enum AssetTransactionType) The type of asset transaction ex.: capitalization.
See AssetTransactionType. |
| assetTransactionAccountType | (enum AssetTransactionAccountType) The asset transaction GL account type.
See AssetTransactionAccountType. |
| assetId | (Guid) The asset identifier. |
| assetNaturalKey | (string) The asset natural key. |
| exchangeRate | (decimal) The exchange rate from transaction currency to base currency of the original document. |
The following elements are optional:
| description | (string) A description for the posting. |
| note | (string) The reference of the posting of the original document. |
| sourceLineId | (Guid) The source doc line ID. |
| sourceDocLine | (int) The source doc line identification. |
| party | (string) The party of the posting. Only to be filled if the GL account is of subledger vendor or customer. |
| dimensionSet | (string) The dimension set of the transaction. |
| unit | (string) For stock movements the unit is filled. |
| quantity | (decimal) For stock movements the quantity is filled. |
| nature | (enum AccountingNature) The nature of the account posting.
See AccountingNature. |
| businessParty | (string) The business party is the party was the document issued. |
| referenceAccountPosting | (string) For settled postings it's assigned this field what open item is beeing settled. |
| depreciationAreaId | (Guid) The depreciation area identifier. |
| depreciationAreaNaturalKey | (string) The depreciation natural key. |
| financialAccount | (string) The bank account of the settlement. Only to be filled if the GL account is of subledger bank. |
| exchangeRateDate | (DateTime) The date of the exchange rate of the original document. |
| reportingExchangeRate | (decimal) The exchange rate between transaction currency and reporting currency. |
| isReversal | (bool) Flag used in the reversal process in the journal entry document. |
| autonomousTaxationId | (Guid) Identifies the autonomous taxation document that processed this posting. |
| dimensionAllocation | (string) Dimension Allocation. |
MoneyResource
The following elements are required:
| amount | (decimal) The amount. |
The following elements are optional:
| baseAmount | (decimal) The base amount. |
| reportingAmount | (decimal) The reporting amount. |
| fractionDigits | (int) The fraction digits. |
| symbol | (string) The symbol. |
Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.
Enumerations
AccountingNature
| 1 | Debit | |
| 2 | Credit |
AssetTransactionAccountType
| 1 | AssetAccount | |
| 2 | AccumulatedDepreciationAccount | |
| 3 | DepreciationCostAccount | |
| 4 | ImparityCostAccount | |
| 5 | RevenueImparityReversalAccount | |
| 6 | AccumulatedImparityAccount | |
| 9 | RevenueAssetSaleAccount | |
| 10 | LossAssetSaleAccount | |
| 11 | DataImportClearingAccount | |
| 99 | OtherAccounting |
AssetTransactionType
| 1 | Capitalization | |
| 2 | Scrap | |
| 3 | Sale | |
| 4 | Imparity | |
| 5 | OtherCosts | |
| 6 | Revenue | |
| 7 | Depreciation | |
| 8 | RetrospectiveDepreciation |