Finance APIs
List of payments
HTTP method | GET |
URI | https://api.rambase.net/finance/payments |
Supported formats | Xml, Html, Json (ex. $format=json) |
Maximum page size ($top) | 80 |
Successful HTTP status code | 200 |
API resource identifier | 509, version 42 |
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.
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.
$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] |
$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 |
$expand String, optional | Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information. |
$select String, optional | Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information. |
$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. |
$format String, optional | Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json" |
$top String, optional | Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10. |
$pageKey String, optional | Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response. |
$filter String, optional | Use to filter the result list, see the Filtering and sorting page for more information. |
$orderby String, optional | Use to order the result list, see the Filtering and sorting page for more information. |
$inlinecount String, optional | Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none" |
Read more about filters and sorting on how to use filter parameters and named filters.
ClearingPayments() Named filter | Clearing payments |
CustomerPayments() Named filter | Customer payments |
MixedPayments() Named filter | Mixed payments |
MyPayments() Named filter | Payments created by current user. |
PaymentsWithMessages() Named filter | Payments with items that has system message |
PaymentWithDeviation() Named filter | Payments with items that has deviation |
Pending() Named filter | Payments pending registration. |
Registered() Named filter | Registered payments. |
SupplierPayments() Named filter | Supplier payments |
AssigneeFirstName String | First name of the user. |
AssigneeId Integer | Employee identifier. Available macros: currentUser() |
AssigneeName String | Name of the user. |
BankAccountAccountNumber String | Account number used to identify the bank account. |
BankAccountCurrency String | Currency used for the bank account. |
BankAccountIBAN String | 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. |
BankAccountId Integer | Bank account identifier. |
BankAccountName String | Name of bank account. |
BankAddressLine1 String | First address line. |
BankAddressLine2 String | Second address line. |
BankCity String | City/town/village. |
BankCountryCode String | Two-character code (ISO 3166) identifying the country. |
BankPaymentReference String | Payment reference number. E.g. information about the data source, such as that it is imported from bankconnector. |
BankPhone String | Bank phone number. |
BankPostalCode String | Postalcode/Postcode/ZIP. |
BankStatementAccountingPeriodId Integer | Accounting period identifier. |
BankStatementReference String | Bank statement reference. |
BankStatementSortIndex Integer | Sorting index of bank statement. |
BankSWIFTCode String | 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.. |
CounterpartyId Integer | Identifier of the object. |
CounterpartyIntercompanyCode String | Intercompany database the customer belongs to. |
CounterpartyObjectType String | Type of object. |
CreatedAt Datetime | Date and time of creation. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
Currency String | Three character code following the ISO 4217 standard. |
CurrencyDate Date | Currency date of the transaction. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
CustomerFirstName String | Secondary name of a company or firstname of a person. |
CustomerId Integer | Customer identifier. |
CustomerName String | Name of customer (name of company or surname/familyname/lastname of a person). |
GeneralLedgerAccountId Integer | General ledger account identifier. |
GeneralLedgerAccountName String | Name of general ledger account. |
GeneralLedgerAccountNumber String | The account number of the general ledger account. |
InternalReference String | Payment reference. E.g. sales invoice or sales order document number. |
Note String | Additional information regarding the object (free text). This note might be visible to customers/suppliers. |
PaymentId Integer | Payment identifier. |
Period Integer | Accounting period. |
Rate Decimal | Exchange rate of the currency. |
ReceiveDate Datetime | Date when the payment was received from the bank. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
RegistrationDate Date | Date of registration. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
RemittanceHandling String | Method of payment. Default value is retrieved from the supplier or customer. |
SendDate Date | Date when the payment was send to the bank or in PAM the payment created. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
SendNumber String | Send number. |
Status Integer | Status of payment. |
SubTotalAmount Decimal | Total amount of the object in object currency, excluding VAT. |
SupplierFirstName String | Firstname/givenname if the supplier is a person. |
SupplierId Integer | RamBase supplier identifier. |
SupplierName String | Name of supplier (name of company or surname/familyname/lastname of a person). |
Term String | Terms of payment. Defaut value is retrieved from the customer or supplier. |
TotalAmount Decimal | Total amount. |
Type String | Type of counterparty with whom the payment is related. |
Read more about filters and sorting on how to use sortable parameters
AssigneeFirstName String | First name of the user |
AssigneeId Integer | Employee identifier |
AssigneeName String | Name of the user |
BankAccountAccountNumber String | Account number used to identify the bank account |
BankAccountCurrency String | Currency used for the bank account |
BankAccountIBAN String | 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. |
BankAccountId Integer | Bank account identifier |
BankAccountName String | Name of bank account |
BankAddressLine1 String | First address line |
BankAddressLine2 String | Second address line |
BankCity String | City/town/village |
BankCountryCode String | Two-character code (ISO 3166) identifying the country. |
BankPaymentReference String | Payment reference number. E.g. information about the data source, such as that it is imported from bankconnector |
BankPhone String | Bank phone number |
BankPostalCode String | Postalcode/Postcode/ZIP |
BankStatementAccountingPeriodId Integer | Accounting period identifier |
BankStatementReference String | Bank statement reference |
BankStatementSortIndex Integer | Sorting index of bank statement |
BankSWIFTCode String | 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. |
CounterpartyId Integer | Identifier of the object |
CounterpartyIntercompanyCode String | Intercompany database the customer belongs to. |
CounterpartyObjectType String | Type of object |
CreatedAt Datetime | Date and time of creation |
Currency String | Three character code following the ISO 4217 standard |
CurrencyDate Date | Currency date of the transaction |
CustomerFirstName String | Secondary name of a company or firstname of a person |
CustomerId Integer | Customer identifier |
CustomerName String | Name of customer (name of company or surname/familyname/lastname of a person) |
GeneralLedgerAccountId Integer | General ledger account identifier |
GeneralLedgerAccountName String | Name of general ledger account |
GeneralLedgerAccountNumber String | The account number of the general ledger account |
InternalReference String | Payment reference. E.g. sales invoice or sales order document number. |
Note String | Additional information regarding the object (free text). This note might be visible to customers/suppliers. |
PaymentId Integer | Payment identifier |
Period Integer | Accounting period |
Rate Decimal | Exchange rate of the currency |
ReceiveDate Datetime | Date when the payment was received from the bank |
RegistrationDate Date | Date of registration |
RemittanceHandling String | Method of payment. Default value is retrieved from the supplier or customer |
SendDate Date | Date when the payment was send to the bank or in PAM the payment created |
SendNumber String | Send number |
Status Integer | Status of payment |
SubTotalAmount Decimal | Total amount of the object in object currency, excluding VAT. |
SupplierFirstName String | Firstname/givenname if the supplier is a person |
SupplierId Integer | RamBase supplier identifier |
SupplierName String | Name of supplier (name of company or surname/familyname/lastname of a person) |
Term String | Terms of payment. Defaut value is retrieved from the customer or supplier |
TotalAmount Decimal | Total amount |
Type String | Type of counterparty with whom the payment is related |
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.
PaymentId
Payment identifier
>{Integer}</PaymentId>RemittanceHandling
Method of payment. Default value is retrieved from the supplier or customer
>{String}</RemittanceHandling>Term
Terms of payment. Defaut value is retrieved from the customer or supplier
>{String}</Term>Type
Type of counterparty with whom the payment is related
Possible domain values can be found here
>{String}</Type>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>RegistrationDate
Date of registration
>{Date}</RegistrationDate>CurrencyDate
Currency date of the transaction
>{Date}</CurrencyDate>SendDate
Date when the payment was send to the bank or in PAM the payment created
>{Date}</SendDate>InternalReference
Payment reference. E.g. sales invoice or sales order document number.
>{String}</InternalReference>BankPaymentReference
Payment reference number. E.g. information about the data source, such as that it is imported from bankconnector
>{String}</BankPaymentReference>SendNumber
Send number
>{String}</SendNumber>Note
Additional information regarding the object (free text). This note might be visible to customers/suppliers.
>{String}</Note>IsBankStatementExcluded
In case of pay with excluded bank statement
>{Boolean}</IsBankStatementExcluded>BankAccountId
Bank account identifier
>{Integer}</BankAccountId>Name
Name of bank account
>{String}</Name>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>AccountNumber
Account number used to identify the bank account
>{String}</AccountNumber>Currency
Currency used for the bank account
>{String}</Currency>BankAccountLink
Bank reference
>{String}</BankAccountLink>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>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>FirstCounterparty
The customer or supplier involved in the payment item
>ObjectId
Identifier of the object
>{Integer}</ObjectId>ObjectType
Type of object
>{String}</ObjectType>Name
Name of customer (name of company or surname/familyname/lastname of a person)
>{String}</Name>FirstName
Secondary name of a company or firstname of a person
>{String}</FirstName>Code
Intercompany database the customer belongs to.
>{String}</Code>ObjectLink
API reference to the object
>{String}</ObjectLink>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>TransactionId
Transaction identifier of the bank statement
>{Integer}</TransactionId>BankStatementId
Bank statement identifier
>{Integer}</BankStatementId>SortIndex
Sorting index of bank statement
>{Integer}</SortIndex>AccountingPeriodId
Accounting period identifier
>{Integer}</AccountingPeriodId>Period
Accounting period
>{Integer}</Period>AccountingPeriodLink
Accounting period reference
>{String}</AccountingPeriodLink>BankStatementLink
Bank statement reference
>{String}</BankStatementLink>TransactionLink
Bank statement transaction reference
>{String}</TransactionLink>AccountingPeriodId
Accounting period identifier
>{Integer}</AccountingPeriodId>Period
Accounting period
>{Integer}</Period>AccountingPeriodLink
Accounting period reference
>{String}</AccountingPeriodLink>UserId
User identifier
>{Integer}</UserId>Name
Name of the user
>{String}</Name>FirstName
First name of the user
>{String}</FirstName>UserLink
User reference
>{String}</UserLink>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>Rate
Exchange rate of the currency
>{Decimal}</Rate>SubTotalAmount
Total amount of the object in object currency, excluding VAT.
>{Decimal}</SubTotalAmount>TotalAmount
Total amount
>{Decimal}</TotalAmount>Paging
Detailed paging information for this list.
>PageSize
Number of elements in the list, as defined in $top. Default is 10.
>{Integer}</PageSize>Position
Position of the first element in the list
>{Integer}</Position>Page
Page index
>{Integer}</Page>FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
>{String}</FirstPage>PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
>{String}</PreviousPage>NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
>{String}</NextPage>LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
>{String}</LastPage>Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
>{Integer}</Size>PaymentId
Payment identifier
": "{Integer}",RemittanceHandling
Method of payment. Default value is retrieved from the supplier or customer
": "{String}",Term
Terms of payment. Defaut value is retrieved from the customer or supplier
": "{String}",Type
Type of counterparty with whom the payment is related
Possible domain values can be found here
": "{String}",CreatedAt
Date and time of creation
": "{Datetime}",Status
Status of payment
Possible domain values can be found here
": "{Integer}",RegistrationDate
Date of registration
": "{Date}",CurrencyDate
Currency date of the transaction
": "{Date}",SendDate
Date when the payment was send to the bank or in PAM the payment created
": "{Date}",InternalReference
Payment reference. E.g. sales invoice or sales order document number.
": "{String}",BankPaymentReference
Payment reference number. E.g. information about the data source, such as that it is imported from bankconnector
": "{String}",SendNumber
Send number
": "{String}",Note
Additional information regarding the object (free text). This note might be visible to customers/suppliers.
": "{String}",IsBankStatementExcluded
In case of pay with excluded bank statement
": "{Boolean}",BankAccountId
Bank account identifier
": "{Integer}",Name
Name of bank account
": "{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}",AccountNumber
Account number used to identify the bank account
": "{String}",Currency
Currency used for the bank account
": "{String}",BankAccountLink
Bank reference
": "{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}",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}"FirstCounterparty
The customer or supplier involved in the payment item
": {ObjectId
Identifier of the object
": "{Integer}",ObjectType
Type of object
": "{String}",Name
Name of customer (name of company or surname/familyname/lastname of a person)
": "{String}",FirstName
Secondary name of a company or firstname of a person
": "{String}",Code
Intercompany database the customer belongs to.
": "{String}"ObjectLink
API reference to the object
": "{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}"TransactionId
Transaction identifier of the bank statement
": "{Integer}",BankStatementId
Bank statement identifier
": "{Integer}",SortIndex
Sorting index of bank statement
": "{Integer}",AccountingPeriodId
Accounting period identifier
": "{Integer}",Period
Accounting period
": "{Integer}",AccountingPeriodLink
Accounting period reference
": "{String}"BankStatementLink
Bank statement reference
": "{String}"TransactionLink
Bank statement transaction reference
": "{String}"AccountingPeriodId
Accounting period identifier
": "{Integer}",Period
Accounting period
": "{Integer}",AccountingPeriodLink
Accounting period reference
": "{String}"UserId
User identifier
": "{Integer}",Name
Name of the user
": "{String}",FirstName
First name of the user
": "{String}",UserLink
User reference
": "{String}"Currency
Three character code following the ISO 4217 standard
": "{String}",Rate
Exchange rate of the currency
": "{Decimal}",SubTotalAmount
Total amount of the object in object currency, excluding VAT.
": "{Decimal}",TotalAmount
Total amount
": "{Decimal}"Paging
Detailed paging information for this list.
": {PageSize
Number of elements in the list, as defined in $top. Default is 10.
": "{Integer}",Position
Position of the first element in the list
": "{Integer}",Page
Page index
": "{Integer}",FirstPage
Link to the first page in the list. $pageKey is set to FirstPageKey.
": "{String}",PreviousPage
Link to the previous page in the list. $pageKey is set to PreviousPageKey.
": "{String}",NextPage
Link to the next page in the list. $pageKey is set to NextPageKey.
": "{String}",LastPage
Link to the last page in the list. $pageKey is set to LastPageKey.
": "{String}",Size
Total number of records in the list. Use $inlinecount=allpages in the request uri to include this
": "{Integer}"
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: