Create a legal entity from its organisasjonsnummer
POST/legal-entities
Validates the organisasjonsnummer against the Norwegian directory, then creates a corresponding record on the platform.
Sandbox only: with the X-Skip-CCR-Check header the Norwegian directory is not queried, and the legal entity is created from the registeredName, country, address, city, stateOrProvince and zipCode fields of the body instead. The header is rejected in production.
Request
Responses
- 201
- 400
- 403
- 422
LegalEntity resource created
Invalid input
Forbidden
An error occurred