XeroRuby::Accounting::Overpayment
Name
Type
Description
Notes
type
String
See Overpayment Types
[optional]
contact
Contact
[optional]
date
Date
The date the overpayment is created YYYY-MM-DD
[optional]
status
String
See Overpayment Status Codes
[optional]
line_amount_types
LineAmountTypes
[optional]
line_items
Array<LineItem>
See Overpayment Line Items
[optional]
sub_total
Float
The subtotal of the overpayment excluding taxes
[optional]
total_tax
Float
The total tax on the overpayment
[optional]
total
Float
The total of the overpayment (subtotal + total tax)
[optional]
updated_date_utc
DateTime
UTC timestamp of last update to the overpayment
[optional]
currency_code
CurrencyCode
[optional]
overpayment_id
String
Xero generated unique identifier
[optional]
currency_rate
Float
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used
[optional]
remaining_credit
Float
The remaining credit balance on the overpayment
[optional]
allocations
Array<Allocation>
See Allocations
[optional]
applied_amount
Float
The amount of applied to an invoice
[optional]
payments
Array<Payment>
See Payments
[optional]
has_attachments
Boolean
boolean to indicate if a overpayment has an attachment
[optional] [default to false]
attachments
Array<Attachment>
See Attachments
[optional]
require 'XeroRuby::Accounting'
instance = XeroRuby ::Accounting ::Overpayment . new ( type : null ,
contact : null ,
date : null ,
status : null ,
line_amount_types : null ,
line_items : null ,
sub_total : null ,
total_tax : null ,
total : null ,
updated_date_utc : null ,
currency_code : null ,
overpayment_id : null ,
currency_rate : null ,
remaining_credit : null ,
allocations : null ,
applied_amount : 2.0 ,
payments : null ,
has_attachments : false ,
attachments : null )