HAALCENTRAAL English translation
BRP API / Personen / Features / dubbele-persoonslijst

Supplying authority where a personal record is found with suspension reason F (Fout) or W (Wissen)

# language: en
Feature: Supplying authority where a personal record is found with suspension reason F (Fout) or W (Wissen)

  Rule: Where the personal record requested has suspension F (Fout) or W (Wissen), no gezag is supplied

  Scenario Outline: There is a personal record with suspension <opschorting reden>
    Given the person 'Gerda' with citizen service number '000000012'
    * is of full age
    And the person 'Aart' with citizen service number '000000024'
    * is of full age
    And 'Gerda' and 'Aart' are married to each other
    And the person 'Hakim' with citizen service number '000000036'
    * is of full age
    And the person 'Bert' with citizen service number '000000048'
    * is a minor
    * is registered in the BRP
    * was born in the Netherlands
    * has 'Hakim' as parent 1
    And the personal record of 'Bert' has been suspended with reason '<opschorting reden>'
    When 'gezag' is requested for 'Bert'
    Then 'Bert' has no holder of authority

    Examples:
      | opschorting reden | omschrijving |
      | F                 | Fout         |
      | W                 | Wissen       |

  Rule: A personal record with suspension F (Fout) or W (Wissen) is ignored where there is also another personal record with the same citizen service number

  Scenario Outline: There is a personal record with suspension <opschorting reden> and another personal record with the same BSN and without suspension of maintenance
    Given the person 'Gerda' with citizen service number '000000012'
    * is of full age
    And the person 'Aart' with citizen service number '000000024'
    * is of full age
    And 'Gerda' and 'Aart' are married to each other
    And the person 'Hakim' with citizen service number '000000036'
    * is of full age
    And the person 'Bert' with citizen service number '000000048'
    * is a minor
    * is registered in the BRP
    * was born in the Netherlands
    * has 'Hakim' as parent 1
    And the personal record of 'Bert' has been suspended with reason '<opschorting reden>'
    And the person 'Ernie' with citizen service number '000000048'
    * is a minor
    * is registered in the BRP
    * was born in the Netherlands
    * has 'Gerda' as parent 1
    * has 'Aart' as parent 2
    When 'gezag' is requested for 'Ernie'
    Then the authority over 'Ernie' is joint parental authority with parent 'Gerda' and parent 'Aart'

    Examples:
      | opschorting reden | omschrijving |
      | F                 | Fout         |
      | W                 | Wissen       |