Finance APIs
Resource for creating new bank account
HTTP method | POST |
URI | https://api.rambase.net/finance/bank-accounts |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 5754, version 4 |
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.
BankAccountId
Required/mandatory field
Bank account identifier
Minimum value: 100
>{Integer}</BankAccountId>Name
Required/mandatory field
Name of bank account
>{String}</Name>AccountNumber
Required/mandatory field
Account number used to identify the bank account
>{String}</AccountNumber>Currency
Required/mandatory field
Currency used for the bank account
Applicable domain values can be found here
>{String}</Currency>Category
Required/mandatory field
Category of the bank
Applicable domain values can be found here
>{String}</Category>GeneralLedgerAccount
Required/mandatory field
Finance account associated with the bank account
>GeneralLedgerAccountId
Required/mandatory field
General ledger account identifier
Minimum value: 1000
>{Integer}</GeneralLedgerAccountId>BankAccountId
Required/mandatory field
Bank account identifier
Minimum value: 100
": "{Integer}",Name
Required/mandatory field
Name of bank account
": "{String}",AccountNumber
Required/mandatory field
Account number used to identify the bank account
": "{String}",Currency
Required/mandatory field
Currency used for the bank account
Applicable domain values can be found here
": "{String}",Category
Required/mandatory field
Category of the bank
Applicable domain values can be found here
": "{String}",GeneralLedgerAccount
Required/mandatory field
Finance account associated with the bank account
": {GeneralLedgerAccountId
Required/mandatory field
General ledger account identifier
Minimum value: 1000
": "{Integer}"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. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
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.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
BankAccountId
Bank account identifier
>{Integer}</BankAccountId>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>Name
Name of bank account
>{String}</Name>AccountNumber
Account number used to identify the bank account
>{String}</AccountNumber>Type
Type of the bank account, f.e. BBAN, Bankgiro, Plusgiro, ...
Possible domain values can be found here
>{String}</Type>Currency
Currency used for the bank account
Possible domain values can be found here
>{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.
>{String}</IBAN>RequireStructuredPaymentReference
Structured reference to the payment
>{Boolean}</RequireStructuredPaymentReference>IsDefaultForRemittance
Determines if this is default bank for outgoing payments
>{Boolean}</IsDefaultForRemittance>RemittanceHandling
Methods of transfer payment
Possible domain values can be found here
>{String}</RemittanceHandling>RegionalId
Regional bank identifier of the bank account
MinimumPaymentAmountForReporting
In some cases the payment needs a reporting code and the reporting limit will be used for the minimum payment amount
>{Integer}</MinimumPaymentAmountForReporting>ExternalClearingSystemIdentificationCode
Clearing codes are specified by ISO20022
>BankIdentifier
Clearing bank identifier of the bank account
>{String}</BankIdentifier>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.
>{String}</SWIFTCode>Phone
Bank phone number
>{String}</Phone>Fax
Fax number for bank account
>{String}</Fax>Address
Address of the bank associated with the bank account
>AddressLine1
First address line
>{String}</AddressLine1>AddressLine2
Second address line
>{String}</AddressLine2>PostalCode
Postalcode/Postcode/ZIP
>{String}</PostalCode>City
City/town/village
>{String}</City>Country
English name of country.
>{String}</Country>CountryCode
Two-character code (ISO 3166) identifying the country.
>{String}</CountryCode>GeneralLedgerAccount
Finance account associated with the bank account
>GeneralLedgerAccountId
General ledger account identifier
>{Integer}</GeneralLedgerAccountId>AccountNumber
The account number of the general ledger account
>{String}</AccountNumber>Name
Name of general ledger account
>{String}</Name>GeneralLedgerAccountLink
General ledger account reference
>{String}</GeneralLedgerAccountLink>BankStatementId
Bank statement identifier
>{Integer}</BankStatementId>BankStatementLink
Bank statement reference
>{String}</BankStatementLink>BookingDate
Booking date of the bank statement
>{Date}</BookingDate>OpeningBalance
Opening balance of bank statement
>{Decimal}</OpeningBalance>ClosingBalance
Closing balance of bank statement
>{Decimal}</ClosingBalance>Clearing
Indicates if the bank account is used for clearing
>{Boolean}</Clearing>VATSettlement
Indicates if the bank account is used for VAT settlement
>{Boolean}</VATSettlement>CreditCardTransaction
Indicates if the bank account can be used for credit card payments
>{Boolean}</CreditCardTransaction>Factoring
Indicates if the bank account is used for factoring
>{Boolean}</Factoring>SalesInvoice
Indicates if the bank account is used on print for outgoing invoices
>{Boolean}</SalesInvoice>ProformaInvoiceBasedOnSalesOrder
Indicates if the bank account is used on print for proforma invoices, based on sales order
>{Boolean}</ProformaInvoiceBasedOnSalesOrder>ProformaInvoiceBasedOnShippingAdvice
Indicates if the bank account is used on print for proforma invoices, based on shipping advice
>{Boolean}</ProformaInvoiceBasedOnShippingAdvice>Dunning
Indicates if the bank account is used on print for dunnings
>{Boolean}</Dunning>AcceptedAt
The date of acceptance the use of BankConnector
>{Date}</AcceptedAt>EmployeeId
Employee identifier
>{Integer}</EmployeeId>LastName
Last name of employee
>{String}</LastName>FirstName
First name of employee
>{String}</FirstName>EmployeeLink
Employee reference
>{String}</EmployeeLink>ImportBankStatements
Indicates if the bank statements will be handled via the BankConnector
>{Boolean}</ImportBankStatements>SendRemittance
Indicates if the remittances will be handled via the BankConnector
>{Boolean}</SendRemittance>ImportIncomingPayments
Indicates if the incoming payments will be handled via the BankConnector
>{Boolean}</ImportIncomingPayments>UserName
User name used to connect to BankConnector
>{String}</UserName>IsPasswordSet
Indicates if the password to the BankConnector was set
>{Boolean}</IsPasswordSet>ContractId
Contract identifier used in BankConnector
>{String}</ContractId>Currency
Currency used for the bank account
Possible domain values can be found here
>{String}</Currency>PendingInternalAction
The sum of the values of pending internal action payments
>{Decimal}</PendingInternalAction>PendingConfirmation
The sum of the values of pending confirmation payments
>{Decimal}</PendingConfirmation>Confirmed
The sum of the values of confirmed payments
>{Decimal}</Confirmed>Reconciled
The sum of the values of reconciled payments
>{Decimal}</Reconciled>ConfirmedAndReconciled
The sum of the values of confirmed and reconciled payments
>{Decimal}</ConfirmedAndReconciled>CurrentBalance
Opening balance for current year
>{Decimal}</CurrentBalance>BankAccountId
Bank account identifier
": "{Integer}",Status
Status of bank account
Possible domain values can be found here
": "{Integer}",CreatedAt
Date and time of creation
": "{Datetime}",Name
Name of bank account
": "{String}",AccountNumber
Account number used to identify the bank account
": "{String}",Type
Type of the bank account, f.e. BBAN, Bankgiro, Plusgiro, ...
Possible domain values can be found here
": "{String}",Currency
Currency used for the bank account
Possible domain values can be found here
": "{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.
": "{String}",Category
Category of the bank
Possible domain values can be found here
": "{String}",RequireStructuredPaymentReference
Structured reference to the payment
": "{Boolean}",IsDefaultForRemittance
Determines if this is default bank for outgoing payments
": "{Boolean}",RemittanceHandling
Methods of transfer payment
Possible domain values can be found here
": "{String}",RegionalId
Regional bank identifier of the bank account
MinimumPaymentAmountForReporting
In some cases the payment needs a reporting code and the reporting limit will be used for the minimum payment amount
": "{Integer}",ExternalClearingSystemIdentificationCode
Clearing codes are specified by ISO20022
": {Code
Clearing code of the bank account
Possible domain values can be found here
": "{String}",BankIdentifier
Clearing bank identifier of the bank account
": "{String}"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.
": "{String}",Phone
Bank phone number
": "{String}",Fax
Fax number for bank account
": "{String}",Address
Address of the bank associated with the bank account
": {AddressLine1
First address line
": "{String}",AddressLine2
Second address line
": "{String}",PostalCode
Postalcode/Postcode/ZIP
": "{String}",City
City/town/village
": "{String}",Country
English name of country.
": "{String}",CountryCode
Two-character code (ISO 3166) identifying the country.
": "{String}"GeneralLedgerAccount
Finance account associated with the bank account
": {GeneralLedgerAccountId
General ledger account identifier
": "{Integer}",AccountNumber
The account number of the general ledger account
": "{String}",Name
Name of general ledger account
": "{String}",GeneralLedgerAccountLink
General ledger account reference
": "{String}"BankStatementId
Bank statement identifier
": "{Integer}",BankStatementLink
Bank statement reference
": "{String}",BookingDate
Booking date of the bank statement
": "{Date}",OpeningBalance
Opening balance of bank statement
": "{Decimal}",ClosingBalance
Closing balance of bank statement
": "{Decimal}"Clearing
Indicates if the bank account is used for clearing
": "{Boolean}",VATSettlement
Indicates if the bank account is used for VAT settlement
": "{Boolean}",CreditCardTransaction
Indicates if the bank account can be used for credit card payments
": "{Boolean}",Factoring
Indicates if the bank account is used for factoring
": "{Boolean}"SalesInvoice
Indicates if the bank account is used on print for outgoing invoices
": "{Boolean}",ProformaInvoiceBasedOnSalesOrder
Indicates if the bank account is used on print for proforma invoices, based on sales order
": "{Boolean}",ProformaInvoiceBasedOnShippingAdvice
Indicates if the bank account is used on print for proforma invoices, based on shipping advice
": "{Boolean}",Dunning
Indicates if the bank account is used on print for dunnings
": "{Boolean}"AcceptedAt
The date of acceptance the use of BankConnector
": "{Date}",EmployeeId
Employee identifier
": "{Integer}",LastName
Last name of employee
": "{String}",FirstName
First name of employee
": "{String}",EmployeeLink
Employee reference
": "{String}"ImportBankStatements
Indicates if the bank statements will be handled via the BankConnector
": "{Boolean}",SendRemittance
Indicates if the remittances will be handled via the BankConnector
": "{Boolean}",ImportIncomingPayments
Indicates if the incoming payments will be handled via the BankConnector
": "{Boolean}",UserName
User name used to connect to BankConnector
": "{String}",IsPasswordSet
Indicates if the password to the BankConnector was set
": "{Boolean}",ContractId
Contract identifier used in BankConnector
": "{String}",Currency
Currency used for the bank account
Possible domain values can be found here
": "{String}",PendingInternalAction
The sum of the values of pending internal action payments
": "{Decimal}",PendingConfirmation
The sum of the values of pending confirmation payments
": "{Decimal}",Confirmed
The sum of the values of confirmed payments
": "{Decimal}",Reconciled
The sum of the values of reconciled payments
": "{Decimal}",ConfirmedAndReconciled
The sum of the values of confirmed and reconciled payments
": "{Decimal}",CurrentBalance
Opening balance for current year
": "{Decimal}"
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 107901 HTTP 400 | GL account number is required |
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 |
Error 103927 HTTP 404 | Currency not found |
Error 107906 HTTP 400 | Bank with no {0} already exists |