Finance APIs
Details about a specific transaction of an bank statement
| HTTP method | GET |
| URI | https://api.rambase.net/finance/bank-statements/{bankStatementId}/transactions/{transactionId}?includeAllOpenItems={includeAllOpenItems} |
| Supported formats | Xml, Html, Json (ex. $format=json) |
| - URI parameter {bankStatementId} |
Bank statement identifier
Integer, minimum 100000 |
| - URI parameter {transactionId} |
Transaction identifier of the bank statement
Integer, minimum 1 |
| Maximum page size ($top) | 80 |
| Successful HTTP status code | 200 |
| API resource identifier | 5527, version 13 |
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.
| includeAllOpenItems Boolean, optional | Indicates if applicable payments should be reconciled with all open transactions |
| $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 |
| $format String, optional | Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json" |
| $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. |
| $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. |
| $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. |
Read more about filters and sorting on how to use filter parameters and named filters.
| Bank Integer | Bank account identifier. |
| BankStatementReference String | Bank statement reference. |
| CreatedBy Integer | Identifier of the employee who created the payment. |
| 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() |
| IssueDate Date | Date when the document was issued. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| PaymentId Integer | Payment identifier. |
| Period Integer | Accounting period identifier. Available macros: currentPeriod(), previousPeriod() |
| RegistrationDate Date | Date of registration. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth() |
| SortIndex Integer | Sorting index of payment. |
| Status Integer | Status of payment. |
| TotalAmount Decimal | Total amount. |
Read more about filters and sorting on how to use sortable parameters
| Bank Integer | Bank account identifier |
| BankStatementReference String | Bank statement reference |
| CreatedBy Integer | Identifier of the employee who created the payment |
| Currency String | Three character code following the ISO 4217 standard |
| CurrencyDate Date | Currency date of the transaction |
| IssueDate Date | Date when the document was issued. |
| PaymentId Integer | Payment identifier |
| Period Integer | Accounting period identifier |
| RegistrationDate Date | Date of registration |
| SortIndex Integer | Sorting index of payment |
| Status Integer | Status of payment |
| TotalAmount Decimal | Total amount |
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.
CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>TransactionId
Transaction identifier of the bank statement
>{Integer}</TransactionId>BookingDate
Booking date of the bank statement transaction
>{Date}</BookingDate>CurrencyDate
Currency date of the bank statement transaction
>{Date}</CurrencyDate>BankReference
Reference from the bank
>{String}</BankReference>TransactionReference
Our internal reference
>{String}</TransactionReference>PaymentMessage
Message from the payment
>{String}</PaymentMessage>InternalMessage
Internal message from the system
>{String}</InternalMessage>ReconciliationId
Reconciliation identifier of the bank statement
>{Integer}</ReconciliationId>ReconciliationMethod
Method of the reconciliation
>{String}</ReconciliationMethod>ReconciledBy
The user who has reconciled the bank statement transaction
>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>BatchJobId
Batch job identifier
>{Integer}</BatchJobId>BatchJobLink
Batch job reference
>{String}</BatchJobLink>ApprovedBy
The user who has approved the bank statement transaction
>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>BankAmount
Transaction amount
>{Decimal}</BankAmount>PaymentAmount
Payment amount
>{Decimal}</PaymentAmount>DeviationAmount
Deviation amount
>{Decimal}</DeviationAmount>CreatedAt
Date and time of creation
": "{Datetime}",TransactionId
Transaction identifier of the bank statement
": "{Integer}",Status
Status of bank statement
Possible domain values can be found here
": "{Integer}",BookingDate
Booking date of the bank statement transaction
": "{Date}",CurrencyDate
Currency date of the bank statement transaction
": "{Date}",BankReference
Reference from the bank
": "{String}",TransactionReference
Our internal reference
": "{String}",PaymentMessage
Message from the payment
": "{String}",InternalMessage
Internal message from the system
": "{String}",ReconciliationId
Reconciliation identifier of the bank statement
": "{Integer}",ReconciliationMethod
Method of the reconciliation
": "{String}",ReconciledBy
The user who has reconciled the bank statement transaction
": {UserId
User identifier
": "{Integer}",Name
Name of the user
": "{String}",FirstName
First name of the user
": "{String}",UserLink
User reference
": "{String}"BatchJobId
Batch job identifier
": "{Integer}",BatchJobLink
Batch job reference
": "{String}"ApprovedBy
The user who has approved the bank statement transaction
": {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}",BankAmount
Transaction amount
": "{Decimal}",PaymentAmount
Payment amount
": "{Decimal}",DeviationAmount
Deviation amount
": "{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 101814 HTTP 404 | Employee not found |
| Error 104526 HTTP 404 | Bank statement item not found |