Table of Contents

Class TaxasIVAVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

VAT Tax Rates

[AttTable("TaxasIva", 20210312)]
[AttTableOrderBy("codigo,dataini", "A, D")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess })]
public class TaxasIVAVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
TaxasIVAVO

Properties

StVO

[AttExternalCollection(typeof(StVO), new string[] { "st.ref", "ref" })]
public StVO StVO { get; }

Property Value

StVO

codigo

VAT code

[AttPrimaryKey]
[AttLenght(3)]
[AttLogInfo(0)]
[AttMinValue(0)]
[AttList]
public int codigo { get; set; }

Property Value

int

codigoimposto

Tax code (RED, INT,NOR, ISE, OUT)

[AttLenght(10)]
[AttMandatory]
[AttList]
public string codigoimposto { get; set; }

Property Value

string

dataini

Start date

[AttPrimaryKey]
[AttMandatory]
[AttLogInfo(2)]
[AttList]
public DateTime dataini { get; set; }

Property Value

DateTime

descricaoimposto

Tax description

[AttLenght(60)]
[AttMandatory]
public string descricaoimposto { get; set; }

Property Value

string

design

Designação.

[AttGama(Gamas.Corporate)]
public string design { get; set; }

Property Value

string

labelField

Tax title

[AttVirtualField]
[AttLabelField(new string[] { "taxa", "regiao", "descricaoimposto" })]
public string labelField { get; set; }

Property Value

string

ref

Referencia do Artigo ou Serviço.

[AttLenght(18)]
[AttGama(Gamas.Corporate)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string @ref { get; set; }

Property Value

string

Remarks

Length 18.

regiao

Tax region (PT, PT-AC, PT-MA).

[AttLenght(5)]
[AttMandatory]
[AttList]
public string regiao { get; set; }

Property Value

string

regiaonm

[AttVirtualField]
public string regiaonm { get; set; }

Property Value

string

taxa

VAT rate

[AttLenght(5, 2)]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttList]
public decimal taxa { get; set; }

Property Value

decimal

taxarecargo

Surcharge equivalence scheme rate.

[AttLenght(5, 2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal taxarecargo { get; set; }

Property Value

decimal

Remarks

This field should only be used when the company is in a country where is used the Surcharg Equivalence Scheme rate.

taxasivastamp

Unique ID

[AttLenght(25)]
public string taxasivastamp { get; set; }

Property Value

string

vattype

Vat type.

[AttVirtualField]
[AttLenght(1)]
public int vattype { get; }

Property Value

int