GetSingleDebitorByUuid

3

tests

0

failures

0

ignored

3.851s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount() 1.321s passed
globalAdmin_withoutAssumedRole_canGetArbitraryDebitor() 1.281s passed
normalUser_canNotGetUnrelatedDebitor() 1.249s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "f1bbe636-8098-435b-b2f0-d98539953cd4",
    "debitorRel": {
        "uuid": "b513be14-3f23-49b7-a906-baf9fa0f2c82",
        "anchor": {
            "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "DEBITOR",
        "mark": null,
        "contact": {
            "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
            "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": "e44d23f6-3ad0-4ffe-af86-f334c797b16f",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "c99a5d49-cae8-43e1-aaa4-77e12077c8a7",
            "anchor": {
                "uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "details": null
    },
    "billable": true,
    "vatId": null,
    "vatCountryCode": null,
    "vatBusiness": true,
    "vatReverseCharge": false,
    "refundBankAccount": null,
    "defaultPrefix": "fir"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryDebitor(): 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 15:05:35 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "f1bbe636-8098-435b-b2f0-d98539953cd4",
    "debitorRel": {
        "uuid": "b513be14-3f23-49b7-a906-baf9fa0f2c82",
        "anchor": {
            "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "DEBITOR",
        "mark": null,
        "contact": {
            "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
            "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": "e44d23f6-3ad0-4ffe-af86-f334c797b16f",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "c99a5d49-cae8-43e1-aaa4-77e12077c8a7",
            "anchor": {
                "uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "details": {
            "uuid": "98b3b498-1ab6-4e5c-866a-e0e92f06e51f",
            "registrationOffice": "Hamburg",
            "registrationNumber": "RegNo123456789",
            "birthName": null,
            "birthPlace": null,
            "birthday": null,
            "dateOfDeath": null
        }
    },
    "billable": true,
    "vatId": null,
    "vatCountryCode": null,
    "vatBusiness": true,
    "vatReverseCharge": false,
    "refundBankAccount": {
        "uuid": "b46bf532-2cae-4df6-8aab-c5bff73f9360",
        "holder": "First GmbH",
        "iban": "DE02120300000000202051",
        "bic": "BYLADEM1001"
    },
    "defaultPrefix": "fir"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRole_canGetArbitraryDebitor(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedDebitor(): TOTAL OBJECT COUNT (initial): 210 -> 210

ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedDebitor(): TOTAL OBJECT COUNT (after): 210 -> 210