GET api/v1/VatData?token={token}&year={year}&month={month}
Get the VAT payemnt details for the given month
Request Information
URI Parameters
Name | Description | Type/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
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": "2024-12-03T15:51:10.2320629+02:00", "EndDate": "2024-12-03T15:51:10.2320629+02:00", "Period": "sample string 12", "DateCreated": "2024-12-03T15:51:10.2320629+02:00", "UserCreated": "sample string 13", "DateUpdated": "2024-12-03T15:51:10.2320629+02: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>2024-12-03T15:51:10.2320629+02:00</DateCreated> <DateUpdated>2024-12-03T15:51:10.2320629+02:00</DateUpdated> <UserCreated>sample string 13</UserCreated> <UserUpdated>sample string 14</UserUpdated> <EndDate>2024-12-03T15:51:10.2320629+02:00</EndDate> <Month>2</Month> <Period>sample string 12</Period> <StartDate>2024-12-03T15:51:10.2320629+02: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>