Class: Einvoice::Neweb::Model::Invoice

Inherits:
Base
  • Object
show all
Includes:
Validator::Neweb
Defined in:
lib/einvoice/neweb/model/invoice.rb

Constant Summary collapse

VALID_OPTIONS_KEYS =
[
  :data_number,
  :data_date,
  :seller_id,
  :buyer_name,
  :buyer_id,
  :customs_clearance_mark,
  :invoice_type,
  :donate_mark,
  :carrier_type,
  :carrier_id1,
  :carrier_id2,
  :print_mark,
  :n_p_o_b_a_n,
  :random_number,
  :invoice_item,
  :sales_amount,
  :free_tax_sales_amount,
  :zero_tax_sales_amount,
  :tax_type,
  :tax_rate,
  :tax_amount,
  :total_amount,
  :contact,
  :customer_defined
].freeze

Method Summary

Methods inherited from Base

#attributes, #attributes=