Table of Contents

Class FtVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Invoice document

[AttTable("Ft", 20250116)]
[AttTableProducts(new Products[] { Products.VENDAS, Products.POS })]
[AttTableOrderBy(OrderFields = "case when ft.fno<0 then ft.ftano else 9999 end,\r\n                               case when ft.fno<0 then ft.fno else -9999999999 end,\r\n                               case when ft.fno<0 then 0 else ft.ftano end,\r\n                               case when ft.fno<0 then 0 else ft.fno end", COrderType = "A,D,D,D")]
[AttTableVOInfo(typeof(FTAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MandatorySaveLog, TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.CelebrateFirstInsert, TableFlags.UseDimensions })]
[AttRelationShip(typeof(ClVO), RelationShipTypes.OneToOne, new string[] { "[Ft].[no]", "[Cl].[no]", "[Ft].[estab]", "[Cl].[estab]" })]
[AttTableMaintenance(typeof(FtMaintenance))]
public class FtVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO, IWSPayment
Inheritance
FtVO

Remarks

You can use several types of default documents, eg invoices, cash sales, delivery notes, credit notes, debit notes, delivery notes, return notes, etc. For this there is the TdVO used to configure the business rules to be applied to documents stored here. .

This entity is composed by two main collections:.

invoice document lines FiVO.

VAT values of lines per rate FtTxIvaVO.

Properties

BlDDVO

[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contadodd" })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
public BlVO BlDDVO { get; }

Property Value

BlVO

BlVO

[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "vdcontado" })]
public BlVO BlVO { get; }

Property Value

BlVO

CatIvaTaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Ft].[codcativastamp]" })]
public TaxRetentionVO CatIvaTaxRetentionVO { get; }

Property Value

TaxRetentionVO

CbVO

[AttExternalCollection(typeof(CbVO), new string[] { "[Cb].[moeda]", "[Ft].[moeda]" })]
public CbVO CbVO { get; }

Property Value

CbVO

CertificacaoHashCode

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string CertificacaoHashCode { get; set; }

Property Value

string

Cl2VO

[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "no", "cl.estab", "estab" })]
public ClVO Cl2VO { get; }

Property Value

ClVO

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "no", "cl.estab", "estab" })]
public ClVO ClVO { get; }

Property Value

ClVO

Cm3VO

[AttExternalCollection(typeof(Cm3VO), new string[] { "[Cm3].[cm]", "[Ft].[vendedor]" })]
public Cm3VO Cm3VO { get; }

Property Value

Cm3VO

CountryFromVO

[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstampfrom" })]
public CountryVO CountryFromVO { get; }

Property Value

CountryVO

CountryToVO

[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstampto" })]
public CountryVO CountryToVO { get; }

Property Value

CountryVO

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

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

IvaFieldsRelation

hide iva fields when zero

[AttVirtualField]
public Dictionary<string, List<string>> IvaFieldsRelation { get; }

Property Value

Dictionary<string, List<string>>

MiseimpVO

[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Ft].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }

Property Value

MiseimpVO

ModalidadVO

[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Ft].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }

Property Value

ModalidadVO

OlVO

The treasury movement created in OL

[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }

Property Value

OlVO

OwnerEmail

[AttHidden]
public string OwnerEmail { get; }

Property Value

string

PosCashRegisterVO

[AttExternalCollection(typeof(PosCashRegistersVO), new string[] { "[PosCashRegisters].[poscashregistersstamp]", "[Ft].[poscashregistersstamp]" })]
public PosCashRegistersVO PosCashRegisterVO { get; }

Property Value

PosCashRegistersVO

SepaMandateVO

[AttExternalCollection(typeof(SepaMandateVO), new string[] { "sepamandate.sepamandatestamp", "sepamandatestamp" })]
[AttEntityAvailable(typeof(SepaMandateVO))]
public SepaMandateVO SepaMandateVO { get; }

Property Value

SepaMandateVO

SzChargeVO

[AttExternalCollection(typeof(SzVO), new string[] { "sz.szstamp", "szstamp" })]
public SzVO SzChargeVO { get; }

Property Value

SzVO

SzDishargeVO

[AttExternalCollection(typeof(SzVO), new string[] { "sz.szstamp", "szstamp" })]
public SzVO SzDishargeVO { get; }

Property Value

SzVO

TaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Ft].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }

Property Value

TaxRetentionVO

TdVO

[AttExternalCollection(typeof(TdVO), new string[] { "td.ndoc", "ndoc" })]
public TdVO TdVO { get; }

Property Value

TdVO

TpVO

[AttExternalCollection(typeof(TpVO), new string[] { "tp.tpstamp", "tpstamp" })]
public TpVO TpVO { get; }

Property Value

TpVO

accruedtype

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

Property Value

int

agreementref

Framework agreement reference

