GET declaration/{id}/trial-balance

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

FiscaalGemak.Core.Models.ViewModels.TrialBalanceViewModel
NameDescriptionTypeAdditional information
Entries

Collection of FiscaalGemak.Core.Models.ViewModels.TrialBalanceEntryHelperViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Entries": [
    {
      "LedgerNumber": "sample string 1",
      "Description": "sample string 2",
      "RgsCode": "sample string 3",
      "Balance": 4.0,
      "PreviousBalance": 1.0,
      "FinalBalance": 1.0
    },
    {
      "LedgerNumber": "sample string 1",
      "Description": "sample string 2",
      "RgsCode": "sample string 3",
      "Balance": 4.0,
      "PreviousBalance": 1.0,
      "FinalBalance": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<TrialBalanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiscaalGemak.Core.Models.ViewModels">
  <Entries>
    <TrialBalanceEntryHelperViewModel>
      <Balance>4</Balance>
      <Description>sample string 2</Description>
      <FinalBalance>1</FinalBalance>
      <LedgerNumber>sample string 1</LedgerNumber>
      <PreviousBalance>1</PreviousBalance>
      <RgsCode>sample string 3</RgsCode>
    </TrialBalanceEntryHelperViewModel>
    <TrialBalanceEntryHelperViewModel>
      <Balance>4</Balance>
      <Description>sample string 2</Description>
      <FinalBalance>1</FinalBalance>
      <LedgerNumber>sample string 1</LedgerNumber>
      <PreviousBalance>1</PreviousBalance>
      <RgsCode>sample string 3</RgsCode>
    </TrialBalanceEntryHelperViewModel>
  </Entries>
</TrialBalanceViewModel>