Class: SunatInvoice::DebitNoteLine

Inherits:
Item show all
Defined in:
lib/sunat_invoice/debit_note_line.rb

Constant Summary

Constants included from Utils

Utils::COMMON_NAMESPACES, Utils::CREDIT_NOTE_NAMESPACES, Utils::DAILY_SUMMARY_NAMESPACES, Utils::DEBIT_NOTE_NAMESPACES, Utils::INVOICE_NAMESPACES, Utils::SUMMARY_NAMESPACES, Utils::TRADE_NAMESPACES, Utils::VOIDED_NAMESPACES

Instance Attribute Summary

Attributes inherited from Item

#description, #price, #price_code, #price_included_tax, #quantity, #unit_code

Attributes inherited from Line

#taxes

Instance Method Summary collapse

Methods inherited from Item

#bi_value, #initialize, #sale_price, #sale_taxes, #set_price, #xml

Methods inherited from Line

#build_taxes_xml

Methods included from Utils

#amount_xml, #ubl_ext

Methods inherited from Model

#initialize, #to_hash

Constructor Details

This class inherits a constructor from SunatInvoice::Item

Instance Method Details

#line_tag_nameObject



7
8
9
# File 'lib/sunat_invoice/debit_note_line.rb', line 7

def line_tag_name
  'DebitNoteLine'
end

#quantity_tag_nameObject



11
12
13
# File 'lib/sunat_invoice/debit_note_line.rb', line 11

def quantity_tag_name
  'DebitedQuantity'
end