Relative request path: | api/orgs/{organisationId}/vatrates/{vatRateId}?date={date}&countryID={countryID} |
Property | Description |
---|---|
organisationId | Organisation ID |
vatRateId | VatRate ID |
date | Date (Format: YYYY-MM-DD) |
countryID | Country |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
VatRateId | Vat rate id. |
Code | VAT rate codes:
|
Percent | Interest percent. |
VatRatePercentage | VatRate Percentage. |
This method returns result of type 'SAOP.API.Models.VatRate.VatRate'.
/// Vat rate details.
public class VatRate
{
// Vat rate id.
// Ignored on create request.
public long VatRateId { get; set; }
// VAT rate codes:
// <ul>
//     <li>S - Standard rate</li>
//     <li>Z - Reduced rate</li>
//     <li>P - Flat rate</li>
//     <li>O - Exempted</li>
//     <li>N - Non-taxable</li>
// <ul>
public string Code { get; set; }
// Interest percent.
public Decimal Percent { get; set; }
// VatRate Percentage.
public mMApiFkField VatRatePercentage { get; set; }
}
/// Link with id, name and url to related data.
public class mMApiFkField
{
// Record id.
public long? ID { get; set; }
// Record name.
public string Name { get; private set; }
// Url to full record details.
public string ResourceUrl { get; private set; }
}
This method returns result of type 'SAOP.API.Models.VatRate.VatRate'.
/// Vat rate details.
class VatRate
{
// Vat rate id.
// Ignored on create request.
public $VatRateId;
// VAT rate codes:
// <ul>
//     <li>S - Standard rate</li>
//     <li>Z - Reduced rate</li>
//     <li>P - Flat rate</li>
//     <li>O - Exempted</li>
//     <li>N - Non-taxable</li>
// <ul>
public $Code;
// Interest percent.
public $Percent;
// VatRate Percentage.
public $VatRatePercentage;
}
/// Link with id, name and url to related data.
class mMApiFkField
{
// Record id.
public $ID;
// Record name.
public $Name;
// Url to full record details.
public $ResourceUrl;
}
This method returns result of type 'SAOP.API.Models.VatRate.VatRate'.
/// Vat rate details.
public class VatRate
{
// Vat rate id.
// Ignored on create request.
public Long VatRateId;
// VAT rate codes:
// <ul>
//     <li>S - Standard rate</li>
//     <li>Z - Reduced rate</li>
//     <li>P - Flat rate</li>
//     <li>O - Exempted</li>
//     <li>N - Non-taxable</li>
// <ul>
public String Code;
// Interest percent.
public Double Percent;
// VatRate Percentage.
public mMApiFkField VatRatePercentage;
}
/// Link with id, name and url to related data.
public class mMApiFkField
{
// Record id.
public Long ID;
// Record name.
public String Name;
// Url to full record details.
public String ResourceUrl;
}