Forum Discussion
DELOR_Ilyane
Première note
il y a 4 joursUpdate des Conditions de Paiement
Bonjour, J'ai constaté une incohérence entre l'import CSV et l'API v2 concernant les informations bancaires des clients. Via l'import Pennylane, il est possible de renseigner les champs suivants po...
- il y a 2 heures
Bonjour DELOR_Ilyane
Ce n’est pas le même objet : “client” vs “mandat SEPA”
Dans l’API External v2, l’objet Company Customer (endpoint /api/external/v2/company_customers/{id}) expose bien un champ billing_iban, mais pas de champs billing_bic / billing_bank dans le schéma (on retrouve billing_iban dans la doc et les exemples de réponse).
À l’inverse, les champs dans l’import côté interface “Prélèvement : IBAN / BIC / Banque” correspondent typiquement aux informations de mandat de prélèvement SEPA (mandate), qui sont gérées via des endpoints dédiés.Pennylane a des endpoints v2 pour gérer les mandats SEPA :
- GET /api/external/v2/sepa_mandates
- POST /api/external/v2/sepa_mandates (création)
- PUT /api/external/v2/sepa_mandates/:id (mise à jour)
- DELETE /api/external/v2/sepa_mandates/:id
Et un mandat SEPA contient bien bank, bic, iban
Angélique_
Pennylaneur
il y a 2 heuresBonjour DELOR_Ilyane
Ce n’est pas le même objet : “client” vs “mandat SEPA”
Dans l’API External v2, l’objet Company Customer (endpoint /api/external/v2/company_customers/{id}) expose bien un champ billing_iban, mais pas de champs billing_bic / billing_bank dans le schéma (on retrouve billing_iban dans la doc et les exemples de réponse).
À l’inverse, les champs dans l’import côté interface “Prélèvement : IBAN / BIC / Banque” correspondent typiquement aux informations de mandat de prélèvement SEPA (mandate), qui sont gérées via des endpoints dédiés.
Pennylane a des endpoints v2 pour gérer les mandats SEPA :
- GET /api/external/v2/sepa_mandates
- POST /api/external/v2/sepa_mandates (création)
- PUT /api/external/v2/sepa_mandates/:id (mise à jour)
- DELETE /api/external/v2/sepa_mandates/:id
Et un mandat SEPA contient bien bank, bic, iban