Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retreiving the expected date for an invoice #128

Open
kebabbas opened this issue Jan 18, 2018 · 0 comments · May be fixed by #131
Open

Retreiving the expected date for an invoice #128

kebabbas opened this issue Jan 18, 2018 · 0 comments · May be fixed by #131

Comments

@kebabbas
Copy link

kebabbas commented Jan 18, 2018

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

image

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

@nikz nikz linked a pull request Feb 25, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant