feat(api particulier): add DGFiP field
This commit is contained in:
parent
08405226b7
commit
2110ef072c
32 changed files with 577 additions and 76 deletions
|
@ -9,7 +9,36 @@ describe APIParticulier::API do
|
|||
|
||||
it "doit retourner une liste de scopes" do
|
||||
VCR.use_cassette("api_particulier/success/introspect") do
|
||||
expect(subject).to match_array(['dgfip_avis_imposition', 'dgfip_adresse', 'cnaf_allocataires', 'cnaf_enfants', 'cnaf_adresse', 'cnaf_quotient_familial', 'mesri_statut_etudiant'])
|
||||
expect(subject).to contain_exactly(
|
||||
'cnaf_adresse',
|
||||
'cnaf_allocataires',
|
||||
'cnaf_enfants',
|
||||
'cnaf_quotient_familial',
|
||||
'dgfip_adresse_fiscale_annee',
|
||||
'dgfip_adresse_fiscale_taxation',
|
||||
'dgfip_annee_impot',
|
||||
'dgfip_annee_revenus',
|
||||
'dgfip_date_etablissement',
|
||||
'dgfip_date_recouvrement',
|
||||
'dgfip_declarant1_date_naissance',
|
||||
'dgfip_declarant1_nom',
|
||||
'dgfip_declarant1_nom_naissance',
|
||||
'dgfip_declarant1_prenoms',
|
||||
'dgfip_declarant2_date_naissance',
|
||||
'dgfip_declarant2_nom',
|
||||
'dgfip_declarant2_nom_naissance',
|
||||
'dgfip_declarant2_prenoms',
|
||||
'dgfip_erreur_correctif',
|
||||
'dgfip_impot_revenu_net_avant_corrections',
|
||||
'dgfip_montant_impot',
|
||||
'dgfip_nombre_parts',
|
||||
'dgfip_nombre_personnes_a_charge',
|
||||
'dgfip_revenu_brut_global',
|
||||
'dgfip_revenu_fiscal_reference',
|
||||
'dgfip_revenu_imposable',
|
||||
'dgfip_situation_familiale',
|
||||
'dgfip_situation_partielle'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue