GetListOfDebitors

2

tests

0

failures

0

ignored

2.489s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_withoutAssumedRoles_canFindDebitorsByPartnerNumber() 1.223s passed
globalAdmin_withoutAssumedRoles_canViewAllDebitors_ifNoCriteriaGiven() 1.266s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRoles_canViewAllDebitors_ifNoCriteriaGiven(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:35 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "18211847-5e8f-4a77-b499-c402795e4d0d",
        "debitorRel": {
            "uuid": "e2b8d65e-41de-4bc9-a55e-23f5b6a2f03b",
            "anchor": {
                "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
                "caption": "third contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@thirdcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000313",
        "debitorNumberSuffix": "13",
        "partner": {
            "uuid": "6e64c559-27b7-4a1d-8916-bcff87dab2b6",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "59010751-306f-4f33-a5f4-15a79f8f0f32",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "56538b4d-be1e-4e55-abd9-1b6177f46532",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "02f4cb8b-840b-46c4-8d3b-39ae806a5f1e",
            "holder": "Third OHG",
            "iban": "DE02300209000106531065",
            "bic": "CMCIDEDD"
        },
        "defaultPrefix": "thi"
    },
    {
        "uuid": "6d2903e2-5784-4d85-8bf1-a91054f0cc98",
        "debitorRel": {
            "uuid": "9053679f-5d7f-4d07-819d-ed123f259fbe",
            "anchor": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000111",
        "debitorNumberSuffix": "11",
        "partner": {
            "uuid": "5f0f1994-0b5f-4c46-b926-3d46de1dc91b",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "b9ff06a2-1fba-4abd-a968-acdfdca21709",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "71dc83f2-9f4b-4490-962b-7d438c6101b0",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "a4eb4a74-95c7-458a-823e-521bc2f15184",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    {
        "uuid": "59bff6d6-c499-48bc-a668-b08b9d03ee8d",
        "debitorRel": {
            "uuid": "ed6ecc30-86ef-4aef-bfa0-fd81eea6db1a",
            "anchor": {
                "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                "personType": "LEGAL_PERSON",
                "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                "salutation": null,
                "title": null,
                "givenName": "Peter",
                "familyName": "Smith"
            },
            "holder": {
                "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                "personType": "LEGAL_PERSON",
                "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                "salutation": null,
                "title": null,
                "givenName": "Peter",
                "familyName": "Smith"
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "6d2668dc-7bd8-4b92-a431-85b339828c77",
                "caption": "second contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@secondcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000212",
        "debitorNumberSuffix": "12",
        "partner": {
            "uuid": "2cff0205-840a-4490-b845-eb152a41bfce",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "c53dc27f-c0c4-47e5-b0f3-d65bd86bbbc0",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                    "salutation": null,
                    "title": null,
                    "givenName": "Peter",
                    "familyName": "Smith"
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "6d2668dc-7bd8-4b92-a431-85b339828c77",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "d367dba2-6fbf-4eef-ae39-c00afaa5320a",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "64a17ffb-207c-4b6d-92db-64e40ad61203",
            "holder": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
            "iban": "DE02100500000054540402",
            "bic": "BELADEBE"
        },
        "defaultPrefix": "sec"
    }
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRoles_canViewAllDebitors_ifNoCriteriaGiven(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRoles_canFindDebitorsByPartnerNumber(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:36 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "59bff6d6-c499-48bc-a668-b08b9d03ee8d",
        "debitorRel": {
            "uuid": "ed6ecc30-86ef-4aef-bfa0-fd81eea6db1a",
            "anchor": {
                "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                "personType": "LEGAL_PERSON",
                "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                "salutation": null,
                "title": null,
                "givenName": "Peter",
                "familyName": "Smith"
            },
            "holder": {
                "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                "personType": "LEGAL_PERSON",
                "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                "salutation": null,
                "title": null,
                "givenName": "Peter",
                "familyName": "Smith"
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "6d2668dc-7bd8-4b92-a431-85b339828c77",
                "caption": "second contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@secondcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000212",
        "debitorNumberSuffix": "12",
        "partner": {
            "uuid": "2cff0205-840a-4490-b845-eb152a41bfce",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "c53dc27f-c0c4-47e5-b0f3-d65bd86bbbc0",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "b7f2bc02-ff70-4cab-b518-ad9b316a469d",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                    "salutation": null,
                    "title": null,
                    "givenName": "Peter",
                    "familyName": "Smith"
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "6d2668dc-7bd8-4b92-a431-85b339828c77",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "d367dba2-6fbf-4eef-ae39-c00afaa5320a",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "64a17ffb-207c-4b6d-92db-64e40ad61203",
            "holder": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
            "iban": "DE02100500000054540402",
            "bic": "BELADEBE"
        },
        "defaultPrefix": "sec"
    }
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRoles_canFindDebitorsByPartnerNumber(): TOTAL OBJECT COUNT (after): 210 -> 210