Sunat Invoice
Ruby wrapper to use SUNAT Electronic Invoice API
homologacion https://www.sunat.gob.pe/ol-ti-itcpgem-sqa/billService?wsdl
valid_service
http://www.sunat.gob.pe/ol-ti-itconsvalicpe/ConsValiCpe.htm
:tipoCDP=>"string", :serieCDP=>"string", :numeroCDP=>"string", :tipoDocIdReceptor=>"string", :numeroDocIdReceptor=>"string", :fechaEmision=>"string", :importeTotal=>"double", :nroAutorizacion=>"string"}
http://www.sunat.gob.pe/ol-ti-itconsverixml/ConsVeriXml.htm
:archivo=>"string"}
errors https://www.facturacionperu.ws/?p=138
To write: https://www.xml.com/pub/a/2001/08/08/xmldsig.html https://www.di-mgt.com.au/xmldsig.html
https://github.com/ebeigarts/signer https://github.com/benoist/xmldsig