All URIs are relative to https://tripletex.no/v2
| Method | HTTP request | Description |
|---|---|---|
| adjustment | PUT /bank/reconciliation/{id}/:adjustment | [BETA] Add an adjustment to reconciliation by ID. |
| closed_with_unmatched_transactions | GET /bank/reconciliation/closedWithUnmatchedTransactions | [BETA] Get the last closed reconciliation with unmached transactions by account ID. |
| delete | DELETE /bank/reconciliation/{id} | [BETA] Delete bank reconciliation by ID. |
| get | GET /bank/reconciliation/{id} | [BETA] Get bank reconciliation. |
| last_closed | GET /bank/reconciliation/>lastClosed | [BETA] Get last closed reconciliation by account ID. |
| post | POST /bank/reconciliation | [BETA] Post a bank reconciliation. |
| put | PUT /bank/reconciliation/{id} | [BETA] Update a bank reconciliation. |
| search | GET /bank/reconciliation | [BETA] Find bank reconciliation corresponding with sent data. |
ListResponseBankReconciliationAdjustment adjustment(id, opts)
[BETA] Add an adjustment to reconciliation by ID.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
id = 56 # Integer | Element ID
opts = {
body: [TripletexRubyClient::BankReconciliationAdjustment.new] # Array<BankReconciliationAdjustment> | Adjustments
}
begin
#[BETA] Add an adjustment to reconciliation by ID.
result = api_instance.adjustment(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->adjustment: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| body | Array<BankReconciliationAdjustment> | Adjustments | [optional] |
ListResponseBankReconciliationAdjustment
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ResponseWrapperBankReconciliation closed_with_unmatched_transactions(account_id, opts)
[BETA] Get the last closed reconciliation with unmached transactions by account ID.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
account_id = 56 # Integer | Account ID
opts = {
start: 'start_example', # String | Format is yyyy-MM-dd
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Get the last closed reconciliation with unmached transactions by account ID.
result = api_instance.closed_with_unmatched_transactions(account_id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->closed_with_unmatched_transactions: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| account_id | Integer | Account ID | |
| start | String | Format is yyyy-MM-dd | [optional] |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperBankReconciliation
- Content-Type: Not defined
- Accept: Not defined
delete(id)
[BETA] Delete bank reconciliation by ID.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
id = 56 # Integer | Element ID
begin
#[BETA] Delete bank reconciliation by ID.
api_instance.delete(id)
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->delete: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID |
nil (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperBankReconciliation get(id, opts)
[BETA] Get bank reconciliation.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Get bank reconciliation.
result = api_instance.get(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->get: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperBankReconciliation
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperBankReconciliation last_closed(account_id, opts)
[BETA] Get last closed reconciliation by account ID.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
account_id = 56 # Integer | Account ID
opts = {
after: 'after_example', # String | Format is yyyy-MM-dd
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Get last closed reconciliation by account ID.
result = api_instance.last_closed(account_id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->last_closed: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| account_id | Integer | Account ID | |
| after | String | Format is yyyy-MM-dd | [optional] |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperBankReconciliation
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperBankReconciliation post(opts)
[BETA] Post a bank reconciliation.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
opts = {
body: TripletexRubyClient::BankReconciliation.new # BankReconciliation | JSON representing the new object to be created. Should not have ID and version set.
}
begin
#[BETA] Post a bank reconciliation.
result = api_instance.post(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->post: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| body | BankReconciliation | JSON representing the new object to be created. Should not have ID and version set. | [optional] |
ResponseWrapperBankReconciliation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ResponseWrapperBankReconciliation put(id, opts)
[BETA] Update a bank reconciliation.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
id = 56 # Integer | Element ID
opts = {
body: TripletexRubyClient::BankReconciliation.new # BankReconciliation | Partial object describing what should be updated
}
begin
#[BETA] Update a bank reconciliation.
result = api_instance.put(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->put: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| body | BankReconciliation | Partial object describing what should be updated | [optional] |
ResponseWrapperBankReconciliation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ListResponseBankReconciliation search(opts)
[BETA] Find bank reconciliation corresponding with sent data.
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::BankreconciliationApi.new
opts = {
id: 'id_example', # String | List of IDs
accounting_period_id: 'accounting_period_id_example', # String | List of IDs
account_id: 'account_id_example', # String | List of IDs
from: 0, # Integer | From index
count: 1000, # Integer | Number of elements to return
sorting: 'sorting_example', # String | Sorting pattern
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Find bank reconciliation corresponding with sent data.
result = api_instance.search(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling BankreconciliationApi->search: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | List of IDs | [optional] |
| accounting_period_id | String | List of IDs | [optional] |
| account_id | String | List of IDs | [optional] |
| from | Integer | From index | [optional] [default to 0] |
| count | Integer | Number of elements to return | [optional] [default to 1000] |
| sorting | String | Sorting pattern | [optional] |
| fields | String | Fields filter pattern | [optional] |
ListResponseBankReconciliation
- Content-Type: Not defined
- Accept: Not defined