Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.23 KB

SaleInvoiceAdditionalCharge.md

File metadata and controls

33 lines (26 loc) · 1.23 KB

DearInventoryRuby::SaleInvoiceAdditionalCharge

Properties

Name Type Description Notes
description String Name of Service Product referenced by this Line
quantity Float Product or service quantity. Minimal value is 1.
price Float Price per unit in Customer currency
discount Float Discount. Value between 0 and 100. For free items discount is 100. Default value is 0 [optional]
tax Float Tax
total Float Line Total.For validation [optional]
tax_rule String Line Tax Rule name.
account String Revenue account
comment String Comment [optional]

Code Sample

require 'DearInventoryRuby'

instance = DearInventoryRuby::SaleInvoiceAdditionalCharge.new(description: nil,
                                 quantity: nil,
                                 price: nil,
                                 discount: nil,
                                 tax: nil,
                                 total: nil,
                                 tax_rule: nil,
                                 account: nil,
                                 comment: nil)