Class: Fortnox::Invoice

Inherits:
Resource show all
Defined in:
lib/fortnox/resources/invoice.rb

Instance Attribute Summary collapse

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

#address1Object

Returns the value of attribute address1.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def address2
  @address2
end

#administration_feeObject

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_vatObject

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

#balanceObject

Returns the value of attribute balance.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def balance
  @balance
end

#basis_tax_reductionObject

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

#bookedObject

Returns the value of attribute booked.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def booked
  @booked
end

#cancelledObject

Returns the value of attribute cancelled.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def cancelled
  @cancelled
end

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def city
  @city
end

#commentsObject

Returns the value of attribute comments.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def comments
  @comments
end

#contract_referenceObject

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_percentObject

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_valueObject

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_centerObject

Returns the value of attribute cost_center.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def cost_center
  @cost_center
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def country
  @country
end

#creditObject

Returns the value of attribute credit.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def credit
  @credit
end

#credit_invoice_referenceObject

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

#currencyObject

Returns the value of attribute currency.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def currency
  @currency
end

#currency_rateObject

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_unitObject

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_nameObject

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_numberObject

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_address1Object

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_address2Object

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_cityObject

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_countryObject

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_dateObject

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_nameObject

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_codeObject

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_numberObject

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_dateObject

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_informationObject

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_informationObject

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_reportObject

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_reference1Object

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_reference2Object

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

#freightObject

Returns the value of attribute freight.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def freight
  @freight
end

#freight_vatObject

Returns the value of attribute freight_vat.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def freight_vat
  @freight_vat
end

#grossObject

Returns the value of attribute gross.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def gross
  @gross
end

#house_workObject

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_dateObject

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_endObject

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_startObject

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_referenceObject

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_rowsObject

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_typeObject

Returns the value of attribute invoice_type.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def invoice_type
  @invoice_type
end

#languageObject

Returns the value of attribute language.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def language
  @language
end

#last_remind_dateObject

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

#netObject

Returns the value of attribute net.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def net
  @net
end

#not_completedObject

Returns the value of attribute not_completed.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def not_completed
  @not_completed
end

#ocrObject

Returns the value of attribute ocr.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def ocr
  @ocr
end

#offer_referenceObject

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_referenceObject

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_numberObject

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_referenceObject

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_wayObject

Returns the value of attribute payment_way.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def payment_way
  @payment_way
end

#phone1Object

Returns the value of attribute phone1.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def phone1
  @phone1
end

#phone2Object

Returns the value of attribute phone2.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def phone2
  @phone2
end

#price_listObject

Returns the value of attribute price_list.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def price_list
  @price_list
end

Returns the value of attribute print_template.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def print_template
  @print_template
end

#projectObject

Returns the value of attribute project.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def project
  @project
end

#remarksObject

Returns the value of attribute remarks.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def remarks
  @remarks
end

#remindersObject

Returns the value of attribute reminders.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def reminders
  @reminders
end

#round_offObject

Returns the value of attribute round_off.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def round_off
  @round_off
end

#sentObject

Returns the value of attribute sent.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def sent
  @sent
end

#tax_reductionObject

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_deliveryObject

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_paymentObject

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

#totalObject

Returns the value of attribute total.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def total
  @total
end

#total_to_payObject

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_vatObject

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_includedObject

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_numberObject

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_seriesObject

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_yearObject

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_deliveryObject

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_numberObject

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_referenceObject

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_codeObject

Returns the value of attribute zip_code.



3
4
5
# File 'lib/fortnox/resources/invoice.rb', line 3

def zip_code
  @zip_code
end