Module: Bravo
- Extended by:
- Bravo
- Included in:
- Bravo
- Defined in:
- lib/bravo.rb,
lib/bravo/bill.rb,
lib/bravo/version.rb,
lib/bravo/auth_data.rb,
lib/bravo/constants.rb,
lib/bravo/authorizer.rb
Defined Under Namespace
Classes: AuthData, Authorizer, Bill, NullOrInvalidAttribute
Constant Summary collapse
- VERSION =
"0.4.0"
- CBTE_TIPO =
{ "01"=>"Factura A", "02"=>"Nota de Débito A", "03"=>"Nota de Crédito A", "04"=>"Recibos A", "05"=>"Notas de Venta al contado A", "06"=>"Factura B", "07"=>"Nota de Debito B", "08"=>"Nota de Credito B", "09"=>"Recibos B", "10"=>"Notas de Venta al contado B", "34"=>"Cbtes. A del Anexo I, Apartado A,inc.f),R.G.Nro. 1415", "35"=>"Cbtes. B del Anexo I,Apartado A,inc. f),R.G. Nro. 1415", "39"=>"Otros comprobantes A que cumplan con R.G.Nro. 1415", "40"=>"Otros comprobantes B que cumplan con R.G.Nro. 1415", "60"=>"Cta de Vta y Liquido prod. A", "61"=>"Cta de Vta y Liquido prod. B", "63"=>"Liquidacion A", "64"=>"Liquidacion B" }
- CONCEPTOS =
{"Productos"=>"01", "Servicios"=>"02", "Productos y Servicios"=>"03"}
- DOCUMENTOS =
{"CUIT"=>"80", "CUIL"=>"86", "CDI"=>"87", "LE"=>"89", "LC"=>"90", "CI Extranjera"=>"91", "en tramite"=>"92", "Acta Nacimiento"=>"93", "CI Bs. As. RNP"=>"95", "DNI"=>"96", "Pasaporte"=>"94", "Doc. (Otro)"=>"99"}
- MONEDAS =
{ :peso => {:codigo => "PES", :nombre =>"Pesos Argentinos"}, :dolar => {:codigo => "DOL", :nombre =>"Dolar Estadounidense"}, :real => {:codigo => "012", :nombre =>"Real"}, :euro => {:codigo => "060", :nombre =>"Euro"}, :oro => {:codigo => "049", :nombre =>"Gramos de Oro Fino"} }
- ALIC_IVA =
[["03", 0], ["04", 0.105], ["05", 0.21], ["06", 0.27]]
- BILL_TYPE =
{:responsable_inscripto => {:responsable_inscripto => "01", :consumidor_final => "06", :exento => "06", :responsable_monotributo => "06"}}
Instance Attribute Summary collapse
-
#auth_url ⇒ Object
Returns the value of attribute auth_url.
-
#cert ⇒ Object
Returns the value of attribute cert.
-
#cuit ⇒ Object
Returns the value of attribute cuit.
-
#default_concepto ⇒ Object
Returns the value of attribute default_concepto.
-
#default_documento ⇒ Object
Returns the value of attribute default_documento.
-
#default_moneda ⇒ Object
Returns the value of attribute default_moneda.
-
#own_iva_cond ⇒ Object
Returns the value of attribute own_iva_cond.
-
#pkey ⇒ Object
Returns the value of attribute pkey.
-
#sale_point ⇒ Object
Returns the value of attribute sale_point.
-
#service_url ⇒ Object
Returns the value of attribute service_url.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
Instance Attribute Details
#auth_url ⇒ Object
Returns the value of attribute auth_url.
19 20 21 |
# File 'lib/bravo.rb', line 19 def auth_url @auth_url end |
#cert ⇒ Object
Returns the value of attribute cert.
19 20 21 |
# File 'lib/bravo.rb', line 19 def cert @cert end |
#cuit ⇒ Object
Returns the value of attribute cuit.
19 20 21 |
# File 'lib/bravo.rb', line 19 def cuit @cuit end |
#default_concepto ⇒ Object
Returns the value of attribute default_concepto.
19 20 21 |
# File 'lib/bravo.rb', line 19 def default_concepto @default_concepto end |
#default_documento ⇒ Object
Returns the value of attribute default_documento.
19 20 21 |
# File 'lib/bravo.rb', line 19 def default_documento @default_documento end |
#default_moneda ⇒ Object
Returns the value of attribute default_moneda.
19 20 21 |
# File 'lib/bravo.rb', line 19 def default_moneda @default_moneda end |
#own_iva_cond ⇒ Object
Returns the value of attribute own_iva_cond.
19 20 21 |
# File 'lib/bravo.rb', line 19 def own_iva_cond @own_iva_cond end |
#pkey ⇒ Object
Returns the value of attribute pkey.
19 20 21 |
# File 'lib/bravo.rb', line 19 def pkey @pkey end |
#sale_point ⇒ Object
Returns the value of attribute sale_point.
19 20 21 |
# File 'lib/bravo.rb', line 19 def sale_point @sale_point end |
#service_url ⇒ Object
Returns the value of attribute service_url.
19 20 21 |
# File 'lib/bravo.rb', line 19 def service_url @service_url end |
#verbose ⇒ Object
Returns the value of attribute verbose.
19 20 21 |
# File 'lib/bravo.rb', line 19 def verbose @verbose end |