POST api/Accounting/StatementOfAccountByAccountNo/{AccountNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
StatementOfAccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| Balance | decimal number |
None. |
|
| Debit | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| BalanceAccountCurrency | decimal number |
None. |
|
| DebitAccountCurrency | decimal number |
None. |
|
| CreditAccountCurrency | decimal number |
None. |
|
| Details | Collection of StatementOfAccountDetailModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"CustomerName": "sample string 2",
"Balance": 3.1,
"Debit": 4.1,
"Credit": 5.1,
"BalanceAccountCurrency": 6.1,
"DebitAccountCurrency": 7.1,
"CreditAccountCurrency": 8.1,
"Details": [
{
"AccountId": 1,
"AccountNo": "sample string 2",
"AccountName": "sample string 3",
"Voucher_Type_ID": 4,
"VoucherTypeDesc": "sample string 5",
"DebitAmount": 6.1,
"CreditAmount": 7.1,
"VoucherCurrencyId": 8,
"CurrencyName": "sample string 9",
"CurrencyRate": 10.1,
"CurrencySymbol": "sample string 11",
"VoucherAmount": 12.1,
"VoucherDate": "sample string 13",
"VoucherStatusId": 14,
"VoucherStatusDesc": "sample string 15",
"OtherAccountName": "sample string 16",
"Balance": 17.1,
"VoucherId": 18,
"VoucherTransId": 19,
"VoucherTypeId": 20,
"VoucherTransDetails": "sample string 21",
"VoucherNo": 22,
"ChequeBankNo": "sample string 23",
"ChequeNo": "sample string 24",
"ChequeDueDate": "2026-07-21T07:44:33.4428717-07:00",
"ChequeID": 26,
"BankName": "sample string 27"
},
{
"AccountId": 1,
"AccountNo": "sample string 2",
"AccountName": "sample string 3",
"Voucher_Type_ID": 4,
"VoucherTypeDesc": "sample string 5",
"DebitAmount": 6.1,
"CreditAmount": 7.1,
"VoucherCurrencyId": 8,
"CurrencyName": "sample string 9",
"CurrencyRate": 10.1,
"CurrencySymbol": "sample string 11",
"VoucherAmount": 12.1,
"VoucherDate": "sample string 13",
"VoucherStatusId": 14,
"VoucherStatusDesc": "sample string 15",
"OtherAccountName": "sample string 16",
"Balance": 17.1,
"VoucherId": 18,
"VoucherTransId": 19,
"VoucherTypeId": 20,
"VoucherTransDetails": "sample string 21",
"VoucherNo": 22,
"ChequeBankNo": "sample string 23",
"ChequeNo": "sample string 24",
"ChequeDueDate": "2026-07-21T07:44:33.4428717-07:00",
"ChequeID": 26,
"BankName": "sample string 27"
}
]
}
application/xml, text/xml
Sample:
<StatementOfAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models">
<Balance>3.1</Balance>
<BalanceAccountCurrency>6.1</BalanceAccountCurrency>
<Credit>5.1</Credit>
<CreditAccountCurrency>8.1</CreditAccountCurrency>
<CustomerId>1</CustomerId>
<CustomerName>sample string 2</CustomerName>
<Debit>4.1</Debit>
<DebitAccountCurrency>7.1</DebitAccountCurrency>
<Details>
<StatementOfAccountDetailModel>
<AccountId>1</AccountId>
<AccountName>sample string 3</AccountName>
<AccountNo>sample string 2</AccountNo>
<Balance>17.1</Balance>
<BankName>sample string 27</BankName>
<ChequeBankNo>sample string 23</ChequeBankNo>
<ChequeDueDate>2026-07-21T07:44:33.4428717-07:00</ChequeDueDate>
<ChequeID>26</ChequeID>
<ChequeNo>sample string 24</ChequeNo>
<CreditAmount>7.1</CreditAmount>
<CurrencyName>sample string 9</CurrencyName>
<CurrencyRate>10.1</CurrencyRate>
<CurrencySymbol>sample string 11</CurrencySymbol>
<DebitAmount>6.1</DebitAmount>
<OtherAccountName>sample string 16</OtherAccountName>
<VoucherAmount>12.1</VoucherAmount>
<VoucherCurrencyId>8</VoucherCurrencyId>
<VoucherDate>sample string 13</VoucherDate>
<VoucherId>18</VoucherId>
<VoucherNo>22</VoucherNo>
<VoucherStatusDesc>sample string 15</VoucherStatusDesc>
<VoucherStatusId>14</VoucherStatusId>
<VoucherTransDetails>sample string 21</VoucherTransDetails>
<VoucherTransId>19</VoucherTransId>
<VoucherTypeDesc>sample string 5</VoucherTypeDesc>
<VoucherTypeId>20</VoucherTypeId>
<Voucher_Type_ID>4</Voucher_Type_ID>
</StatementOfAccountDetailModel>
<StatementOfAccountDetailModel>
<AccountId>1</AccountId>
<AccountName>sample string 3</AccountName>
<AccountNo>sample string 2</AccountNo>
<Balance>17.1</Balance>
<BankName>sample string 27</BankName>
<ChequeBankNo>sample string 23</ChequeBankNo>
<ChequeDueDate>2026-07-21T07:44:33.4428717-07:00</ChequeDueDate>
<ChequeID>26</ChequeID>
<ChequeNo>sample string 24</ChequeNo>
<CreditAmount>7.1</CreditAmount>
<CurrencyName>sample string 9</CurrencyName>
<CurrencyRate>10.1</CurrencyRate>
<CurrencySymbol>sample string 11</CurrencySymbol>
<DebitAmount>6.1</DebitAmount>
<OtherAccountName>sample string 16</OtherAccountName>
<VoucherAmount>12.1</VoucherAmount>
<VoucherCurrencyId>8</VoucherCurrencyId>
<VoucherDate>sample string 13</VoucherDate>
<VoucherId>18</VoucherId>
<VoucherNo>22</VoucherNo>
<VoucherStatusDesc>sample string 15</VoucherStatusDesc>
<VoucherStatusId>14</VoucherStatusId>
<VoucherTransDetails>sample string 21</VoucherTransDetails>
<VoucherTransId>19</VoucherTransId>
<VoucherTypeDesc>sample string 5</VoucherTypeDesc>
<VoucherTypeId>20</VoucherTypeId>
<Voucher_Type_ID>4</Voucher_Type_ID>
</StatementOfAccountDetailModel>
</Details>
</StatementOfAccountModel>