GET api/v1/VatData?token={token}&year={year}&month={month}

Get the VAT payemnt details for the given month

Request Information

URI Parameters

NameDescriptionType/Additional information
token

string
year

The VAT year (2017, 2018, etc). Default is current year.

int32
month

The VAT month (0-11). Defualt is current month.

int32

Body Parameters

None.

Response Description

CaspitVat

A class to return the VAT report

Response Formats

application/json, text/json

Sample:
{
  "Year": 1,
  "Month": 2,
  "TotalRevenuesChargeVat": 3,
  "TotalRevenuesNoChargeVat": 4,
  "TotalVatCharged": 5,
  "TotalVatPaidInEquipment": 6,
  "TotalVatPaidInExpenses": 7,
  "VatRate": 8.0,
  "VatToBePaid": 9,
  "StartDate": "2022-10-06T22:43:37.9278397+03:00",
  "EndDate": "2022-10-06T22:43:37.9278397+03:00",
  "Period": "sample string 12",
  "DateCreated": "2022-10-06T22:43:37.9278397+03:00",
  "UserCreated": "sample string 13",
  "DateUpdated": "2022-10-06T22:43:37.9278397+03:00",
  "UserUpdated": "sample string 14"
}

application/xml, text/xml

Sample:
<CaspitVat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.caspit.biz/2013/03">
  <DateCreated>2022-10-06T22:43:37.9278397+03:00</DateCreated>
  <DateUpdated>2022-10-06T22:43:37.9278397+03:00</DateUpdated>
  <UserCreated>sample string 13</UserCreated>
  <UserUpdated>sample string 14</UserUpdated>
  <EndDate>2022-10-06T22:43:37.9278397+03:00</EndDate>
  <Month>2</Month>
  <Period>sample string 12</Period>
  <StartDate>2022-10-06T22:43:37.9278397+03:00</StartDate>
  <TotalRevenuesChargeVat>3</TotalRevenuesChargeVat>
  <TotalRevenuesNoChargeVat>4</TotalRevenuesNoChargeVat>
  <TotalVatCharged>5</TotalVatCharged>
  <TotalVatPaidInEquipment>6</TotalVatPaidInEquipment>
  <TotalVatPaidInExpenses>7</TotalVatPaidInExpenses>
  <VatRate>8</VatRate>
  <VatToBePaid>9</VatToBePaid>
  <Year>1</Year>
</CaspitVat>