Afip 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/Afip.rb +0 -63
- data/lib/Afip/ctg.rb +1 -1
- data/lib/Afip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7434fc3cd137eef16f26fff0b767f4fa0a793e13
|
4
|
+
data.tar.gz: 17483af5dd601be801acc5a759257a5b5dfa3250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f771951bbe4293471daa462ebea95ecae069d7edefaa2a1a4cf8c7e01e748773650b344a7923284219884eb40940625b04bac5dc5e5c312292b072748cbbe1f
|
7
|
+
data.tar.gz: ae6b53964ca337a05fde30389384cd820d8b0546221e68a473c5ce4f6f76f3a537f7446edede188769f10c3ad9ac250e707d4c14699f4d424caa082e005a4388
|
data/Gemfile.lock
CHANGED
data/lib/Afip.rb
CHANGED
@@ -54,67 +54,4 @@ module Afip
|
|
54
54
|
def deleteToken
|
55
55
|
AuthData.deleteToken
|
56
56
|
end
|
57
|
-
|
58
|
-
CBTE_TIPO = {
|
59
|
-
"01"=>"Factura A",
|
60
|
-
"02"=>"Nota de Débito A",
|
61
|
-
"03"=>"Nota de Crédito A",
|
62
|
-
"06"=>"Factura B",
|
63
|
-
"07"=>"Nota de Debito B",
|
64
|
-
"08"=>"Nota de Credito B",
|
65
|
-
"11"=>"Factura C",
|
66
|
-
"12"=>"Nota de Debito C",
|
67
|
-
"13"=>"Nota de Credito C"
|
68
|
-
}
|
69
|
-
|
70
|
-
CONCEPTOS = {"Productos"=>"01", "Servicios"=>"02", "Productos y Servicios"=>"03"}
|
71
|
-
|
72
|
-
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"}
|
73
|
-
|
74
|
-
MONEDAS = {
|
75
|
-
:peso => {:codigo => "PES", :nombre =>"Pesos Argentinos"},
|
76
|
-
:dolar => {:codigo => "DOL", :nombre =>"Dolar Estadounidense"},
|
77
|
-
:real => {:codigo => "012", :nombre =>"Real"},
|
78
|
-
:euro => {:codigo => "060", :nombre =>"Euro"},
|
79
|
-
:oro => {:codigo => "049", :nombre =>"Gramos de Oro Fino"}
|
80
|
-
}
|
81
|
-
|
82
|
-
ALIC_IVA = [["03", 0], ["04", 0.105], ["05", 0.21], ["06", 0.27]]
|
83
|
-
|
84
|
-
BILL_TYPE = {
|
85
|
-
:responsable_inscripto => {
|
86
|
-
:responsable_inscripto => "01",
|
87
|
-
:consumidor_final => "06",
|
88
|
-
:exento => "06",
|
89
|
-
:responsable_monotributo => "06",
|
90
|
-
:nota_credito_a => "03",
|
91
|
-
:nota_credito_b => "08",
|
92
|
-
:nota_debito_a => "02",
|
93
|
-
:nota_debito_b => "07"
|
94
|
-
},
|
95
|
-
:responsable_monotributo => {
|
96
|
-
:responsable_inscripto => "11",
|
97
|
-
:consumidor_final => "11",
|
98
|
-
:exento => "11",
|
99
|
-
:responsable_monotributo => "11",
|
100
|
-
:nota_credito_c => "13",
|
101
|
-
:nota_debito_c => "12"
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
URLS =
|
106
|
-
{
|
107
|
-
:test => {
|
108
|
-
:wsaa => 'https://wsaahomo.afip.gov.ar/ws/services/LoginCms',
|
109
|
-
:padron => "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5?WSDL",
|
110
|
-
:wsfe => 'https://wswhomo.afip.gov.ar/wsfev1/service.asmx?WSDL'
|
111
|
-
},
|
112
|
-
:production => {
|
113
|
-
:wsaa => 'https://wsaa.afip.gov.ar/ws/services/LoginCms',
|
114
|
-
:padron => "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5?WSDL",
|
115
|
-
:wsfe => 'https://servicios1.afip.gov.ar/wsfev1/service.asmx'
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
|
120
57
|
end
|
data/lib/Afip/ctg.rb
CHANGED
data/lib/Afip/version.rb
CHANGED