FiscalNode

data class FiscalNode(val text: String?, val settlementSubjectSign: Int?, val settlementMethodSign: Int?, val name: String?, val price: Double?, val quantity: Int?, val department: Int?, val taxes: Int?, val agent: Int?, val supplier: SupplierData?, val items: List<FiscalNode>?) : Parcelable

Data class representing the fiscal node.

See also

Constructors

Link copied to clipboard
constructor(text: String?, settlementSubjectSign: Int?, settlementMethodSign: Int?, name: String?, price: Double?, quantity: Int?, department: Int?, taxes: Int?, agent: Int?, supplier: SupplierData?, items: List<FiscalNode>?)

Properties

Link copied to clipboard
val agent: Int?

The agent data. The ordinal number of a bit in the binary number system. For example: Other agent = 6 = 1000000 (in binary) = 64 (in decimal), all agent types = 1111111 (in binary) = 127 in decimal, other agent (6) + commission agent (5) = 1100000 = 96 BankPaymentAgent(0), BankPaymentSubAgent(1), PaymentAgent(2), PaymentSubAgent(3), Attorney(4), CommissionAgent(5), Agent(6)

Link copied to clipboard

The department.

Link copied to clipboard

The list of the items

Link copied to clipboard
val name: String?

The name of the item.

Link copied to clipboard

The price of the item.

Link copied to clipboard

The quantity of the item.

Link copied to clipboard

The method sign of the settlement. Product(1), ExciseProduct(2), Work(3), Service(4), GamblingBet(5), WinningGambling(6), LotteryTicket(7), LotteryWinning(8), ProvidingResultOfIA(9), Payment(10), AgentsCommission(11), Pay(12), OtherSubjectOfCalculation(13), PropertyLaw(14), NonOperatingIncome(15), OtherPaymentsAndContributions(16), TradeFee(17), ResortFee(18), Bail(19), Expense(20), ContributionsToCompulsoryPensionInsuranceForIP(21), ContributionsToCompulsoryPensionInsurance(22), ContributionsForCompulsoryHealthInsuranceForIP(23), ContributionsForCompulsoryHealthInsurance(24), ContributionsToCompulsorySocialInsurance(25), CasinoPayment(26)

Link copied to clipboard

The subject sign of the settlement. 1 - Prepayment100, 2 - Prepayment, 3 - PrepaidExpense, 4 - FullPayment, 5 - PartialSettlementAndCredit, 6 - TransferOnCredit, 7 - PaymentOfCredit

Link copied to clipboard

The supplier data

Link copied to clipboard
val taxes: Int?

The taxation system. 1 - 20%, 2 - 10%, 3 -> 20/120, 4 -> 10/110, 5 -> 0, 6 -> without, 7 -> 5%, 8 -> 7%, 9 -> 5/105, 10 -> 7/107, 11 -> 22%, 12 -> 22/122

Link copied to clipboard
val text: String?

The ordinal text.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)