Request Information

Statistics for contact

Example URL:
v2.0/Agendas/GetStatisticForContact/{id}
NameDescriptionTypeAdditional information
id

integer

Required

id

integer

Required

None.

Response Information

ContactStatisticGetModel
NameDescriptionTypeAdditional information
IssuedInvoiceAfterMaturityCount

Unpaid invoices after maturity count.

integer

None.

IssuedInvoiceCount

Invoices count.

integer

None.

IssuedInvoicePaidCount

Paid invoices count.

integer

None.

IssuedInvoiceTotalWithVat

Invoices total.

decimal number

None.

IssuedInvoiceUnpaidCount

Unpaid invoices count.

integer

None.

Sample:
{
  "IssuedInvoiceTotalWithVat": 1.0,
  "IssuedInvoiceCount": 2,
  "IssuedInvoiceUnpaidCount": 3,
  "IssuedInvoicePaidCount": 4,
  "IssuedInvoiceAfterMaturityCount": 5
}
Sample:
<ContactStatisticGetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels">
  <IssuedInvoiceAfterMaturityCount>5</IssuedInvoiceAfterMaturityCount>
  <IssuedInvoiceCount>2</IssuedInvoiceCount>
  <IssuedInvoicePaidCount>4</IssuedInvoicePaidCount>
  <IssuedInvoiceTotalWithVat>1</IssuedInvoiceTotalWithVat>
  <IssuedInvoiceUnpaidCount>3</IssuedInvoiceUnpaidCount>
</ContactStatisticGetModel>