Table of Contents

Class ExpensesTxIvaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Invoice VAT Tax

[AttTable("ExpensesTxIva", 20220116)]
[AttTableOrderBy("taxa")]
[AttTableVOInfo(typeof(ExpensesTxIvaAttInfo))]
public class ExpensesTxIvaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<ExpensesVO>, IParent
Inheritance
ExpensesTxIvaVO

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]", "[ExpensesTxIva].[codigo]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

baseincm

Amount in currency of tax base.

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

Property Value

decimal

Remarks

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

codigo

VAT Rate Code.

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

Property Value

int

Remarks

Length 3.

evalorrec

Amount of surcharge VAT.

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

Property Value

decimal

Remarks

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

expensesstamp

Expenses document reference.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

expensestxivastamp

This field uniquely identifies the record (primary key by default).

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

Property Value

string

Remarks

Length 25.

taxarec

Surcharge VAT tax.

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

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

valorm

Amount in currency of VAT tax total.

[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

Value in currency of surcharge VAT.

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

Property Value

decimal

Remarks

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

vatdeductible

VAT value deductible.

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

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

vatdeductiblem

VAT value deductible in currency.

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

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

vatnotdeductible

VAT value not deductible.

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

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

vatnotdeductiblem

VAT value not deductible in currency.

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

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

ExpensesVO ParentVO { get; set; }

Returns

ExpensesVO

ebaseinc

Tax base amount.

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

Returns

decimal

Remarks

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

evalor

Amount of VAT tax total.

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

Returns

decimal

Remarks

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

taxa

VAT Rate.

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

Returns

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.