[AttLenght(50)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string agreementref { get; set; }

Property Value

string

approvedByName

The name of person who approve the document

[AttLenght(100)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByName { get; set; }

Property Value

string

approvedByStamp

The stamp of person who approve the document

[AttLenght(25)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByStamp { get; set; }

Property Value

string

approvedDate

The date when was approved

[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime approvedDate { get; set; }

Property Value

DateTime

approvedHour

The hour when was approved

[AttLenght(8)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedHour { get; set; }

Property Value

string

assinatura

Signature.

[AttLenght(200)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttList(Hidden = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string assinatura { get; set; }

Property Value

string

Remarks

Digital signature of certified document.

Length 200.

Non Duplicable Field.

atWsDocStatus

Document status in AT.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttHidden(HiddenParameter = new string[] { "ge_atinvwebcommunication" }, HiddenParameterValue = new object[] { false })]
public Saft.AtWsDocStatus atWsDocStatus { get; set; }

Property Value

Saft.AtWsDocStatus

Remarks

Non Duplicable Field.

atcodeid

Document ID code attributed by AT

[AttLenght(200)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string atcodeid { get; set; }

Property Value

string

Remarks

Length 200.

Non Duplicable Field.

The documents provided in Decree-Law Number 147/2003 of 11 July, and other susceptible documents to present to customer for delivery of conference goods or provision of services, when communicated to the AT receives an identifier that is stored in this field, this server identifier to print along with the document to be submitted to the competent authorities when required.

atcudUniqueID

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string atcudUniqueID { get; set; }

Property Value

string

atcudUniqueIDForReports

atcudUniqueID to be used in reports (ATCUD:AAJFF7FJXK-140).

[AttVirtualField]
[AttLenght(90)]
public string atcudUniqueIDForReports { get; }

Property Value

string

Remarks

Virtual field.

atwebatcudready

[AttVirtualField]
[AttHidden]
public bool atwebatcudready { get; set; }

Property Value

bool

atwebdocready

Indicates if the record is ready to be reported as working doc via webservice with AT.

[AttVirtualField]
[AttHidden]
public bool atwebdocready { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

autoregcc

Identifies if document (NC) auto regularized source current account

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool autoregcc { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

baseim

Incidence (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal baseim { get; set; }

Property Value

decimal

Remarks

Value on which vat is calculated, this value is the sum of the base value plus taxes subject to vat, then applying commercial and global discounts.

bidata

Date of Issue of Identification Document.

[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime bidata { get; set; }

Property Value

DateTime

Remarks

Length 1.

bilocal

Place of Issue of Identification Document.

[AttLenght(25)]
[AttRGPDrank(RGPDranks.Personal)]
public string bilocal { get; set; }

Property Value

string

Remarks

Length 25.

bino

Customer identification document number.

[AttLenght(15)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public string bino { get; set; }

Property Value

string

Remarks

Length 8.

blDDLabelField

From BlVO.labelField

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

Property Value

string

blLabelField

From BlVO.labelField

[AttVirtualField]
[AttHidden]
public string blLabelField { get; set; }

Property Value

string

blsupplytype

[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blsupplytype { get; }

Property Value

string

c2estab

Number that identifies the customer Branch.

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttSmartField]
public int c2estab { get; set; }

Property Value

int

Remarks

Length 6.

From what range of software this field is available: Max.

c2no

Second customer number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public decimal c2no { get; set; }

Property Value

decimal

Remarks

Length 10.

c2nome

Second customer name.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttSmartField]
public string c2nome { get; set; }

Property Value

string

Remarks

Length 55.

canProduceFt

Indicates whether from the registry can create another invoice document.

[AttVirtualField]
[AttHidden]
public bool canProduceFt { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

canProduceRe

Indicates whether from the registry can create a receipt to customer.

[AttVirtualField]
[AttHidden]
public bool canProduceRe { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

canProduceRefMB

Indicates whether from the registry can create an ATM reference.

[AttVirtualField]
[AttHidden]
public bool canProduceRefMB { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

canUseDiscountWithVAT

[AttVirtualField]
public bool canUseDiscountWithVAT { get; set; }

Property Value

bool

canViewIvacaixa

[AttVirtualField]
[AttHidden]
public bool canViewIvacaixa { get; set; }

Property Value

bool

cancreatelot

[AttVirtualField]
[AttHidden]
public bool cancreatelot { get; set; }

Property Value

bool

carga

[AttLenght(70)]
public string carga { get; set; }

Property Value

string

cativandoctax

[AttLenght(18)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativandoctax { get; set; }

Property Value

decimal

cativataxa

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

Property Value

decimal

cativataxname

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxname { get; set; }

Property Value

string

cativataxstamp

[AttLenght(25)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxstamp { get; set; }

Property Value

string

cl2stamp

[AttVirtualField]
[AttHidden]
public string cl2stamp { get; set; }

Property Value

string

clcountryiscomunitary

[AttVirtualField]
[AttHidden]
public bool clcountryiscomunitary { get; set; }

Property Value

bool

clientoperation

Client operation.

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

Property Value

int

clivd

Identifies the client as a Generic Customer (Cash Sale).

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool clivd { get; set; }

Property Value

bool

Remarks

Lenght 1.

clstamp

[AttVirtualField]
[AttHidden]
public string clstamp { get; set; }

Property Value

string

codcativastamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string codcativastamp { get; set; }

Property Value

string

codigo4041

Type of settlement

[AttLenght(30)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codigo4041 { get; set; }

Property Value

string

Remarks

Code corresponding to the amount to be included in the 1-A table of model 40 (Format: Code Subparagraph).

Non Duplicable Field.

Length 30.

codigo4041desc

Name of the settlement.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string codigo4041desc { get; set; }

Property Value

string

Remarks

Virtual field.

codigo4041reg

Regularizações - favor sujeito passivo

[AttLenght(1)]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public int codigo4041reg { get; set; }

Property Value

int

codpost

PostCode of the customer.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpost { get; set; }

Property Value

string

Remarks

Length 45.

codpostfrom

Postcode of the place of loading.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpostfrom { get; set; }

Property Value

string

Remarks

Length 45.

codpostto

Postcode of the place of unloading.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpostto { get; set; }

Property Value

string

Remarks

Length 45.

codstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }

Property Value

string

commitmentref

Commitment reference

[AttLenght(50)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string commitmentref { get; set; }

Property Value

string

contadodd

Bank Account Internal Number for Direct Debit.

[AttLenght(4)]
[AttEntityAvailable(typeof(BlVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int contadodd { get; set; }

Property Value

int

Remarks

Length 4.

contractref

Contract document reference

[AttLenght(24)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string contractref { get; set; }

Property Value

string

crmDealName

[AttLenght(100)]
[AttProducts(new Products[] { Products.CRM })]
public string crmDealName { get; set; }

Property Value

string

crmdealstamp

[AttLenght(25)]
[AttProducts(new Products[] { Products.CRM })]
public string crmdealstamp { get; set; }

Property Value

string

customerAutoCreationCode

[AttVirtualField]
[AttHidden]
public AutoCreationCodes customerAutoCreationCode { get; }

Property Value

AutoCreationCodes

Remarks

Virtual field.

Field not available for the user.

datacarga

Loading date.

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datacarga { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

datadescarga

Unloading date.

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datadescarga { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

dataefect

Effective delivery date of goods or services.

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dataefect { get; set; }

Property Value

DateTime

datafact

Invoicing date.

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datafact { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

datapagomb

Date of payment by ATM Reference.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public DateTime datapagomb { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

datapagomc

Date of payment by ATM ProxyPay Reference.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public DateTime datapagomc { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

descar

[AttLenght(70)]
public string descar { get; set; }

Property Value

string

descm

Descontos Comerciais em moeda estrangeira (Trade Discounts in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal descm { get; set; }

Property Value

decimal

Remarks

is the Sum(fi.mttdesc)

diaplano

Invoicing Day.

[AttLenght(2)]
[AttGama(Gamas.Grow)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int diaplano { get; set; }

Property Value

int

Remarks

Non Duplicable Field.

Length 2.

dilnoplano

Number created in the invoicing journal.

[AttLenght(10)]
[AttGama(Gamas.Grow)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int dilnoplano { get; set; }

Property Value

int

Remarks

Non Duplicable Field.

Length 10.

dinoplano

Accounting journal.

[AttLenght(50)]
[AttGama(Gamas.Grow)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string dinoplano { get; set; }

Property Value

string

Remarks

Non Duplicable Field.

Length 50.

downloadedInPortal

Check if document already downloaded by customer

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.PortalGO })]
public bool downloadedInPortal { get; set; }

Property Value

bool

dplano

Date of integration with accounting.

[AttGama(Gamas.Grow)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public DateTime dplano { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

easyPayPaymentTypeName

Name of easypay and phcpay payment type

[AttLenght(50)]
[AttLocale(typeof(FTAttInfo), new string[] { "[Ft].[easyPayPaymentType]" })]
public string easyPayPaymentTypeName { get; set; }

Property Value

string

ebase

Base

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ebase { get; set; }

Property Value

decimal

Remarks

Value after commercial and global discounts and before applying vat and other taxes.

ebasei

Incidence

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal ebasei { get; set; }

Property Value

decimal

Remarks

Value on which vat is calculated, this value is the sum of the base value plus taxes subject to vat, then applying commercial and global discounts.

ecativa

Cativation vat value in base currency

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativa { get; set; }

Property Value

decimal

ecusto

Total Cost

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ecusto { get; set; }

Property Value

decimal

edescc

Descontos Comerciais (Trade Discounts)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal edescc { get; set; }

Property Value

decimal

Remarks

is the Sum(fi.ettdesc)

efinv

Financial discount amount in Euros.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal efinv { get; set; }

Property Value

decimal

Remarks

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

efinvat

Financial discount amount in Euros with VAT.

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

Property Value

decimal

electroCommFinDocID

This field is use to save saphety outbound financial document ID

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string electroCommFinDocID { get; set; }

Property Value

string

electroCommRequestId

This field is use to save the request id sent by (eSPap or Saphety) web service after we submit a file

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string electroCommRequestId { get; set; }

Property Value

string

electroCommStatus

This field is to store the web service (eSPap or Saphety) status about the file sent early

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string electroCommStatus { get; set; }

Property Value

string

electroCommStatusType

This field is to store the web service (eSPap or Saphety) status type

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public ElectroCommunication.ElectroCommStatusType electroCommStatusType { get; set; }

Property Value

ElectroCommunication.ElectroCommStatusType

electroCommType

This field is use to save the type of web service (eSPap or Saphety) after we submit a file

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public ElectroCommunication.ElectroCommTypes electroCommType { get; set; }

Property Value

ElectroCommunication.ElectroCommTypes

elucro

Profit.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal elucro { get; set; }

Property Value

decimal

Remarks

Difference between the document without VAT and the total.

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

Virtual field.

email

[AttVirtualField]
[AttHidden]
public string email { get; set; }

Property Value

string

emargem

Profit Margin.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal emargem { get; set; }

Property Value

decimal

Remarks

Profit margin, percentage of profit over the total of the document without VAT.

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

Virtual field.

emstamp

Connection field to table Account (EM).

[AttVirtualField]
[AttHidden]
public string emstamp { get; set; }

Property Value

string

Remarks

Length 25.

Virtual field.

Field not available for the user.

encomenda

Reference to the customer request/order.

[AttLenght(20)]
public string encomenda { get; set; }

Property Value

string

enotproc

Unprocessed

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal enotproc { get; set; }

Property Value

decimal

enregcativa

VAT Captivation Unsettled Amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal enregcativa { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

enregirs

IRS Unsettled Amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal enregirs { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

entrada

[AttVirtualField]
public bool entrada { get; set; }

Property Value

bool

epayable

Receivable

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

Property Value

decimal

erdcativa

Captivation of VAT on the document that was regularized due to the inclusion of advances to the supplier

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

Property Value

decimal

erdtotal

Total of Customer Advance

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(RdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal erdtotal { get; set; }

Property Value

decimal

estab

Number that identifies the customer Branch.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public int estab { get; set; }

Property Value

int

Remarks

Length 6.

From what range of software this field is available: Max.

etaxnvatsuj

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etaxnvatsuj { get; set; }

Property Value

decimal

etaxtot

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etaxtot { get; set; }

Property Value

decimal

etaxvatsuj

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etaxvatsuj { get; set; }

Property Value

decimal

etiliqdc

Total before discounts.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal etiliqdc { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

etotal

Total em moeda estrangeira (Total in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal etotal { get; set; }

Property Value

decimal

Remarks

is the Ft.ebasei + Ft.ettiva + Ft.etotalivarec + Ft.etotalRound

etotalRound

Rounding of Total

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal etotalRound { get; set; }

Property Value

decimal

etotalRounded

Rounding field just to help frontend

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

Property Value

decimal

etotalglobal

Global Total

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotalglobal { get; set; }

Property Value

decimal

etotaliva

Total of VAT + Recharge

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotaliva { get; set; }

Property Value

decimal

etotalivarec

Recharge VAT total

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotalivarec { get; set; }

Property Value

decimal

etotalsemirs

Total before TAX.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal etotalsemirs { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ettiliq

Net

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ettiliq { get; set; }

Property Value

decimal

Remarks

Incidence amount before the global discount is applied.

ettiva

VAT

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ettiva { get; set; }

Property Value

decimal

ettivaRound

Rounding of VAT total

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal ettivaRound { get; set; }

Property Value

decimal

Remarks

Used in manual invoices

ettivaRounded

Rounding field just to help frontend

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

Property Value

decimal

evirs

Income Tax deduction.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal evirs { get; set; }

Property Value

decimal

facturada

Identifies if document posted in Accounting.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool facturada { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

fhora

Time of document.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string fhora { get; set; }

Property Value

string

Remarks

  • Length 8
  • Non Duplicable Field.

This field accepts the format HH:MM where HH is the hour, using a 24-hour clock 0-23 and mm are the minutes from 00 to 59. The value is included in the value of the field separator: for example if the time is 15 hours and 14 minutes the value of this field is: 15:14 .

This field is used with the field fdata to sorting records in order to achieve a chronological identification that allows to be independent of the effective time the record was entered into the system.

fimas

Colecção dos numeros de série da linha.

[AttCollection(typeof(FiMaVO))]
[AttHidden(HiddenParameter = new string[] { "useSerialNumber" }, HiddenParameterValue = new object[] { false })]
public List<FiMaVO> fimas { get; set; }

Property Value

List<FiMaVO>

Remarks

This field is a collection of type List (Of FiMaVO).

FiMaVO

fin

Percentage of Financial Discount.

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMaxValue(100)]
public decimal fin { get; set; }

Property Value

decimal

Remarks

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

finvm

Financial discount amount in foreign currency.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal finvm { get; set; }

Property Value

decimal

Remarks

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

firstPrintDate

Date of first print (original document)

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime firstPrintDate { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

firstPrintRepStamp

Reportstamp used on first print (original document)

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

Property Value

string

Remarks

Non Duplicable Field.

fis

Colecção das linhas do documento.

[AttCollection(typeof(FiVO))]
public List<FiVO> fis { get; set; }

Property Value

List<FiVO>

Remarks

This field is a collection of type List (Of FiVO).

FiVO

fiscalacceptance

Fixed value for fiscal acceptance assets type in account variables

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

Property Value

int

fndocmanual

Series of the original document.

[AttLenght(3)]
public string fndocmanual { get; set; }

Property Value

string

Remarks

Identification of the series on the original document.

Length 3.

Non Duplicable Field.

fno

Document Number.

[AttPrimaryKey]
[AttLenght(10)]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public decimal fno { get; set; }

Property Value

decimal

Remarks

The value of this field is automatically increased based on the value of the last created record.

This field is primary key.

Length 10.

Non Duplicable Field.

fnomanual

Number of original document

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string fnomanual { get; set; }

Property Value

string

Remarks

Number of original document corresponding to the manual series.

Length 10.

ftPaymentTypes

Document Payment Types

[AttCollection(typeof(FtPaymentTypeVO))]
[AttEntityAvailable(typeof(FtPaymentTypeVO))]
public List<FtPaymentTypeVO> ftPaymentTypes { get; set; }

Property Value

List<FtPaymentTypeVO>

ftano

Year of Document.

[AttPrimaryKey]
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int ftano { get; set; }

Property Value

int

Remarks

This field is primary key.

Length 4.

ftccs

Colecção das Contas Correntes geradas pelo documento.

[AttCollection(typeof(FtCcVO))]
[AttEntityAvailable(typeof(FtCcVO))]
public List<FtCcVO> ftccs { get; set; }

Property Value

List<FtCcVO>

Remarks

This field is a collection of type List (Of CcVO).

FtCcVO

ftrds

Colecção das linhas de recibos de adiantamento do documento.

[AttCollection(typeof(FtRdVO))]
[AttEntityAvailable(typeof(FtRdVO))]
public List<FtRdVO> ftrds { get; set; }

Property Value

List<FtRdVO>

Remarks

This field is a collection of type List (Of FtrdVO).

FtRdVO

ftstamp

Single registration field, used to link others to this entity.

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

Property Value

string

Remarks

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

Length 25.

fullmotiseimp

Code and Reason for VAT exemption

[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }

Property Value

string

funiqueidmanual

public string funiqueidmanual { get; set; }

Property Value

string

hasPromotionsToApply

Has promotions to Apply

[AttVirtualField]
[AttHidden]
public bool hasPromotionsToApply { get; set; }

Property Value

bool

hcarga

Loading time.

[AttLenght(5)]
[AttIndex]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string hcarga { get; set; }

Property Value

string

Remarks

Length 5.

Non Duplicable Field.

This field accepts the format HH:MM where HH is the hour, using a 24-hour clock 0-23 and mm are the minutes from 00 to 59. The value is included in the value of the field separator: for example if the time is 15 hours and 14 minutes the value of this field is: 15:14.

hdescarga

Unloading time.

[AttLenght(5)]
[AttIndex]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string hdescarga { get; set; }

Property Value

string

Remarks

Length 5.

This field accepts the format HH:MM where HH is the hour, using a 24-hour clock 0-23 and mm are the minutes from 00 to 59. The value is included in the value of the field separator: for example if the time is 15 hours and 14 minutes the value of this field is: 15:14.

idiom

Idiom Field

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttGama(Gamas.Advanced)]
public string idiom { get; set; }

Property Value

string

impUniqueID

Unique identifier for imports.

[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impUniqueID { get; set; }

Property Value

string

Remarks

This field is similar to the uniqueID but is used only when the respective series has the field docimport activated, and if so required.

This field is available for implementations via FX Engine can correctly indicate the document number and series that were used for the creation of value in the assinatura jas to import series is the software liability using the FX Engine via the signature field fill. The value of this field will then be used in the construction of SAFT file in the tag INVOICENO.

Lenght 60.

Non Duplicable Field.

impcae

Imported CAE (Economic activity code) of the company

[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string impcae { get; set; }

Property Value

string

impousrdata

Imported ousrdata

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impousrdata { get; set; }

Property Value

DateTime

impousrhora

Imported ousrhora

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impousrhora { get; set; }

Property Value

string

impousrinis

Imported ousrinis

[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impousrinis { get; set; }

Property Value

string

impusrdata

Imported usrdata

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impusrdata { get; set; }

Property Value

DateTime

impusrhora

Imported usrhora

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impusrhora { get; set; }

Property Value

string

impusrinis

Imported usrinis

[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impusrinis { get; set; }

Property Value

string

incometaxcode

Fixed income tax

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

Property Value

int

introfin

Calculation origin of financial discount

[AttHidden]
public FinancialDiscountTypes introfin { get; set; }

Property Value

FinancialDiscountTypes

invoiceNo

This field is for internal use and is not serialized.

[AttVirtualField]
[AttHidden]
public string invoiceNo { get; }

Property Value

string

Remarks

It is an auxiliary business rule, if the series has the field docimport active, the return value of this property is the field impUniqueID, otherwise the field. uniqueID

Virtual field.

Field not available for the user.

invoiceoperationtype

Use for intercomunity sales (sales for ue members countries not nacional)

[AttLenght(2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.integer)]
public FtVO.InvoiceOperationTypes invoiceoperationtype { get; set; }

Property Value

FtVO.InvoiceOperationTypes

isIvacaixa

[AttVirtualField]
[AttHidden]
public bool isIvacaixa { get; set; }

Property Value

bool

isRefund

Make Refund

[AttVirtualField]
[AttHidden]
public bool isRefund { get; set; }

Property Value

bool

isRefundWithRe

Make Refund and then Recipe

[AttVirtualField]
[AttHidden]
public bool isRefundWithRe { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

isSigned

[AttVirtualField]
[AttHidden]
public bool isSigned { get; set; }

Property Value

bool

isconfiguredtosign

Indicates whether the serie of invoicing documents to which this invoicing document belongs, is set to digitally sign.

[AttVirtualField]
[AttHidden]
public bool isconfiguredtosign { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

isperson

Final consumer.

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isperson { get; set; }

Property Value

bool

Remarks

This field is used in the production of SAF-T-PT file concerning transport documents, that file registration issued to final consumers is not mandatory to be included in their production.

The value of this field is automatically filled to the value of the isperson entity clvo.

ivaBase1

First VAT line - Base.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase1MoedaEstrangeira

First VAT line - Base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase2

Second VAT line - Base.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase2MoedaEstrangeira

Second VAT line - Base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase3

Third VAT line - Base.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3 { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase3MoedaEstrangeira

Third VAT line - Base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaBase4

4º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4 { get; }

Property Value

decimal

ivaBase4MoedaEstrangeira

4º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4MoedaEstrangeira { get; }

Property Value

decimal

ivaBase5

5º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5 { get; }

Property Value

decimal

ivaBase5MoedaEstrangeira

5º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5MoedaEstrangeira { get; }

Property Value

decimal

ivaBase6

6º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6 { get; }

Property Value

decimal

ivaBase6MoedaEstrangeira

6º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6MoedaEstrangeira { get; }

Property Value

decimal

ivaTaxa1

VAT first line rate.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa1 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxa2

VAT Second line rate.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa2 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxa3

VAT third line rate.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa3 { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxa4

4º line - VAT rate

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa4 { get; }

Property Value

decimal

ivaTaxa5

5º line - VAT rate

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa5 { get; }

Property Value

decimal

ivaTaxa6

6º line - VAT rate

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa6 { get; }

Property Value

decimal

ivaTaxaRec1

First surcharge line - Rate.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxaRec2

Second surcharge line - Rate.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxaRec3

Third surcharge line - Rate.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaTaxaRec4

4º line - VAT surcharge rate

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

Property Value

decimal

ivaTaxaRec5

5º line - VAT surcharge rate

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

Property Value

decimal

ivaTaxaRec6

6º line - VAT surcharge rate

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

Property Value

decimal

ivaValor1

First VAT line - VAT Amount.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor1MoedaEstrangeira

First VAT line - VAT Amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor2

Second VAT line - VAT Amount.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2 { get; set; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor2MoedaEstrangeira

Second VAT line - VAT Amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor3

Third VAT line - VAT Amount.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3 { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor3MoedaEstrangeira

Third VAT line - VAT Amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3MoedaEstrangeira { get; }

Property Value

decimal

Remarks

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

Virtual field.

ivaValor4

4º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4 { get; }

Property Value

decimal

ivaValor4MoedaEstrangeira

4º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4MoedaEstrangeira { get; }

Property Value

decimal

ivaValor5

5º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5 { get; }

Property Value

decimal

ivaValor5MoedaEstrangeira

5º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5MoedaEstrangeira { get; }

Property Value

decimal

ivaValor6

6º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6 { get; }

Property Value

decimal

ivaValor6MoedaEstrangeira

6º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6MoedaEstrangeira { get; }

Property Value

decimal

ivaValorRec1

First surcharge line - Amount.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaValorRec2

Second surcharge line - Amount.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaValorRec3

Third surcharge line - Amount.

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

Property Value

decimal

Remarks

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

Virtual field.

ivaValorRec4

4º line - VAT surcharge amount.

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

Property Value

decimal

ivaValorRec5

5º line - VAT surcharge amount.

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

Property Value

decimal

ivaValorRec6

6º line - VAT surcharge amount.

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

Property Value

decimal

ivacaixa

VAT Scheme

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES, languages.pt_AO })]
public bool ivacaixa { get; set; }

Property Value

bool

local

Town of the customer.

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string local { get; set; }

Property Value

string

Remarks

Length 43.

localfrom

Location of the place of loading.

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string localfrom { get; set; }

Property Value

string

Remarks

Length 43.

localto

Location of the place of unloading.

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string localto { get; set; }

Property Value

string

Remarks

Length 43.

madein

[AttLenght(30)]
public string madein { get; set; }

Property Value

string

madeintitle

[AttVirtualField]
[AttLenght(30)]
public string madeintitle { get; set; }

Property Value

string

market

Market.

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

Property Value

int

masterTiposaft

[AttVirtualField]
public string masterTiposaft { get; }

Property Value

string

matricula

License Plate.

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

Property Value

string

Remarks

License Plate of the vehicle that will carry out transport.

Length 60.

mbase

Base (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mbase { get; set; }

Property Value

decimal

Remarks

Value after commercial and global discounts and before applying vat and other taxes.

mcativa

Cativation vat value in base currency

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mcativa { get; set; }

Property Value

decimal

mention

[AttVirtualField]
[AttLenght(30)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string mention { get; set; }

Property Value

string

mfinvat

Financial discount amount in foreign currency with VAT.

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

Property Value

decimal

mnotproc

Unprocessed in foreign currency

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mnotproc { get; set; }

Property Value

decimal

modalidaddescription

[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }

Property Value

string

modalidadstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }

Property Value

string

morada

Customer address.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList]
public string morada { get; set; }

Property Value

string

Remarks

Length 55.

morada2

Address 2 of the customer.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string morada2 { get; set; }

Property Value

string

Remarks

Length 55.

morada2from

Address 2 for Loading the items on the document.

[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.en_UK })]
[AttRGPDrank(RGPDranks.Personal)]
public string morada2from { get; set; }

Property Value

string

Remarks

Length 55.

morada2to

Address 2 for unloading the items on the document.

[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.en_UK })]
[AttRGPDrank(RGPDranks.Personal)]
public string morada2to { get; set; }

Property Value

string

Remarks

Length 55.

moradafrom

Loading address of the products on the document.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string moradafrom { get; set; }

Property Value

string

Remarks

Length 55.

moradato

Morada do local de Descarga.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string moradato { get; set; }

Property Value

string

Remarks

Length 55

mpayable

Receivable in foreign currency

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

Property Value

decimal

mrdcativa

Captivation of VAT on the document that was regularized due to the inclusion of advances to the supplier (in foreign currency)

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

Property Value

decimal

mtaxnvatsuj

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxnvatsuj { get; set; }

Property Value

decimal

mtaxtot

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxtot { get; set; }

Property Value

decimal

mtaxvatsuj

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxvatsuj { get; set; }

Property Value

decimal

mtotalivarec

Recharge VAT total (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtotalivarec { get; set; }

Property Value

decimal

municipio

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipio { get; set; }

Property Value

string

municipioCarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioCarga { get; set; }

Property Value

string

municipioDescarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioDescarga { get; set; }

Property Value

string

mvirs

Income Tax deduction. (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mvirs { get; set; }

Property Value

decimal

ncReason

[AttLenght(50)]
public string ncReason { get; set; }

Property Value

string

ncont

Customers VAT Number.

[AttLenght(20)]
[AttRGPDrank(RGPDranks.Legal)]
[AttLogInfo(4)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttList(Inactive = true)]
public string ncont { get; set; }

Property Value

string

Remarks

Length 20.

ncontCompanyParaReports

Company tax number to be used in reports.

[AttVirtualField]
public string ncontCompanyParaReports { get; }

Property Value

string

Remarks

Virtual field.

ncontParaReports

Customer tax number to be used in reports.

[AttVirtualField]
public string ncontParaReports { get; }

Property Value

string

Remarks

Virtual field.

ndoc

Document Internal Number.

[AttPrimaryKey]
[AttDocType(typeof(TdVO))]
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList(Hidden = true)]
public int ndoc { get; set; }

Property Value

int

Remarks

This field is primary key.

Serial number of invoice document type.

Identifies the document type defined in the field ndoc by TdVO.

Length 3.

ndoctaxes

[AttLenght(18)]
[AttHidden]
[AttVirtualField]
public decimal ndoctaxes { get; set; }

Property Value

decimal

newcustomeremail

To fill customer email when option Create Customer is selected - POS USAGE ONLY (S#198520)

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.email)]
public string newcustomeremail { get; set; }

Property Value

string

Remarks

Virtual field.

nmdoc

Document name.

[AttLenght(30)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public string nmdoc { get; set; }

Property Value

string

Remarks

Length 20.

no

Customer number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public decimal no { get; set; }

Property Value

decimal

Remarks

Length 10.

nome

Customer name.

[AttLenght(100)]
[AttMandatory]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
[AttSmartField]
public string nome { get; set; }

Property Value

string

Remarks

Length 55.

nome2

Abbreviated Name.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
public string nome2 { get; set; }

Property Value

string

Remarks

Length 55.

nomeImpressao

Customer Name (Print).

[AttVirtualField(typeof(FTAttInfo))]
[AttLogInfo(3)]
public string nomeImpressao { get; }

Property Value

string

Remarks

Virtual field.

nreg

Unsettled Amount in foreign currency

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal nreg { get; set; }

Property Value

decimal

nullifyHour

Time of nullify.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
public string nullifyHour { get; set; }

Property Value

string

Remarks

Is the hour of the field anulada filled.

Lenght 8.

Non Duplicable Field.

nullifyReason

Time of nullify.

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
public string nullifyReason { get; set; }

Property Value

string

Remarks

Is the reason why the field anulada filled.

Lenght 50

Non Duplicable Field.

obs

Comments.

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

Remarks

Comments field that is filled with comments to documents coming from customers invoice documents.

ollocaldd

Bank Account for Direct Debit.

[AttLenght(50)]
[AttEntityAvailable(typeof(BlVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
public string ollocaldd { get; set; }

Property Value

string

Remarks

Length 50.

onlyDD

Indicates whether this Document uses only SEPA Direct Debits.

[AttVirtualField]
[AttHidden]
public bool onlyDD { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

oristamp

key to document of origin

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

Property Value

string

oritable

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

Property Value

string

pagomb

ATM reference payed.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool pagomb { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

pagomc

ATM ProxyPay reference payed.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool pagomc { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

pais

Represents a CountryVO.

[AttLenght(70)]
public string pais { get; set; }

Property Value

string

paisesstamp

Connection field to entity CountryVO.

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string paisesstamp { get; set; }

Property Value

string

Remarks

Length 45.

paisesstampfrom

Connection field to entity CountryVO referring to the loading place.

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string paisesstampfrom { get; set; }

Property Value

string

Remarks

Length 25.

paisesstampto

Connection field to entity CountryVO referring to the place of unloading.

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string paisesstampto { get; set; }

Property Value

string

Remarks

Length 25

paisfrom

Represents CountryVO of loading place.

[AttLenght(70)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string paisfrom { get; set; }

Property Value

string

Remarks

Length 70.

paisto

Represents a CountryVO of place unloading.

[AttLenght(70)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string paisto { get; set; }

Property Value

string

Remarks

Length 70

[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string paymentLink { get; set; }

Property Value

string

paymentLinkAvailable

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.link)]
public string paymentLinkAvailable { get; set; }

Property Value

string

paymentWS

This field store the web service payment type

[AttLenght(1)]
[AttHidden]
public PaymentWS paymentWS { get; set; }

Property Value

PaymentWS

paymentoptions

Fixed value for payment options in account variables

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

Property Value

int

pdata

Date of Document.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime pdata { get; set; }

Property Value

DateTime

Remarks

Length 1.

plano

Identifies whether the Document is posted.

[AttGama(Gamas.Grow)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool plano { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

poscashregistersstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(PosCashRegistersVO))]
[AttForeignKey(CanDuplicate = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string poscashregistersstamp { get; set; }

Property Value

string

printCounter

Number of prints for this document

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public int printCounter { get; set; }

Property Value

int

Remarks

Non Duplicable Field.

Length 2.

provincia

Province (Field only used in Spain).

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
public string provincia { get; set; }

Property Value

string

Remarks

Length 60.

provinciaCarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
public string provinciaCarga { get; set; }

Property Value

string

provinciaDescarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
public string provinciaDescarga { get; set; }

Property Value

string

proxyPayPaymentTypeName

Name of proxypay payment type

[AttLenght(50)]
[AttLocale(typeof(FTAttInfo), new string[] { "[Ft].[proxyPayPaymentType]" })]
public string proxyPayPaymentTypeName { get; set; }

Property Value

string

qrcode

QRCODE

[AttVirtualField]
public string qrcode { get; }

Property Value

string

qrcodeDocNotValued

QRCODE

[AttVirtualField]
public string qrcodeDocNotValued { get; }

Property Value

string

rdtotalm

Total of Customer Advance (in foreign currency)

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(RdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal rdtotalm { get; set; }

Property Value

decimal

reNdocFromDevice

Serie of recipe selected in POS Device - POS USAGE ONLY

[AttVirtualField]
[AttHidden]
public int reNdocFromDevice { get; set; }

Property Value

int

Remarks

Virtual field.

Field not available for the user.

reasonToDeleteInAT

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
public string reasonToDeleteInAT { get; set; }

Property Value

string

refInt

Internal Reference.

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }

Property Value

string

Remarks

Lenght 50.

refMbs

Collection of EasyPay ATM reference lines.

[AttCollection(typeof(RefmbVO))]
[AttEntityAvailable(typeof(RefmbVO))]
public List<RefmbVO> refMbs { get; set; }

Property Value

List<RefmbVO>

Remarks

This field is a collection of type List (Of RefmbVO).

RefmbVO

refMcs

Collection of ProxyPay ATM reference lines.

[AttCollection(typeof(RefmcVO))]
[AttEntityAvailable(typeof(RefmcVO))]
public List<RefmcVO> refMcs { get; set; }

Property Value

List<RefmcVO>

Remarks

This field is a collection of type List (Of RefmcVO).

RefmcVO

refmb

EasyPay - ATM reference.

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(9)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string refmb { get; set; }

Property Value

string

Remarks

Virtual field.

refmbsep

EasyPay - ATM reference with spacing.

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(11)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string refmbsep { get; set; }

Property Value

string

Remarks

Virtual field.

refmc

ProxyPay - ATM reference.

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(9)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string refmc { get; set; }

Property Value

string

Remarks

Virtual field.

refundType

Type of refund of the invoice Value 1 for refund by cash Value 2 for refund by coupon

[AttLenght(3)]
public int refundType { get; set; }

Property Value

int

Remarks

Length 3.

regrecargo

[AttHidden]
public bool regrecargo { get; set; }

Property Value

bool

retention

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal retention { get; set; }

Property Value

decimal

segmento

Market Segment.

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

Property Value

string

Remarks

Information added from the customer file which allows to sort this document for analysis or to be filtered in searches.

Length 25.

sendFspStatus

This field is use to save the status of sending invoice to Ama FSP Service

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public SendFSPStatus sendFspStatus { get; set; }

Property Value

SendFSPStatus

sendFspStatusType

This field is to store the web service End Email Ama status about the file sent early

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string sendFspStatusType { get; set; }

Property Value

string

sepamandatedesign

Description of the SEPA Authorisation.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttEntityAvailable(typeof(SepaMandateVO))]
public string sepamandatedesign { get; set; }

Property Value

string

Remarks

Virtual field.

sepamandatestamp

Connection field to SEPA authorities (SEPAMANDATE).

[AttLenght(25)]
[AttEntityAvailable(typeof(SepaMandateVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string sepamandatestamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

serieuniqueid

[AttVirtualField]
[AttLenght(5)]
public string serieuniqueid { get; set; }

Property Value

string

Field that decides if is to show paymentLink or not.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showPaymentLink { get; set; }

Property Value

bool

Non Duplicable Field.

showRecargoIva

Indicates whether the document shows the surcharge of VAT.

[AttVirtualField]
[AttHidden]
public bool showRecargoIva { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

signatureDate

Date of Signature

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public DateTime signatureDate { get; set; }

Property Value

DateTime

Remarks

Is the date of the field assinatura filled.

Non Duplicable Field.

signatureHour

Time of Signature.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string signatureHour { get; set; }

Property Value

string

Remarks

Is the date of the field assinatura filled.

Lenght 8.

Non Duplicable Field.

szstoragechargestamp

Representa o armazem de carga

[AttForeignKey(CanDuplicate = true, HiddenField = false)]
[AttLenght(70)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string szstoragechargestamp { get; set; }

Property Value

string

szstoragedischargestamp

Representa o armazem de carga

[AttForeignKey(CanDuplicate = true, HiddenField = false)]
[AttLenght(70)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string szstoragedischargestamp { get; set; }

Property Value

string

taxLabelField

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

Property Value

string

taxasIVA

Colecção das diversas taxas de I.V.A. presentes no documento.

[AttCollection(typeof(FtTxIvaVO))]
public List<FtTxIvaVO> taxasIVA { get; set; }

Property Value

List<FtTxIvaVO>

Remarks

This field is a collection of type List (Of FtTxIvaVO).

FtTxIvaVO

taxcategorycode

Tax category for mapping accounts variables

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

Property Value

int

taxes

Taxes collection

[AttCollection(typeof(FtTaxesVO))]
public List<FtTaxesVO> taxes { get; set; }

Property Value

List<FtTaxesVO>

Remarks

This field is a collection of type List(Of FtTaxesVO).

taxregularizations

Tipo de regularização de iva.

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

Property Value

int

taxretentionstamp

[AttLenght(25)]
[AttHidden]
[AttVirtualField]
public string taxretentionstamp { get; set; }

Property Value

string

telefone

Customer contact number.

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string telefone { get; set; }

Property Value

string

Remarks

Length 60.

temAutorizacaoPS2ativa

Indicates if this customer has an active Debit authorization.

[AttVirtualField]
[AttHidden]
public bool temAutorizacaoPS2ativa { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

textoCertificacao

Text with certification number for Templates.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacao { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoOferta

Certification: Partial Text - Vat scheme.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoOferta { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialCopiadeDoc

Certification: Partial Text - Document copy.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialCopiadeDoc { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialDemo

Certificação: Texto Parcial - Base de dados de demonstração

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

Property Value

string

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.

textoCertificacaoParcialNaoServeFactura

Certification: Partial Text - It is not an invoice.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFactura { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialNaoServeFacturaAgregado

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFacturaAgregado { get; set; }

Property Value

string

textoCertificacaoParcialNomeSoftware

Certification: Partial Text - Software Name.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string textoCertificacaoParcialNomeSoftware { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialNumeroCertificacao

Certification: Partial Text - Certification Number.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNumeroCertificacao { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialProcessadoPor

Certification: Partial Text - Processed by.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialProcessadoPor { get; set; }

Property Value

string

Remarks

Virtual field.

textoCertificacaoParcialRegimeIVA

Certification: Partial Text - Vat scheme.

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialRegimeIVA { get; set; }

Property Value

string

Remarks

Virtual field.

texto_anulado

Cancelled text.

[AttVirtualField]
public string texto_anulado { get; }

Property Value

string

Remarks

Text to be displayed if the document is canceled.

Virtual field.

tiliqdcm

[AttVirtualField]
[AttLenght(19, 6)]
public decimal tiliqdcm { get; set; }

Property Value

decimal

tipo

Type of customer.

[AttLenght(20)]
public string tipo { get; set; }

Property Value

string

Remarks

Length 20.

tiposaft

Type SAF-T, is used to identify which code to use in the production of SAF-T.

[AttLenght(2)]
[AttHidden]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string tiposaft { get; set; }

Property Value

string

tmiliq

Net (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal tmiliq { get; set; }

Property Value

decimal

Remarks

Incidence amount before the global discount is applied.

tmiva

VAT (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal tmiva { get; set; }

Property Value

decimal

tmivaRound

Rounding of VAT total (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal tmivaRound { get; set; }

Property Value

decimal

Remarks

Used in manual invoices

tmivaRounded

Rounding field just to help frontend

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

Property Value

decimal

tnvol

Number of units of the item.

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tnvol { get; }

Property Value

decimal

Remarks

  • Lenght of 18, where the units are 13 and decimals are 4.
  • Virtual field.

totalAcquisitionValue

[AttVirtualField]
[AttLenght(19, 6)]
public decimal totalAcquisitionValue { get; set; }

Property Value

decimal

totalCommissions

[AttVirtualField]
[AttLenght(19, 6)]
public decimal totalCommissions { get; set; }

Property Value

decimal

totalglobalm

Global Total (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalglobalm { get; set; }

Property Value

decimal

totalivam

Total of VAT + Recharge (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalivam { get; set; }

Property Value

decimal

totallyIncludedInRe

[AttVirtualField]
[AttHidden]
public bool totallyIncludedInRe { get; set; }

Property Value

bool

totalmoeda

Total amount of the document in foreign currency.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal totalmoeda { get; set; }

Property Value

decimal

Remarks

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

totalmoedaRound

Rounding of Total (in foreign currency)

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal totalmoedaRound { get; set; }

Property Value

decimal

totalmoedaRounded

Rounding field just to help frontend

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

Property Value

decimal

tpbrut

Total gross weight.

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpbrut { get; }

Property Value

decimal

Remarks

  • Lenght of 18, where the units are 13 and decimals are 4.
  • Virtual field.

tpdesc

Payment Terms.

[AttLenght(55)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpdesc { get; set; }

Property Value

string

Remarks

Length 55.

Description of Payment Terms.

tpliq

Total net weight.

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpliq { get; }

Property Value

decimal

Remarks

  • Lenght of 18, where the units are 13 and decimals are 4.
  • Virtual field.

tpstamp

Connection Field to Payment Term (TP).

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

tresuryId

[AttVirtualField]
public int tresuryId { get; set; }

Property Value

int

tvol

Total volume.

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tvol { get; }

Property Value

decimal

Remarks

  • Lenght of 18, where the units are 13 and decimals are 4.
  • Virtual field.

uniqueID

Unique identifier of the record.

[AttLenght(60)]
[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string uniqueID { get; set; }

Property Value

string

Remarks

In a normal recording this field should not be filled, the application has to fulfill the function with a valid value for this register. If recording this field comes completed the application will accept its value but does not validate if it is a single value, getting this algorithm responsibility who completed the value in the field before sending the entity record.

The function of this field is identical to the field ftstamp with difference that the value contained it's readable. Is composed by the following values: .

.

For example, a document written in 2013 of 50 series set to type for SAF-T equal to GT has been awarded the annual sequence number 15 will get the following value in this field: .

  • GT 2013FT50/15
.

The documents that were previously recorded to the existence of this field, the application will automatically fill with a similar value at the time of installation and maintenance of database, with the difference that will not include the FT element or the year of the document, taking the example above , would be: .

  • GT 50/15
.

The value of this field is used for example to compose the digital signature of the document and to produce the file SAF_T_PT used in the communications with AT.

Lenght 60.

Non Duplicable Field.

usaDD

Indicates whether this Document uses SEPA Direct Debits.

[AttVirtualField]
[AttHidden]
public bool usaDD { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

usaIRS

Indicates that is being used the Person Income Tax.

[AttVirtualField]
[AttHidden]
public bool usaIRS { get; set; }

Property Value

bool

usaRecargoIva

Indicates whether the document uses the surcharge of VAT.

[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

uselot

[AttVirtualField]
[AttHidden]
public bool uselot { get; set; }

Property Value

bool

validlot

[AttVirtualField]
[AttHidden]
public bool validlot { get; set; }

Property Value

bool

vatHasTaxes

[AttVirtualField]
[AttHidden]
public bool vatHasTaxes { get; set; }

Property Value

bool

vatoperation

Operações com IVA

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

Property Value

int

vdcontado

Bank Account Internal Number.

[AttLenght(4)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int vdcontado { get; set; }

Property Value

int

Remarks

Length 4.

vdollocal

Bank Account

[AttLenght(50)]
[AttEntityAvailable(typeof(BlVO))]
public string vdollocal { get; set; }

Property Value

string

Remarks

Bank where the transaction will be posted with the difference between the document total and the Personal Income Tax, if it exists.

Length 50.

vendedor

Salesperson identifier number.

[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int vendedor { get; set; }

Property Value

int

Remarks

Length 4.

vendnm

Salesperson Name.

[AttLenght(40)]
public string vendnm { get; set; }

Property Value

string

Remarks

Length 40.

versaochave

Key edition of the digital signature.

[AttLenght(40)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string versaochave { get; set; }

Property Value

string

Remarks

Length 40.

Non Duplicable Field.

viewedInPortal

Check if document already viewed by customer

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.PortalGO })]
public bool viewedInPortal { get; set; }

Property Value

bool

wsGuiaResults

Result of each attempt to communicate the transport slip to AT.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_atdtwebcommunication" }, HiddenParameterValue = new object[] { false })]
public string wsGuiaResults { get; set; }

Property Value

string

Remarks

Non Duplicable Field.

wsinvoiceresults

Stores the AT response

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
[AttHidden(HiddenParameter = new string[] { "ge_atinvwebcommunication" }, HiddenParameterValue = new object[] { false })]
public string wsinvoiceresults { get; set; }

Property Value

string

Remarks

Lenght 500.

wsinvoicesent

Identifies if the ft was sent to AT with success

[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public bool wsinvoicesent { get; set; }

Property Value

bool

Remarks

Lenght 1.

zona

Area which belongs the customer.

[AttLenght(13)]
public string zona { get; set; }

Property Value

string

Remarks

Information defined in the customer file which allows to sort this document for analysis or for example to filter in searches.

Length 13.

Methods

GetCodigoEspacoFiscal(string)

protected string GetCodigoEspacoFiscal(string espacoFiscal)

Parameters

Nome Tipo Descrição
espacoFiscal string

Returns

string

GetRegimesIvaFiscal(List<FtTxIvaVO>, List<string>)

protected void GetRegimesIvaFiscal(List<FtTxIvaVO> ri, List<string> itens)

Parameters

Nome Tipo Descrição
ri List<FtTxIvaVO>
itens List<string>

GetSeriesName()

public override string GetSeriesName()

Returns

string

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

GetTipoSaft()

public override string GetTipoSaft()

Returns

string

IsOwner(FtVO, string)

public static bool IsOwner(FtVO itemFt, string madein)

Parameters

Nome Tipo Descrição
itemFt FtVO
madein string

Returns

bool

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

CanIntegrate()

Returns true if integration is available

bool CanIntegrate()

Returns

bool

CleanIntegrationErrors()

Cleans the accounting integration errors

void CleanIntegrationErrors()

GetIntegrationConfig(int)

Get Accounting configuration if exists

PHCResult GetIntegrationConfig(int year)

Parameters

Nome Tipo Descrição
year int

Returns

PHCResult

GetPendingIntegrationsCommands(int)

PHCCmdSql GetPendingIntegrationsCommands(int year = 0)

Parameters

Nome Tipo Descrição
year int

Returns

PHCCmdSql

HasAccountingIntegration()

Check for permission to integrate document

bool HasAccountingIntegration()

Returns

bool

IsProducedRecord()

bool IsProducedRecord()

Returns

bool

LogIntegrationErrors(List<MessageVO>)

Logs the accounting integration errors

void LogIntegrationErrors(List<MessageVO> errorMessages)

Parameters

Nome Tipo Descrição
errorMessages List<MessageVO>

NeedAccessToSign

We use this field to know if the document needs Finalize

[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool NeedAccessToSign { get; set; }

Returns

bool

ReadyForArchival()

bool ReadyForArchival()

Returns

bool

accounted

Mark document as accounted

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }

Returns

bool

adate

Accounting Date

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }

Returns

DateTime

anulada

Identifies whether the Document is cancelled.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
[AttList]
bool anulada { get; set; }

Returns

bool

Remarks

Non Duplicable Field.

codmotiseimp

Code for VAT exemption Reason

[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }

Returns

string

docarchivalnumber

ID: Journal + Period + DocNumber

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string docarchivalnumber { get; set; }

Returns

string

documentdescription

Description of the document type (DC)

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string documentdescription { get; set; }

Returns

string

documentid

Id of the accounting document (DC)

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal documentid { get; set; }

Returns

decimal

draftRecord

Indicates if the record is in draft mode (TRUE) or final version (FALSE).

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
bool draftRecord { get; set; }

Returns

bool

Remarks

The default value is (TRUE) and all new records are in draft mode, however the recording of a document in the application runs the validation rule that checks if the series to which the document belongs is configured to allow draft, if not, is ignored and this value registration is recorded in the final version.

Non Duplicable Field.

This feature appears in the draft version 1412 and is only available when the country of the company pais is equal a Portugal (PT).

easyPayPaymentType

This is field where we store the payment type from easypay and phcpay

[AttLenght(1)]
[AttHidden]
WSPaymentType easyPayPaymentType { get; set; }

Returns

WSPaymentType

enreg

Unsettled Amount

[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal enreg { get; set; }

Returns

decimal

entidademb

Entity to ATM reference.

[AttLenght(5)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
string entidademb { get; set; }

Returns

string

Remarks

Length 5.

Non Duplicable Field.

entidademc

Entity to ProxyPay ATM reference.

[AttLenght(5)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
string entidademc { get; set; }

Returns

string

Remarks

Length 5.

Non Duplicable Field.

etotalmb

Value to pay by ATM reference.

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

Returns

decimal

Remarks

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

Non Duplicable Field.

etotalmc

Value to pay by ProxyPay ATM reference.

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

Returns

decimal

Remarks

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

Non Duplicable Field.

fdata

Date of Document.

[AttMandatory]
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
DateTime fdata { get; set; }

Returns

DateTime

Remarks

This field is used with the field fhora to sorting records in order to achieve a chronological identification that allows to be independent of the effective time the record was entered into the system.

integrationErrors

Accounting integrations message errors

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string integrationErrors { get; set; }

Returns

string

isApproved

Field to know if the document was approved

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isApproved { get; set; }

Returns

bool

isArchived

[AttFieldType(AttFieldType.InputTypes.boolean)]
bool isArchived { get; set; }

Returns

bool

isDocNeedsApproval

We use this field to know if the document needs approval

[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }

Returns

bool

isaccounting

Is true if the document is in integrating process

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool isaccounting { get; set; }

Returns

bool

issueAsWaybill

Identifies if document can be issued as waybill

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
bool issueAsWaybill { get; set; }

Returns

bool

Remarks

Non Duplicable Field.

journaldescription

Description of the journal (DI)

[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string journaldescription { get; set; }

Returns

string

journalid

Journal code (DI).

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal journalid { get; set; }

Returns

decimal

miseimpstamp

StampID for VAT exemption Reason

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string miseimpstamp { get; set; }

Returns

string

moeda

Currency

Contains the abbreviated name of the currency used in this invoice document.

[AttLenght(3)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
string moeda { get; set; }

Returns

string

Remarks

Length 3 .

Example: EUR, USD, GBP

motiseimp

Reason for VAT exemption

[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }

Returns

string

nullifyDate

Date of nullify

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
DateTime nullifyDate { get; set; }

Returns

DateTime

Remarks

Is the date of the field anulada filled.

Non Duplicable Field.

olcode

Código de tesouraria

[AttVirtualField]
[AttLenght(12)]
string olcode { get; set; }

Returns

string

paymentID

This is the id stamp in easypay or phcpay, when we create a payment

[AttLenght(100)]
[AttHidden]
string paymentID { get; set; }

Returns

string

proxyPayIdStamp

This is the id stamp in proxypay when we create a payment

[AttLenght(100)]
[AttHidden]
string proxyPayIdStamp { get; set; }

Returns

string

proxyPayPaymentType

This is field where we store the payment type from proxypay

[AttLenght(1)]
[AttHidden]
ProxyPayPaymentType proxyPayPaymentType { get; set; }

Returns

ProxyPayPaymentType

refmb1

ATM Reference 1.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmb1 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

refmb2

ATM Reference 2.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmb2 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

refmb3

ATM Reference 3.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmb3 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

refmc1

ATM ProxyPay Reference 1.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmc1 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

refmc2

ATM ProxyPay Reference 2.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmc2 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

refmc3

ATM ProxyPay Reference 3.

[AttLenght(3)]
[AttIndex]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
string refmc3 { get; set; }

Returns

string

Remarks

Length 3.

Non Duplicable Field.

validitydatemb

Validity date of ATM EasyPay Reference.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
DateTime validitydatemb { get; set; }

Returns

DateTime

Remarks

Non Duplicable Field.

validitydatemc

Validity date of ATM ProxyPay Reference.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
DateTime validitydatemc { get; set; }

Returns

DateTime

Remarks

Non Duplicable Field.

year

Year of Document (PCY).

[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
int year { get; set; }

Returns

int