enotas_api 4.3.2 → 4.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94e234722ac653e169629fcd0332e3b28615bf22b4c75e2378deab99b2ddc6ea
4
- data.tar.gz: 436aa68ac252d2a13f668f463e050afeb70d4511c583e6c9bb4eb02132d3b406
3
+ metadata.gz: 94e6936e9bc2adcb9483b2ba5257280237d0b51a22ddc495c1936cde8d51721a
4
+ data.tar.gz: fcd127e525deef906c44aa7291b988340fc622511a620336bcf3ec8e19e9a2c1
5
5
  SHA512:
6
- metadata.gz: 50a79e35681b366e4f489ac9d5bc3ae09f864b0ff451c0a5c8f6d1e82012f9ca30de40c30bd5985969e2d65a6a548600f2576c21422b47d26913cdff779a588e
7
- data.tar.gz: d366477418e3a6e5c2932cf0a0a146d88125ff21aca8b9997f348fbc2f65c69369b8fe9f8f459092ce857b959d5c40a73bc766fb92121728d30aa261695f6440
6
+ metadata.gz: 80cf477d312cfde49d107fa2dd72f9d3ccf125265fe59d029a5ae55df80ce9c0949030d68ac5257625e8dd36c2f7400a8f5755d84139ed56f0997ee07a3853d6
7
+ data.tar.gz: 19c53a6a93f51179fbe619526146d31ef2875ea1a4fb99719aa6fd18473169383183e7a18250a372b7783510b757417f4dc334051a3b30ba6f674448ad645429
@@ -18,7 +18,7 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
 
20
20
  steps:
21
- - uses: actions/checkout@v3
21
+ - uses: actions/checkout@v4
22
22
  - name: Set up Ruby 3.2
23
23
  uses: ruby/setup-ruby@v1
24
24
  with:
@@ -28,7 +28,3 @@ jobs:
28
28
  run: bundle install
29
29
  - name: Run tests
30
30
  run: bundle exec rake
31
- - name: Publish Coverage
32
- uses: paambaati/codeclimate-action@v5.0.0
33
- env:
34
- CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.3.4
2
+ - Add ibsCbs structure on v2/nfc-e items impostos
3
+ # 4.3.3
4
+ - Add IbsCbs (classificacaoTributaria and codigoIndicadorOperacao) structure on v1/nfs-e
1
5
  # 4.3.2
2
6
  - Add ean and eanTributavel structure on v2/nf-e and v2/nfc-e
3
7
  # 4.3.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enotas_api (4.3.2)
