financial-statement-templates
Operations addressed under /financial-statement-templates — 13 operations.
get-statement-template-list
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<StatementTemplateDto>.
| Field | Declared type | Nullable |
|---|---|---|
Name | string | no |
Description | string | no |
Member names are the service's declaration names.
query Parameters
orderByorderSortpageIndexpageSizeget-statement-template-list › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
descriptionidnamecreate-statement-template
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as AuraCommandDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Member names are the service's declaration names.
create-statement-template › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
idget-statement-template-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as StatementTemplateDto.
| Field | Declared type | Nullable |
|---|---|---|
Name | string | no |
Description | string | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
path Parameters
idget-statement-template-by-id › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
descriptionidnameupdate-statement-template
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
path Parameters
idupdate-statement-template › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
delete-statement-template
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
path Parameters
iddelete-statement-template › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
get-statement-template-item-and-details-by-template-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<StatementTemplateItemDto>.
| Field | Declared type | Nullable |
|---|---|---|
FinancialStatementTemplateItemId | Guid | no |
Name | string | no |
Code | string | no |
IsSummary | bool? | yes |
IsAbsolute | bool? | yes |
CalculationResource | int? | yes |
ParentFinancialStatementTemplateItemId | Guid? | yes |
Details | IEnumerable<StatementTemplateItemDetailDto> (collection) | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
path Parameters
idget-statement-template-item-and-details-by-template-id › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
calculationResourcePermitted values — validated against the calculation_resource parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Ledger | ar: دفتر الحسابات |
2 | financial_statement_item | ar: عنصر البيان المالي |
codefinancialStatementTemplateItemIdisAbsoluteisSummarynameparentFinancialStatementTemplateItemIdcreate-statement-template-item
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_21 | 400 | LEDGER_MUST_BE_NOT_NULL | Ledger '{0}' is not found |
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
ERR_ACCTNG_222 | 400 | DUPLICATE_TEMPLATE_ITEM_NAME_NOT_ALLOWED | Items belong to a template cannot have same name. |
ERR_ACCTNG_223 | 400 | CALCULATION_RESOURCE_AND_TEMPLATE_ITEM_DETAIL_IS_NOT_MATCHED | Calculation resource and template item detail is not matched. |
ERR_ACCTNG_224 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_NOT_FOUND | One or more items in the following list is not found. '{0}' |
ERR_ACCTNG_227 | 400 | DUPLICATE_TEMPLATE_ITEM_CODE_NOT_ALLOWED | Items belong to a template cannot have same code. |
ERR_ACCTNG_228 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_DETAIL_MUST_BE_EMPTY_FOR_SUMMERY | It is not allowed summary items to have details. |
path Parameters
idcreate-statement-template-item › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
idUpdate Statement Template Item
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the update-statement-template-item service definition through PUT /financial-statement-templates/{id}/items/{financialStatementTemplateItemId}.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
ERR_ACCTNG_222 | 400 | DUPLICATE_TEMPLATE_ITEM_NAME_NOT_ALLOWED | Items belong to a template cannot have same name. |
ERR_ACCTNG_223 | 400 | CALCULATION_RESOURCE_AND_TEMPLATE_ITEM_DETAIL_IS_NOT_MATCHED | Calculation resource and template item detail is not matched. |
ERR_ACCTNG_224 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_NOT_FOUND | One or more items in the following list is not found. '{0}' |
ERR_ACCTNG_227 | 400 | DUPLICATE_TEMPLATE_ITEM_CODE_NOT_ALLOWED | Items belong to a template cannot have same code. |
path Parameters
idfinancialStatementTemplateItemIdUpdate Statement Template Item › Request Body
codeisAbsoluteisSummarynamecalculationResourcePermitted values — validated against the calculation_resource parameter.
| Value | Meaning |
|---|---|
1 | Ledger |
2 | financial_statement_item |
Permitted values — validated against the calculation_resource parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Ledger | ar: دفتر الحسابات |
2 | financial_statement_item | ar: عنصر البيان المالي |
parentFinancialStatementTemplateItemCodeUpdate Statement Template Item › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
Create Statement Template Item
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the create-statement-template-item-detail service definition through POST /financial-statement-templates/{id}/items/{financialStatementTemplateItemId}.
Response body, read from the service source
The route declares its response as AuraCommandDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Member names are the service's declaration names.
path Parameters
idfinancialStatementTemplateItemIdCreate Statement Template Item › Request Body
effectTypePermitted values (2):
1— Add (ar: إضافة)2— Subtract (ar: طرح)
calcFinancialStatementTemplateItemCodecalcLedgerCodeCreate Statement Template Item › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
idDelete Statement Template Item
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the delete-statement-template-item service definition through DELETE /financial-statement-templates/{id}/items/{financialStatementTemplateItemId}.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
ERR_ACCTNG_224 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_NOT_FOUND | One or more items in the following list is not found. '{0}' |
ERR_ACCTNG_229 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_IS_USED_CANNOT_BE_DELETED | Financial statement template item is used as detail in a different template item. It cannot be delete |
path Parameters
idfinancialStatementTemplateItemIdDelete Statement Template Item › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
get-statement-template-item-detail-by-item-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<StatementTemplateItemDetailDto>.
| Field | Declared type | Nullable |
|---|---|---|
FinancialStatementTemplateDetailId | Guid? | yes |
CalcLedgerCode | string | no |
CalcFinancialStatementTemplateItemId | Guid? | yes |
EffectType | int? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
ERR_ACCTNG_224 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_NOT_FOUND | One or more items in the following list is not found. '{0}' |
path Parameters
idfinancialStatementTemplateItemIdget-statement-template-item-detail-by-item-id › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
calcFinancialStatementTemplateItemIdcalcLedgerCodeeffectTypePermitted values (2):
1— Add (ar: إضافة)2— Subtract (ar: طرح)
financialStatementTemplateDetailIdUpdate Statement Template Item Detail
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the update-statement-template-item-detail service definition through PUT /financial-statement-templates/{id}/items/{financialStatementTemplateItemId}/details/{financialStatementTemplateDetailId}.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_230 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_DETAIL_NOT_FOUND | Financial statement template item detail is not found with the given id: '{0}'. |
path Parameters
idfinancialStatementTemplateItemIdfinancialStatementTemplateDetailIdUpdate Statement Template Item Detail › Request Body
effectTypePermitted values (2):
1— Add (ar: إضافة)2— Subtract (ar: طرح)
calcFinancialStatementTemplateItemCodecalcLedgerCodeUpdate Statement Template Item Detail › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
Delete Statement Template Item Detail
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the delete-statement-template-item-detail service definition through DELETE /financial-statement-templates/{id}/items/{financialStatementTemplateItemId}/details/{financialStatementTemplateDetailId}.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_221 | 400 | FINANCIAL_STATEMENT_TEMPLATE_IS_NOT_FOUND | Financial statement template is not found with the given id: '{0}'. |
ERR_ACCTNG_224 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_NOT_FOUND | One or more items in the following list is not found. '{0}' |
ERR_ACCTNG_230 | 400 | FINANCIAL_STATEMENT_TEMPLATE_ITEM_DETAIL_NOT_FOUND | Financial statement template item detail is not found with the given id: '{0}'. |
path Parameters
idfinancialStatementTemplateItemIdfinancialStatementTemplateDetailIdDelete Statement Template Item Detail › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.