factpulse 2.0.15 → 2.0.17

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: 89a55e4054e4ebf0bed61cc92362c9df2cc29ac778f53042f55caa68a8319f5e
4
+ data.tar.gz: ae5084503de6f649e51b6ebe165cef83174bc87300271c4b03846b63ae7cfe6d
5
5
  SHA512:
6
- metadata.gz: 95f30c17f1bd1c7c11a0531b2ad89ca370777722661e86d23d336cc7403fb3f968464aa0df8f9e60130b784befaaff26d1756c24d13c3d9453c3f3ce50099599
7
- data.tar.gz: f6b594c721a29d2dae65539f49d57ce60ced99a7533f637e014d1b8d9ef700d10a36dcdc307217518a80df81ba9b7ab91f284062ad598d947b9393b673828208
6
+ metadata.gz: e5dded9461e4792afb0ff9b647f7a58b7e99a548f6810c3905614df6e6bcfc679773445d0fa51bb0db6e0f86fe4a3a9101811dc45304483de4ce66b421cf3195
7
+ data.tar.gz: 23abccc40e68b4a9ff60606033a142f021efde90da0c6cb53b234807f749490e51a195532d13788436cb78d035cb89fa2d2f3ebc388442b8da2bd373c5da901a
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.17] - 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.17...HEAD
28
+ [2.0.17]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.17
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.17)
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.17'
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.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator