e-invoicing

Admin service error codes

The admin service returns common error codes applicable to all admin service operations, plus operation-specific codes for administrative operations .

Common error codes

The following error codes can be returned by any admin service operation. Common client error codes are transmitted inside a tac:TrustArchiveClientFault and common server error codes are transmitted inside a tac:TrustArchiveServerFault. All error code values are of the xs:string type.
Common client error codes
Code Description
Unauthorized The client isn't authorized to perform the requested operation.
ParameterMissing A required part of the input parameter is missing.
ParameterInvalid Part of the input parameter is malformed.
NotSupported Part of the input parameter isn't supported.
Common server error codes
Code Description
InternalError An internal error has occurred.
TemporarilyUnavailable This operation is temporarily unavailable. Try again later.

Operation-specific client error codes

The following client error codes are specific to individual admin service operations. Each operation might also return the common error codes listed above.
Note: Any reference to a faulty parameter in a list is zero-indexed.
RegisterSection operation
Code Description
SectionAlreadyRegistered A section with the given name is already registered and the RegistrationMode parameter has the value CreateNew.
CountryOfEstablishmentAlreadySet An attempt was made to change or clear an already existing country of establishment for a storage section enabled for storage.
SectionClosed The storage section is closed for storage.
CountryNotEnabled An attempt was made to update the vacant country of establishment belonging to a storage section enabled for storage, but the country isn't enabled for storage.
IdentityProviderNotFound The IdentityProviderName doesn't refer to an existing identity provider.
EnableSection operation
Code Description
SectionNotRegistered No storage section with the given name is registered.
SectionAlreadyEnabled The storage section is already enabled for storage.
SectionClosed The storage section is closed for storage.
CountryNotEnabled The storage section's country of establishment isn't enabled for storage.
ResetSectionPwd operation
Code Description
SectionNotRegistered No storage section with the given name has been registered.
SectionNotEnabled The storage section hasn't been enabled for storage.
SectionClosed The storage section is closed.
LockSection operation
Code Description
SectionNotRegistered No storage section with the given name is registered.
SectionNotEnabled The storage section isn't enabled for storage.
SectionLocked The storage section is already locked.
SectionClosed The storage section is closed.
CloseSection operation
Code Description
SectionNotRegistered No storage section with the given name has been registered.
SectionNotEnabled The storage section isn't enabled for storage.
SectionClosed The storage section is already closed.
GetSectionInfo operation
Code Description
SectionNotFound No storage section with the given name is registered or automatically created.
StoreCryptoKey operation
Code Description
SectionNotRegistered No storage section with the given name has been registered.
PasswordMismatch The password can't decrypt the private key.
CertificateAndKeyMismatch The private key and certificate are not associated.
CertificateAlreadyExists The section already contains the certificate.
RemoveCryptoKey operation
Code Description
NotFound The reference couldn't be found.
ReferentialIntegrityFailure The key is referenced by one or more branches and can't be removed.
ReplaceCryptoKey operation
Code Description
NotFound The reference couldn't be found.
PasswordMismatch The password can't decrypt the private key.
CertificateAndKeyMismatch The private key and certificate are not associated.
CertificateAlreadyExists The section already contains the certificate.
ListCryptoKeys operation
Code Description
SectionNotRegistered The section isn't registered.
GetCryptoKeyInfo operation
Code Description
NotFound The reference couldn't be found.
RegisterBranch operation
Code Description
SectionNotRegistered The section isn't registered.
BranchAlreadyRegistered A branch with the TaxId in the same country has already been registered in this section.
NotFound A crypto key couldnet be found using the provided reference.
ListBranches operation
Code Description
SectionNotRegistered The section is not registered.
GetBranchInfo operation
Code Description
SectionNotRegistered The section is not registered
BranchNotRegistered The operation requires a registered branch to be registered but the branch identified by the request parameters is unknown or there is not enough information associated with the branch.