Table of Contents

Class BoTxIvaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Total of Tax Rates in Internal Document

[AttTable("Bot", 20130313)]
[AttTableOrderBy("taxa")]
public class BoTxIvaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<BoVO>, IParent
Inheritance
BoTxIvaVO

Remarks

Esta entidade representa um value object que mapea a tabela BOT na base de dados, e que tem como função armazenar a informação referente aos totais de IVA e IVA de Recargo do Dossier Interno. .

A ligação à Entidade de Dossiers Internos é feita através do campo bostamp.

Properties

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

TaxaIVAVO

[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Bot].[codigo]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

bostamp

Stamp of the dossier

Contains the unique ID key of the Internal Dossier that is used to link to the Internal Dossiers entity. .

[AttForeignKey(typeof(BoVO))]
[AttLenght(25)]
[AttPrimaryKey]
public string bostamp { get; set; }

Property Value

string

Remarks

It's a String type field.

Length 25 .

This field is primary key.

botstamp

Stamp of the IVA table of the dossier.

Contains the unique identification key of the IVA rate table of the Internal Dossier. .

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

Property Value

string

Remarks

It's a String type field.

Length 25 .

This field is primary key.

codigo

IVA table code.

Contains the code corresponding to the IVA table.

[AttLenght(3)]
[AttPrimaryKey(CanDuplicate = true)]
public int codigo { get; set; }

Property Value

int

Remarks

It's an Int32 type field.

Length 3 .

1-5%,2-13%,3-23% Value-added tax rate. Tax rates - Code.

evalor

IVA Value

Contains the amount referring to the IVA rate.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal evalor { get; set; }

Property Value

decimal

Remarks

It’s a Decimal type field.

Total length: 19 - where 12 are for units and 6 for decimals.

23% - 12,8€

evalorrec

Value of IVA refills

Contains the value of IVA refills.

[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal evalorrec { get; set; }

Property Value

decimal

Remarks

It’s a Decimal type field.

Total length: 19 - where 12 are for units and 6 for decimals.

12,5€

taxa

IVA Tax

Contains the percentage referring to the IVA rate.

[AttLenght(5, 2)]
[AttPrimaryKey(CanDuplicate = true)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal taxa { get; set; }

Property Value

decimal

Remarks

It’s a Decimal type field.

Total length is 5 - where 2 are for units and 2 for decimals.

23% Tax rates Tax rates - Rate.

taxarec

IVA surcharge rate.

Contains the percentage referring to the IVA refill rate.

[AttLenght(5, 2)]
[AttPrimaryKey(CanDuplicate = true)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal taxarec { get; set; }

Property Value

decimal

Remarks

It’s a Decimal type field.

Total length is 5 - where 2 are for units and 2 for decimals.

23% Tax rates. Tax rates - Rate of refill.

valorm

Valor em Moeda Estrangeira do total de uma taxa de I.V.A.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal valorm { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

valorrecm

Valor em moeda do Recargo de I.V.A.

[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal valorrecm { get; set; }

Property Value

decimal

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

BoVO ParentVO { get; set; }

Returns

BoVO

baseincm

Amount in Foreign Currency of the reserve base.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal baseincm { get; set; }

Returns

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

ebaseinc

Basis of IVA incidence.

It contains the IVA incidence base.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal ebaseinc { get; set; }

Returns

decimal

Remarks

It's a Decimal type field.

Total length: 19 - where 12 are for units and 6 for decimals.

15,3