invoicehn 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +59 -0
- data/LICENSE.txt +21 -0
- data/README.md +430 -0
- data/config/locales/en.yml +89 -0
- data/config/locales/es.yml +87 -0
- data/exe/invoicehn +7 -0
- data/lib/invoicehn/authorization.rb +144 -0
- data/lib/invoicehn/cli/builder.rb +88 -0
- data/lib/invoicehn/cli/main.rb +233 -0
- data/lib/invoicehn/cli/reporter.rb +122 -0
- data/lib/invoicehn/cli/wizard.rb +234 -0
- data/lib/invoicehn/cli.rb +16 -0
- data/lib/invoicehn/compliance/validator.rb +222 -0
- data/lib/invoicehn/compliance/violation.rb +42 -0
- data/lib/invoicehn/config.rb +50 -0
- data/lib/invoicehn/correlative.rb +144 -0
- data/lib/invoicehn/customer.rb +188 -0
- data/lib/invoicehn/errors.rb +39 -0
- data/lib/invoicehn/exchange_rate.rb +108 -0
- data/lib/invoicehn/invoice.rb +165 -0
- data/lib/invoicehn/issuance.rb +124 -0
- data/lib/invoicehn/issuer.rb +95 -0
- data/lib/invoicehn/ledger.rb +107 -0
- data/lib/invoicehn/line_item.rb +120 -0
- data/lib/invoicehn/locale.rb +77 -0
- data/lib/invoicehn/money.rb +177 -0
- data/lib/invoicehn/renderers/json.rb +77 -0
- data/lib/invoicehn/renderers/pdf.rb +226 -0
- data/lib/invoicehn/renderers/text.rb +251 -0
- data/lib/invoicehn/rtn.rb +70 -0
- data/lib/invoicehn/sequence.rb +126 -0
- data/lib/invoicehn/spanish_numerals.rb +123 -0
- data/lib/invoicehn/storage/json_store.rb +154 -0
- data/lib/invoicehn/tax_summary.rb +129 -0
- data/lib/invoicehn/tax_treatment.rb +109 -0
- data/lib/invoicehn/version.rb +5 -0
- data/lib/invoicehn.rb +40 -0
- metadata +161 -0
metadata
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: invoicehn
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Jorge Padilla
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-08-28 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bigdecimal
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '3.1'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '3.1'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: prawn
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '2.5'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '2.5'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: prawn-table
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0.2'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0.2'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: thor
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.3'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.3'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: tty-prompt
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0.23'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0.23'
|
|
83
|
+
description: |
|
|
84
|
+
Genera Facturas que cumplen los requisitos de contenido de los Artículos 10 y 11 del
|
|
85
|
+
Reglamento del Régimen de Facturación (Acuerdo 481-2017 y sus reformas), incluyendo el
|
|
86
|
+
correlativo de 16 dígitos, control del CAI, rango autorizado y fecha límite de emisión,
|
|
87
|
+
discriminación del ISV por tarifa, y el redondeo estatutario del Artículo 9 de la Ley
|
|
88
|
+
del Impuesto Sobre Ventas. Incluye biblioteca Ruby y una interfaz de terminal.
|
|
89
|
+
email:
|
|
90
|
+
- jorgep4dill4@gmail.com
|
|
91
|
+
executables:
|
|
92
|
+
- invoicehn
|
|
93
|
+
extensions: []
|
|
94
|
+
extra_rdoc_files: []
|
|
95
|
+
files:
|
|
96
|
+
- CHANGELOG.md
|
|
97
|
+
- LICENSE.txt
|
|
98
|
+
- README.md
|
|
99
|
+
- config/locales/en.yml
|
|
100
|
+
- config/locales/es.yml
|
|
101
|
+
- exe/invoicehn
|
|
102
|
+
- lib/invoicehn.rb
|
|
103
|
+
- lib/invoicehn/authorization.rb
|
|
104
|
+
- lib/invoicehn/cli.rb
|
|
105
|
+
- lib/invoicehn/cli/builder.rb
|
|
106
|
+
- lib/invoicehn/cli/main.rb
|
|
107
|
+
- lib/invoicehn/cli/reporter.rb
|
|
108
|
+
- lib/invoicehn/cli/wizard.rb
|
|
109
|
+
- lib/invoicehn/compliance/validator.rb
|
|
110
|
+
- lib/invoicehn/compliance/violation.rb
|
|
111
|
+
- lib/invoicehn/config.rb
|
|
112
|
+
- lib/invoicehn/correlative.rb
|
|
113
|
+
- lib/invoicehn/customer.rb
|
|
114
|
+
- lib/invoicehn/errors.rb
|
|
115
|
+
- lib/invoicehn/exchange_rate.rb
|
|
116
|
+
- lib/invoicehn/invoice.rb
|
|
117
|
+
- lib/invoicehn/issuance.rb
|
|
118
|
+
- lib/invoicehn/issuer.rb
|
|
119
|
+
- lib/invoicehn/ledger.rb
|
|
120
|
+
- lib/invoicehn/line_item.rb
|
|
121
|
+
- lib/invoicehn/locale.rb
|
|
122
|
+
- lib/invoicehn/money.rb
|
|
123
|
+
- lib/invoicehn/renderers/json.rb
|
|
124
|
+
- lib/invoicehn/renderers/pdf.rb
|
|
125
|
+
- lib/invoicehn/renderers/text.rb
|
|
126
|
+
- lib/invoicehn/rtn.rb
|
|
127
|
+
- lib/invoicehn/sequence.rb
|
|
128
|
+
- lib/invoicehn/spanish_numerals.rb
|
|
129
|
+
- lib/invoicehn/storage/json_store.rb
|
|
130
|
+
- lib/invoicehn/tax_summary.rb
|
|
131
|
+
- lib/invoicehn/tax_treatment.rb
|
|
132
|
+
- lib/invoicehn/version.rb
|
|
133
|
+
homepage: https://github.com/JorgePadilla/invoicehn
|
|
134
|
+
licenses:
|
|
135
|
+
- MIT
|
|
136
|
+
metadata:
|
|
137
|
+
homepage_uri: https://github.com/JorgePadilla/invoicehn
|
|
138
|
+
source_code_uri: https://github.com/JorgePadilla/invoicehn/tree/main
|
|
139
|
+
changelog_uri: https://github.com/JorgePadilla/invoicehn/blob/main/CHANGELOG.md
|
|
140
|
+
bug_tracker_uri: https://github.com/JorgePadilla/invoicehn/issues
|
|
141
|
+
rubygems_mfa_required: 'true'
|
|
142
|
+
post_install_message:
|
|
143
|
+
rdoc_options: []
|
|
144
|
+
require_paths:
|
|
145
|
+
- lib
|
|
146
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
|
+
requirements:
|
|
148
|
+
- - ">="
|
|
149
|
+
- !ruby/object:Gem::Version
|
|
150
|
+
version: 3.1.0
|
|
151
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: '0'
|
|
156
|
+
requirements: []
|
|
157
|
+
rubygems_version: 3.5.22
|
|
158
|
+
signing_key:
|
|
159
|
+
specification_version: 4
|
|
160
|
+
summary: Facturación para Honduras conforme al Régimen de Facturación (Acuerdo 481-2017)
|
|
161
|
+
test_files: []
|