Informace o requestu

Funkce vypočítá statistické údaje pro vydané a přijaté faktury

Příklad URL:
v2.0/Agendas/GetInvoicingForYear?yearType={yearType}

None.

Žádné.

Informace o response

InvoicingForYearGetModel
JménoPopisTypDoplňující informace
IssuedInvoices

Vydané faktury

InvoicingForYearPricesGetModel

Žádné.

ReceivedInvoices

Přijaté faktury

InvoicingForYearPricesGetModel

Žádné.

Ukážka:
{
  "IssuedInvoices": {
    "Paid": 1.0,
    "TotalWithVat": 2.0,
    "WithoutVat": 3.0
  },
  "ReceivedInvoices": {
    "Paid": 1.0,
    "TotalWithVat": 2.0,
    "WithoutVat": 3.0
  }
}
Ukážka:
<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>