InvoiceLine

Contents

General
CloudAssessSpec
CollegePreferenceService
CsvBuilder
DocumentService
DocumentSpec
EmailSpec
ExportSpec
MailchimpSpec
Mask
Money
Preferences
QualityResultSpec
ReportSpec
SmsSpec
SystemUserService
Database objects
ACLAccessKey
ACLRole
Account
AccountTransaction
Application
Article
ArticleProduct
Assessment
AssessmentClass
AssessmentSubmission
AttachmentData
Attendance
Banking
Certificate
ClassCost
ConcessionType
Contact
ContactRelation
ContactRelationType
CorporatePass
CorporatePassCourseClass
CorporatePassProduct
Country
Course
CourseClass
CourseClassTutor
CourseModule
CustomField
CustomFieldType
DefinedTutorRole
Discount
DiscountConcessionType
DiscountCourseClass
DiscountMembership
DiscountMembershipRelationType
Document
DocumentVersion
EmailTemplate
Enrolment
EntityRelation
ExportTemplate
Field
FieldConfiguration
FieldConfigurationScheme
FieldHeading
FundingSource
FundingUpload
FundingUploadOutcome
Import
Invoice
InvoiceDueDate
InvoiceLine
InvoiceLineDiscount
Language
Membership
MembershipProduct
Message
MessagePerson
Module
Note
Outcome
PayLine
PayRate
PaymentIn
PaymentInLine
PaymentMethod
PaymentOut
PaymentOutLine
Payslip
Preference
PriorLearning
Product
ProductItem
Qualification
Report
ReportOverlay
Room
SavedFind
Script
Session
SessionModule
Site
Student
StudentConcession
Survey
SystemUser
Tag
TagRelation
TagRequirement
Tax
TrainingPackage
Tutor
TutorAttendance
UnavailableRule
Voucher
VoucherPaymentIn
VoucherProduct
WaitingList
Enumerations
AccountTransactionType
AccountType
ApplicationStatus
AttachmentInfoVisibility
AttachmentSpecialType
AttendanceType
AvetmissStudentDisabilityType
AvetmissStudentEnglishProficiency
AvetmissStudentIndigenousStatus
AvetmissStudentLabourStatus
AvetmissStudentPriorEducation
AvetmissStudentSchoolLevel
ClassCostFlowType
ClassCostRepetitionType
ClassFundingSource
ClientIndustryEmploymentType
ClientOccupationIdentifierType
ConfirmationStatus
ContactDuplicateStatus
CourseClassAttendanceType
CourseEnrolmentType
CreditCardType
CreditLevel
CreditProviderType
CreditType
DeliveryMode
DeliverySchedule
DiscountType
EnrolmentStatus
EnrolmentVETFeeHelpStatus
EntityRelationType
ExpiryType
FieldConfigurationType
InvoiceType
KeyCode
KeyCollision
MessageStatus
MessageType
MoneyRounding
NodeSpecialType
OutcomeStatus
PaymentSource
PaymentStatus
PaymentType
PayslipStatus
PostcodeType
ProductStatus
ProductType
QualificationType
RecognitionOfPriorLearningIndicator
StudentCitizenship
StudentStatusForUnitOfStudy
StudyReason
SurveyTypeSource
SurveyVisibility
TriggerType
UsiStatus
VETFeeExemptionType
VoucherPaymentStatus

Includes the behavior implemented in InvoicePayableLineWrapper

 
        public 
        InvoiceLine
     {
}

Instance methods

account

Returns Not null Account

account linked to this invoice line

cosAccount

Returns Nullable Account

COS account linked to this invoice line

courseClass

Returns Not null CourseClass

class linked to this invoice line

createdOn

Returns Date

the date and time this record was created

description

Returns String

invoice line description

discountEachExTax

Returns Not null Money

discount amount excluding tax per single item on this invoice line

discountEachIncTax

Returns Money

discount amount including tax per single item on this invoice line

discountTotalExTax

Returns Money

total discount amount (discount per single item times quantity) excluding tax

discountTotalIncTax

Returns Money

total discounted amount including tax for all items on this invoice line (discount for single item times quantity)

discountedPriceTotalExTax

Returns Money

total price (price per single item times quantity) including discount and excluding tax

discountedPriceTotalIncTax

Returns Money

total price (price per single item times quantity) including discount and including tax

discountedPriceTotalTax

Returns Money

total tax amount calculated by subtracting total discounted price excluding tax from total discounted price including tax

discountedTaxOnPriceEach

Returns Money

discounted tax amount per single item on this invoice line

discounts

Returns Not null List<IDiscount>

list of discounts linked to this invoice line

enrolment

Returns Not null Enrolment

enrolment linked to this invoice line

finalPriceToPayExTax

Returns Money

final price for this invoice line excluding tax

finalPriceToPayIncTax

Returns Money

final price for this invoice line including tax

invoice

Returns Not null Invoice

parent invoice linked to this invoice line

invoiceLineDiscounts

Returns Not null List<InvoiceLineDiscount>

list of discounts linked to this invoice line

invoiceTax

Returns Not null TaxInterface

tax associated with this invoice line

modifiedOn

Returns Date

the date and time this record was modified

prepaidFeesAccount

Returns Not null Account

prepaid fees liability account

prepaidFeesRemaining

Returns Not null Money

remaining amount on prepaid fees liability account which is not yet transferred to income account

priceEachExTax

Returns Not null Money

price per single item without discounts excluding tax

priceEachIncTax

Returns Money

price per single item without discounts including tax

priceTotalExTax

Returns Money

total price (price per single item times quantity) without discount excluding tax

priceTotalIncTax

Returns Money

total price (price per single item times quantity) without discount including tax

productItems

Returns Not null List<ProductItem>

product items linked to this invoice line

quantity

Returns Not null BigDecimal

quantity of items

tax

Returns Not null Tax

tax linked to this invoice line

taxEach

Returns Not null Money

tax amount per single item

taxRate

Returns float

the of tax rate expressing found by dividing the tax amount by the total price

title

Returns Not null String

invoice line title

totalTax

Returns Money

total tax amount (tax amount per single item times quantity)

unit

Returns String

quantity unit of measurement (e.g. kg)

voucherPaymentIn

Returns Not null List<VoucherPaymentIn>

voucher payment records linked to this invoice line

isTaxableAccount()

Is it possible for tax to be applied to this account? For now this is a simplistic test: liability and asset accounts cannot have tax applied.

Returns def

true if tax could be applied