Request Information

Method calculates statistics data for issued and received invoices

Example URL:
v2.0/Agendas/GetInvoicingForYear?yearType={yearType}

None.

None.

Response Information

InvoicingForYearGetModel
NameDescriptionTypeAdditional information
IssuedInvoices

Issued invoices

InvoicingForYearPricesGetModel

None.

ReceivedInvoices

Received invoices

InvoicingForYearPricesGetModel

None.

Sample:
{
  "IssuedInvoices": {
    "Paid": 1.0,
    "TotalWithVat": 2.0,
    "WithoutVat": 3.0
  },
  "ReceivedInvoices": {
    "Paid": 1.0,
    "TotalWithVat": 2.0,
    "WithoutVat": 3.0
  }
}
Sample:
<InvoicingForYearGetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.Statistics">
  <IssuedInvoices>
    <Paid>1</Paid>
    <TotalWithVat>2</TotalWithVat>
    <WithoutVat>3</WithoutVat>
  </IssuedInvoices>
  <ReceivedInvoices>
    <Paid>1</Paid>
    <TotalWithVat>2</TotalWithVat>
    <WithoutVat>3</WithoutVat>
  </ReceivedInvoices>
</InvoicingForYearGetModel>