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
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "vdcontado" })]
public BlVO BlVO { get; }
Property Value
CatIvaTaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Ft].[codcativastamp]" })]
public TaxRetentionVO CatIvaTaxRetentionVO { get; }
Property Value
CbVO
[AttExternalCollection(typeof(CbVO), new string[] { "[Cb].[moeda]", "[Ft].[moeda]" })]
public CbVO CbVO { get; }
Property Value
CertificacaoHashCode
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string CertificacaoHashCode { get; set; }
Property Value
Cl2VO
[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "no", "cl.estab", "estab" })]
public ClVO Cl2VO { get; }
Property Value
ClVO
[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "no", "cl.estab", "estab" })]
public ClVO ClVO { get; }
Property Value
Cm3VO
[AttExternalCollection(typeof(Cm3VO), new string[] { "[Cm3].[cm]", "[Ft].[vendedor]" })]
public Cm3VO Cm3VO { get; }
Property Value
CountryFromVO
[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstampfrom" })]
public CountryVO CountryFromVO { get; }
Property Value
CountryToVO
[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstampto" })]
public CountryVO CountryToVO { get; }
Property Value
CountryVO
[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
IvaFieldsRelation
hide iva fields when zero
[AttVirtualField]
public Dictionary<string, List<string>> IvaFieldsRelation { get; }
Property Value
MiseimpVO
[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Ft].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }
Property Value
ModalidadVO
[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Ft].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }
Property Value
OlVO
The treasury movement created in OL
[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }
Property Value
OwnerEmail
[AttHidden]
public string OwnerEmail { get; }
Property Value
PosCashRegisterVO
[AttExternalCollection(typeof(PosCashRegistersVO), new string[] { "[PosCashRegisters].[poscashregistersstamp]", "[Ft].[poscashregistersstamp]" })]
public PosCashRegistersVO PosCashRegisterVO { get; }
Property Value
SepaMandateVO
[AttExternalCollection(typeof(SepaMandateVO), new string[] { "sepamandate.sepamandatestamp", "sepamandatestamp" })]
[AttEntityAvailable(typeof(SepaMandateVO))]
public SepaMandateVO SepaMandateVO { get; }
Property Value
SzChargeVO
[AttExternalCollection(typeof(SzVO), new string[] { "sz.szstamp", "szstamp" })]
public SzVO SzChargeVO { get; }
Property Value
SzDishargeVO
[AttExternalCollection(typeof(SzVO), new string[] { "sz.szstamp", "szstamp" })]
public SzVO SzDishargeVO { get; }
Property Value
TaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Ft].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }
Property Value
TdVO
[AttExternalCollection(typeof(TdVO), new string[] { "td.ndoc", "ndoc" })]
public TdVO TdVO { get; }
Property Value
TpVO
[AttExternalCollection(typeof(TpVO), new string[] { "tp.tpstamp", "tpstamp" })]
public TpVO TpVO { get; }
Property Value
accruedtype
[AttVirtualField]
[AttLenght(1)]
public int accruedtype { get; }
Property Value
agreementref
Framework agreement reference
[AttLenght(50)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string agreementref { get; set; }
Property Value
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
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
approvedDate
The date when was approved
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime approvedDate { get; set; }
Property Value
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
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
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
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
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
atcudUniqueIDForReports
atcudUniqueID to be used in reports (ATCUD:AAJFF7FJXK-140).
[AttVirtualField]
[AttLenght(90)]
public string atcudUniqueIDForReports { get; }
Property Value
Remarks
Virtual field.
atwebatcudready
[AttVirtualField]
[AttHidden]
public bool atwebatcudready { get; set; }
Property Value
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
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
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
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
Remarks
Length 1.
bilocal
Place of Issue of Identification Document.
[AttLenght(25)]
[AttRGPDrank(RGPDranks.Personal)]
public string bilocal { get; set; }
Property Value
Remarks
Length 25.
bino
Customer identification document number.
[AttLenght(15)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public string bino { get; set; }
Property Value
Remarks
Length 8.
blDDLabelField
From BlVO.labelField
[AttVirtualField]
public string blDDLabelField { get; set; }
Property Value
blLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blLabelField { get; set; }
Property Value
blsupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blsupplytype { get; }
Property Value
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
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
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
Remarks
Length 55.
canProduceFt
Indicates whether from the registry can create another invoice document.
[AttVirtualField]
[AttHidden]
public bool canProduceFt { get; set; }
Property Value
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
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
Remarks
Virtual field.
Field not available for the user.
canUseDiscountWithVAT
[AttVirtualField]
public bool canUseDiscountWithVAT { get; set; }
Property Value
canViewIvacaixa
[AttVirtualField]
[AttHidden]
public bool canViewIvacaixa { get; set; }
Property Value
cancreatelot
[AttVirtualField]
[AttHidden]
public bool cancreatelot { get; set; }
Property Value
carga
[AttLenght(70)]
public string carga { get; set; }
Property Value
cativandoctax
[AttLenght(18)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativandoctax { get; set; }
Property Value
cativataxa
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativataxa { get; set; }
Property Value
cativataxname
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxname { get; set; }
Property Value
cativataxstamp
[AttLenght(25)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxstamp { get; set; }
Property Value
cl2stamp
[AttVirtualField]
[AttHidden]
public string cl2stamp { get; set; }
Property Value
clcountryiscomunitary
[AttVirtualField]
[AttHidden]
public bool clcountryiscomunitary { get; set; }
Property Value
clientoperation
Client operation.
[AttVirtualField]
[AttLenght(1)]
public int clientoperation { get; }
Property Value
clivd
Identifies the client as a Generic Customer (Cash Sale).
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool clivd { get; set; }
Property Value
Remarks
Lenght 1.
clstamp
[AttVirtualField]
[AttHidden]
public string clstamp { get; set; }
Property Value
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
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
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
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
codpost
PostCode of the customer.
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpost { get; set; }
Property Value
Remarks
Length 45.
codpostfrom
Postcode of the place of loading.
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpostfrom { get; set; }
Property Value
Remarks
Length 45.
codpostto
Postcode of the place of unloading.
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpostto { get; set; }
Property Value
Remarks
Length 45.
codstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }
Property Value
commitmentref
Commitment reference
[AttLenght(50)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string commitmentref { get; set; }
Property Value
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
Remarks
Length 4.
contractref
Contract document reference
[AttLenght(24)]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public string contractref { get; set; }
Property Value
crmDealName
[AttLenght(100)]
[AttProducts(new Products[] { Products.CRM })]
public string crmDealName { get; set; }
Property Value
crmdealstamp
[AttLenght(25)]
[AttProducts(new Products[] { Products.CRM })]
public string crmdealstamp { get; set; }
Property Value
customerAutoCreationCode
[AttVirtualField]
[AttHidden]
public AutoCreationCodes customerAutoCreationCode { get; }
Property Value
Remarks
Virtual field.
Field not available for the user.
datacarga
Loading date.
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datacarga { get; set; }
Property Value
Remarks
Non Duplicable Field.
datadescarga
Unloading date.
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datadescarga { get; set; }
Property Value
Remarks
Non Duplicable Field.
dataefect
Effective delivery date of goods or services.
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dataefect { get; set; }
Property Value
datafact
Invoicing date.
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datafact { get; set; }
Property Value
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
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
Remarks
Non Duplicable Field.
descar
[AttLenght(70)]
public string descar { get; set; }
Property Value
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
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
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
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
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
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
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
ebase
Base
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ebase { get; set; }
Property Value
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
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
ecusto
Total Cost
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ecusto { get; set; }
Property Value
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
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
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
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
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
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
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
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
elucro
Profit.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal elucro { get; set; }
Property Value
Remarks
Difference between the document without VAT and the total.
Lenght of 19, where the units are 12 and decimals are 6.
Virtual field.
[AttVirtualField]
[AttHidden]
public string email { get; set; }
Property Value
emargem
Profit Margin.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal emargem { get; set; }
Property Value
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
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
enotproc
Unprocessed
[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal enotproc { get; set; }
Property Value
enregcativa
VAT Captivation Unsettled Amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal enregcativa { get; set; }
Property Value
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
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Virtual field.
entrada
[AttVirtualField]
public bool entrada { get; set; }
Property Value
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
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
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
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
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
etaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etaxtot { get; set; }
Property Value
etaxvatsuj
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etaxvatsuj { get; set; }
Property Value
etiliqdc
Total before discounts.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal etiliqdc { get; set; }
Property Value
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
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
etotalRounded
Rounding field just to help frontend
[AttVirtualField]
[AttHidden]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etotalRounded { get; set; }
Property Value
etotalglobal
Global Total
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotalglobal { get; set; }
Property Value
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
etotalivarec
Recharge VAT total
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotalivarec { get; set; }
Property Value
etotalsemirs
Total before TAX.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal etotalsemirs { get; set; }
Property Value
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
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
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
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
evirs
Income Tax deduction.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal evirs { get; set; }
Property Value
facturada
Identifies if document posted in Accounting.
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool facturada { get; set; }
Property Value
Remarks
Non Duplicable Field.
fhora
Time of document.
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string fhora { get; set; }
Property Value
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
Remarks
This field is a collection of type List (Of FiMaVO).
FiMaVOfin
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
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
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
Remarks
Non Duplicable Field.
firstPrintRepStamp
Reportstamp used on first print (original document)
[AttLenght(25)]
public string firstPrintRepStamp { get; set; }
Property Value
Remarks
Non Duplicable Field.
fis
Colecção das linhas do documento.
[AttCollection(typeof(FiVO))]
public List<FiVO> fis { get; set; }
Property Value
Remarks
This field is a collection of type List (Of FiVO).
FiVOfiscalacceptance
Fixed value for fiscal acceptance assets type in account variables
[AttVirtualField]
[AttLenght(1)]
public int fiscalacceptance { get; }
Property Value
fndocmanual
Series of the original document.
[AttLenght(3)]
public string fndocmanual { get; set; }
Property Value
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
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
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
ftano
Year of Document.
[AttPrimaryKey]
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int ftano { get; set; }
Property Value
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
Remarks
This field is a collection of type List (Of CcVO).
FtCcVOftrds
Colecção das linhas de recibos de adiantamento do documento.
[AttCollection(typeof(FtRdVO))]
[AttEntityAvailable(typeof(FtRdVO))]
public List<FtRdVO> ftrds { get; set; }
Property Value
Remarks
This field is a collection of type List (Of FtrdVO).
FtRdVOftstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string ftstamp { get; set; }
Property Value
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
funiqueidmanual
public string funiqueidmanual { get; set; }
Property Value
hasPromotionsToApply
Has promotions to Apply
[AttVirtualField]
[AttHidden]
public bool hasPromotionsToApply { get; set; }
Property Value
hcarga
Loading time.
[AttLenght(5)]
[AttIndex]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string hcarga { get; set; }
Property Value
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
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
impUniqueID
Unique identifier for imports.
[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impUniqueID { get; set; }
Property Value
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
impousrdata
Imported ousrdata
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impousrdata { get; set; }
Property Value
impousrhora
Imported ousrhora
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impousrhora { get; set; }
Property Value
impousrinis
Imported ousrinis
[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impousrinis { get; set; }
Property Value
impusrdata
Imported usrdata
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impusrdata { get; set; }
Property Value
impusrhora
Imported usrhora
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impusrhora { get; set; }
Property Value
impusrinis
Imported usrinis
[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impusrinis { get; set; }
Property Value
incometaxcode
Fixed income tax
[AttVirtualField]
[AttLenght(1)]
public int incometaxcode { get; }
Property Value
introfin
Calculation origin of financial discount
[AttHidden]
public FinancialDiscountTypes introfin { get; set; }
Property Value
invoiceNo
This field is for internal use and is not serialized.
[AttVirtualField]
[AttHidden]
public string invoiceNo { get; }
Property Value
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
isIvacaixa
[AttVirtualField]
[AttHidden]
public bool isIvacaixa { get; set; }
Property Value
isRefund
Make Refund
[AttVirtualField]
[AttHidden]
public bool isRefund { get; set; }
Property Value
isRefundWithRe
Make Refund and then Recipe
[AttVirtualField]
[AttHidden]
public bool isRefundWithRe { get; set; }
Property Value
Remarks
Virtual field.
Field not available for the user.
isSigned
[AttVirtualField]
[AttHidden]
public bool isSigned { get; set; }
Property Value
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
Remarks
Virtual field.
Field not available for the user.
isperson
Final consumer.
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isperson { get; set; }
Property Value
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
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
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
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
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
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
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
ivaBase4MoedaEstrangeira
4º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4MoedaEstrangeira { get; }
Property Value
ivaBase5
5º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5 { get; }
Property Value
ivaBase5MoedaEstrangeira
5º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5MoedaEstrangeira { get; }
Property Value
ivaBase6
6º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6 { get; }
Property Value
ivaBase6MoedaEstrangeira
6º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6MoedaEstrangeira { get; }
Property Value
ivaTaxa1
VAT first line rate.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa1 { get; set; }
Property Value
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
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
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
ivaTaxa5
5º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa5 { get; }
Property Value
ivaTaxa6
6º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa6 { get; }
Property Value
ivaTaxaRec1
First surcharge line - Rate.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec1 { get; set; }
Property Value
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
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
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
ivaTaxaRec5
5º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec5 { get; }
Property Value
ivaTaxaRec6
6º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec6 { get; }
Property Value
ivaValor1
First VAT line - VAT Amount.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1 { get; set; }
Property Value
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
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
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
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
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
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
ivaValor4MoedaEstrangeira
4º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4MoedaEstrangeira { get; }
Property Value
ivaValor5
5º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5 { get; }
Property Value
ivaValor5MoedaEstrangeira
5º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5MoedaEstrangeira { get; }
Property Value
ivaValor6
6º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6 { get; }
Property Value
ivaValor6MoedaEstrangeira
6º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6MoedaEstrangeira { get; }
Property Value
ivaValorRec1
First surcharge line - Amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec1 { get; set; }
Property Value
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
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
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
ivaValorRec5
5º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec5 { get; }
Property Value
ivaValorRec6
6º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec6 { get; }
Property Value
ivacaixa
VAT Scheme
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES, languages.pt_AO })]
public bool ivacaixa { get; set; }
Property Value
local
Town of the customer.
[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string local { get; set; }
Property Value
Remarks
Length 43.
localfrom
Location of the place of loading.
[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string localfrom { get; set; }
Property Value
Remarks
Length 43.
localto
Location of the place of unloading.
[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string localto { get; set; }
Property Value
Remarks
Length 43.
madein
[AttLenght(30)]
public string madein { get; set; }
Property Value
madeintitle
[AttVirtualField]
[AttLenght(30)]
public string madeintitle { get; set; }
Property Value
market
Market.
[AttVirtualField]
[AttLenght(1)]
public int market { get; }
Property Value
masterTiposaft
[AttVirtualField]
public string masterTiposaft { get; }
Property Value
matricula
License Plate.
[AttLenght(60)]
public string matricula { get; set; }
Property Value
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
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
mention
[AttVirtualField]
[AttLenght(30)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string mention { get; set; }
Property Value
mfinvat
Financial discount amount in foreign currency with VAT.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency)]
public decimal mfinvat { get; set; }
Property Value
mnotproc
Unprocessed in foreign currency
[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mnotproc { get; set; }
Property Value
modalidaddescription
[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }
Property Value
modalidadstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }
Property Value
morada
Customer address.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList]
public string morada { get; set; }
Property Value
Remarks
Length 55.
morada2
Address 2 of the customer.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string morada2 { get; set; }
Property Value
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
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
Remarks
Length 55.
moradafrom
Loading address of the products on the document.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string moradafrom { get; set; }
Property Value
Remarks
Length 55.
moradato
Morada do local de Descarga.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string moradato { get; set; }
Property Value
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
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
mtaxnvatsuj
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxnvatsuj { get; set; }
Property Value
mtaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxtot { get; set; }
Property Value
mtaxvatsuj
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal mtaxvatsuj { get; set; }
Property Value
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
municipio
[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipio { get; set; }
Property Value
municipioCarga
[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioCarga { get; set; }
Property Value
municipioDescarga
[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioDescarga { get; set; }
Property Value
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
ncReason
[AttLenght(50)]
public string ncReason { get; set; }
Property Value
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
Remarks
Length 20.
ncontCompanyParaReports
Company tax number to be used in reports.
[AttVirtualField]
public string ncontCompanyParaReports { get; }
Property Value
Remarks
Virtual field.
ncontParaReports
Customer tax number to be used in reports.
[AttVirtualField]
public string ncontParaReports { get; }
Property Value
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
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
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
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
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
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
Remarks
Length 55.
nome2
Abbreviated Name.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
public string nome2 { get; set; }
Property Value
Remarks
Length 55.
nomeImpressao
Customer Name (Print).
[AttVirtualField(typeof(FTAttInfo))]
[AttLogInfo(3)]
public string nomeImpressao { get; }
Property Value
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
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
Remarks
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
Remarks
obs
Comments.
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
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
Remarks
Length 50.
onlyDD
Indicates whether this Document uses only SEPA Direct Debits.
[AttVirtualField]
[AttHidden]
public bool onlyDD { get; set; }
Property Value
Remarks
Virtual field.
Field not available for the user.
oristamp
key to document of origin
[AttLenght(25)]
public string oristamp { get; set; }
Property Value
oritable
[AttLenght(25)]
public string oritable { get; set; }
Property Value
pagomb
ATM reference payed.
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool pagomb { get; set; }
Property Value
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
Remarks
Non Duplicable Field.
pais
Represents a CountryVO.
[AttLenght(70)]
public string pais { get; set; }
Property Value
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
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
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
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
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
Remarks
Length 70
paymentLink
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string paymentLink { get; set; }
Property Value
paymentLinkAvailable
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.link)]
public string paymentLinkAvailable { get; set; }
Property Value
paymentWS
This field store the web service payment type
[AttLenght(1)]
[AttHidden]
public PaymentWS paymentWS { get; set; }
Property Value
paymentoptions
Fixed value for payment options in account variables
[AttVirtualField]
[AttLenght(1)]
public int paymentoptions { get; }
Property Value
pdata
Date of Document.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime pdata { get; set; }
Property Value
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
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
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
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
Remarks
Length 60.
provinciaCarga
[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
public string provinciaCarga { get; set; }
Property Value
provinciaDescarga
[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
public string provinciaDescarga { get; set; }
Property Value
proxyPayPaymentTypeName
Name of proxypay payment type
[AttLenght(50)]
[AttLocale(typeof(FTAttInfo), new string[] { "[Ft].[proxyPayPaymentType]" })]
public string proxyPayPaymentTypeName { get; set; }
Property Value
qrcode
QRCODE
[AttVirtualField]
public string qrcode { get; }
Property Value
qrcodeDocNotValued
QRCODE
[AttVirtualField]
public string qrcodeDocNotValued { get; }
Property Value
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
reNdocFromDevice
Serie of recipe selected in POS Device - POS USAGE ONLY
[AttVirtualField]
[AttHidden]
public int reNdocFromDevice { get; set; }
Property Value
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
refInt
Internal Reference.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }
Property Value
Remarks
Lenght 50.
refMbs
Collection of EasyPay ATM reference lines.
[AttCollection(typeof(RefmbVO))]
[AttEntityAvailable(typeof(RefmbVO))]
public List<RefmbVO> refMbs { get; set; }
Property Value
Remarks
This field is a collection of type List (Of RefmbVO).
RefmbVOrefMcs
Collection of ProxyPay ATM reference lines.
[AttCollection(typeof(RefmcVO))]
[AttEntityAvailable(typeof(RefmcVO))]
public List<RefmcVO> refMcs { get; set; }
Property Value
Remarks
This field is a collection of type List (Of RefmcVO).
RefmcVOrefmb
EasyPay - ATM reference.
[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(9)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string refmb { get; set; }
Property Value
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
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
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
Remarks
Length 3.
regrecargo
[AttHidden]
public bool regrecargo { get; set; }
Property Value
retention
[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal retention { get; set; }
Property Value
segmento
Market Segment.
[AttLenght(25)]
public string segmento { get; set; }
Property Value
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
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
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
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
Remarks
Length 25.
Foreign Key field to another table.
serieuniqueid
[AttVirtualField]
[AttLenght(5)]
public string serieuniqueid { get; set; }
Property Value
showPaymentLink
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
Remarks
Non Duplicable Field.
showRecargoIva
Indicates whether the document shows the surcharge of VAT.
[AttVirtualField]
[AttHidden]
public bool showRecargoIva { get; set; }
Property Value
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
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
Remarks
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
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
taxLabelField
[AttVirtualField]
public string taxLabelField { get; set; }
Property Value
taxasIVA
Colecção das diversas taxas de I.V.A. presentes no documento.
[AttCollection(typeof(FtTxIvaVO))]
public List<FtTxIvaVO> taxasIVA { get; set; }
Property Value
Remarks
This field is a collection of type List (Of FtTxIvaVO).
FtTxIvaVOtaxcategorycode
Tax category for mapping accounts variables
[AttVirtualField]
[AttLenght(1)]
public int taxcategorycode { get; }
Property Value
taxes
Taxes collection
[AttCollection(typeof(FtTaxesVO))]
public List<FtTaxesVO> taxes { get; set; }
Property Value
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
taxretentionstamp
[AttLenght(25)]
[AttHidden]
[AttVirtualField]
public string taxretentionstamp { get; set; }
Property Value
telefone
Customer contact number.
[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string telefone { get; set; }
Property Value
Remarks
Length 60.
temAutorizacaoPS2ativa
Indicates if this customer has an active Debit authorization.
[AttVirtualField]
[AttHidden]
public bool temAutorizacaoPS2ativa { get; set; }
Property Value
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
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
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
Remarks
Virtual field.
textoCertificacaoParcialDemo
Certificação: Texto Parcial - Base de dados de demonstração
[AttVirtualField]
public string textoCertificacaoParcialDemo { get; set; }
Property Value
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
Remarks
Virtual field.
textoCertificacaoParcialNaoServeFacturaAgregado
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFacturaAgregado { get; set; }
Property Value
textoCertificacaoParcialNomeSoftware
Certification: Partial Text - Software Name.
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string textoCertificacaoParcialNomeSoftware { get; set; }
Property Value
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
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
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
Remarks
Virtual field.
texto_anulado
Cancelled text.
[AttVirtualField]
public string texto_anulado { get; }
Property Value
Remarks
Text to be displayed if the document is canceled.
Virtual field.
tiliqdcm
[AttVirtualField]
[AttLenght(19, 6)]
public decimal tiliqdcm { get; set; }
Property Value
tipo
Type of customer.
[AttLenght(20)]
public string tipo { get; set; }
Property Value
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
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
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
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
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
tnvol
Number of units of the item.
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tnvol { get; }
Property Value
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
totalCommissions
[AttVirtualField]
[AttLenght(19, 6)]
public decimal totalCommissions { get; set; }
Property Value
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
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
totallyIncludedInRe
[AttVirtualField]
[AttHidden]
public bool totallyIncludedInRe { get; set; }
Property Value
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
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
totalmoedaRounded
Rounding field just to help frontend
[AttVirtualField]
[AttHidden]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal totalmoedaRounded { get; set; }
Property Value
tpbrut
Total gross weight.
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpbrut { get; }
Property Value
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
Remarks
Length 55.
Description of Payment Terms.
tpliq
Total net weight.
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpliq { get; }
Property Value
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
Remarks
Length 25.
Foreign Key field to another table.
tresuryId
[AttVirtualField]
public int tresuryId { get; set; }
Property Value
tvol
Total volume.
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tvol { get; }
Property Value
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
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
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
usaRecargoIva
Indicates whether the document uses the surcharge of VAT.
[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { get; set; }
Property Value
Remarks
Virtual field.
Field not available for the user.
uselot
[AttVirtualField]
[AttHidden]
public bool uselot { get; set; }
Property Value
validlot
[AttVirtualField]
[AttHidden]
public bool validlot { get; set; }
Property Value
vatHasTaxes
[AttVirtualField]
[AttHidden]
public bool vatHasTaxes { get; set; }
Property Value
vatoperation
Operações com IVA
[AttVirtualField]
[AttLenght(1)]
public int vatoperation { get; }
Property Value
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
Remarks
Length 4.
vdollocal
Bank Account
[AttLenght(50)]
[AttEntityAvailable(typeof(BlVO))]
public string vdollocal { get; set; }
Property Value
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
Remarks
Length 4.
vendnm
Salesperson Name.
[AttLenght(40)]
public string vendnm { get; set; }
Property Value
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
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
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
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
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
Remarks
Lenght 1.
zona
Area which belongs the customer.
[AttLenght(13)]
public string zona { get; set; }
Property Value
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
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
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
GetTipoSaft()
public override string GetTipoSaft()
Returns
IsOwner(FtVO, string)
public static bool IsOwner(FtVO itemFt, string madein)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
itemFt |
FtVO | |
madein |
string |
Returns
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
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
GetPendingIntegrationsCommands(int)
PHCCmdSql GetPendingIntegrationsCommands(int year = 0)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
HasAccountingIntegration()
Check for permission to integrate document
bool HasAccountingIntegration()
Returns
IsProducedRecord()
bool IsProducedRecord()
Returns
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
ReadyForArchival()
bool ReadyForArchival()
Returns
accounted
Mark document as accounted
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }
Returns
adate
Accounting Date
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }
Returns
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
Remarks
Non Duplicable Field.
codmotiseimp
Code for VAT exemption Reason
[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }
Returns
docarchivalnumber
ID: Journal + Period + DocNumber
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string docarchivalnumber { get; set; }
Returns
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
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
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
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.
easyPayPaymentType
This is field where we store the payment type from easypay and phcpay
[AttLenght(1)]
[AttHidden]
WSPaymentType easyPayPaymentType { get; set; }
Returns
enreg
Unsettled Amount
[AttVirtualField(typeof(FTAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal enreg { get; set; }
Returns
entidademb
Entity to ATM reference.
[AttLenght(5)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
string entidademb { get; set; }
Returns
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
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
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
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
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
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
isArchived
[AttFieldType(AttFieldType.InputTypes.boolean)]
bool isArchived { get; set; }
Returns
isDocNeedsApproval
We use this field to know if the document needs approval
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }
Returns
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
issueAsWaybill
Identifies if document can be issued as waybill
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
bool issueAsWaybill { get; set; }
Returns
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
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
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
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
Remarks
Length 3 .
motiseimp
Reason for VAT exemption
[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }
Returns
nullifyDate
Date of nullify
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
DateTime nullifyDate { get; set; }
Returns
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
paymentID
This is the id stamp in easypay or phcpay, when we create a payment
[AttLenght(100)]
[AttHidden]
string paymentID { get; set; }
Returns
proxyPayIdStamp
This is the id stamp in proxypay when we create a payment
[AttLenght(100)]
[AttHidden]
string proxyPayIdStamp { get; set; }
Returns
proxyPayPaymentType
This is field where we store the payment type from proxypay
[AttLenght(1)]
[AttHidden]
ProxyPayPaymentType proxyPayPaymentType { get; set; }
Returns
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
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
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
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
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
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
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
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
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; }