GET api/VatCodes

Retrieve the vat codes

Request Information

URI Parameters

None.

Body Parameters

VatCodesReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

String length: inclusive between 0 and 6

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO"
}

Response Information

Resource Description

VatCodesRes
NameDescriptionTypeAdditional information
MsgControl

Contains information about the response

MsgControl

None.

VatCodes

List of vat codes

Collection of VatCodes

None.

Response Formats

application/json, text/json

Sample:
{
  "MsgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/VatCodes GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.234546+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "VatCodes": [
    {
      "Code": "3",
      "Description": "Vat 19%",
      "EffectiveDate": "2010-01-01T00:00:00",
      "Rate": 19.0,
      "PurchaseAccount": "420010",
      "SalesAccount": "420020"
    },
    {
      "Code": "5",
      "Description": "Vat 5%",
      "EffectiveDate": "2013-03-04T00:00:00",
      "Rate": 5.0,
      "PurchaseAccount": "420010",
      "SalesAccount": "420020"
    }
  ]
}