Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.38 KB

RepeatingInvoice.md

File metadata and controls

47 lines (40 loc) · 2.38 KB

XeroRuby::Accounting::RepeatingInvoice

Properties

Name Type Description Notes
type String See Invoice Types [optional]
contact Contact [optional]
schedule Schedule [optional]
line_items Array<LineItem> See LineItems [optional]
line_amount_types LineAmountTypes [optional]
reference String ACCREC only – additional reference number [optional]
branding_theme_id String See BrandingThemes [optional]
currency_code CurrencyCode [optional]
status String One of the following - DRAFT or AUTHORISED – See Invoice Status Codes [optional]
sub_total Float Total of invoice excluding taxes [optional]
total_tax Float Total tax on invoice [optional]
total Float Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) [optional]
repeating_invoice_id String Xero generated unique identifier for repeating invoice template [optional]
id String Xero generated unique identifier for repeating invoice template [optional]
has_attachments Boolean boolean to indicate if an invoice has an attachment [optional] [default to false]
attachments Array<Attachment> Displays array of attachments from the API [optional]

Code Sample

require 'XeroRuby::Accounting'

instance = XeroRuby::Accounting::RepeatingInvoice.new(type: null,
                                 contact: null,
                                 schedule: null,
                                 line_items: null,
                                 line_amount_types: null,
                                 reference: null,
                                 branding_theme_id: null,
                                 currency_code: null,
                                 status: null,
                                 sub_total: null,
                                 total_tax: null,
                                 total: null,
                                 repeating_invoice_id: null,
                                 id: null,
                                 has_attachments: false,
                                 attachments: null)