-
Notifications
You must be signed in to change notification settings - Fork 89
Description
Hi everyone,
With invoices that are overdue, you can set an "Expected date" manually, as to when you expect them to pay by, as shown in the picture below
However, when using the get_invoices method, it doesn't appear that you can retrieve that data point. With each individual invoice, the available methods are
[:==, :update, :create, :date, :valid?, :date=, :errors, :errors=, :invoice_number, :invoice_type, :due_date, :currency_code, :currency_rate, :url, :reference, :to_xml, :line_items_downloaded?, :line_items, :contact, :payments, :currency_code=, :gateway, :gateway=, :save, :invoice_id, :reference=, :currency_rate=, :invoice_id=, :invoice_number=, :line_items_downloaded, :invoice_status, :branding_theme_id, :line_amount_types, :fully_paid_on, :amount_due, :amount_paid, :amount_credited, :sent_to_contact, :updated_date_utc, :build_contact, :contact=, :accounts_payable?, :accounts_receivable?, :invoice_type=, :due_date=, :updated_date_utc=, :invoice_status=, :branding_theme_id=, :line_amount_types=, :line_items_downloaded=, :amount_due=, :amount_paid=, :amount_credited=, :sent_to_contact=, :url=, :payments=, :fully_paid_on=, :line_items=, :total, :sub_total, :add_line_item, :total_tax, :sub_total=, :total_tax=, :total=, :to_json, :`, :dclone, :to_query, :blank?, :acts_like?, :as_json, :present?, :presence, :to_param, :duplicable?, :deep_dup, :in?, :presence_in, :instance_values, :instance_variable_names, :with_options, :html_safe?, :try, :try!, :instance_of?, :kind_of?, :is_a?, :tap, :public_send, :class_eval, :remove_instance_variable, :singleton_method, :instance_variable_set, :define_singleton_method, :method, :public_method, :extend, :to_enum, :enum_for, :<=>, :===,:=~, :!~, :eql?, :respond_to?, :freeze, :inspect, :object_id, :send, :display, :to_s, :nil?, :hash, :class, :singleton_class, :clone, :dup, :itself, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :frozen?, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variable_get, :instance_variables, :instance_variable_defined?, :!, :!=, :__send__,:equal?, :instance_eval, :instance_exec, :__id__]
i.e., not including the expected date.
Is there another way to get this date, or is this not possible?
Thanks