Financials | Posting Category
The Posting Category represents the decoded gl accounts for the account posting of taxes.
Overview
URL | api/{tenantKey}/{orgKey}/financialCore/postingCategories |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive PostingCategory
- PUT Set PostingCategoryKey PostingCategory
- PUT Set Description PostingCategory
- PUT Set ChartOfAccount PostingCategoryAccount
- PUT Set GlAccount PostingCategoryAccount
- PUT Set GlAccountReverseCharge PostingCategoryAccount
- PUT Set FiscalMemoReason PostingCategoryAccount
- DELETE:
All Resources
This service uses the following resources:
GET PostingCategories
Returns the list of all the entity records available.
Response:
When successful, the response body contains the list of records available. See PostingCategoryResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET PostingCategories (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 PostingCategoryResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET PostingCategory 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 PostingCategoryResource. |
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 PostingCategory by key
Returns the entity record that matches the specified key.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
Response:
When successful, the response body contains the entity record. See PostingCategoryResource. |
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 PostingCategory 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 PostingCategory by key
Prints the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category 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 PostingCategoryOriginal 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 PostingCategory by key
Prints the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category 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 PostingCategories
Creates a new entity record.
The following elements are required:
postingCategoryResource | (ApiPostingCategoryResource) The request body should contain the entity record that should be created. See ApiPostingCategoryResource. |
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 ApiPostingCategoryResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Posting Category
Inserts a new 'Posting Category Account' in the 'Posting Category'.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
value | (ApiPostingCategoryPostingCategoryAccountsResource) The ApiPostingCategoryPostingCategoryAccountsResource instance. See ApiPostingCategoryPostingCategoryAccountsResource. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ChartOfAccount PostingCategoryAccount
Updates the value of attribute 'ChartOfAccount' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
lineId | (string) The detail identifier. |
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 PostingCategory
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category 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 FiscalMemoReason PostingCategoryAccount
Updates the value of attribute 'FiscalMemoReason' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
lineId | (string) The detail identifier. |
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 PostingCategoryAccount
Updates the value of attribute 'GlAccount' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
lineId | (string) The detail identifier. |
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 GlAccountReverseCharge PostingCategoryAccount
Updates the value of attribute 'GlAccountReverseCharge' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
lineId | (string) The detail identifier. |
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 PostingCategory
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category 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 PostingCategoryKey PostingCategory
Updates the value of attribute 'PostingCategoryKey' in the specified entity record.
The following elements are required:
postingCategoryKey | (string) The posting category 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 Posting Category Account by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
postingCategoryKey | (string) The posting category key. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE PostingCategory 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 PostingCategory by key
Deletes the entity record that matches the specified key.
The following elements are required:
postingCategoryKey | (string) The posting category 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
ApiPostingCategoryPostingCategoryAccountsResource
The following elements are required:
chartOfAccount | (string) The chart of accounts. |
glAccount | (string) The tax GL account for the chart of accounts and fiscal memo reason. |
The following elements are optional:
glAccountReverseCharge | (string) The general ledger account reversal for the chart of accounts and fiscal memo reason. |
fiscalMemoReason | (string) The fiscal memo reason (optional). |
ApiPostingCategoryResource
The following elements are required:
postingCategoryKey | (string) The posting category key. |
The following elements are optional:
description | (string) The posting category description. |
postingCategoryAccounts | (List of ApiPostingCategoryPostingCategoryAccountsResource) The posting category accounts lines.
See ApiPostingCategoryPostingCategoryAccountsResource. |
PostingCategoryAccountResource
The following elements are required:
chartOfAccount | (string) The chart of accounts. |
glAccount | (string) The tax GL account for the chart of accounts and fiscal memo reason. |
The following elements are optional:
glAccountReverseCharge | (string) The general ledger account reversal for the chart of accounts and fiscal memo reason. |
fiscalMemoReason | (string) The fiscal memo reason (optional). |
PostingCategoryResource
The following elements are required:
postingCategoryKey | (string) The posting category key. |
The following elements are optional:
description | (string) The posting category description. |
postingCategoryAccounts | (List of PostingCategoryAccountResource) The posting category accounts lines.
See PostingCategoryAccountResource. |