4
+ enotas_api (4.3.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/enotas_api.svg)](https://badge.fury.io/rb/enotas_api)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/41c671eb551e1c6c7cf1/maintainability)](https://codeclimate.com/github/bempapp/enotas_api/maintainability)
3
- [![Test Coverage](https://api.codeclimate.com/v1/badges/41c671eb551e1c6c7cf1/test_coverage)](https://codeclimate.com/github/bempapp/enotas_api/test_coverage)
4
2
 
5
3
  # EnotasApi
6
4
  *enotas_api* é um cliente ruby para a [API](https://docs.enotasgw.com.br/reference) do [e-notas](https://enotas.com.br/).
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative '../../common/entity'
4
+ require_relative 'nfs_servico_ibs_cbs'
4
5
 
5
6
  module EnotasApi
6
7
  module V1
@@ -19,7 +20,8 @@ module EnotasApi
19
20
  valorCsll: :decimal,
20
21
  valorInss: :decimal,
21
22
  valorIr: :decimal,
22
- codigoInternoServicoMunicipal: :string
23
+ codigoInternoServicoMunicipal: :string,
24
+ ibsCbs: NfsServicoIbsCbs
23
25
  end
24
26
  end
25
27
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V1
7
+ class NfsServicoIbsCbs < EnotasApi::Entity
8
+ attributes classificacaoTributaria: :string,
9
+ codigoIndicadorOperacao: :string
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoCbs < EnotasApi::Entity
8
+ attributes aliquota: :decimal,
9
+ percentualDiferimento: :decimal,
10
+ percentualReducaoAliquota: :decimal
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'nfce_imposto_ibs_uf'
5
+ require_relative 'nfce_imposto_ibs_municipio'
6
+
7
+ module EnotasApi
8
+ module V2
9
+ class NfceImpostoIbs < EnotasApi::Entity
10
+ attributes uf: NfceImpostoIbsUf,
11
+ municipio: NfceImpostoIbsMunicipio
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'nfce_imposto_ibs'
5
+ require_relative 'nfce_imposto_cbs'
6
+
7
+ module EnotasApi
8
+ module V2
9
+ class NfceImpostoIbsCbs < EnotasApi::Entity
10
+ attributes situacaoTributaria: :string,
11
+ classificacaoTributaria: :string,
12
+ ibs: NfceImpostoIbs,
13
+ cbs: NfceImpostoCbs
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoIbsMunicipio < EnotasApi::Entity
8
+ attributes aliquota: :decimal
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class NfceImpostoIbsUf < EnotasApi::Entity
8
+ attributes aliquota: :decimal,
9
+ percentualDiferimento: :decimal,
10
+ percentualReducaoAliquota: :decimal
11
+ end
12
+ end
13
+ end
@@ -6,6 +6,7 @@ require_relative 'nfce_imposto_icms'
6
6
  require_relative 'nfce_imposto_pis'
7
7
  require_relative 'nfce_imposto_cofins'
8
8
  require_relative 'nfce_imposto_ipi'
9
+ require_relative 'nfce_imposto_ibs_cbs'
9
10
 
10
11
  module EnotasApi
11
12
  module V2
@@ -14,7 +15,8 @@ module EnotasApi
14
15
  icms: NfceImpostoIcms,
15
16
  pis: NfceImpostoPis,
16
17
  cofins: NfceImpostoCofins,
17
- ipi: NfceImpostoIpi
18
+ ipi: NfceImpostoIpi,
19
+ ibsCbs: NfceImpostoIbsCbs
18
20
  end
19
21
  end
20
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EnotasApi
4
- VERSION = '4.3.2'
4
+ VERSION = '4.3.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Bohrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-26 00:00:00.000000000 Z
11
+ date: 2026-10-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Non oficial, well supported, e-notas ruby api client
14
14
  email:
@@ -69,6 +69,7 @@ files:
69
69
  - lib/enotas_api/v1/entities/nfs_cliente_endereco.rb
70
70
  - lib/enotas_api/v1/entities/nfs_dados_adicionais_email.rb
71
71
  - lib/enotas_api/v1/entities/nfs_servico.rb
72
+ - lib/enotas_api/v1/entities/nfs_servico_ibs_cbs.rb
72
73
  - lib/enotas_api/v1/habilitar_empresa.rb
73
74
  - lib/enotas_api/v1/incluir_atualizar_empresa.rb
74
75
  - lib/enotas_api/v1/listar_empresas.rb
@@ -92,7 +93,12 @@ files:
92
93
  - lib/enotas_api/v2/entities/nfce.rb
93
94
  - lib/enotas_api/v2/entities/nfce_cliente.rb
94
95
  - lib/enotas_api/v2/entities/nfce_cliente_endereco.rb
96
+ - lib/enotas_api/v2/entities/nfce_imposto_cbs.rb
95
97
  - lib/enotas_api/v2/entities/nfce_imposto_cofins.rb
98
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs.rb
99
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_cbs.rb
100
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_municipio.rb
101
+ - lib/enotas_api/v2/entities/nfce_imposto_ibs_uf.rb
96
102
  - lib/enotas_api/v2/entities/nfce_imposto_icms.rb
97
103
  - lib/enotas_api/v2/entities/nfce_imposto_ipi.rb
98
104
  - lib/enotas_api/v2/entities/nfce_imposto_percentual_aproximado_tributos.rb
@@ -151,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
157
  - !ruby/object:Gem::Version
152
158
  version: '0'
153
159
  requirements: []
154
- rubygems_version: 3.4.10
160
+ rubygems_version: 3.3.27
155
161
  signing_key:
156
162
  specification_version: 4
157
163
  summary: E-notas API client