Class: SunatInvoice::DebitNote

Inherits:
CreditNote show all
Defined in:
lib/sunat_invoice/debit_note.rb

Constant Summary

Constants inherited from TradeDocument

TradeDocument::INVOICE_TYPES

Constants inherited from XmlDocument

XmlDocument::CUSTOMIZATION, XmlDocument::UBL_VERSION

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 CreditNote

#description, #ref_document_number, #ref_document_type, #response_code

Attributes inherited from TradeDocument

#customer, #discount, #document_number, #document_type, #sale_totals, #taxes_totals, #total

Attributes inherited from XmlDocument

#currency, #date, #lines, #provider, #signature

Method Summary

Methods inherited from CreditNote

#xml

Methods inherited from TradeDocument

#document_name, #initialize, #operation

Methods included from TradeCalculations

#calculate_sale_totals, #calculate_taxes_totals, #calculate_total, #get_total_code, #get_total_igv_code, #prepare_totals

Methods inherited from XmlDocument

#build_ext, #build_lines_xml, #build_number, #build_xml, #formatted_date, #initialize

Methods included from Utils

#amount_xml, #ubl_ext

Methods inherited from Model

#initialize, #to_hash

Constructor Details

This class inherits a constructor from SunatInvoice::TradeDocument