TopalServerAPI.IPosting Interface Reference

Public Member Functions

void Reset ()
 Reset posting instance properties to its default values More...
 
void CalcAmounts ([In, MarshalAs(UnmanagedType.Currency)]decimal amount, [In]bool isRounding)
 Calculate amount, FC amount, VAT amount and VAT FC amount in accordance to isInclusive flag, vatPercent, vatQuote. If isSwissVATRounding is true, then amount are calculated in accordance to Swiss rounding approach. More...
 

Properties

Guid ID [get, set]
 Posting identity More...
 
Guid TransactionFID [get, set]
 Link to transaction More...
 
Guid InvoiceFID [get, set]
 Link to invoice More...
 
int AccountFID [get, set]
 Link to the account More...
 
int ContraAccountFID [get, set]
 Link to contra account More...
 
int VatFID [get, set]
 Link to VAT More...
 
int VatAccountFID [get, set]
 Link to VAT account More...
 
int CostCenterFID [get, set]
 Link to cost center More...
 
int PostingTypeFID [get, set]
 Posting Type: Compound = 1, Invoice = 2, Payment = 3, WriteOff = 4, Discount = 5, Fee = 6, Difference = 7, SubPosting = 8, More...
 
decimal Amount [get, set]
 Amount More...
 
decimal FcAmount [get, set]
 Foreign currency amount More...
 
decimal ExchangeRate [get, set]
 Exchange rate More...
 
decimal VatAmount [get, set]
 VAT amount More...
 
decimal VatFcAmount [get, set]
 VAT foreign currency amount More...
 
decimal VatPercent [get, set]
 VAT rate More...
 
decimal VatQuote [get, set]
 Vat quote More...
 
string Text [get, set]
 Posting text More...
 
string FreeCode [get, set]
 Free code More...
 
bool IsDebit [get, set]
 Whether amount debited or credited More...
 
bool IsInclusive [get, set]
 Show how VAT amount is displayed in grids and forms More...
 
bool IsInvisible [get, set]
 Whether posting invisible (back posting) More...
 
int PostingIndex [get, set]
 Posting order within transaction More...
 
int PartyNum [get]
 Party number of linked invoice More...
 
string FreePartyNum [get]
 Party free number of linked invoice More...
 
string PartyName [get]
 Party name of linked invoice More...
 
int InvoiceNum [get]
 Invoice number of linked invoice More...
 
string FreeInvoiceNum [get]
 Invoice free number of linked invoice More...
 
DateTime InvoiceDate [get]
 Invoice date of linked invoice More...
 

Member Function Documentation

§ CalcAmounts()

void TopalServerAPI.IPosting.CalcAmounts ( [In, MarshalAs(UnmanagedType.Currency)] decimal  amount,
[In] bool  isRounding 
)

Calculate amount, FC amount, VAT amount and VAT FC amount in accordance to isInclusive flag, vatPercent, vatQuote. If isSwissVATRounding is true, then amount are calculated in accordance to Swiss rounding approach.

Parameters
amountposting amount
isRoundingis VAT swiss rounded

§ Reset()

void TopalServerAPI.IPosting.Reset ( )

Reset posting instance properties to its default values

Property Documentation

§ AccountFID

int TopalServerAPI.IPosting.AccountFID
getset

Link to the account

§ Amount

decimal TopalServerAPI.IPosting.Amount
getset

Amount

§ ContraAccountFID

int TopalServerAPI.IPosting.ContraAccountFID
getset

Link to contra account

§ CostCenterFID

int TopalServerAPI.IPosting.CostCenterFID
getset

Link to cost center

§ ExchangeRate

decimal TopalServerAPI.IPosting.ExchangeRate
getset

Exchange rate

§ FcAmount

decimal TopalServerAPI.IPosting.FcAmount
getset

Foreign currency amount

§ FreeCode

string TopalServerAPI.IPosting.FreeCode
getset

Free code

§ FreeInvoiceNum

string TopalServerAPI.IPosting.FreeInvoiceNum
get

Invoice free number of linked invoice

§ FreePartyNum

string TopalServerAPI.IPosting.FreePartyNum
get

Party free number of linked invoice

§ ID

Guid TopalServerAPI.IPosting.ID
getset

Posting identity

§ InvoiceDate

DateTime TopalServerAPI.IPosting.InvoiceDate
get

Invoice date of linked invoice

§ InvoiceFID

Guid TopalServerAPI.IPosting.InvoiceFID
getset

Link to invoice

§ InvoiceNum

int TopalServerAPI.IPosting.InvoiceNum
get

Invoice number of linked invoice

§ IsDebit

bool TopalServerAPI.IPosting.IsDebit
getset

Whether amount debited or credited

§ IsInclusive

bool TopalServerAPI.IPosting.IsInclusive
getset

Show how VAT amount is displayed in grids and forms

§ IsInvisible

bool TopalServerAPI.IPosting.IsInvisible
getset

Whether posting invisible (back posting)

§ PartyName

string TopalServerAPI.IPosting.PartyName
get

Party name of linked invoice

§ PartyNum

int TopalServerAPI.IPosting.PartyNum
get

Party number of linked invoice

§ PostingIndex

int TopalServerAPI.IPosting.PostingIndex
getset

Posting order within transaction

§ PostingTypeFID

int TopalServerAPI.IPosting.PostingTypeFID
getset

Posting Type: Compound = 1, Invoice = 2, Payment = 3, WriteOff = 4, Discount = 5, Fee = 6, Difference = 7, SubPosting = 8,

§ Text

string TopalServerAPI.IPosting.Text
getset

Posting text

§ TransactionFID

Guid TopalServerAPI.IPosting.TransactionFID
getset

Link to transaction

§ VatAccountFID

int TopalServerAPI.IPosting.VatAccountFID
getset

Link to VAT account

§ VatAmount

decimal TopalServerAPI.IPosting.VatAmount
getset

VAT amount

§ VatFcAmount

decimal TopalServerAPI.IPosting.VatFcAmount
getset

VAT foreign currency amount

§ VatFID

int TopalServerAPI.IPosting.VatFID
getset

Link to VAT

§ VatPercent

decimal TopalServerAPI.IPosting.VatPercent
getset

VAT rate

§ VatQuote

decimal TopalServerAPI.IPosting.VatQuote
getset

Vat quote


The documentation for this interface was generated from the following file: