POST api/invoice/invoiceoverview

Get a summary of invoices outstanding, paid and funds available for an account.

Request Information

URI Parameters

None.

Body Parameters

A filter for returning invoices

Dezrez.Core.DataContracts.Accounts.Invoices.Command.InvoiceFilterDataContract
NameDescriptionTypeAdditional information
Name

string

None.

LiableAccountId

integer

None.

RecipientAccountId

integer

None.

LiableGroupId

integer

None.

RecipientGroupId

integer

None.

TenancyRoleId

integer

None.

Types

Collection of Dezrez.Core.DataContracts.Accounts.Invoices.InvoiceType

None.

Statuses

Collection of Dezrez.Core.DataContracts.Accounts.Invoices.InvoiceStatusType

None.

FromDate

date

None.

ToDate

date

None.

Ascending

boolean

None.

Order

Dezrez.Core.DataContracts.Accounts.Invoices.Command.InvoiceOrder

None.

SearchCriteria

Dezrez.Core.DataContracts.Accounts.Invoices.Command.InvoiceSearchCriteriaDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "LiableAccountId": 1,
  "RecipientAccountId": 1,
  "LiableGroupId": 1,
  "RecipientGroupId": 1,
  "TenancyRoleId": 1,
  "Types": [
    0,
    0
  ],
  "Statuses": [
    0,
    0
  ],
  "FromDate": "2024-10-11T18:45:37.0622788Z",
  "ToDate": "2024-10-11T18:45:37.0622788Z",
  "Ascending": true,
  "Order": 0,
  "SearchCriteria": {
    "SearchTerm": "sample string 1",
    "SubTypes": [
      0,
      0
    ],
    "ExcludeSubTypes": [
      0,
      0
    ]
  }
}

Response Information

Resource Description

Dezrez.Core.DataContracts.Accounts.Invoices.Query.InvoiceOverviewDataContract
NameDescriptionTypeAdditional information
Paid

decimal number

None.

ClearedAvailable

decimal number

None.

UnclearedAvailable

decimal number

None.

Due

decimal number

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Paid": 1.0,
  "ClearedAvailable": 2.0,
  "UnclearedAvailable": 3.0,
  "Due": 4.0,
  "Id": 5
}