factpulse 2.0.15 → 2.0.16

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: 3da860c71e15cff4b5aba46ce609a41208b41160587a9db29527af206980d169
4
- data.tar.gz: 1623fb5cb93a19ac8e2920bc709d4a87f1350dd65832b15f616e9208d5463593
3
+ metadata.gz: 555fb6eca0aabc32cb71a32fd83cadddcb18a0576bcfbfb7afd826dd9338e88b
4
+ data.tar.gz: 931739da183dfdb12e009a56b6cb03b2e4d60b8cb3792b7f1583bc501dcc79e1
5
5
  SHA512:
6
- metadata.gz: 95f30c17f1bd1c7c11a0531b2ad89ca370777722661e86d23d336cc7403fb3f968464aa0df8f9e60130b784befaaff26d1756c24d13c3d9453c3f3ce50099599
7
- data.tar.gz: f6b594c721a29d2dae65539f49d57ce60ced99a7533f637e014d1b8d9ef700d10a36dcdc307217518a80df81ba9b7ab91f284062ad598d947b9393b673828208
6
+ metadata.gz: e3da6d72ff2f0d4229990bfd386af85bdda83b94fab7efee72b875ee889b8302552c224a968491e09d65144382e94d446f0247850c93939e3737722458c0df95
7
+ data.tar.gz: 2b739c2b5da697fc9dbe2e9e232affd17004b2299e1c663d8e9b724af1e8eca8b58da74b9dbbf2099fcf93107f95eb11784e2669161ee45ecb5d30c6986d887d
data/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [2.0.15] - 2025-11-26
10
+ ## [2.0.16] - 2025-11-26
11
11
 
12
12
  ### Added
13
13
  - Version initiale du SDK ruby
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
24
24
  - Guide d'authentification JWT
25
25
  - Configuration avancée (timeout, proxy, debug)
26
26
 
27
- [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.15...HEAD
28
- [2.0.15]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.15
27
+ [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.16...HEAD
28
+ [2.0.16]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.16
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factpulse (2.0.15)
4
+ factpulse (2.0.16)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -49,16 +49,21 @@ module FactPulse
49
49
  end
50
50
 
51
51
  def self.ligne_de_poste(numero, denomination, quantite, montant_unitaire_ht, montant_ligne_ht,
52
- taux_tva: '20.00', unite: 'C62', **options)
52
+ taux_tva: '20.00', categorie_tva: 'S', unite: 'C62', **options)
53
53
  result = {
54
54
  'numero' => numero, 'denomination' => denomination,
55
55
  'quantite' => montant(quantite), 'montantUnitaireHt' => montant(montant_unitaire_ht),
56
- 'montantTotalLigneHt' => montant(montant_ligne_ht), 'tauxTva' => montant(taux_tva), 'unite' => unite
56
+ 'montantTotalLigneHt' => montant(montant_ligne_ht), 'tauxTva' => montant(taux_tva),
57
+ 'categorieTva' => categorie_tva, 'unite' => unite
57
58
  }
59
+ result['reference'] = options[:reference] if options[:reference]
58
60
  result['montantTvaLigne'] = montant(options[:montant_tva_ligne]) if options[:montant_tva_ligne]
59
61
  result['montantRemiseHt'] = montant(options[:montant_remise_ht]) if options[:montant_remise_ht]
60
- result['codeRaisonReduction'] = options[:code_raison_remise] if options[:code_raison_remise]
61
- result['motifRemise'] = options[:motif_remise] if options[:motif_remise]
62
+ result['codeRaisonReduction'] = options[:code_raison_reduction] if options[:code_raison_reduction]
63
+ result['raisonReduction'] = options[:raison_reduction] if options[:raison_reduction]
64
+ result['motifExoneration'] = options[:motif_exoneration] if options[:motif_exoneration]
65
+ result['dateDebutPeriode'] = options[:date_debut_periode] if options[:date_debut_periode]
66
+ result['dateFinPeriode'] = options[:date_fin_periode] if options[:date_fin_periode]
62
67
  result['description'] = options[:description] if options[:description]
63
68
  result
64
69
  end
@@ -11,5 +11,5 @@ Generator version: 7.18.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FactPulse
14
- VERSION = '2.0.15'
14
+ VERSION = '2.0.16'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factpulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.15
4
+ version: 2.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator