connecteur avis-imposition (#43479) #199

Closed
bdauvergne wants to merge 1 commits from wip/43479-connecteur-avis-imposition into main

1 Commits

Author SHA1 Message Date
Benjamin Dauvergne 1de7845982 avis_imposition: mimic avis-imposition API particulier endpoint (#43479)
gitea/passerelle/pipeline/head This commit looks good Details
Return value is the same as API particulier for the avis-imposition
endpoint, except for some data massaging put into alternative keys:
* dates are converted to ISO format and put in keys with @_iso@ suffix,
* family situation is simplified to ASCII and put in key with @_simple@
suffix,
* addresse is returned as oneline joined with newlines as in API
particulier, but also with individual lines separated into 3 keys :
adresse1, adresse2, adresse3.
* fake datas for testing can be configured trough
  AVIS_IMPOSITION_FAKE_DATA.
2023-04-15 09:33:32 +02:00