Class: Fortnox::Invoice
- Defined in:
- lib/fortnox/resources/invoice.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
-
#administration_fee_vat ⇒ Object
Returns the value of attribute administration_fee_vat.
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#basis_tax_reduction ⇒ Object
Returns the value of attribute basis_tax_reduction.
-
#booked ⇒ Object
Returns the value of attribute booked.
-
#cancelled ⇒ Object
Returns the value of attribute cancelled.
-
#city ⇒ Object
Returns the value of attribute city.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#contract_reference ⇒ Object
Returns the value of attribute contract_reference.
-
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
-
#contribution_value ⇒ Object
Returns the value of attribute contribution_value.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#country ⇒ Object
Returns the value of attribute country.
-
#credit ⇒ Object
Returns the value of attribute credit.
-
#credit_invoice_reference ⇒ Object
Returns the value of attribute credit_invoice_reference.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#currency_rate ⇒ Object
Returns the value of attribute currency_rate.
-
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
-
#customer_name ⇒ Object
Returns the value of attribute customer_name.
-
#customer_number ⇒ Object
Returns the value of attribute customer_number.
-
#delivery_address1 ⇒ Object
Returns the value of attribute delivery_address1.
-
#delivery_address2 ⇒ Object
Returns the value of attribute delivery_address2.
-
#delivery_city ⇒ Object
Returns the value of attribute delivery_city.
-
#delivery_country ⇒ Object
Returns the value of attribute delivery_country.
-
#delivery_date ⇒ Object
Returns the value of attribute delivery_date.
-
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
-
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
-
#document_number ⇒ Object
Returns the value of attribute document_number.
-
#due_date ⇒ Object
Returns the value of attribute due_date.
-
#edi_information ⇒ Object
Returns the value of attribute edi_information.
-
#email_information ⇒ Object
Returns the value of attribute email_information.
-
#eu_quarterly_report ⇒ Object
Returns the value of attribute eu_quarterly_report.
-
#external_invoice_reference1 ⇒ Object
Returns the value of attribute external_invoice_reference1.
-
#external_invoice_reference2 ⇒ Object
Returns the value of attribute external_invoice_reference2.
-
#freight ⇒ Object
Returns the value of attribute freight.
-
#freight_vat ⇒ Object
Returns the value of attribute freight_vat.
-
#gross ⇒ Object
Returns the value of attribute gross.
-
#house_work ⇒ Object
Returns the value of attribute house_work.
-
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
-
#invoice_period_end ⇒ Object
Returns the value of attribute invoice_period_end.
-
#invoice_period_start ⇒ Object
Returns the value of attribute invoice_period_start.
-
#invoice_reference ⇒ Object
Returns the value of attribute invoice_reference.
-
#invoice_rows ⇒ Object
Returns the value of attribute invoice_rows.
-
#invoice_type ⇒ Object
Returns the value of attribute invoice_type.
-
#language ⇒ Object
Returns the value of attribute language.
-
#last_remind_date ⇒ Object
Returns the value of attribute last_remind_date.
-
#net ⇒ Object
Returns the value of attribute net.
-
#not_completed ⇒ Object
Returns the value of attribute not_completed.
-
#ocr ⇒ Object
Returns the value of attribute ocr.
-
#offer_reference ⇒ Object
Returns the value of attribute offer_reference.
-
#order_reference ⇒ Object
Returns the value of attribute order_reference.
-
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
-
#our_reference ⇒ Object
Returns the value of attribute our_reference.
-
#payment_way ⇒ Object
Returns the value of attribute payment_way.
-
#phone1 ⇒ Object
Returns the value of attribute phone1.
-
#phone2 ⇒ Object
Returns the value of attribute phone2.
-
#price_list ⇒ Object
Returns the value of attribute price_list.
-
#print_template ⇒ Object
Returns the value of attribute print_template.
-
#project ⇒ Object
Returns the value of attribute project.
-
#remarks ⇒ Object
Returns the value of attribute remarks.
-
#reminders ⇒ Object
Returns the value of attribute reminders.
-
#round_off ⇒ Object
Returns the value of attribute round_off.
-
#sent ⇒ Object
Returns the value of attribute sent.
-
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
-
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
-
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
-
#total ⇒ Object
Returns the value of attribute total.
-
#total_to_pay ⇒ Object
Returns the value of attribute total_to_pay.
-
#total_vat ⇒ Object
Returns the value of attribute total_vat.
-
#vat_included ⇒ Object
Returns the value of attribute vat_included.
-
#voucher_number ⇒ Object
Returns the value of attribute voucher_number.
-
#voucher_series ⇒ Object
Returns the value of attribute voucher_series.
-
#voucher_year ⇒ Object
Returns the value of attribute voucher_year.
-
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
-
#your_order_number ⇒ Object
Returns the value of attribute your_order_number.
-
#your_reference ⇒ Object
Returns the value of attribute your_reference.
-
#zip_code ⇒ Object
Returns the value of attribute zip_code.
Method Summary
Methods inherited from Resource
build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update
Constructor Details
This class inherits a constructor from Fortnox::Resource
Instance Attribute Details
#address1 ⇒ Object
Returns the value of attribute address1.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def address2 @address2 end |
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def administration_fee @administration_fee end |
#administration_fee_vat ⇒ Object
Returns the value of attribute administration_fee_vat.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def administration_fee_vat @administration_fee_vat end |
#balance ⇒ Object
Returns the value of attribute balance.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def balance @balance end |
#basis_tax_reduction ⇒ Object
Returns the value of attribute basis_tax_reduction.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def basis_tax_reduction @basis_tax_reduction end |
#booked ⇒ Object
Returns the value of attribute booked.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def booked @booked end |
#cancelled ⇒ Object
Returns the value of attribute cancelled.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def cancelled @cancelled end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def city @city end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def comments @comments end |
#contract_reference ⇒ Object
Returns the value of attribute contract_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def contract_reference @contract_reference end |
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def contribution_percent @contribution_percent end |
#contribution_value ⇒ Object
Returns the value of attribute contribution_value.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def contribution_value @contribution_value end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def cost_center @cost_center end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def country @country end |
#credit ⇒ Object
Returns the value of attribute credit.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def credit @credit end |
#credit_invoice_reference ⇒ Object
Returns the value of attribute credit_invoice_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def credit_invoice_reference @credit_invoice_reference end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def currency @currency end |
#currency_rate ⇒ Object
Returns the value of attribute currency_rate.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def currency_rate @currency_rate end |
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def currency_unit @currency_unit end |
#customer_name ⇒ Object
Returns the value of attribute customer_name.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def customer_name @customer_name end |
#customer_number ⇒ Object
Returns the value of attribute customer_number.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def customer_number @customer_number end |
#delivery_address1 ⇒ Object
Returns the value of attribute delivery_address1.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_address1 @delivery_address1 end |
#delivery_address2 ⇒ Object
Returns the value of attribute delivery_address2.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_address2 @delivery_address2 end |
#delivery_city ⇒ Object
Returns the value of attribute delivery_city.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_city @delivery_city end |
#delivery_country ⇒ Object
Returns the value of attribute delivery_country.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_country @delivery_country end |
#delivery_date ⇒ Object
Returns the value of attribute delivery_date.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_date @delivery_date end |
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_name @delivery_name end |
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def delivery_zip_code @delivery_zip_code end |
#document_number ⇒ Object
Returns the value of attribute document_number.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def document_number @document_number end |
#due_date ⇒ Object
Returns the value of attribute due_date.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def due_date @due_date end |
#edi_information ⇒ Object
Returns the value of attribute edi_information.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def edi_information @edi_information end |
#email_information ⇒ Object
Returns the value of attribute email_information.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def email_information @email_information end |
#eu_quarterly_report ⇒ Object
Returns the value of attribute eu_quarterly_report.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def eu_quarterly_report @eu_quarterly_report end |
#external_invoice_reference1 ⇒ Object
Returns the value of attribute external_invoice_reference1.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def external_invoice_reference1 @external_invoice_reference1 end |
#external_invoice_reference2 ⇒ Object
Returns the value of attribute external_invoice_reference2.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def external_invoice_reference2 @external_invoice_reference2 end |
#freight ⇒ Object
Returns the value of attribute freight.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def freight @freight end |
#freight_vat ⇒ Object
Returns the value of attribute freight_vat.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def freight_vat @freight_vat end |
#gross ⇒ Object
Returns the value of attribute gross.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def gross @gross end |
#house_work ⇒ Object
Returns the value of attribute house_work.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def house_work @house_work end |
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_date @invoice_date end |
#invoice_period_end ⇒ Object
Returns the value of attribute invoice_period_end.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_period_end @invoice_period_end end |
#invoice_period_start ⇒ Object
Returns the value of attribute invoice_period_start.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_period_start @invoice_period_start end |
#invoice_reference ⇒ Object
Returns the value of attribute invoice_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_reference @invoice_reference end |
#invoice_rows ⇒ Object
Returns the value of attribute invoice_rows.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_rows @invoice_rows end |
#invoice_type ⇒ Object
Returns the value of attribute invoice_type.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def invoice_type @invoice_type end |
#language ⇒ Object
Returns the value of attribute language.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def language @language end |
#last_remind_date ⇒ Object
Returns the value of attribute last_remind_date.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def last_remind_date @last_remind_date end |
#net ⇒ Object
Returns the value of attribute net.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def net @net end |
#not_completed ⇒ Object
Returns the value of attribute not_completed.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def not_completed @not_completed end |
#ocr ⇒ Object
Returns the value of attribute ocr.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def ocr @ocr end |
#offer_reference ⇒ Object
Returns the value of attribute offer_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def offer_reference @offer_reference end |
#order_reference ⇒ Object
Returns the value of attribute order_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def order_reference @order_reference end |
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def organisation_number @organisation_number end |
#our_reference ⇒ Object
Returns the value of attribute our_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def our_reference @our_reference end |
#payment_way ⇒ Object
Returns the value of attribute payment_way.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def payment_way @payment_way end |
#phone1 ⇒ Object
Returns the value of attribute phone1.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def phone1 @phone1 end |
#phone2 ⇒ Object
Returns the value of attribute phone2.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def phone2 @phone2 end |
#price_list ⇒ Object
Returns the value of attribute price_list.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def price_list @price_list end |
#print_template ⇒ Object
Returns the value of attribute print_template.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def print_template @print_template end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def project @project end |
#remarks ⇒ Object
Returns the value of attribute remarks.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def remarks @remarks end |
#reminders ⇒ Object
Returns the value of attribute reminders.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def reminders @reminders end |
#round_off ⇒ Object
Returns the value of attribute round_off.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def round_off @round_off end |
#sent ⇒ Object
Returns the value of attribute sent.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def sent @sent end |
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def tax_reduction @tax_reduction end |
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def terms_of_delivery @terms_of_delivery end |
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def terms_of_payment @terms_of_payment end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def total @total end |
#total_to_pay ⇒ Object
Returns the value of attribute total_to_pay.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def total_to_pay @total_to_pay end |
#total_vat ⇒ Object
Returns the value of attribute total_vat.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def total_vat @total_vat end |
#vat_included ⇒ Object
Returns the value of attribute vat_included.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def vat_included @vat_included end |
#voucher_number ⇒ Object
Returns the value of attribute voucher_number.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def voucher_number @voucher_number end |
#voucher_series ⇒ Object
Returns the value of attribute voucher_series.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def voucher_series @voucher_series end |
#voucher_year ⇒ Object
Returns the value of attribute voucher_year.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def voucher_year @voucher_year end |
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def way_of_delivery @way_of_delivery end |
#your_order_number ⇒ Object
Returns the value of attribute your_order_number.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def your_order_number @your_order_number end |
#your_reference ⇒ Object
Returns the value of attribute your_reference.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def your_reference @your_reference end |
#zip_code ⇒ Object
Returns the value of attribute zip_code.
3 4 5 |
# File 'lib/fortnox/resources/invoice.rb', line 3 def zip_code @zip_code end |