POST api/account/ledger

Retrive ledger postings without account id

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.Accounts.Financial.Query.Ledger.GetLedgerItemsDataContract
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

TransactionType

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "StartDate": "2024-04-18T19:02:55.3637843Z",
  "EndDate": "2024-04-18T19:02:55.3637843Z",
  "TransactionType": "sample string 1"
}

Response Information

Resource Description

Collection of Dezrez.Core.DataContracts.Accounts.Financial.Query.Ledger.LedgerItemDataContract
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Description

string

None.

Balance

decimal number

None.

DrCr

string

None.

DateTime

date

None.

AccountId

integer

None.

AccountType

Dezrez.Core.DataContracts.Accounts.Api.AccountingEnumDataContract

None.

TransactionType

Dezrez.Core.DataContracts.Accounts.Api.AccountingEnumDataContract

None.

InvoiceSubType

Dezrez.Core.DataContracts.Accounts.Api.AccountingEnumDataContract

None.

ClearedStatus

Dezrez.Core.DataContracts.Accounts.Api.AccountingEnumDataContract

None.

LedgerEntryId

integer

None.

IsCrPositive

boolean

None.

FromTo

string

None.

FromToGroupId

integer

None.

IsAdjustment

boolean

None.

IsReversal

boolean

None.

IsUnsuspended

boolean

None.

OriginalTotal

decimal number

None.

PaymentType

Dezrez.Rezi.Domain.Accounts.Enums.PaymentType

None.

IsReconciled

boolean

None.

PaymentId

integer

None.

PaymentItemId

integer

None.

PaymentReziDocumentId

integer

None.

IsInReversedPayment

boolean

None.

IsProtected

boolean

None.

IsReleased

boolean

None.

RefundedTotal

decimal number

None.

InvoiceAllocationsTotal

decimal number

None.

Batch

Dezrez.Core.DataContracts.Accounts.Exports.Query.LedgerLineBatchInfoDataContract

None.

CreatedById

integer

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Amount": 1.0,
    "Description": "sample string 2",
    "Balance": 3.0,
    "DrCr": "sample string 4",
    "DateTime": "2024-04-18T19:02:55.3637843Z",
    "AccountId": 6,
    "AccountType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "TransactionType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "InvoiceSubType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "ClearedStatus": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "LedgerEntryId": 7,
    "IsCrPositive": true,
    "FromTo": "sample string 9",
    "FromToGroupId": 10,
    "IsAdjustment": true,
    "IsReversal": true,
    "IsUnsuspended": true,
    "OriginalTotal": 14.0,
    "PaymentType": 0,
    "IsReconciled": true,
    "PaymentId": 16,
    "PaymentItemId": 1,
    "PaymentReziDocumentId": 1,
    "IsInReversedPayment": true,
    "IsProtected": true,
    "IsReleased": true,
    "RefundedTotal": 20.0,
    "InvoiceAllocationsTotal": 21.0,
    "Batch": {
      "IsProcessed": true,
      "Id": 2
    },
    "CreatedById": 22,
    "Id": 23
  },
  {
    "Amount": 1.0,
    "Description": "sample string 2",
    "Balance": 3.0,
    "DrCr": "sample string 4",
    "DateTime": "2024-04-18T19:02:55.3637843Z",
    "AccountId": 6,
    "AccountType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "TransactionType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "InvoiceSubType": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "ClearedStatus": {
      "Name": "sample string 1",
      "SystemName": "sample string 2",
      "Id": 1
    },
    "LedgerEntryId": 7,
    "IsCrPositive": true,
    "FromTo": "sample string 9",
    "FromToGroupId": 10,
    "IsAdjustment": true,
    "IsReversal": true,
    "IsUnsuspended": true,
    "OriginalTotal": 14.0,
    "PaymentType": 0,
    "IsReconciled": true,
    "PaymentId": 16,
    "PaymentItemId": 1,
    "PaymentReziDocumentId": 1,
    "IsInReversedPayment": true,
    "IsProtected": true,
    "IsReleased": true,
    "RefundedTotal": 20.0,
    "InvoiceAllocationsTotal": 21.0,
    "Batch": {
      "IsProcessed": true,
      "Id": 2
    },
    "CreatedById": 22,
    "Id": 23
  }
]