Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.54 KB

File metadata and controls

35 lines (28 loc) · 1.54 KB

XeroRuby::Accounting::Allocation

Properties

Name Type Description Notes
allocation_id String Xero generated unique identifier [optional]
invoice Invoice
overpayment Overpayment [optional]
prepayment Prepayment [optional]
credit_note CreditNote [optional]
amount BigDecimal the amount being applied to the invoice
date Date the date the allocation is applied YYYY-MM-DD.
is_deleted Boolean A flag that returns true when the allocation is succesfully deleted [optional]
status_attribute_string String A string to indicate if a invoice status [optional]
validation_errors Array<ValidationError> Displays array of validation error messages from the API [optional]

Code Sample

require 'XeroRuby::Accounting'

instance = XeroRuby::Accounting::Allocation.new(allocation_id: null,
                                 invoice: null,
                                 overpayment: null,
                                 prepayment: null,
                                 credit_note: null,
                                 amount: null,
                                 date: null,
                                 is_deleted: null,
                                 status_attribute_string: null,
                                 validation_errors: null)