GetSingleDebitorByUuid

3

tests

0

failures

0

ignored

3.836s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount() 1.260s passed
globalAdmin_withoutAssumedRole_canGetArbitraryDebitor() 1.321s passed
normalUser_canNotGetUnrelatedDebitor() 1.255s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedDebitorExceptRefundBankAccount(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "1882e679-de50-4d2d-8b44-bf5040223e7e",
    "debitorRel": {
        "uuid": "583955d1-f344-4084-b8c8-d6064118002c",
        "anchor": {
            "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "DEBITOR",
        "mark": null,
        "contact": {
            "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
            "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": "1dfddd69-2c2b-4255-a9a4-8cf7474ac23a",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "2d383c6f-7f31-4eac-abef-4c12f8235c88",
            "anchor": {
                "uuid": "cdee26c7-a241-4a3c-99cc-1138917c252b",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                "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:39:26 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "1882e679-de50-4d2d-8b44-bf5040223e7e",
    "debitorRel": {
        "uuid": "583955d1-f344-4084-b8c8-d6064118002c",
        "anchor": {
            "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "DEBITOR",
        "mark": null,
        "contact": {
            "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
            "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": "1dfddd69-2c2b-4255-a9a4-8cf7474ac23a",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "2d383c6f-7f31-4eac-abef-4c12f8235c88",
            "anchor": {
                "uuid": "cdee26c7-a241-4a3c-99cc-1138917c252b",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "details": {
            "uuid": "495f234a-f8b2-46c7-a4aa-ea2f5702f0b1",
            "registrationOffice": "Hamburg",
            "registrationNumber": "RegNo123456789",
            "birthName": null,
            "birthPlace": null,
            "birthday": null,
            "dateOfDeath": null
        }
    },
    "billable": true,
    "vatId": null,
    "vatCountryCode": null,
    "vatBusiness": true,
    "vatReverseCharge": false,
    "refundBankAccount": {
        "uuid": "9cd25059-127f-4080-97b8-89d5b5e96785",
        "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