Feilkoder/feilmeldinger ved betaling mot Sbanken
- Du får denne feilmeldingen på en betaling til Sbanken - valuta.
"Sbanken godtok ikke handlingen som ble utført"
Sjekk valuta som faktura skal betales i og til hvilken konto.
- ErrorCodes
Registry over different errors for different categories and the type/code that they have. These codes are used in the constructor to HttpStatusException so that our 3rd parties and front-end code can check on static error codes, instead of the actual error message which changes from time to time.
Accounts (1000-1299)
1000
Message: The specified account does not exist
Description: Either the account specified in the request does not exist, or it does not belong to the customer the request is issued on behalf of
Validation (1300-1499)
1300
Message: Request is not valid
Description: The request was not valid. Typically this will be when a required field in the request is missing
Payments (4000-4899)
Common (4000-4199)
4000
Message: Due date cannot be in the past
Description: Happens if the specified due date is a date in the past (e.g. yesterday)
4001
Message: Due date can not be more than 13 months in to the future
Description: Happens if the specified due date is set to more than 13 months into the future
4010
Message: Cannot pay to this account from TaxAccount
Description: Happens when a payment is attempted made from a tax account, and the recipient is not the tax authorities. Tax accounts can only make payments to tax authorities
4011
Message: Debit account is not valid
Description: This operation requires a debit account (operational account). The account number provided was instead for a different type of account (e.g. savings, tax, etc.) or an account number not owned by the customer
4012
Message: Debit account cannot be a securities trade account
Description: Happens if the customer tries to perform a payment from a securities trade account
4013
Message: Debit account cannot be a savings account
Description: Happens if the customer tries to perform a payment from a savings account
4014
Message: Specified tax account is not valid
Description: Happens if the tax account specified in the salary payment request is not an account for this customer
4015
Message: The specified tax account is not a tax account
Description: Happens if the specified tax account is a valid account for the customer, but it is not a tax account
4030
Message: Message is too long. Max 140 characters
Description: Happens if the message field in the payment exceeds 140 characters.
4031
Message: Message contains illegal characters
Description: Happens if the message field in the payment contains special characters which are not allowed.
4050
Message: Amount is too large. Insufficient funds at debit account
Description: Happens if the due date of the payment is today's date, and there is insufficient funds in the account the payment is to be made from
4051
Message: Amount cannot be negative
Description: Happens if the specified amount is negative
4052
Message: Amount is not valid
Description: Happens if the amount is not set or negative
4070
Message: TransactionId for payment is required
Description: Happens if the the field transactionId has not been set when reading this type of payment
4071
Message: Not authorized for payment approval
Description: Happens if a user attempts to approve a payment, but lacks the necessary permission to do so.
4090
Message: Failed to create payment
Description: Something failed when attempting to create the payment. Please try again later
4091
Message: Failed to confirm payment
Description: Something failed when attempting to confirm payment. Please try again late
Domestic Payments (4200-4299)
4200
Message: Invalid CID number
Description: Happens if the specified KID/CID is not valid
4201
Message: No OCR agreement for account
Description: Happens if KID has been specified for a payment to an account that does not have an OCR agreement, and hence cannot receive KID payments. Use message instead.
4220
Message: Only currency NOK is supported
Description: Happens for domestic payments where the specified currency is not NOK
ForeignPayment (4300-4499)
4300
Message: User does not have permission to perform foreign payments
Description: Happens if the customer tries to perform a payment to another country, and the user executing the request does not have permission to perform foreign payments.
4301
Message: User permission to foreign payments has expired
Description: Happens if the customer tries to perform a payment to another country, and the user's permission for foreign payments has expired. User can re-activate this in the online bank.
4302
Message: Foreign payment is currently not available for this customer. Please contact customer support
Description: Happens if foreign payment is currently unavailable to this customer.
4320
Message: Foreign payments needs to have a message to creditor of at least 5 characters
Description: Happens if the customer tries to perform a payment to another country, and the payment message is less than 5 characters
4321
Message: Message to creditor for foreign payments should not contain special Norwegian characters (Æ,Ø,Å)
Description: Happens if the customer tries to perform a payment to another country, and the payment message contains special nordic characters
4330
Message: No currency has been specified
Description: Happens if the customer tries to perform a payment to another country, and no currency has been specified for the payment
4331
Message: The specified currency is not valid
Description: Happens for foreign payments where the specified currency is not a valid one.
4332
Message: The specified currency is not valid for the country the payment is directed to
Description: Happens if the customer tries to perform a payment to another country, and the currency used is not one that Sbanken supports to that country
4350
Message: This amount requires input for the currency register. Please specify purpose-code and description of purchase
Description: Happens if the customer tries to perform a payment to another country which exceeds the amount-limit for when regulatory reporting is required for the transaction, and no such information has been provided. The payment needs to specify a regulatory code for the payment as well as a short description of the background for the payment
4351
Message: Code for input to currency register is not valid
Description: Happens if the customer tries to perform a payment to another country which exceeds the amount-limit for when regulatory reporting is required for the transaction, and the provided regulatory code is not a valid one
4352
Message: The description of the purpose of the payment is too long. Max 35 characters
Description: Happens if the customer tries to perform a payment to another country which exceeds the amount-limit for when regulatory reporting is required for the transaction, and the provided description of the transaction exceeds 35 characters
4360
Message: Foreign payment amount cannot be less than 100 NOK
Description: Happens if the customer tries to perform a payment to another country which amounts to less than 100 NOK (which is the minimum amount for foreign payments)
4370
Message: Foreign payments cannot be made from tax account
Description: Happens if the customer tries to perform a foreign payment from a tax account
4380
Message: No address specified for creditor
Description: Happens if the customer tries to perform a payment to another country, and no address for the creditor has been provided
4381
Message: No country specified for creditor address
Description: Happens if the customer tries to perform a payment to another country, and no countrycode has been specified for the creditor's address
4382
Message: Addressline cannot exceed 35 characters
Description: Happens if the customer tries to perform a payment to another country, and one or more address-lines of the creditor's address exceed 35 characters
4383
Message: Creditor name is not set
Description: Happens if the customer tries to perform a payment to another country, and the name of the creditor(recipient) has not been set
4384
Message: Creditor name cannot exceed 140 characters
Description: Happens if the customer tries to perform a payment to another country, and the name of the creditor exceeds 140 characters
4385
Message: Creditor information has not been specified
Description: Happens if the customer tries to perform a payment to another country, and no creditor information has been provided
4400
Message: Bank details for creditor has not been specified
Description: Happens if the customer tries to perform a payment to another country, and no bank details for the creditor has been provided
4401
Message: BankCode is required for payments to the US
Description: Happens if the customer tries to perform a payment to the United States and no BankCode has been provided.
Payments to the US does not use SWIFT/BIC, but instead BankCode. The BankCode may also be known as ABA-routing or FedWire
4402
Message: Either bicIdentifier or bankCode needs to be specified
Description: Happens if the customer tries to perform a payment to another country that does not use IBAN, and no SWIFT/BIC or BankCode has been specified. Without this information we cannot look up the information about the receiving bank that is required for the payment to go through
4403
Message: Could not find creditor bank
Description: Happens if the customer tries to perform a payment to the another country, and we're unable to look up information about the creditor bank. Please ensure that the details for IBAN/BIC/SWIFT or BankCode is correct
4404
Message: CountryCode not set for creditor bank
Description: Happens if the customer tries to perform a payment to the another country, and no country code has been specified for the creditor bank.
4405
Message: Cannot find country matching specified country-code for creditor bank
Description: Happens if the customer tries to perform a payment to the another country, and the provided country code for the creditor bank is not valid
4420
Message: The specified creditor account number is not a valid account number for the specified country
Description: Happens if the customer tries to perform a payment to another country, and the account number provided for the recipient is not a valid account number based on the rules for that country
Salary payments (4500-4599)
4500
Message: AccountNumber for salary recipient is not valid
Description: Happens if the account number for one of the salary recipients in the salary payment is not a valid account number
4501
Message: Request needs to contain at least one salary payment, or one transfer to tax account
Description: Happens if the customer tries to send an empty salary payment. Must contain at least one salary payment, or a transfer to tax account
4520
Message: Salary payments cannot be debited from tax account
Description: Happens if the customer tries to perform a salary payment from a tax account
Transfers (4900-4999)
4900
Message: Transfer amount must be at least 1 NOK
Description: Happens if the user attempts to make a transfer between own accounts and the amount is less than 1 NOK
4901
Message: Amount is too large. Max 99 999 999 NOK
Description: Happens if the user attempts to make a transfer between own accounts and the amount is too high
4910
Message: Cannot transfer from TaxAccount
Description: Happens if the customer attempts to make a transfer from its own tax account. Once money has been moved to a tax account, the only way to move it is to pay the authorities (kemneren)
4911
Message: Debit account and credit account can not be the same account
Description: Happens if the customer attempts to make a transfer to the same account as the one they are transferring from
ERP Integrations (8000-8299)
8000
Message: Re-authentication required
Description: Happens if customer has not performed a strong authentication against Sbanken (e.g. through logging in using BankId /BankId mobile) in the past 90 days
8010
Message: Customer does not have an active integration for ''clientid"
Description: Happens if a request is made with a valid token, but the customer does not have a valid integration for that client. Can for example happen if the customer has cancelled the integration in Sbanken
8020
Message: Customer does not have a valid ERP subscription
Description: Happens if the customer does not have an active ERP subscription for the client used to access the API
8021
Message: This operation is not available in the customer's ERP subscription
Description: Happens if the customer tries to perform an operation on the API which requires a higher-level subscription than the one they currently have activ
Unhandled exceptions (9000-9199)
9000
Message: Core-bank service is currently unavailable. Please try again later
Description: Happens when a request was made and the underlying core-bank service was unable to respond. This is usually due to temporary downtime with TietoEvry. Please try again later
9010
Message: Internal Server Error
Description: An internal server error/unhandled exceptio
9999
Sbanken har nedetid. De må prøve å autorisere betaling på nytt om litt.
Har du flere spørsmål? Send oss en henvendelse