GET api/SheetOfAccount/GetById?id={id}
Fast method to get bill by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiSheetOfAccountOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| number | string |
None. |
|
| name | string |
None. |
|
| description | string |
None. |
|
| in_archive | boolean |
None. |
|
| outer_id | string |
None. |
|
| type | integer |
None. |
|
| id_person | integer |
None. |
|
| id_company | integer |
None. |
|
| total_debet_begin_equiv | decimal number |
None. |
|
| total_credit_begin_equiv | decimal number |
None. |
|
| total_debet_equiv | decimal number |
None. |
|
| total_credit_equiv | decimal number |
None. |
|
| total_debet_end_equiv | decimal number |
None. |
|
| total_credit_end_equiv | decimal number |
None. |
|
| Total | Collection of ApiSheetOfAccountTotalOutput |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"number": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"in_archive": true,
"outer_id": "sample string 6",
"type": 7,
"id_person": 1,
"id_company": 1,
"total_debet_begin_equiv": 8.0,
"total_credit_begin_equiv": 9.0,
"total_debet_equiv": 10.0,
"total_credit_equiv": 11.0,
"total_debet_end_equiv": 12.0,
"total_credit_end_equiv": 13.0,
"Total": [
{
"id_currency": 1,
"id_sheet_of_accounts": 2,
"id_sheet_of_accounts_period": 3,
"debet_begin": 4.0,
"debet_begin_equiv": 5.0,
"credit_begin": 6.0,
"credit_begin_equiv": 7.0,
"debet": 8.0,
"debet_equiv": 9.0,
"credit": 10.0,
"credit_equiv": 11.0,
"debet_end": 12.0,
"debet_end_equiv": 13.0,
"credit_end": 14.0,
"credit_end_equiv": 15.0,
"date_from": "2025-10-29T01:46:16.3345079+00:00",
"date_to": "2025-10-29T01:46:16.3345079+00:00"
},
{
"id_currency": 1,
"id_sheet_of_accounts": 2,
"id_sheet_of_accounts_period": 3,
"debet_begin": 4.0,
"debet_begin_equiv": 5.0,
"credit_begin": 6.0,
"credit_begin_equiv": 7.0,
"debet": 8.0,
"debet_equiv": 9.0,
"credit": 10.0,
"credit_equiv": 11.0,
"debet_end": 12.0,
"debet_end_equiv": 13.0,
"credit_end": 14.0,
"credit_end_equiv": 15.0,
"date_from": "2025-10-29T01:46:16.3345079+00:00",
"date_to": "2025-10-29T01:46:16.3345079+00:00"
}
]
}
application/xml, text/xml
Sample:
<ApiSheetOfAccountOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>1</id>
<number>sample string 2</number>
<name>sample string 3</name>
<description>sample string 4</description>
<in_archive>true</in_archive>
<outer_id>sample string 6</outer_id>
<type>7</type>
<id_person>1</id_person>
<id_company>1</id_company>
<total_debet_begin_equiv>8</total_debet_begin_equiv>
<total_credit_begin_equiv>9</total_credit_begin_equiv>
<total_debet_equiv>10</total_debet_equiv>
<total_credit_equiv>11</total_credit_equiv>
<total_debet_end_equiv>12</total_debet_end_equiv>
<total_credit_end_equiv>13</total_credit_end_equiv>
<Total>
<ApiSheetOfAccountTotalOutput>
<id_currency>1</id_currency>
<id_sheet_of_accounts>2</id_sheet_of_accounts>
<id_sheet_of_accounts_period>3</id_sheet_of_accounts_period>
<debet_begin>4</debet_begin>
<debet_begin_equiv>5</debet_begin_equiv>
<credit_begin>6</credit_begin>
<credit_begin_equiv>7</credit_begin_equiv>
<debet>8</debet>
<debet_equiv>9</debet_equiv>
<credit>10</credit>
<credit_equiv>11</credit_equiv>
<debet_end>12</debet_end>
<debet_end_equiv>13</debet_end_equiv>
<credit_end>14</credit_end>
<credit_end_equiv>15</credit_end_equiv>
<date_from>2025-10-29T01:46:16.3345079+00:00</date_from>
<date_to>2025-10-29T01:46:16.3345079+00:00</date_to>
</ApiSheetOfAccountTotalOutput>
<ApiSheetOfAccountTotalOutput>
<id_currency>1</id_currency>
<id_sheet_of_accounts>2</id_sheet_of_accounts>
<id_sheet_of_accounts_period>3</id_sheet_of_accounts_period>
<debet_begin>4</debet_begin>
<debet_begin_equiv>5</debet_begin_equiv>
<credit_begin>6</credit_begin>
<credit_begin_equiv>7</credit_begin_equiv>
<debet>8</debet>
<debet_equiv>9</debet_equiv>
<credit>10</credit>
<credit_equiv>11</credit_equiv>
<debet_end>12</debet_end>
<debet_end_equiv>13</debet_end_equiv>
<credit_end>14</credit_end>
<credit_end_equiv>15</credit_end_equiv>
<date_from>2025-10-29T01:46:16.3345079+00:00</date_from>
<date_to>2025-10-29T01:46:16.3345079+00:00</date_to>
</ApiSheetOfAccountTotalOutput>
</Total>
</ApiSheetOfAccountOutput>