Finance APIs
Saves information about the bank account
HTTP method | PUT |
URI | https://api.rambase.net/finance/bank-accounts/{bankAccountId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {bankAccountId} |
Bank account identifier
Integer, minimum 100 |
Successful HTTP status code | 200 |
API resource identifier | 5764, version 14 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
BankAccount
This field is optional.
>Name
Name of bank account
This field is optional.
>{String}</Name>AccountNumber
Account number used to identify the bank account
This field is optional.
>{String}</AccountNumber>Type
Type of the bank account, f.e. BBAN, Bankgiro, Plusgiro, ...
Applicable domain values can be found here
This field is optional.
>{String}</Type>Currency
Currency used for the bank account
Applicable domain values can be found here
This field is optional.
>{String}</Currency>IBAN
The International Bank Account Number (IBAN) is an internationally agreed means of identifying bank accounts across national borders with a reduced risk of transcription errors.
Input must match the following regular expression pattern: ^[A-Za-z]{2}[0-9]{2}[A-Za-z0-9]{1,32}$
This field is optional.
>{String}</IBAN>Category
Category of the bank
Applicable domain values can be found here
This field is optional.
>{String}</Category>RequireStructuredPaymentReference
Structured reference to the payment
This field is optional.
>{Boolean}</RequireStructuredPaymentReference>IsDefaultForRemittance
Determines if this is default bank for outgoing payments
This field is optional.
>{Boolean}</IsDefaultForRemittance>RemittanceHandling
Methods of transfer payment
Applicable domain values can be found here
This field is optional.
>{String}</RemittanceHandling>RegionalId
Regional bank identifier of the bank account
This field is optional.
>{String}</RegionalId>ExternalClearingSystemIdentificationCode
Clearing codes are specified by ISO20022
This field is optional.
>Code
Clearing code of the bank account
Applicable domain values can be found here
This field is optional.
>{String}</Code>BankIdentifier
Clearing bank identifier of the bank account
This field is optional.
>{String}</BankIdentifier>Bank
This field is optional.
>SWIFTCode
The SWIFT (Society for Worldwide Interbank Financial Telecommunication) Code is a standard format for Business Identifier Codes (BIC) and it's used to uniquely identify banks and financial institutions globally. These codes are used when transferring money between banks, in particular for international wire transfers or SEPA payments.
Input must match the following regular expression pattern: ^[A-Z]{4}[A-Z]{2}[0-9A-Z]{2}([0-9A-Z]{3})?$
This field is optional.
>{String}</SWIFTCode>Phone
Bank phone number
Input must match the following regular expression pattern: ^(\+\d{1,3}\s?)?(\()?(\d{1,4}(\s|\))?[\s.-]?)?(\d{1,5}[\s.-]?)?\d{1,5}[\s.-]?\d{1,9}$|^$
This field is optional.
>{String}</Phone>Fax
Fax number for bank account
Input must match the following regular expression pattern: ^(\+\d{1,3}\s?)?(\()?(\d{1,4}(\s|\))?[\s.-]?)?(\d{1,5}[\s.-]?)?\d{1,5}[\s.-]?\d{1,9}$|^$
This field is optional.
>{String}</Fax>Address
Address of the bank associated with the bank account
This field is optional.
>AddressLine1
First address line
This field is optional.
>{String}</AddressLine1>AddressLine2
Second address line
This field is optional.
>{String}</AddressLine2>PostalCode
Postalcode/Postcode/ZIP
This field is optional.
>{String}</PostalCode>City
City/town/village
This field is optional.
>{String}</City>CountryCode
Two-character code (ISO 3166) identifying the country.
This field is optional.
>{String}</CountryCode>GeneralLedgerAccount
Finance account associated with the bank account
This field is optional.
>GeneralLedgerAccountId
General ledger account identifier
Minimum value: 1000
This field is optional.
>{Integer}</GeneralLedgerAccountId>IsUsedFor
This field is optional.
>Clearing
Indicates if the bank account is used for clearing
This field is optional.
>{Boolean}</Clearing>VATSettlement
Indicates if the bank account is used for VAT settlement
This field is optional.
>{Boolean}</VATSettlement>CreditCardTransaction
Indicates if the bank account can be used for credit card payments
This field is optional.
>{Boolean}</CreditCardTransaction>Factoring
Indicates if the bank account is used for factoring
This field is optional.
>{Boolean}</Factoring>IsUsedOnOutput
This field is optional.
>SalesInvoice
Indicates if the bank account is used on print for outgoing invoices
This field is optional.
>{Boolean}</SalesInvoice>ProformaInvoiceBasedOnSalesOrder
Indicates if the bank account is used on print for proforma invoices, based on sales order
This field is optional.
>{Boolean}</ProformaInvoiceBasedOnSalesOrder>ProformaInvoiceBasedOnShippingAdvice
Indicates if the bank account is used on print for proforma invoices, based on shipping advice
This field is optional.
>{Boolean}</ProformaInvoiceBasedOnShippingAdvice>Dunning
Indicates if the bank account is used on print for dunnings
This field is optional.
>{Boolean}</Dunning>RamBaseBankIntegration
This field is optional.
>ImportBankStatements
Indicates if the bank statements will be handled via the BankConnector
This field is optional.
>{Boolean}</ImportBankStatements>SendRemittance
Indicates if the remittances will be handled via the BankConnector
This field is optional.
>{Boolean}</SendRemittance>ImportIncomingPayments
Indicates if the incoming payments will be handled via the BankConnector
This field is optional.
>{Boolean}</ImportIncomingPayments>UserName
User name used to connect to BankConnector
This field is optional.
>{String}</UserName>Password
Password used to connect to BankConnector
This field is optional.
>{String}</Password>ContractId
Contract identifier used in BankConnector
This field is optional.
>{String}</ContractId>BankAccount
This field is optional.
": {Name
Name of bank account
This field is optional.
": "{String}",AccountNumber
Account number used to identify the bank account
This field is optional.
": "{String}",Type
Type of the bank account, f.e. BBAN, Bankgiro, Plusgiro, ...
Applicable domain values can be found here
This field is optional.
": "{String}",Currency
Currency used for the bank account
Applicable domain values can be found here
This field is optional.
": "{String}",IBAN
The International Bank Account Number (IBAN) is an internationally agreed means of identifying bank accounts across national borders with a reduced risk of transcription errors.
Input must match the following regular expression pattern: ^[A-Za-z]{2}[0-9]{2}[A-Za-z0-9]{1,32}$
This field is optional.
": "{String}",Category
Category of the bank
Applicable domain values can be found here
This field is optional.
": "{String}",RequireStructuredPaymentReference
Structured reference to the payment
This field is optional.
": "{Boolean}",IsDefaultForRemittance
Determines if this is default bank for outgoing payments
This field is optional.
": "{Boolean}",RemittanceHandling
Methods of transfer payment
Applicable domain values can be found here
This field is optional.
": "{String}",RegionalId
Regional bank identifier of the bank account
This field is optional.
": "{String}",ExternalClearingSystemIdentificationCode
Clearing codes are specified by ISO20022
This field is optional.
": {Code
Clearing code of the bank account
Applicable domain values can be found here
This field is optional.
": "{String}",BankIdentifier
Clearing bank identifier of the bank account
This field is optional.
": "{String}"Bank
This field is optional.
": {SWIFTCode
The SWIFT (Society for Worldwide Interbank Financial Telecommunication) Code is a standard format for Business Identifier Codes (BIC) and it's used to uniquely identify banks and financial institutions globally. These codes are used when transferring money between banks, in particular for international wire transfers or SEPA payments.
Input must match the following regular expression pattern: ^[A-Z]{4}[A-Z]{2}[0-9A-Z]{2}([0-9A-Z]{3})?$
This field is optional.
": "{String}",Phone
Bank phone number
Input must match the following regular expression pattern: ^(\+\d{1,3}\s?)?(\()?(\d{1,4}(\s|\))?[\s.-]?)?(\d{1,5}[\s.-]?)?\d{1,5}[\s.-]?\d{1,9}$|^$
This field is optional.
": "{String}",Fax
Fax number for bank account
Input must match the following regular expression pattern: ^(\+\d{1,3}\s?)?(\()?(\d{1,4}(\s|\))?[\s.-]?)?(\d{1,5}[\s.-]?)?\d{1,5}[\s.-]?\d{1,9}$|^$
This field is optional.
": "{String}",Address
Address of the bank associated with the bank account
This field is optional.
": {AddressLine1
First address line
This field is optional.
": "{String}",AddressLine2
Second address line
This field is optional.
": "{String}",PostalCode
Postalcode/Postcode/ZIP
This field is optional.
": "{String}",City
City/town/village
This field is optional.
": "{String}",CountryCode
Two-character code (ISO 3166) identifying the country.
This field is optional.
": "{String}"GeneralLedgerAccount
Finance account associated with the bank account
This field is optional.
": {GeneralLedgerAccountId
General ledger account identifier
Minimum value: 1000
This field is optional.
": "{Integer}"IsUsedFor
This field is optional.
": {Clearing
Indicates if the bank account is used for clearing
This field is optional.
": "{Boolean}",VATSettlement
Indicates if the bank account is used for VAT settlement
This field is optional.
": "{Boolean}",CreditCardTransaction
Indicates if the bank account can be used for credit card payments
This field is optional.
": "{Boolean}",Factoring
Indicates if the bank account is used for factoring
This field is optional.
": "{Boolean}"IsUsedOnOutput
This field is optional.
": {SalesInvoice
Indicates if the bank account is used on print for outgoing invoices
This field is optional.
": "{Boolean}",ProformaInvoiceBasedOnSalesOrder
Indicates if the bank account is used on print for proforma invoices, based on sales order
This field is optional.
": "{Boolean}",ProformaInvoiceBasedOnShippingAdvice
Indicates if the bank account is used on print for proforma invoices, based on shipping advice
This field is optional.
": "{Boolean}",Dunning
Indicates if the bank account is used on print for dunnings
This field is optional.
": "{Boolean}"RamBaseBankIntegration
This field is optional.
": {ImportBankStatements
Indicates if the bank statements will be handled via the BankConnector
This field is optional.
": "{Boolean}",SendRemittance
Indicates if the remittances will be handled via the BankConnector
This field is optional.
": "{Boolean}",ImportIncomingPayments
Indicates if the incoming payments will be handled via the BankConnector
This field is optional.
": "{Boolean}",UserName
User name used to connect to BankConnector
This field is optional.
": "{String}",Password
Password used to connect to BankConnector
This field is optional.
": "{String}",ContractId
Contract identifier used in BankConnector
This field is optional.
": "{String}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101013 HTTP 404 | Sub-module not found |
Error 101079 HTTP 400 | Mismatch in size of revision parameters |
Error 107900 HTTP 400 | Currency is required |
Error 103927 HTTP 404 | Currency not found |
Error 107902 HTTP 400 | Invalid Category. Legal values are B, C or T |
Error 107901 HTTP 400 | GL account number is required |
Error 107905 HTTP 400 | Invalid bank account number provided. Only numbers, <Space> and "." is allowed. |
Error 105088 HTTP 400 | You cannot use this type of account. |
Error 105270 HTTP 400 | Only accounts with the category BANK are allowed. |
Error 108410 HTTP 400 | Bank accounts, currency and bank type can't be changed if there are already payments for the bank |