{"openapi":"3.1.0","info":{"title":"Revisoradgang Data API","summary":"Public data of Danish registers for audit firms and their systems.","description":"One API for the datasets of Revisoradgang. Each request needs a token in the header `Authorization: Bearer <token>` and must come from an address in the IP list of the token. Each error has the format `{\"error\": {\"code\", \"message\", \"request_id\", \"limit\"}}`. The guides are at `/docs`.","version":"1.7.0"},"servers":[{"url":"https://data.revisoradgang.dk","description":"Production"},{"url":"https://data-test.revisoradgang.dk","description":"Test environment, with test data"}],"paths":{"/v1/cvr/companies/search":{"get":{"tags":["cvr"],"summary":"Search companies","description":"Find companies by name or by the first digits of a CVR number.\n\nA name search gives names that start with the text first, then names that contain it,\nthen names that are similar to it. A search counts as 1 key.","operationId":"cvr_search_companies","security":[{"bearerToken":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200,"description":"A name or a part of a name, or the first 2 to 8 digits of a CVR number. 2 to 200 characters.","examples":["example trading"],"title":"Q"},"description":"A name or a part of a name, or the first 2 to 8 digits of a CVR number. 2 to 200 characters."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"The maximum number of results: 1 to 50.","examples":[10],"default":15,"title":"Limit"},"description":"The maximum number of results: 1 to 50."},{"name":"active","in":"query","required":false,"schema":{"type":"boolean","description":"`true` gives only companies with an active status (`NORMAL` or `Aktiv`). `false` gives all companies.","examples":[true],"default":false,"title":"Active"},"description":"`true` gives only companies with an active status (`NORMAL` or `Aktiv`). `false` gives all companies."}],"responses":{"200":{"description":"The companies that fit the search.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`validation_error`","content":{"application/json":{"examples":{"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/cvr/companies/{cvr}":{"get":{"tags":["cvr"],"summary":"Get one company","description":"Get one company by its CVR number. The call counts as 1 key.","operationId":"cvr_get_company","security":[{"bearerToken":[]}],"parameters":[{"name":"cvr","in":"path","required":true,"schema":{"type":"string","description":"The CVR number: 8 digits. The prefix `DK`, spaces and hyphens are accepted.","examples":["12345678"],"title":"Cvr"},"description":"The CVR number: 8 digits. The prefix `DK`, spaces and hyphens are accepted."}],"responses":{"200":{"description":"The company.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`cvr_not_found`","content":{"application/json":{"examples":{"cvr_not_found":{"summary":"The register has no company with this CVR number.","value":{"error":{"code":"cvr_not_found","message":"The register has no company with this CVR number.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`invalid_cvr`, `validation_error`","content":{"application/json":{"examples":{"invalid_cvr":{"summary":"A CVR number has 8 digits.","value":{"error":{"code":"invalid_cvr","message":"A CVR number has 8 digits.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/cvr/companies/lookup":{"post":{"tags":["cvr"],"summary":"Get many companies","description":"Get the companies of 1 to 500 CVR numbers in one call.\n\nThe answer has the companies in the sequence of the request. A number that the register\ndoes not have is in `not_found`; the call does not fail for it. Each different number\ncounts as 1 key.","operationId":"cvr_lookup_companies","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupRequest"}}},"required":true},"responses":{"200":{"description":"The companies, and the numbers that the register does not have.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupResponse"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"422":{"description":"`invalid_cvr`, `too_many_cvrs`, `validation_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_cvr":{"summary":"A CVR number has 8 digits.","value":{"error":{"code":"invalid_cvr","message":"A CVR number has 8 digits.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"too_many_cvrs":{"summary":"One call accepts a maximum of 500 CVR numbers.","value":{"error":{"code":"too_many_cvrs","message":"One call accepts a maximum of 500 CVR numbers.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"500":{"description":"`internal_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}}},"security":[{"bearerToken":[]}]}},"/v1/dmr/vehicles/lookup":{"post":{"tags":["dmr"],"summary":"Look up a vehicle","description":"Look up a vehicle by its registration number or its chassis number.\n\nSend one number in the body. The number is not in the address, so that it does not go\nto the access logs of a network. When the body has both numbers, the look-up uses the\nchassis number. The call counts as 1 key.\n\nThe answer is `200` also when the service does not have the vehicle: read `in_subset`.\nThe route does not give `404`. Read `extract_date`: the data can be one week old.","operationId":"dmr_lookup_vehicle","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleLookupRequest"}}},"required":true},"responses":{"200":{"description":"The vehicles with the number. Also when the subset does not have the number: `in_subset` is then `false`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleLookupResponse"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"422":{"description":"`invalid_chassis_number`, `invalid_registration_number`, `validation_error`, `vehicle_number_required`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_chassis_number":{"summary":"A chassis number has a maximum of 30 characters.","value":{"error":{"code":"invalid_chassis_number","message":"A chassis number has a maximum of 30 characters.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"invalid_registration_number":{"summary":"A registration number has a maximum of 20 characters.","value":{"error":{"code":"invalid_registration_number","message":"A registration number has a maximum of 20 characters.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"vehicle_number_required":{"summary":"The body needs `registration_number` or `chassis_number`.","value":{"error":{"code":"vehicle_number_required","message":"The body needs `registration_number` or `chassis_number`.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"500":{"description":"`internal_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}}},"security":[{"bearerToken":[]}]}},"/v1/tinglysning/lookups":{"post":{"tags":["tinglysning"],"summary":"Look up many companies","description":"Start the look-up of 1 to 500 CVR numbers. The answer is a job, not the data.\n\nThe service reads the source for each CVR number after the request. One CVR number\ntakes 5 seconds or more, and all clients share the same queue: a job with 500 numbers\ntakes hours. Ask for the status with `GET /v1/jobs/{id}` and get each result with\n`GET /v1/jobs/{id}/results/{key}`. Each different number counts as 1 key.","operationId":"tinglysning_create_lookup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TinglysningLookupRequest"}}},"required":true},"responses":{"202":{"description":"The job. Its address is in the header `Location`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"422":{"description":"`invalid_cvr`, `too_many_cvrs`, `unknown_register`, `validation_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_cvr":{"summary":"A CVR number has 8 digits.","value":{"error":{"code":"invalid_cvr","message":"A CVR number has 8 digits.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"too_many_cvrs":{"summary":"One call accepts a maximum of 500 CVR numbers.","value":{"error":{"code":"too_many_cvrs","message":"One call accepts a maximum of 500 CVR numbers.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"unknown_register":{"summary":"A register is not known. The registers are: personbog, bilbog, tingbog.","value":{"error":{"code":"unknown_register","message":"A register is not known. The registers are: personbog, bilbog, tingbog.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"500":{"description":"`internal_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}}},"security":[{"bearerToken":[]}]}},"/v1/tinglysning/companies/{cvr}":{"get":{"tags":["tinglysning"],"summary":"Look up one company","description":"Look up one CVR number, live at the source. The call counts as 1 key.\n\nThe look-up goes before the other keys of your firm. The firms take turns. The service\nwaits for the look-up for a maximum of 45 seconds. Your program must handle two answers:\n\n`200`: the result. `202`: a job, when the look-up is not complete in that time. Then\nask for the status with `GET /v1/jobs/{id}` and get the result with\n`GET /v1/jobs/{id}/results/{key}`. The work is not lost and is not done two times. The\nsame request again gives the same job while the job is not complete.","operationId":"tinglysning_get_company","security":[{"bearerToken":[]}],"parameters":[{"name":"cvr","in":"path","required":true,"schema":{"type":"string","description":"The CVR number: 8 digits. The prefix `DK`, spaces and hyphens are accepted.","examples":["12345678"],"title":"Cvr"},"description":"The CVR number: 8 digits. The prefix `DK`, spaces and hyphens are accepted."},{"name":"registers","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"The registers to read, with a comma between them: `personbog`, `bilbog`, `tingbog`. Default: all of them.","examples":["personbog,tingbog"],"title":"Registers"},"description":"The registers to read, with a comma between them: `personbog`, `bilbog`, `tingbog`. Default: all of them."}],"responses":{"200":{"description":"The result. The look-up completed in the time of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TinglysningResult"}}}},"202":{"description":"The look-up did not complete in the time of the request. The work continues as a job; its address is in the header `Location`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`cvr_not_found`","content":{"application/json":{"examples":{"cvr_not_found":{"summary":"The register has no company with this CVR number.","value":{"error":{"code":"cvr_not_found","message":"The register has no company with this CVR number.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`invalid_cvr`, `unknown_register`, `validation_error`","content":{"application/json":{"examples":{"invalid_cvr":{"summary":"A CVR number has 8 digits.","value":{"error":{"code":"invalid_cvr","message":"A CVR number has 8 digits.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"unknown_register":{"summary":"A register is not known. The registers are: personbog, bilbog, tingbog.","value":{"error":{"code":"unknown_register","message":"A register is not known. The registers are: personbog, bilbog, tingbog.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/tinglysning/vehicles/lookup":{"post":{"tags":["tinglysning"],"summary":"Look up the Bilbog of one vehicle","description":"Look up the Bilbog of one vehicle, live at the source.\n\nSend a registration number or a chassis number in the body. The number is not in the\naddress, so that it does not go to the access logs of a network.\n\nWith `registration_number`, the service reads the vehicle in the dataset `dmr` and\nsearches the Bilbog with its chassis number: your firm needs the datasets\n`tinglysning` and `dmr`, and the call counts as 1 key in each. With `chassis_number`\n(also when the body has both numbers), your firm needs `tinglysning` only, and the call\ncounts as 1 key there.\n\nThe look-up goes before the other keys of your firm. The firms take turns. The service\nwaits for the look-up for a maximum of 45 seconds. Your program must handle two answers:\n\n`200`: the result. `202`: a job, when the look-up is not complete in that time. Then\nask for the status with `GET /v1/jobs/{id}` and get the result at `result_path` of its\nkey (`GET /v1/jobs/{id}/items/{item_id}`). The work is not lost and is not done two\ntimes. The same request again gives the same job while the job is not complete.\n\nRead `status` of the result. `not_performed` means that the service did not search\nthe Bilbog; it does not mean that the vehicle has no charges.","operationId":"tinglysning_lookup_vehicle","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleLookupRequest"}}},"required":true},"responses":{"200":{"description":"The result. The look-up completed in the time of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleBilbogResult"}}}},"202":{"description":"The look-up did not complete in the time of the request. The work continues as a job; its address is in the header `Location`. The result is at `result_path` of the key of the job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"422":{"description":"`invalid_chassis_number`, `invalid_registration_number`, `validation_error`, `vehicle_number_required`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalid_chassis_number":{"summary":"A chassis number for the Bilbog has 6 to 25 letters (A to Z) and digits.","value":{"error":{"code":"invalid_chassis_number","message":"A chassis number for the Bilbog has 6 to 25 letters (A to Z) and digits.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"invalid_registration_number":{"summary":"A registration number has a maximum of 20 characters.","value":{"error":{"code":"invalid_registration_number","message":"A registration number has a maximum of 20 characters.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"vehicle_number_required":{"summary":"The body needs `registration_number` or `chassis_number`.","value":{"error":{"code":"vehicle_number_required","message":"The body needs `registration_number` or `chassis_number`.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"500":{"description":"`internal_error`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}}}}}},"security":[{"bearerToken":[]}]}},"/v1/tinglysning/documents/{uuid}/pdf":{"get":{"tags":["tinglysning"],"summary":"Download the PDF of a document","description":"Download the PDF of one document. The call counts as 1 key.\n\nThe service gets the PDF from the source at the time of the request and stores no PDF.\nThe document id must be in a result of your firm from the last 7 days. Each other id\ngives `404 document_not_available`. One download takes some seconds.\n\nYour firm can have 1 download at a time. A second one gets `429 rate_limited` and counts\nno key.","operationId":"tinglysning_get_document_pdf","security":[{"bearerToken":[]}],"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"The id of the document: `document_id` of a result.","examples":["0a1b2c3d-1111-2222-3333-444455556666"],"title":"Uuid"},"description":"The id of the document: `document_id` of a result."}],"responses":{"200":{"description":"The PDF file.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`document_not_available`, `pdf_not_available`","content":{"application/json":{"examples":{"document_not_available":{"summary":"No result of the client from the last 7 days has a document with this id.","value":{"error":{"code":"document_not_available","message":"No result of the client from the last 7 days has a document with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"pdf_not_available":{"summary":"The source has no PDF of this document, for example for a paper deed.","value":{"error":{"code":"pdf_not_available","message":"The source has no PDF of this document, for example for a paper deed.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`invalid_document_id`, `validation_error`","content":{"application/json":{"examples":{"invalid_document_id":{"summary":"A document id is a UUID.","value":{"error":{"code":"invalid_document_id","message":"A document id is a UUID.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/jobs/{id}":{"get":{"tags":["jobs"],"summary":"Get the status of a job","description":"Get the status of a job and of each of its keys.\n\nAsk again until `status` is `done`. Wait 10 seconds or more between two requests.\nA request to this route uses no keys.","operationId":"jobs_get_job","security":[{"bearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the job, from the answer that created it.","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"],"title":"Id"},"description":"The id of the job, from the answer that created it."}],"responses":{"200":{"description":"The job, with the status of each key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`job_not_found`","content":{"application/json":{"examples":{"job_not_found":{"summary":"The client has no job with this id.","value":{"error":{"code":"job_not_found","message":"The client has no job with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`validation_error`","content":{"application/json":{"examples":{"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/jobs/{id}/results":{"get":{"tags":["jobs"],"summary":"Get all results of a job, in pages","description":"Get the keys of a job with their results. One request gives many results.\n\nWait until `status` of the job is `done`, then ask for the pages one after the other:\nsend `next_cursor` of a page as `cursor` of the next request, until it is `null`. You\ncan ask before that time too; a key that is not complete then has `result: null`.\n\nA request to this route uses no keys and makes no call to the source.","operationId":"jobs_list_results","security":[{"bearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the job, from the answer that created it.","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"],"title":"Id"},"description":"The id of the job, from the answer that created it."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"The maximum number of keys in the page. A page can have fewer keys when its results are large. Read `next_cursor` to know if more pages exist.","examples":[20],"default":20,"title":"Limit"},"description":"The maximum number of keys in the page. A page can have fewer keys when its results are large. Read `next_cursor` to know if more pages exist."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"`next_cursor` of the page before. Without it: the first page.","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"],"title":"Cursor"},"description":"`next_cursor` of the page before. Without it: the first page."}],"responses":{"200":{"description":"The keys of the page with their results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResults"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`job_not_found`","content":{"application/json":{"examples":{"job_not_found":{"summary":"The client has no job with this id.","value":{"error":{"code":"job_not_found","message":"The client has no job with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`invalid_cursor`, `validation_error`","content":{"application/json":{"examples":{"invalid_cursor":{"summary":"The cursor is not a `next_cursor` of this job. Start without a cursor.","value":{"error":{"code":"invalid_cursor","message":"The cursor is not a `next_cursor` of this job. Start without a cursor.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/jobs/{id}/results/{key}":{"get":{"tags":["jobs"],"summary":"Get the result of one key","description":"Get the result of one key of a job. The key must have the status `done`.\n\nA request to this route uses no keys and makes no call to the source.","operationId":"jobs_get_result","security":[{"bearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the job, from the answer that created it.","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"],"title":"Id"},"description":"The id of the job, from the answer that created it."},{"name":"key","in":"path","required":true,"schema":{"type":"string","maxLength":64,"description":"A key of the job, as the status of the job gives it.","examples":["12345678"],"title":"Key"},"description":"A key of the job, as the status of the job gives it."}],"responses":{"200":{"description":"The result of the key, in the format of the dataset of the job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TinglysningResult"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`job_not_found`, `key_not_found`","content":{"application/json":{"examples":{"job_not_found":{"summary":"The client has no job with this id.","value":{"error":{"code":"job_not_found","message":"The client has no job with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"key_not_found":{"summary":"The job has no such key.","value":{"error":{"code":"key_not_found","message":"The job has no such key.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`lookup_failed`, `result_not_ready`","content":{"application/json":{"examples":{"lookup_failed":{"summary":"The look-up of this key failed. The status of the job has the error code of the key.","value":{"error":{"code":"lookup_failed","message":"The look-up of this key failed. The status of the job has the error code of the key.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"result_not_ready":{"summary":"The look-up of this key is not complete. Ask again later.","value":{"error":{"code":"result_not_ready","message":"The look-up of this key is not complete. Ask again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`validation_error`","content":{"application/json":{"examples":{"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/jobs/{id}/items/{item_id}":{"get":{"tags":["jobs"],"summary":"Get the result of one item","description":"Get the result of one item of a job, by the id of the item.\n\nEach key of a job has one item. This address has no key, so it is the address for\nthe result of a look-up by registration number or chassis number: such a number\nis never in an address. It gives the result of each other key too. The item must\nhave the status `done`.\n\nA request to this route uses no keys and makes no call to the source.","operationId":"jobs_get_item_result","security":[{"bearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the job, from the answer that created it.","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"],"title":"Id"},"description":"The id of the job, from the answer that created it."},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the item: `item_id` of a key in the status of the job. `result_path` of the key has the complete address.","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"],"title":"Item Id"},"description":"The id of the item: `item_id` of a key in the status of the job. `result_path` of the key has the complete address."}],"responses":{"200":{"description":"The result of the item, in the format of the look-up that made the job.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TinglysningResult"},{"$ref":"#/components/schemas/VehicleBilbogResult"}],"title":"Response Jobs Get Item Result"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`item_not_found`, `job_not_found`","content":{"application/json":{"examples":{"item_not_found":{"summary":"The job has no item with this id.","value":{"error":{"code":"item_not_found","message":"The job has no item with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"job_not_found":{"summary":"The client has no job with this id.","value":{"error":{"code":"job_not_found","message":"The client has no job with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`lookup_failed`, `result_not_ready`","content":{"application/json":{"examples":{"lookup_failed":{"summary":"The look-up of this key failed. The status of the job has the error code of the key.","value":{"error":{"code":"lookup_failed","message":"The look-up of this key failed. The status of the job has the error code of the key.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"result_not_ready":{"summary":"The look-up of this key is not complete. Ask again later.","value":{"error":{"code":"result_not_ready","message":"The look-up of this key is not complete. Ask again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`validation_error`","content":{"application/json":{"examples":{"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/jobs/{id}/items/{item_id}/partial":{"get":{"tags":["jobs"],"summary":"Get the partial result of a failed item","description":"Get what the service read for an item with the status `failed`.\n\nThe source did not answer for a part of the look-up, for example one register. This\nroute gives the other parts. It names the parts that are missing. Do not use a\nmissing part as \"nothing registered\". A complete result is at `result_path`.\n\nA request to this route uses no keys and makes no call to the source.","operationId":"jobs_get_partial_result","security":[{"bearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the job, from the answer that created it.","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"],"title":"Id"},"description":"The id of the job, from the answer that created it."},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The id of the item. `partial_path` of a key in the status of the job has the complete address.","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"],"title":"Item Id"},"description":"The id of the item. `partial_path` of a key in the status of the job has the complete address."}],"responses":{"200":{"description":"The parts that the service read, and those that are missing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartialTinglysningResult"}}}},"401":{"description":"`invalid_token`","content":{"application/json":{"examples":{"invalid_token":{"summary":"The token is missing, not correct, revoked or expired.","value":{"error":{"code":"invalid_token","message":"The token is missing, not correct, revoked or expired.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"`client_suspended`, `dataset_not_enabled`, `ip_not_allowed`, `origin_not_allowed`","content":{"application/json":{"examples":{"client_suspended":{"summary":"The client is suspended.","value":{"error":{"code":"client_suspended","message":"The client is suspended.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"dataset_not_enabled":{"summary":"The dataset is not enabled for the client.","value":{"error":{"code":"dataset_not_enabled","message":"The dataset is not enabled for the client.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"ip_not_allowed":{"summary":"The IP address of the request is not in the IP list of the token.","value":{"error":{"code":"ip_not_allowed","message":"The IP address of the request is not in the IP list of the token.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"origin_not_allowed":{"summary":"The request did not come through the public address of the service.","value":{"error":{"code":"origin_not_allowed","message":"The request did not come through the public address of the service.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`item_not_found`, `job_not_found`, `no_partial_result`","content":{"application/json":{"examples":{"item_not_found":{"summary":"The job has no item with this id.","value":{"error":{"code":"item_not_found","message":"The job has no item with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"job_not_found":{"summary":"The client has no job with this id.","value":{"error":{"code":"job_not_found","message":"The client has no job with this id.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}},"no_partial_result":{"summary":"The item has no partial result: it is complete, or the service has nothing for it.","value":{"error":{"code":"no_partial_result","message":"The item has no partial result: it is complete, or the service has nothing for it.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`result_not_ready`","content":{"application/json":{"examples":{"result_not_ready":{"summary":"The look-up of this key is not complete. Ask again later.","value":{"error":{"code":"result_not_ready","message":"The look-up of this key is not complete. Ask again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`validation_error`","content":{"application/json":{"examples":{"validation_error":{"summary":"The request is not valid. body.cvrs: Field required","value":{"error":{"code":"validation_error","message":"The request is not valid. body.cvrs: Field required","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"`rate_limited`, `source_rate_limited`","content":{"application/json":{"examples":{"rate_limited":{"summary":"The request limit is reached. Try again after the time in Retry-After.","value":{"error":{"code":"rate_limited","message":"The request limit is reached. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e","limit":"requests_per_minute"}}},"source_rate_limited":{"summary":"The source register is at its call limit. Try again after the time in Retry-After.","value":{"error":{"code":"source_rate_limited","message":"The source register is at its call limit. Try again after the time in Retry-After.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"`internal_error`","content":{"application/json":{"examples":{"internal_error":{"summary":"An internal error occurred.","value":{"error":{"code":"internal_error","message":"An internal error occurred.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"`source_unavailable`","content":{"application/json":{"examples":{"source_unavailable":{"summary":"The source register did not answer.","value":{"error":{"code":"source_unavailable","message":"The source register did not answer.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`record_unavailable`","content":{"application/json":{"examples":{"record_unavailable":{"summary":"The service cannot record the call now, and thus gives no data. Try again later.","value":{"error":{"code":"record_unavailable","message":"The service cannot record the call now, and thus gives no data. Try again later.","request_id":"0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"}}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"Address":{"properties":{"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"The address as one line: street, house number, postal code and city.","examples":["Havnegade 12A, 8000 Aarhus C"]},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street","description":"The street name.","examples":["Havnegade"]},"house_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"House Number","description":"The house number, with a letter when the address has one.","examples":["12A"]},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code","description":"The postal code.","examples":["8000"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"The postal district.","examples":["Aarhus C"]},"municipality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Municipality","description":"The municipality.","examples":["Aarhus"]}},"type":"object","required":["full","street","house_number","postal_code","city","municipality"],"title":"Address","description":"The address of a company. A part that the register does not have is `null`."},"Bilbog":{"properties":{"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) at which the service got this register from the source.","examples":["2026-11-30T09:15:05.480000Z"]},"vehicles":{"items":{"$ref":"#/components/schemas/BilbogVehicle"},"type":"array","title":"Vehicles","description":"All vehicles that the Bilbog has for the company. Empty when it has none."},"charges":{"items":{"$ref":"#/components/schemas/BilbogCharge"},"type":"array","title":"Charges","description":"The charges on the vehicles."},"charges_complete":{"type":"boolean","title":"Charges Complete","description":"`false` when the service did not read the charges of each vehicle: the company has more than 20 vehicles (the service reads the charges of the first 20), or the source did not answer for a vehicle. `charges_not_read` has the vehicles.","default":true,"examples":[true]},"charges_not_read":{"items":{"$ref":"#/components/schemas/BilbogVehicle"},"type":"array","title":"Charges Not Read","description":"The vehicles of `vehicles` whose charges the service did not read. A vehicle in this list can have charges that are not in `charges`. Empty when `charges_complete` is `true`."}},"type":"object","required":["fetched_at","vehicles","charges","charges_complete","charges_not_read"],"title":"Bilbog","description":"The Bilbog of a company: its vehicles with registered rights, and their charges.","examples":[{"charges":[{"amount":"250000","chassis_number":"ZZZTEST0000012345","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000003","document_id":"0a1b2c3d-1111-2222-3333-444455556668","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ00001","type":"ejerpantebrev"}],"charges_complete":true,"charges_not_read":[],"fetched_at":"2026-11-30T09:15:05.480000Z","vehicles":[{"chassis_number":"ZZZTEST0000012345","registration_number":"QQ00001"}]}]},"BilbogCharge":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the charge (`hæftelsestype`), as the source gives it.","examples":["realkreditpantebrev"]},"pantebrev_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pantebrev Form","description":"The statutory form of the `pantebrev` (`pantebrevsformular`).","examples":["Virksomhedspant"]},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority","description":"The priority number of the charge.","examples":["1"]},"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount","description":"The principal amount, as the source gives it. Text, not a number.","examples":["2500000"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"The currency code of the amount.","examples":["DKK"]},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["2024-05-14T10:21:07.000+02:00"]},"last_endorsed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Endorsed At","description":"The time of the last endorsement (`senest påtegnet`), as the source gives it.","examples":["2025-01-08T11:00:00.000+01:00"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["20240514-1000000001"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-444455556666"]},"creditors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Creditors","description":"The creditors of the charge."},"debtors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Debtors","description":"The debtors of the charge."},"loan_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Loan Type","description":"The loan type code of the source (`lånetype`).","examples":["Kontantlaan"]},"interest_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Rate","description":"The nominal interest rate in percent, as the source gives it.","examples":["1.5"]},"document_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Date","description":"The date of the document, as the source gives it.","examples":["2024-05-13"]},"virksomhedspant_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Virksomhedspant Type","description":"The type of a `virksomhedspant` (a floating company charge).","examples":["virksomhedspant"]},"chassis_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chassis Number","description":"The chassis number of the vehicle.","examples":["ZZZTEST0000012345"]},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"The registration number of the vehicle, when the source has it.","examples":["QQ00001"]}},"type":"object","required":["type","pantebrev_form","priority","amount","currency","registered_at","last_endorsed_at","document_alias","document_id","creditors","debtors","loan_type","interest_rate","document_date","virksomhedspant_type","chassis_number","registration_number"],"title":"BilbogCharge","description":"A charge of the Bilbog, with the vehicle that it is registered on.","examples":[{"amount":"250000","chassis_number":"ZZZTEST0000012345","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000003","document_id":"0a1b2c3d-1111-2222-3333-444455556668","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ00001","type":"ejerpantebrev"}]},"BilbogVehicle":{"properties":{"chassis_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chassis Number","description":"The chassis number.","examples":["ZZZTEST0000012345"]},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"The registration number, when the source has it.","examples":["QQ00001"]}},"type":"object","required":["chassis_number","registration_number"],"title":"BilbogVehicle","description":"A vehicle that the Bilbog has for the company.","examples":[{"chassis_number":"ZZZTEST0000012345","registration_number":"QQ00001"}]},"Company":{"properties":{"cvr":{"type":"string","title":"Cvr","description":"The CVR number: 8 digits.","examples":["12345678"]},"name":{"type":"string","title":"Name","description":"The registered name.","default":"","examples":["Example Trading ApS"]},"secondary_names":{"items":{"type":"string"},"type":"array","title":"Secondary Names","description":"The secondary names (`binavne`) of the company. Empty when it has none.","examples":[["Example Import","Example Nordic"]]},"address":{"$ref":"#/components/schemas/Address","description":"The address of the company."},"industry_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry Code","description":"The code of the main industry (`branchekode`, DB07 or DB25).","examples":["467300"]},"industry_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry Text","description":"The text of the main industry, in Danish.","examples":["Engroshandel med træ, trælast og byggematerialer"]},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose","description":"The purpose of the company as it is registered, in Danish.","examples":["Selskabets formål er at drive handel og dermed beslægtet virksomhed."]},"company_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Form","description":"The legal form (`virksomhedsform`), as the register gives it.","examples":["ApS"]},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"The status, as the register gives it. `NORMAL` and `Aktiv` are the values of an active company.","examples":["NORMAL"]},"founded_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Founded Date","description":"The date of foundation.","examples":["2012-03-01"]},"ceased_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ceased Date","description":"The date when the company ceased. `null` for a company that exists.","examples":[null]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"The registered e-mail address.","examples":["info@example.com"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"The registered telephone number.","examples":["70123456"]},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"The registered website.","examples":["www.example.com"]},"advertising_protection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Advertising Protection","description":"`true` when the company has advertising protection (`reklamebeskyttelse`): you must not use its data to send advertisements to it.","examples":[true]},"employees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Employees","description":"The latest registered number of employees.","examples":[34]},"full_time_equivalents":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Full Time Equivalents","description":"The latest registered number of full-time equivalents (`årsværk`).","examples":[31.5]},"capital":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capital","description":"The registered capital, in the currency of `capital_currency`.","examples":[125000.0]},"capital_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capital Currency","description":"The currency of `capital` (ISO 4217).","examples":["DKK"]},"audit_waived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Audit Waived","description":"`true` when the company has opted out of audit (`revision fravalgt`).","examples":[false]},"size_class":{"type":"string","enum":["micro","small","medium","large","unknown"],"title":"Size Class","description":"The size class. From the number of employees: fewer than 10 is `micro`, fewer than 50 is `small`, fewer than 250 is `medium`, more is `large`. When the number is not known, from `accounting_class`. `unknown` when neither is known.","default":"unknown","examples":["small"]},"in_group":{"type":"boolean","title":"In Group","description":"`true` when the company has a parent company, has a subsidiary, or its latest annual report has consolidated accounts.","default":false,"examples":[true]},"parent_company_cvr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Company Cvr","description":"The CVR number of the company with the largest active ownership share. `null` when no company is an owner. An owner that is a person is never given.","examples":["87654321"]},"parent_company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Company Name","description":"The name of the company of `parent_company_cvr`.","examples":["Example Holding ApS"]},"subsidiary_count":{"type":"integer","title":"Subsidiary Count","description":"The number of companies in which this company has an active ownership share.","default":0,"examples":[0]},"consolidated_accounts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consolidated Accounts","description":"`true` when the latest annual report has consolidated accounts. `null` when the register has no annual report.","examples":[false]},"accounting_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accounting Class","description":"The accounting class (`regnskabsklasse`) of the latest annual report, as the report gives it.","examples":["Klasse B"]},"coverage":{"type":"string","enum":["full","basic"],"title":"Coverage","description":"`full`: the complete record. `basic`: the register has only the name, the status, the legal form and a part of the address; the other fields are `null`.","default":"basic","examples":["full"]}},"type":"object","required":["cvr","name","secondary_names","address","industry_code","industry_text","purpose","company_form","status","founded_date","ceased_date","email","phone","website","advertising_protection","employees","full_time_equivalents","capital","capital_currency","audit_waived","size_class","in_group","parent_company_cvr","parent_company_name","subsidiary_count","consolidated_accounts","accounting_class","coverage"],"title":"Company","description":"One company of the CVR register.","examples":[{"accounting_class":"Klasse B","address":{"city":"Aarhus C","full":"Havnegade 12A, 8000 Aarhus C","house_number":"12A","municipality":"Aarhus","postal_code":"8000","street":"Havnegade"},"advertising_protection":true,"audit_waived":false,"capital":125000.0,"capital_currency":"DKK","company_form":"ApS","consolidated_accounts":false,"coverage":"full","cvr":"12345678","email":"info@example.com","employees":34,"founded_date":"2012-03-01","full_time_equivalents":31.5,"in_group":true,"industry_code":"467300","industry_text":"Engroshandel med træ, trælast og byggematerialer","name":"Example Trading ApS","parent_company_cvr":"87654321","parent_company_name":"Example Holding ApS","phone":"70123456","purpose":"Selskabets formål er at drive handel og dermed beslægtet virksomhed.","secondary_names":["Example Import","Example Nordic"],"size_class":"small","status":"NORMAL","subsidiary_count":0,"website":"www.example.com"}]},"CompanySummary":{"properties":{"cvr":{"type":"string","title":"Cvr","description":"The CVR number: 8 digits.","examples":["12345678"]},"name":{"type":"string","title":"Name","description":"The registered name.","default":"","examples":["Example Trading ApS"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"The postal district.","examples":["Aarhus C"]},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"The status, as the register gives it.","examples":["NORMAL"]},"company_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Form","description":"The legal form (`virksomhedsform`), as the register gives it.","examples":["ApS"]}},"type":"object","required":["cvr","name","city","status","company_form"],"title":"CompanySummary","description":"One result of a search.","examples":[{"city":"Aarhus C","company_form":"ApS","cvr":"12345678","name":"Example Trading ApS","status":"NORMAL"}]},"ErrorBody":{"properties":{"code":{"type":"string","title":"Code","description":"A stable code. Use it in your program. A code does not change in `/v1`.","examples":["invalid_token"]},"message":{"type":"string","title":"Message","description":"One or two sentences for a developer. The text can change; do not parse it.","examples":["The token is missing, not correct, revoked or expired."]},"request_id":{"type":"string","title":"Request Id","description":"The id of the request. It is also in the response header `X-Request-Id`.","examples":["0f6d1c0a4b5e4c7f9a3e2d1c0b9a8f7e"]},"limit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limit","description":"For `429 rate_limited`: the limit that your firm reached, `requests_per_minute`, `keys_per_day` or `parallel_downloads`. `null` for each other error.","examples":["requests_per_minute"]}},"type":"object","required":["code","message","request_id","limit"],"title":"ErrorBody","description":"The content of an error."},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody","description":"The error."}},"type":"object","required":["error"],"title":"ErrorResponse","description":"The one format of each error response."},"Job":{"properties":{"id":{"type":"string","title":"Id","description":"The id of the job (UUID).","examples":["8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f"]},"dataset":{"type":"string","title":"Dataset","description":"The dataset of the job.","examples":["tinglysning"]},"status":{"type":"string","enum":["queued","running","done"],"title":"Status","description":"`queued`: no key started. `running`: one or more keys are not complete. `done`: each key is `done` or `failed`.","examples":["running"]},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"The time (UTC) at which the job was created.","examples":["2026-11-30T09:15:00Z"]},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"The time (UTC) after which the service deletes the job and its results. Get the results before this time.","examples":["2026-12-07T09:15:00Z"]},"counts":{"$ref":"#/components/schemas/JobCounts","description":"How many keys of the job have each status."},"keys":{"items":{"$ref":"#/components/schemas/JobKey"},"type":"array","title":"Keys","description":"Each key of the job with its status, in the sequence of the request."}},"type":"object","required":["id","dataset","status","created_at","expires_at","counts","keys"],"title":"Job","description":"A job: the look-up of one or more keys in one dataset.","examples":[{"counts":{"done":1,"failed":0,"queued":1,"running":1,"total":3},"created_at":"2026-11-30T09:15:00Z","dataset":"tinglysning","expires_at":"2026-12-07T09:15:00Z","id":"8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f","keys":[{"finished_at":"2026-11-30T09:15:32Z","item_id":"3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","key":"12345678","missing":[],"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","status":"done"},{"item_id":"4a3b2c1d-0e9f-4a8b-9c7d-6e5f4a3b2c1d","key":"87654321","missing":[],"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/4a3b2c1d-0e9f-4a8b-9c7d-6e5f4a3b2c1d","status":"running"},{"item_id":"5b4c3d2e-1f0a-4b9c-8d7e-7f6a5b4c3d2e","key":"11223344","missing":[],"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/5b4c3d2e-1f0a-4b9c-8d7e-7f6a5b4c3d2e","status":"queued"}],"status":"running"}]},"JobCounts":{"properties":{"total":{"type":"integer","title":"Total","description":"All keys of the job.","examples":[3]},"queued":{"type":"integer","title":"Queued","description":"Keys that wait.","examples":[1]},"running":{"type":"integer","title":"Running","description":"Keys in work.","examples":[1]},"done":{"type":"integer","title":"Done","description":"Keys with a result.","examples":[1]},"failed":{"type":"integer","title":"Failed","description":"Keys that failed.","examples":[0]}},"type":"object","required":["total","queued","running","done","failed"],"title":"JobCounts","description":"The number of keys in each status.","examples":[{"done":1,"failed":0,"queued":1,"running":1,"total":3}]},"JobKey":{"properties":{"key":{"type":"string","title":"Key","description":"The key, for example a CVR number as 8 digits. For a look-up by registration number or chassis number the key is the word `vehicle`: a vehicle number is never in the status of a job.","examples":["12345678"]},"item_id":{"type":"string","title":"Item Id","description":"The id of the item of this key (UUID).","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"]},"result_path":{"type":"string","title":"Result Path","description":"The address of the result of this key: `GET /v1/jobs/{id}/items/{item_id}`. The address has no key.","examples":["/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"]},"status":{"type":"string","enum":["queued","running","done","failed"],"title":"Status","description":"`queued`: the key waits. `running`: the service reads the source. `done`: the result is ready. `failed`: the look-up failed; `error` has the cause.","examples":["done"]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"The error code of a `failed` key, for example `source_unavailable`, `cvr_not_found` or `internal_error`. `null` for each other status.","examples":["source_unavailable"]},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"The time (UTC) at which the key got the status `done` or `failed`.","examples":["2026-11-30T09:15:32Z"]},"missing":{"items":{"type":"string"},"type":"array","title":"Missing","description":"For a `failed` key with a partial result: the parts of the look-up that are not complete, for example the register `bilbog`. The other parts are in the partial result. Empty for each other key.","examples":[["bilbog"]]},"partial_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partial Path","description":"The address of the partial result of a `failed` key: `GET /v1/jobs/{id}/items/{item_id}/partial`. `null` when the key has none.","examples":["/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c/partial"]}},"type":"object","required":["key","item_id","result_path","status","error","finished_at","missing","partial_path"],"title":"JobKey","description":"The status of one key of a job.","examples":[{"finished_at":"2026-11-30T09:15:32Z","item_id":"3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","key":"12345678","missing":[],"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","status":"done"}]},"JobResult":{"properties":{"key":{"type":"string","title":"Key","description":"The key, for example a CVR number as 8 digits. For a look-up by registration number or chassis number the key is the word `vehicle`: a vehicle number is never in the status of a job.","examples":["12345678"]},"item_id":{"type":"string","title":"Item Id","description":"The id of the item of this key (UUID).","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"]},"result_path":{"type":"string","title":"Result Path","description":"The address of the result of this key: `GET /v1/jobs/{id}/items/{item_id}`. The address has no key.","examples":["/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"]},"status":{"type":"string","enum":["queued","running","done","failed"],"title":"Status","description":"`queued`: the key waits. `running`: the service reads the source. `done`: the result is ready. `failed`: the look-up failed; `error` has the cause.","examples":["done"]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"The error code of a `failed` key, for example `source_unavailable`, `cvr_not_found` or `internal_error`. `null` for each other status.","examples":["source_unavailable"]},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"The time (UTC) at which the key got the status `done` or `failed`.","examples":["2026-11-30T09:15:32Z"]},"missing":{"items":{"type":"string"},"type":"array","title":"Missing","description":"For a `failed` key with a partial result: the parts of the look-up that are not complete, for example the register `bilbog`. The other parts are in the partial result. Empty for each other key.","examples":[["bilbog"]]},"partial_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partial Path","description":"The address of the partial result of a `failed` key: `GET /v1/jobs/{id}/items/{item_id}/partial`. `null` when the key has none.","examples":["/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c/partial"]},"result":{"anyOf":[{"$ref":"#/components/schemas/TinglysningResult"},{"$ref":"#/components/schemas/VehicleBilbogResult"},{"type":"null"}],"title":"Result","description":"The result of the key, in the format of the look-up that made the job. `null` when `status` is not `done`."},"partial":{"anyOf":[{"$ref":"#/components/schemas/PartialTinglysningResult"},{"type":"null"}],"description":"The partial result of a `failed` key. `null` when the key has none."}},"type":"object","required":["key","item_id","result_path","status","error","finished_at","missing","partial_path","result","partial"],"title":"JobResult","description":"One key of a job with its status and its result.","examples":[{"finished_at":"2026-11-30T09:15:32Z","item_id":"3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","key":"12345678","missing":[],"result":{"bilbog":{"charges":[{"amount":"250000","chassis_number":"ZZZTEST0000012345","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000003","document_id":"0a1b2c3d-1111-2222-3333-444455556668","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ00001","type":"ejerpantebrev"}],"charges_complete":true,"charges_not_read":[],"fetched_at":"2026-11-30T09:15:05.480000Z","vehicles":[{"chassis_number":"ZZZTEST0000012345","registration_number":"QQ00001"}]},"cvr":"12345678","document_count":5,"fetched_at":"2026-11-30T09:15:02.120000Z","personbog":{"charges":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}],"company":{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"},"fetched_at":"2026-11-30T09:15:02.120000Z","person_documents":[]},"registers":["personbog","bilbog","tingbog"],"tingbog":{"charges_complete":true,"fetched_at":"2026-11-30T09:15:31.900000Z","properties":[{"bfe":"1234567","address":"Havnegade 12A, 8000 Aarhus C","matrikel":"12a, Aarhus Bygrunde","fetched_at":"2026-11-30T09:15:31.900000Z","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}],"charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"charges_complete":true}],"search_truncated":false}},"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","status":"done"}]},"JobResults":{"properties":{"results":{"items":{"$ref":"#/components/schemas/JobResult"},"type":"array","title":"Results","description":"The keys of this page, in the sequence of the request that made the job. A key that is not `done` is in the list too, with `result: null`."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"The `cursor` of the next page. `null` on the last page. Do not read a meaning in the text.","examples":["3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c"]}},"type":"object","required":["results","next_cursor"],"title":"JobResults","description":"Some keys of a job with their results.","examples":[{"results":[{"finished_at":"2026-11-30T09:15:32Z","item_id":"3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","key":"12345678","missing":[],"result":{"bilbog":{"charges":[{"amount":"250000","chassis_number":"ZZZTEST0000012345","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000003","document_id":"0a1b2c3d-1111-2222-3333-444455556668","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ00001","type":"ejerpantebrev"}],"charges_complete":true,"charges_not_read":[],"fetched_at":"2026-11-30T09:15:05.480000Z","vehicles":[{"chassis_number":"ZZZTEST0000012345","registration_number":"QQ00001"}]},"cvr":"12345678","document_count":5,"fetched_at":"2026-11-30T09:15:02.120000Z","personbog":{"charges":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}],"company":{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"},"fetched_at":"2026-11-30T09:15:02.120000Z","person_documents":[]},"registers":["personbog","bilbog","tingbog"],"tingbog":{"charges_complete":true,"fetched_at":"2026-11-30T09:15:31.900000Z","properties":[{"bfe":"1234567","address":"Havnegade 12A, 8000 Aarhus C","matrikel":"12a, Aarhus Bygrunde","fetched_at":"2026-11-30T09:15:31.900000Z","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}],"charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"charges_complete":true}],"search_truncated":false}},"result_path":"/v1/jobs/8d1f0c5e-6a3b-4c2d-9e1f-0a1b2c3d4e5f/items/3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c","status":"done"}]}]},"LookupRequest":{"properties":{"cvrs":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Cvrs","description":"1 to 500 CVR numbers. Each number has 8 digits; the prefix `DK`, spaces and hyphens are accepted. A number that is there two times counts one time.","examples":[["12345678","DK 87654321","11223344"]]}},"type":"object","required":["cvrs"],"title":"LookupRequest","description":"The CVR numbers of a look-up.","examples":[{"cvrs":["12345678","DK 87654321","11223344"]}]},"LookupResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/Company"},"type":"array","title":"Companies","description":"The companies that the register has, in the sequence of the request."},"not_found":{"items":{"type":"string"},"type":"array","title":"Not Found","description":"The CVR numbers that the register does not have.","examples":[["11223344"]]}},"type":"object","required":["companies","not_found"],"title":"LookupResponse","description":"The companies of a look-up.","examples":[{"companies":[{"accounting_class":"Klasse B","address":{"city":"Aarhus C","full":"Havnegade 12A, 8000 Aarhus C","house_number":"12A","municipality":"Aarhus","postal_code":"8000","street":"Havnegade"},"advertising_protection":true,"audit_waived":false,"capital":125000.0,"capital_currency":"DKK","company_form":"ApS","consolidated_accounts":false,"coverage":"full","cvr":"12345678","email":"info@example.com","employees":34,"founded_date":"2012-03-01","full_time_equivalents":31.5,"in_group":true,"industry_code":"467300","industry_text":"Engroshandel med træ, trælast og byggematerialer","name":"Example Trading ApS","parent_company_cvr":"87654321","parent_company_name":"Example Holding ApS","phone":"70123456","purpose":"Selskabets formål er at drive handel og dermed beslægtet virksomhed.","secondary_names":["Example Import","Example Nordic"],"size_class":"small","status":"NORMAL","subsidiary_count":0,"website":"www.example.com"},{"accounting_class":"Klasse B","address":{"city":"Aarhus C","full":"Havnegade 12A, 8000 Aarhus C","house_number":"12A","municipality":"Aarhus","postal_code":"8000","street":"Havnegade"},"advertising_protection":false,"audit_waived":false,"capital":40000.0,"capital_currency":"DKK","company_form":"ApS","consolidated_accounts":false,"coverage":"full","cvr":"87654321","email":"info@example.com","employees":0,"founded_date":"2012-03-01","full_time_equivalents":0.0,"in_group":true,"industry_code":"642120","industry_text":"Ikke-finansielle holdingselskaber","name":"Example Holding ApS","phone":"70123456","secondary_names":[],"size_class":"micro","status":"NORMAL","subsidiary_count":1,"website":"www.example.com"}],"not_found":["11223344"]}]},"PartialTinglysningResult":{"properties":{"missing_registers":{"items":{"type":"string"},"type":"array","title":"Missing Registers","description":"The registers of the look-up that are not complete. A register that is not in `result` was not read. The Tingbog can be in this list and in `result`: `missing_properties` then has the properties that were not read.","examples":[["bilbog"]]},"missing_properties":{"items":{"type":"string"},"type":"array","title":"Missing Properties","description":"The BFE numbers of the properties that were not read. Each of them is in `result.tingbog.properties` with `charges_complete: false`.","examples":[[]]},"result":{"$ref":"#/components/schemas/TinglysningResult","description":"The registers that the service read. `result.registers` lists them. A register that is `null` here was not read or not asked for: it does not say that the company has nothing there."}},"type":"object","required":["missing_registers","missing_properties","result"],"title":"PartialTinglysningResult","description":"What the service has for a CVR number whose look-up failed.","examples":[{"missing_properties":[],"missing_registers":["bilbog"],"result":{"cvr":"12345678","document_count":4,"fetched_at":"2026-11-30T09:15:02.120000Z","personbog":{"charges":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}],"company":{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"},"fetched_at":"2026-11-30T09:15:02.120000Z","person_documents":[]},"registers":["personbog","tingbog"],"tingbog":{"charges_complete":true,"fetched_at":"2026-11-30T09:15:31.900000Z","properties":[{"bfe":"1234567","address":"Havnegade 12A, 8000 Aarhus C","matrikel":"12a, Aarhus Bygrunde","fetched_at":"2026-11-30T09:15:31.900000Z","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}],"charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"charges_complete":true}],"search_truncated":false}}}]},"Party":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the party.","examples":["Example Bank A/S"]},"cvr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvr","description":"The CVR number of the party. `null` for a person, and when it is not given.","examples":["87654321"]},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share","description":"The share of an owner as a fraction. `null` for each other party.","examples":["1/2"]},"type":{"type":"string","enum":["person","company","unknown"],"title":"Type","description":"`person` or `company`. When the source does not say it, the value is an estimate from the form of the name.","default":"unknown","examples":["company"]}},"type":"object","required":["name","cvr","share","type"],"title":"Party","description":"A party of a document: a creditor, a debtor, an owner or a party of a person document.","examples":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}]},"PersonDocument":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the document, as the source gives it.","examples":["aegtepagt"]},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["2022-11-23T12:36:32.677+01:00"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["20221123-1000000002"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-444455556667"]},"parties":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Parties","description":"The parties of the document. Only the name and the CVR number."}},"type":"object","required":["type","registered_at","document_alias","document_id","parties"],"title":"PersonDocument","description":"A person document of the Personbog, for example a marriage contract (`ægtepagt`).","examples":[{"document_alias":"20221123-1000000002","document_id":"0a1b2c3d-1111-2222-3333-444455556667","parties":[{"name":"Test Person","type":"person"}],"registered_at":"2022-11-23T12:36:32.677+01:00","type":"aegtepagt"}]},"Personbog":{"properties":{"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) at which the service got this register from the source.","examples":["2026-11-30T09:15:02.120000Z"]},"company":{"anyOf":[{"$ref":"#/components/schemas/PersonbogCompany"},{"type":"null"}],"description":"The company as the Personbog has it. `null` when nothing is registered."},"charges":{"items":{"$ref":"#/components/schemas/PersonbogCharge"},"type":"array","title":"Charges","description":"The charges. Empty when the Personbog has none for the company."},"person_documents":{"items":{"$ref":"#/components/schemas/PersonDocument"},"type":"array","title":"Person Documents","description":"The person documents. Empty when the Personbog has none."}},"type":"object","required":["fetched_at","company","charges","person_documents"],"title":"Personbog","description":"The Personbog of a company: charges on movable property, and person documents.","examples":[{"charges":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}],"company":{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"},"fetched_at":"2026-11-30T09:15:02.120000Z","person_documents":[]}]},"PersonbogCharge":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the charge (`hæftelsestype`), as the source gives it.","examples":["realkreditpantebrev"]},"pantebrev_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pantebrev Form","description":"The statutory form of the `pantebrev` (`pantebrevsformular`).","examples":["Virksomhedspant"]},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority","description":"The priority number of the charge.","examples":["1"]},"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount","description":"The principal amount, as the source gives it. Text, not a number.","examples":["2500000"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"The currency code of the amount.","examples":["DKK"]},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["2024-05-14T10:21:07.000+02:00"]},"last_endorsed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Endorsed At","description":"The time of the last endorsement (`senest påtegnet`), as the source gives it.","examples":["2025-01-08T11:00:00.000+01:00"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["20240514-1000000001"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-444455556666"]},"creditors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Creditors","description":"The creditors of the charge."},"debtors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Debtors","description":"The debtors of the charge."},"loan_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Loan Type","description":"The loan type code of the source (`lånetype`).","examples":["Kontantlaan"]},"interest_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Rate","description":"The nominal interest rate in percent, as the source gives it.","examples":["1.5"]},"document_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Date","description":"The date of the document, as the source gives it.","examples":["2024-05-13"]},"virksomhedspant_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Virksomhedspant Type","description":"The type of a `virksomhedspant` (a floating company charge).","examples":["virksomhedspant"]}},"type":"object","required":["type","pantebrev_form","priority","amount","currency","registered_at","last_endorsed_at","document_alias","document_id","creditors","debtors","loan_type","interest_rate","document_date","virksomhedspant_type"],"title":"PersonbogCharge","description":"A charge of the Personbog, for example a `virksomhedspant`.","examples":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}]},"PersonbogCompany":{"properties":{"cvr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvr","description":"The CVR number.","examples":["12345678"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The name.","examples":["Example Trading ApS"]},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"The address as one line.","examples":["Havnegade 12A, 8000 Aarhus C"]}},"type":"object","required":["cvr","name","address"],"title":"PersonbogCompany","description":"The company as the Personbog has it (`stamoplysninger`).","examples":[{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"}]},"SearchResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/CompanySummary"},"type":"array","title":"Companies","description":"The results, best first. Empty when no company fits."}},"type":"object","required":["companies"],"title":"SearchResponse","description":"The results of a search.","examples":[{"companies":[{"city":"Aarhus C","company_form":"ApS","cvr":"12345678","name":"Example Trading ApS","status":"NORMAL"},{"city":"Aarhus C","company_form":"ApS","cvr":"87654321","name":"Example Holding ApS","status":"NORMAL"}]}]},"Tingbog":{"properties":{"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) at which the service got the list of properties from the source.","examples":["2026-11-30T09:15:31.900000Z"]},"properties":{"items":{"$ref":"#/components/schemas/TingbogProperty"},"type":"array","title":"Properties","description":"The properties. Empty when the company has no registered title."},"search_truncated":{"type":"boolean","title":"Search Truncated","description":"`true` when the company has more than 100 title rows at the source. `properties` can then lack properties.","default":false,"examples":[false]},"charges_complete":{"type":"boolean","title":"Charges Complete","description":"`false` when `charges_complete` of a property in `properties` is `false`, or when `search_truncated` is `true`. Do not then tell a user that the company has no other charge in the Tingbog.","examples":[true]}},"type":"object","required":["fetched_at","properties","search_truncated","charges_complete"],"title":"Tingbog","description":"The Tingbog of a company: the properties where the company has a registered title.","examples":[{"charges_complete":true,"fetched_at":"2026-11-30T09:15:31.900000Z","properties":[{"bfe":"1234567","address":"Havnegade 12A, 8000 Aarhus C","matrikel":"12a, Aarhus Bygrunde","fetched_at":"2026-11-30T09:15:31.900000Z","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}],"charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"charges_complete":true}],"search_truncated":false}]},"TingbogCharge":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the charge (`hæftelsestype`), as the source gives it.","examples":["realkreditpantebrev"]},"pantebrev_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pantebrev Form","description":"The statutory form of the `pantebrev` (`pantebrevsformular`).","examples":["Virksomhedspant"]},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority","description":"The priority number of the charge.","examples":["1"]},"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount","description":"The principal amount, as the source gives it. Text, not a number.","examples":["2500000"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"The currency code of the amount.","examples":["DKK"]},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["2024-05-14T10:21:07.000+02:00"]},"last_endorsed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Endorsed At","description":"The time of the last endorsement (`senest påtegnet`), as the source gives it.","examples":["2025-01-08T11:00:00.000+01:00"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["20240514-1000000001"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-444455556666"]},"creditors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Creditors","description":"The creditors of the charge."},"debtors":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Debtors","description":"The debtors of the charge."},"loan_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Loan Type","description":"The loan type code of the source (`lånetype`).","examples":["Kontantlaan"]},"interest_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Rate","description":"The nominal interest rate in percent, as the source gives it.","examples":["1.5"]}},"type":"object","required":["type","pantebrev_form","priority","amount","currency","registered_at","last_endorsed_at","document_alias","document_id","creditors","debtors","loan_type","interest_rate"],"title":"TingbogCharge","description":"A charge of a property, for example a mortgage.","examples":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}]},"TingbogEasement":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the easement, as the source gives it.","examples":["servitut"]},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"The text of the easement in the summary of the source, in Danish.","examples":["Dok om forsyningsledninger mv"]},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["1987-03-11"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["19870311-900001-01"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-44445555666b"]}},"type":"object","required":["type","text","registered_at","document_alias","document_id"],"title":"TingbogEasement","description":"An easement (`servitut`) on a property.","examples":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}]},"TingbogProperty":{"properties":{"bfe":{"type":"string","title":"Bfe","description":"The BFE number of the property (`Bestemt Fast Ejendom`).","examples":["1234567"]},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"The address of the property as one line.","examples":["Havnegade 12A, 8000 Aarhus C"]},"matrikel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matrikel","description":"The `matrikel` number and the `ejerlav` (the cadastral designation).","examples":["12a, Aarhus Bygrunde"]},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) at which the service got this property from the source.","examples":["2026-11-30T09:15:31.900000Z"]},"titles":{"items":{"$ref":"#/components/schemas/TingbogTitle"},"type":"array","title":"Titles","description":"The titles (`adkomster`) of the property."},"charges":{"items":{"$ref":"#/components/schemas/TingbogCharge"},"type":"array","title":"Charges","description":"The charges (`hæftelser`) on the property."},"easements":{"items":{"$ref":"#/components/schemas/TingbogEasement"},"type":"array","title":"Easements","description":"The easements (`servitutter`) on the property."},"charges_complete":{"type":"boolean","title":"Charges Complete","description":"`false` when the service got no title for this property, although the company has a registered title on it. The service could then not read the property at the source, and an empty `charges` does not say that the property has no charge. Send the look-up again later.","examples":[true]}},"type":"object","required":["bfe","address","matrikel","fetched_at","titles","charges","easements","charges_complete"],"title":"TingbogProperty","description":"One property that the company owns, with its registered documents.","examples":[{"address":"Havnegade 12A, 8000 Aarhus C","bfe":"1234567","charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"charges_complete":true,"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"fetched_at":"2026-11-30T09:15:31.900000Z","matrikel":"12a, Aarhus Bygrunde","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}]}]},"TingbogTitle":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"The type of the title (`adkomsttype`), as the source gives it.","examples":["skoede"]},"owners":{"items":{"$ref":"#/components/schemas/Party"},"type":"array","title":"Owners","description":"The owners that the title names, with the share when the source gives it."},"registered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registered At","description":"The time of the registration (`tinglysningsdato`), as the source gives it: a time with a time zone, or a date for an old document.","examples":["2020-01-02T10:00:00.000+01:00"]},"takeover_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeover Date","description":"The date of the takeover (`overtagelsesdato`), as the source gives it.","examples":["2019-12-15"]},"purchase_price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purchase Price","description":"The purchase price (`købesum`), as the source gives it. Text, not a number.","examples":["4200000"]},"document_alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Alias","description":"The alias of the document at the source (date and serial number).","examples":["20200101-1000000004"]},"document_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Id","description":"The id of the document (UUID). Use it to download the PDF. `null` when the source gives no id.","examples":["0a1b2c3d-1111-2222-3333-444455556669"]}},"type":"object","required":["type","owners","registered_at","takeover_date","purchase_price","document_alias","document_id"],"title":"TingbogTitle","description":"A title (`adkomst`) of a property, for example a deed (`skøde`).","examples":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}]},"TinglysningLookupRequest":{"properties":{"cvrs":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Cvrs","description":"1 to 500 CVR numbers. Each number has 8 digits; the prefix `DK`, spaces and hyphens are accepted. A number that is there two times counts one time.","examples":[["12345678","DK 87654321","11223344"]]},"registers":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Registers","description":"The registers to read: `personbog`, `bilbog`, `tingbog`. Default: all of them. Fewer registers use fewer calls to the source.","examples":[["personbog","tingbog"]]}},"type":"object","required":["cvrs"],"title":"TinglysningLookupRequest","description":"The CVR numbers and the registers of a look-up.","examples":[{"cvrs":["12345678","DK 87654321","11223344"],"registers":["personbog","tingbog"]}]},"TinglysningResult":{"properties":{"cvr":{"type":"string","title":"Cvr","description":"The CVR number: 8 digits.","examples":["12345678"]},"registers":{"items":{"type":"string"},"type":"array","title":"Registers","description":"The registers of the look-up, in the sequence of the work.","examples":[["personbog","bilbog","tingbog"]]},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) of the oldest part of this result. Each register has its own `fetched_at`. No part comes from an earlier look-up.","examples":["2026-11-30T09:15:02.120000Z"]},"document_count":{"type":"integer","title":"Document Count","description":"The number of different documents with an id (`document_id`) in the result.","examples":[5]},"personbog":{"anyOf":[{"$ref":"#/components/schemas/Personbog"},{"type":"null"}],"description":"The Personbog. `null` when the look-up did not ask for it."},"bilbog":{"anyOf":[{"$ref":"#/components/schemas/Bilbog"},{"type":"null"}],"description":"The Bilbog. `null` when the look-up did not ask for it."},"tingbog":{"anyOf":[{"$ref":"#/components/schemas/Tingbog"},{"type":"null"}],"description":"The Tingbog. `null` when the look-up did not ask for it."}},"type":"object","required":["cvr","registers","fetched_at","document_count","personbog","bilbog","tingbog"],"title":"TinglysningResult","description":"The result of the look-up of one CVR number.","examples":[{"bilbog":{"charges":[{"amount":"250000","chassis_number":"ZZZTEST0000012345","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000003","document_id":"0a1b2c3d-1111-2222-3333-444455556668","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ00001","type":"ejerpantebrev"}],"charges_complete":true,"charges_not_read":[],"fetched_at":"2026-11-30T09:15:05.480000Z","vehicles":[{"chassis_number":"ZZZTEST0000012345","registration_number":"QQ00001"}]},"cvr":"12345678","document_count":5,"fetched_at":"2026-11-30T09:15:02.120000Z","personbog":{"charges":[{"amount":"2500000","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20240514-1000000001","document_date":"2024-05-13","document_id":"0a1b2c3d-1111-2222-3333-444455556666","pantebrev_form":"Virksomhedspant","priority":"1","registered_at":"2024-05-14T10:21:07.000+02:00","type":"virksomhedspant","virksomhedspant_type":"virksomhedspant"}],"company":{"address":"Havnegade 12A, 8000 Aarhus C","cvr":"12345678","name":"Example Trading ApS"},"fetched_at":"2026-11-30T09:15:02.120000Z","person_documents":[]},"registers":["personbog","bilbog","tingbog"],"tingbog":{"charges_complete":true,"fetched_at":"2026-11-30T09:15:31.900000Z","properties":[{"bfe":"1234567","address":"Havnegade 12A, 8000 Aarhus C","matrikel":"12a, Aarhus Bygrunde","fetched_at":"2026-11-30T09:15:31.900000Z","titles":[{"document_alias":"20200101-1000000004","document_id":"0a1b2c3d-1111-2222-3333-444455556669","owners":[{"cvr":"12345678","name":"Example Trading ApS","share":"1/1","type":"company"}],"purchase_price":"4200000","registered_at":"2020-01-02T10:00:00.000+01:00","takeover_date":"2019-12-15","type":"skoede"}],"charges":[{"amount":"3000000","creditors":[{"cvr":"87654321","name":"Example Realkredit A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20200101-1000000005","document_id":"0a1b2c3d-1111-2222-3333-44445555666a","interest_rate":"1.5","last_endorsed_at":"2023-06-01T09:00:00.000+02:00","loan_type":"Kontantlaan","priority":"1","registered_at":"2020-01-02T10:05:00.000+01:00","type":"realkreditpantebrev"}],"easements":[{"document_alias":"19870311-900001-01","document_id":"0a1b2c3d-1111-2222-3333-44445555666b","registered_at":"1987-03-11","text":"Dok om forsyningsledninger mv","type":"servitut"}],"charges_complete":true}],"search_truncated":false}}]},"Vehicle":{"properties":{"vehicle_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vehicle Id","description":"The id of the vehicle in the register (`KøretøjIdent`). Text, not a number.","examples":["9900000000000002"]},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"The registration number. A vehicle that is not registered has its last number.","examples":["QQ000002"]},"chassis_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chassis Number","description":"The chassis number (for a newer vehicle: the VIN).","examples":["QOITEST0000000002"]},"vehicle_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vehicle Type","description":"The type of the vehicle (`art`), as the register gives it.","examples":["Personbil"]},"use":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Use","description":"The use of the vehicle (`anvendelse`), as the register gives it.","examples":["Privat personkørsel"]},"make":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Make","description":"The make.","examples":["Toyota"]},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"The model.","examples":["Yaris"]},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant","description":"The variant of the model.","examples":["1.5 Hybrid"]},"model_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Model Year","description":"The model year.","examples":[2016]},"first_registration_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"First Registration Date","description":"The date of the first registration.","examples":["2016-11-23"]},"registration_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status","description":"The registration status, as the register gives it: `Registreret` for a vehicle that is registered now, for example `Afmeldt` for one that is not.","examples":["Registreret"]},"registration_status_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Registration Status Date","description":"The date from which `registration_status` applies.","examples":["2016-11-23"]},"vehicle_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vehicle Status","description":"The status of the vehicle, as the register gives it, for example `Registreret`, `Afmeldt`, `Skrottet` or `Eksporteret`.","examples":["Registreret"]},"vehicle_status_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Vehicle Status Date","description":"The date from which `vehicle_status` applies.","examples":["2016-11-23"]},"leasing_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Leasing From","description":"The first day of a leasing period. `null` when the register has none.","examples":["2024-01-01"]},"leasing_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Leasing To","description":"The last day of a leasing period. `null` when the register has none.","examples":["2026-12-31"]},"total_weight_kg":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Weight Kg","description":"The permitted total weight in kilograms (`totalvægt`).","examples":[1574]},"propulsion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Propulsion","description":"The type of propulsion (`drivkraft`), as the register gives it.","examples":["Benzin/El"]},"van_30_percent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Van 30 Percent","description":"The mark `30 pct. varevogn` of the register for a van. It is a mark only: the data has no tax amount. `null` when the register gives no mark.","examples":[false]},"blocks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The blocks on the vehicle (`blokeringer`), as the register gives them. `null` when the register gives none.","examples":[["Totalskadet køretøj"]]},"inspection_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Inspection Date","description":"The date of the last inspection (`syn`) in the extract.","examples":["2025-07-15"]},"inspection_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inspection Result","description":"The result of that inspection, as the register gives it.","examples":["Godkendt"]},"extract_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Extract Date","description":"The date of the extract that has this vehicle.","examples":["2026-11-15"]}},"type":"object","required":["vehicle_id","registration_number","chassis_number","vehicle_type","use","make","model","variant","model_year","first_registration_date","registration_status","registration_status_date","vehicle_status","vehicle_status_date","leasing_from","leasing_to","total_weight_kg","propulsion","van_30_percent","blocks","inspection_date","inspection_result","extract_date"],"title":"Vehicle","description":"One vehicle of Motorregistret, as the weekly extract has it.","examples":[{"chassis_number":"QOITEST0000000002","extract_date":"2026-11-15","first_registration_date":"2016-11-23","inspection_date":"2025-07-15","inspection_result":"Godkendt","make":"Toyota","model":"Yaris","model_year":2016,"propulsion":"Benzin/El","registration_number":"QQ000002","registration_status":"Registreret","registration_status_date":"2016-11-23","total_weight_kg":1574,"use":"Privat personkørsel","variant":"1.5 Hybrid","vehicle_id":"9900000000000002","vehicle_status":"Registreret","vehicle_status_date":"2016-11-23","vehicle_type":"Personbil"}]},"VehicleBilbog":{"properties":{"chassis_number":{"type":"string","title":"Chassis Number","description":"The chassis number of the search: upper case, no spaces, no hyphens.","examples":["QOITEST0000000002"]},"vehicles":{"items":{"$ref":"#/components/schemas/BilbogVehicle"},"type":"array","title":"Vehicles","description":"The entries of the Bilbog with exactly this chassis number. Empty when the Bilbog has no registered right on the vehicle."},"charges":{"items":{"$ref":"#/components/schemas/BilbogCharge"},"type":"array","title":"Charges","description":"The charges on the vehicle with exactly this chassis number. Empty when it has none."},"other_vehicles":{"items":{"$ref":"#/components/schemas/BilbogVehicle"},"type":"array","title":"Other Vehicles","description":"The other hits of the search: vehicles whose chassis number ends with the number of the search and is longer. They are not the vehicle of the look-up."},"other_charges":{"items":{"$ref":"#/components/schemas/BilbogCharge"},"type":"array","title":"Other Charges","description":"The charges on the vehicles in `other_vehicles`. They are not charges on the vehicle of the look-up."},"charges_complete":{"type":"boolean","title":"Charges Complete","description":"`false` when the service did not read the charges of a vehicle in `vehicles`: the source did not answer for it, or the search has more than 20 hits. An empty `charges` then does not say that the vehicle has no charge. Send the look-up again later.","default":true,"examples":[true]},"other_charges_complete":{"type":"boolean","title":"Other Charges Complete","description":"`false` when the service did not read the charges of one or more vehicles in `other_vehicles`.","default":true,"examples":[true]}},"type":"object","required":["chassis_number","vehicles","charges","other_vehicles","other_charges","charges_complete","other_charges_complete"],"title":"VehicleBilbog","description":"The Bilbog of one vehicle: the result of the search with its chassis number.\n\nThe source searches with a wildcard in front of the chassis number. A search can then\nalso find a vehicle whose chassis number only ends with the number of the search.\n`vehicles` and `charges` have the hits with exactly the chassis number of the search.\nEach other hit is in `other_vehicles` and `other_charges`: it is a different vehicle.","examples":[{"charges":[{"amount":"250000","chassis_number":"QOITEST0000000002","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000007","document_id":"0a1b2c3d-1111-2222-3333-44445555666c","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ000002","type":"ejerpantebrev"}],"charges_complete":true,"chassis_number":"QOITEST0000000002","other_charges":[],"other_charges_complete":true,"other_vehicles":[{"chassis_number":"XQOITEST0000000002"}],"vehicles":[{"chassis_number":"QOITEST0000000002","registration_number":"QQ000002"}]}]},"VehicleBilbogResult":{"properties":{"looked_up_by":{"type":"string","enum":["registration_number","chassis_number"],"title":"Looked Up By","description":"The number that the look-up used. It is `chassis_number` when the request had both numbers.","examples":["registration_number"]},"status":{"type":"string","enum":["performed","not_performed"],"title":"Status","description":"`performed`: the service searched the Bilbog; `bilbog` has the result. `not_performed`: the service did not search the Bilbog; `reason` says why, and `bilbog` is `null`. `not_performed` does not say that the vehicle has no charges.","examples":["performed"]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why the status is `not_performed`: `not_in_subset` (the vehicle data does not have the registration number), `not_loaded` (the service has no vehicle data), `no_chassis_number` (the vehicle data has no chassis number that the Bilbog can be searched with) or `unknown`. `null` when the status is `performed`.","examples":["not_in_subset"]},"reason_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Text","description":"One or two sentences about `reason`. The text can change; do not parse it.","examples":["The vehicle is not in our subset of Motorregistret. The subset holds the vehicles that are registered now or were active in the last 5 years, as of the extract date. This does not say that the vehicle does not exist."]},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At","description":"The time (UTC) at which the service got this result. A Bilbog result is live from the source at this time.","examples":["2026-11-30T09:15:04.250000Z"]},"in_subset":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"In Subset","description":"Look-up by registration number: `true` when the subset has one or more vehicles with the number. `false` says only that the vehicle is not in the subset: the subset has the vehicles that are registered now or were active in the last 5 years. It does not say that the vehicle does not exist. `null` for a look-up by chassis number: it does not read the vehicle data.","examples":[true]},"extract_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Extract Date","description":"The date of the extract of the register that the answer comes from. The service gets a new extract each week, so the data can be one week old. `null` only when the service has no extract. It applies to `vehicle` and `other_matches`, not to `bilbog`. `null` for a look-up by chassis number.","examples":["2026-11-15"]},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}],"description":"Look-up by registration number: the vehicle of Motorregistret whose chassis number the service searched the Bilbog with. When more than one vehicle has the registration number, it is the one that is registered now. `null` for a look-up by chassis number, and when the vehicle data does not have the number."},"multiple_matches":{"type":"boolean","title":"Multiple Matches","description":"`true` when more than one vehicle has the number. A vehicle that is not registered keeps its last registration number, so one number can be on more than one vehicle.","examples":[true]},"other_matches":{"items":{"$ref":"#/components/schemas/Vehicle"},"type":"array","title":"Other Matches","description":"The other vehicles with the number, the one whose status changed last first. `vehicle` and this list hold a maximum of 10 vehicles together. The service did not search the Bilbog for these vehicles. To do that, send a look-up with the chassis number of one of them."},"bilbog":{"anyOf":[{"$ref":"#/components/schemas/VehicleBilbog"},{"type":"null"}],"description":"The Bilbog of the vehicle. `null` when the status is `not_performed`."},"document_count":{"type":"integer","title":"Document Count","description":"The number of different documents with an id (`document_id`) in the result.","examples":[1]}},"type":"object","required":["looked_up_by","status","reason","reason_text","fetched_at","in_subset","extract_date","vehicle","multiple_matches","other_matches","bilbog","document_count"],"title":"VehicleBilbogResult","description":"The result of the look-up of the Bilbog for one vehicle.","examples":[{"bilbog":{"charges":[{"amount":"250000","chassis_number":"QOITEST0000000002","creditors":[{"cvr":"87654321","name":"Example Bank A/S","type":"company"}],"currency":"DKK","debtors":[{"cvr":"12345678","name":"Example Trading ApS","type":"company"}],"document_alias":"20250203-1000000007","document_id":"0a1b2c3d-1111-2222-3333-44445555666c","priority":"1","registered_at":"2025-02-03T08:02:11.000+01:00","registration_number":"QQ000002","type":"ejerpantebrev"}],"charges_complete":true,"chassis_number":"QOITEST0000000002","other_charges":[],"other_charges_complete":true,"other_vehicles":[{"chassis_number":"XQOITEST0000000002"}],"vehicles":[{"chassis_number":"QOITEST0000000002","registration_number":"QQ000002"}]},"document_count":1,"extract_date":"2026-11-15","fetched_at":"2026-11-30T09:15:04.250000Z","in_subset":true,"looked_up_by":"registration_number","multiple_matches":true,"other_matches":[{"chassis_number":"QOITEST0000000001","extract_date":"2026-11-15","first_registration_date":"2021-06-12","make":"Volkswagen","model":"Golf","model_year":2021,"propulsion":"Benzin","registration_number":"QQ000002","registration_status":"Afmeldt","registration_status_date":"2024-03-10","total_weight_kg":1537,"use":"Privat personkørsel","variant":"1.5 TSI","vehicle_id":"9900000000000001","vehicle_status":"Afmeldt","vehicle_status_date":"2024-03-10","vehicle_type":"Personbil"}],"status":"performed","vehicle":{"chassis_number":"QOITEST0000000002","extract_date":"2026-11-15","first_registration_date":"2016-11-23","inspection_date":"2025-07-15","inspection_result":"Godkendt","make":"Toyota","model":"Yaris","model_year":2016,"propulsion":"Benzin/El","registration_number":"QQ000002","registration_status":"Registreret","registration_status_date":"2016-11-23","total_weight_kg":1574,"use":"Privat personkørsel","variant":"1.5 Hybrid","vehicle_id":"9900000000000002","vehicle_status":"Registreret","vehicle_status_date":"2016-11-23","vehicle_type":"Personbil"}}]},"VehicleLookupRequest":{"properties":{"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"The registration number. Spaces are ignored, and lower case is accepted. A maximum of 20 characters.","examples":["QQ000002"]},"chassis_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chassis Number","description":"The chassis number. Spaces are ignored, and lower case is accepted. A maximum of 30 characters. When the body has both numbers, the look-up uses the chassis number.","examples":["QOITEST0000000002"]}},"type":"object","title":"VehicleLookupRequest","description":"One vehicle number. The number is in the body, never in the address of a request.","examples":[{"registration_number":"QQ000002"}]},"VehicleLookupResponse":{"properties":{"looked_up_by":{"type":"string","enum":["registration_number","chassis_number"],"title":"Looked Up By","description":"The number that the look-up used. It is `chassis_number` when the request had both numbers.","examples":["registration_number"]},"in_subset":{"type":"boolean","title":"In Subset","description":"`true` when the subset has one or more vehicles with the number. `false` says only that the vehicle is not in the subset: the subset has the vehicles that are registered now or were active in the last 5 years. It does not say that the vehicle does not exist.","examples":[true]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why `in_subset` is `false`: `not_in_subset` (the subset does not have the number), `not_loaded` (the service has no extract) or `unknown`. `null` when `in_subset` is `true`.","examples":["not_in_subset"]},"reason_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Text","description":"One or two sentences about `reason`. The text can change; do not parse it.","examples":["The vehicle is not in our subset of Motorregistret. The subset holds the vehicles that are registered now or were active in the last 5 years, as of the extract date. This does not say that the vehicle does not exist."]},"extract_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Extract Date","description":"The date of the extract of the register that the answer comes from. The service gets a new extract each week, so the data can be one week old. `null` only when the service has no extract.","examples":["2026-11-15"]},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}],"description":"The vehicle with the number. When more than one vehicle has the number: the one that is registered now, or else the one whose status changed last. `null` when `in_subset` is `false`."},"multiple_matches":{"type":"boolean","title":"Multiple Matches","description":"`true` when more than one vehicle has the number. A vehicle that is not registered keeps its last registration number, so one number can be on more than one vehicle.","examples":[true]},"other_matches":{"items":{"$ref":"#/components/schemas/Vehicle"},"type":"array","title":"Other Matches","description":"The other vehicles with the number, the one whose status changed last first. `vehicle` and this list hold a maximum of 10 vehicles together."}},"type":"object","required":["looked_up_by","in_subset","reason","reason_text","extract_date","vehicle","multiple_matches","other_matches"],"title":"VehicleLookupResponse","description":"The vehicles with one registration number or one chassis number.","examples":[{"extract_date":"2026-11-15","in_subset":true,"looked_up_by":"registration_number","multiple_matches":true,"other_matches":[{"chassis_number":"QOITEST0000000001","extract_date":"2026-11-15","first_registration_date":"2021-06-12","make":"Volkswagen","model":"Golf","model_year":2021,"propulsion":"Benzin","registration_number":"QQ000002","registration_status":"Afmeldt","registration_status_date":"2024-03-10","total_weight_kg":1537,"use":"Privat personkørsel","variant":"1.5 TSI","vehicle_id":"9900000000000001","vehicle_status":"Afmeldt","vehicle_status_date":"2024-03-10","vehicle_type":"Personbil"}],"vehicle":{"chassis_number":"QOITEST0000000002","extract_date":"2026-11-15","first_registration_date":"2016-11-23","inspection_date":"2025-07-15","inspection_result":"Godkendt","make":"Toyota","model":"Yaris","model_year":2016,"propulsion":"Benzin/El","registration_number":"QQ000002","registration_status":"Registreret","registration_status_date":"2016-11-23","total_weight_kg":1574,"use":"Privat personkørsel","variant":"1.5 Hybrid","vehicle_id":"9900000000000002","vehicle_status":"Registreret","vehicle_status_date":"2016-11-23","vehicle_type":"Personbil"}}]}},"securitySchemes":{"bearerToken":{"type":"http","description":"A token that Revisoradgang issued to the client. Send it in the header `Authorization: Bearer <token>`. The request must come from an address in the IP list of the token.","scheme":"bearer","bearerFormat":"ra_<env>_<prefix>_<secret>"}}},"tags":[{"name":"cvr","description":"Companies of the Danish Central Business Register (CVR): look-up by CVR number and search by name. The dataset holds no persons."},{"name":"dmr","description":"Vehicles of Motorregistret (DMR, the Danish register of motor vehicles): look-up by registration number or chassis number. The data is a weekly extract and a subset of the register. It has no owner and no user."},{"name":"tinglysning","description":"Registered rights of a company from Tinglysningsretten (the Danish Land Registration Court): Personbog, Bilbog and Tingbog. Each look-up is live and takes seconds to minutes. The data holds persons."},{"name":"jobs","description":"The status and the results of a job. A look-up in a dataset with live data makes a job; the work continues after the request."}]}