POST V2/odata/VatCode

Inserts VatCode entity

Request Information

URI Parameters

None.

Body Parameters

QicsUnity.Api.Areas.V2.Models.VatCode
NameDescriptionTypeAdditional information
VatCodeId

Gets or sets the VatCodeId

integer

None.

Code

Gets or sets code of the VAT code

string

None.

IsDefault

Gets or sets a value indicating whether VAT code is default

boolean

None.

Name

Gets or sets name of the VAT code

string

None.

Percentage

Gets or sets the percentage

decimal number

None.

ReverseCharge

Gets or sets a value indicating whether VAT has reverse charge

boolean

None.

IcpReturn

Gets or sets IcpReturn

QicsUnity.Api.Areas.V2.Models.IcpReturn

None.

Request Formats

application/json, text/json

Sample:
{
  "VatCodeId": 1,
  "Code": "sample 2",
  "IsDefault": true,
  "Name": "sample 4",
  "Percentage": 5.0,
  "ReverseCharge": true,
  "IcpReturn": 0
}

application/xml, text/xml

Sample:
<VatCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <Code>sample 2</Code>
  <IcpReturn>Services</IcpReturn>
  <IsDefault>true</IsDefault>
  <Name>sample 4</Name>
  <Percentage>5</Percentage>
  <ReverseCharge>true</ReverseCharge>
  <VatCodeId>1</VatCodeId>
</VatCode>

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.