Class: Fortnox::Invoice

Inherits:
Document
  • Object
show all
Defined in:
lib/fortnox/resources/invoice.rb

Instance Attribute Summary collapse

Attributes inherited from Document

#address1, #address2, #administration_fee, #city, #comments, #cost_center, #currency, #currency_rate, #currency_unit, #customer_name, #delivery_address1, #delivery_address2, #delivery_city, #delivery_name, #delivery_zip_code, #external_invoice_reference1, #external_invoice_reference2, #freight, #language, #our_reference, #phone1, #phone2, #price_list, #print_template, #project, #remarks, #tax_reduction_type, #terms_of_delivery, #terms_of_payment, #way_of_delivery, #your_order_number, #your_reference, #zip_code

Instance Attribute Details

#credit_invoice_referenceObject (readonly)

CreditInvoiceReference Reference to the credit invoice, if one exists.



27
28
29
# File 'lib/fortnox/resources/invoice.rb', line 27

def credit_invoice_reference
  @credit_invoice_reference
end

#invoice_typeObject (readonly)

InvoiceType The type of invoice.



63
64
65
# File 'lib/fortnox/resources/invoice.rb', line 63

def invoice_type
  @invoice_type
end

#payment_wayObject (readonly)

PaymentWay Payment way of the invoice.



78
79
80
# File 'lib/fortnox/resources/invoice.rb', line 78

def payment_way
  @payment_way
end