GetSingleDebitorByUuid

3

tests

0

failures

0

ignored

4.081s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount() 1.420s passed
globalAdmin_withoutAssumedRole_canGetArbitraryDebitor() 1.367s passed
normalUser_canNotGetUnrelatedDebitor() 1.294s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "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": 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 16:31:27 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "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"
}
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