class SunatInvoice::Voided
Private Instance Methods
document_number()
click to toggle source
# File lib/sunat_invoice/voided.rb, line 17 def document_number formatted = date.strftime('%Y%m%d') # YYYYMMDD "RA-#{formatted}-1" end
namespaces()
click to toggle source
# File lib/sunat_invoice/voided.rb, line 9 def namespaces VOIDED_NAMESPACES.merge(SUMMARY_NAMESPACES) end
root_name()
click to toggle source
# File lib/sunat_invoice/voided.rb, line 13 def root_name 'VoidedDocuments' end