Skip to content

Commit 136a83d

Browse files
authored
Merge pull request #76 from hiit-consulting-fr/feat/api-upgrade
feat(swagger): upgrade the api
2 parents 09e5a79 + 234395c commit 136a83d

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/hiit-consulting-fr/ipaidthat-proxy)
66

77
Java client to access iPaidThat Api
8+
9+
## Documentation
10+
11+
La documentation de l'API est disponible sur le site [iPaidThat](https://ipaidthat.io/inv/api/v3/redoc/)

swagger.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -865,8 +865,8 @@ definitions:
865865
type: integer
866866
readOnly: true
867867
payment_delay:
868-
title: Retard de paiement
869-
description: Définira automatiquement la date d'échéance x jours après la date de la facture. Une valeur de 0 ne fixera pas automatiquement la date d'échéance.
868+
title: Échéance manuelle
869+
description: Calcul de la date d'échéance en nombre de jours après l'émission de la facture. Laissez ce champs à 0 pour privilégier la méthode de calcul automatique définit dans le profil de facturation.
870870
type: integer
871871
maximum: 65535
872872
minimum: 0
@@ -892,9 +892,11 @@ definitions:
892892
type: string
893893
enum:
894894
- invoice
895+
- credit
895896
- quote
896897
- order
897-
- credit
898+
- delivery
899+
- proforma
898900
- other
899901
title:
900902
title: Titre
@@ -933,11 +935,11 @@ definitions:
933935
type: string
934936
maxLength: 30
935937
sender:
936-
title: Paramètres
938+
title: Profil
937939
type: integer
938940
x-nullable: true
939941
customer:
940-
title: Clients
942+
title: Client
941943
type: integer
942944
x-nullable: true
943945
draft:
@@ -954,8 +956,14 @@ definitions:
954956
enum:
955957
- draft
956958
- updating
959+
- validated
957960
- not paid
961+
- partially paid
962+
- past due
958963
- paid
964+
- canceled
965+
- accepted
966+
- rejected
959967
paid:
960968
title: Paid
961969
type: boolean

0 commit comments

Comments
 (0)