Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tripletex_api3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tripletex_api3

  • 1.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

tripletex_api

TripletexApi - the Ruby gem for the Tripletex API

The Tripletex API is a RESTful API, which does not implement PATCH, but uses a PUT with optional fields. Actions or commands are represented in our RESTful path with a prefixed :. Example: /v2/hours/123/:approve. Summaries or aggregated results are represented in our RESTful path with a prefixed >. Example: /v2/hours/>thisWeeksBillables. "requestID" is a key found in all validation and error responses. If additional log information is absolutely necessary, our support division can locate the key value. Download the swagger.json file OpenAPI Specification to generate code. This document was generated from the Swagger JSON file. version: This is a versioning number found on all DB records. If included, it will prevent your PUT/POST from overriding any updates to the record since your GET. Date & DateTime follows the ISO 8601 standard. Date: YYYY-MM-DD. DateTime: YYYY-MM-DDThh:mm:ssZ Sorting is done by specifying a comma separated list, where a - prefix denotes descending. You can sort by sub object with the following format: project.name, -date. Searching: is done by entering values in the optional fields for each API call. The values fall into the following categories: range, in, exact and like. Missing fields or even no response data can occur because result objects and fields are filtered on authorization. See FAQ for more additional information. ## Authentication: - Tokens: The Tripletex API uses 3 different tokens - consumerToken, employeeToken and sessionToken. - consumerToken is a token provided to the consumer by Tripletex after the API 2.0 registration is completed. - employeeToken is a token created by an administrator in your Tripletex account via the user settings and the tab "API access". Each employee token must be given a set of entitlements. Read more here. - sessionToken is the token from /token/session/:create which requires a consumerToken and an employeeToken created with the same consumer token, but not an authentication header. See how to create a sessionToken here. - The session token is used as the password in "Basic Authentication Header" for API calls. - Use blank or 0 as username for accessing the account with regular employee token, or if a company owned employee token accesses /company/>withLoginAccess or /token/session/>whoAmI. - For company owned employee tokens (accounting offices) the ID from /company/>withLoginAccess can be used as username for accessing client accounts. - If you need to create the header yourself use Authorization: Basic <base64encode('0:sessionToken')>. ## Tags: - <div class="tag-icon-beta"> [BETA] This is a beta endpoint and can be subject to change. - <div class="tag-icon-deprecated"> [DEPRECATED] Deprecated means that we intend to remove/change this feature or capability in a future "major" API release. We therefore discourage all use of this feature/capability. ## Fields: Use the fields parameter to specify which fields should be returned. This also supports fields from sub elements. Example values: - project,activity,hours returns {project:..., activity:...., hours:...}. - just project returns \"project\" : { \"id\": 12345, \"url\": \"tripletex.no/v2/projects/12345\" }. - project(*) returns \"project\" : { \"id\": 12345 \"name\":\"ProjectName\" \"number.....startDate\": \"2013-01-07\" }. - project(name) returns \"project\" : { \"name\":\"ProjectName\" }. - All elements and some subElements : *,activity(name),employee(*). ## Changes: To get the changes for a resource, changes have to be explicitly specified as part of the fields parameter, e.g. *,changes. There are currently two types of change available: - CREATE for when the resource was created - UPDATE for when the resource was updated NOTE: For objects created prior to October 24th 2018 the list may be incomplete, but will always contain the CREATE and the last change (if the object has been changed after creation). ## Rate limiting in each response header: Rate limiting is performed on the API calls for an employee for each API consumer. Status regarding the rate limit is returned as headers: - X-Rate-Limit-Limit - The number of allowed requests in the current period. - X-Rate-Limit-Remaining - The number of remaining requests. - X-Rate-Limit-Reset - The number of seconds left in the current period. Once the rate limit is hit, all requests will return HTTP status code 429 for the remainder of the current period. ## Response envelope: { \"fullResultSize\": ###, \"from\": ###, // Paging starting from \"count\": ###, // Paging count \"versionDigest\": \"Hash of full result\", \"values\": [...list of objects...] } { \"value\": {...single object...} } ## WebHook envelope: { \"subscriptionId\": ###, \"event\": \"object.verb\", // As listed from /v2/event/ \"id\": ###, // Object id \"value\": {... single object, null if object.deleted ...} } ## Error/warning envelope: { \"status\": ###, // HTTP status code \"code\": #####, // internal status code of event \"message\": \"Basic feedback message in your language\", \"link\": \"Link to doc\", \"developerMessage\": \"More technical message\", \"validationMessages\": [ // Will be null if Error { \"field\": \"Name of field\", \"message\": \"Validation failure information\" } ], \"requestId\": \"UUID used in any logs\" } ## Status codes / Error codes: - 200 OK - 201 Created - From POSTs that create something new. - 204 No Content - When there is no answer, ex: "/:anAction" or DELETE. - 400 Bad request - - 4000 Bad Request Exception - 11000 Illegal Filter Exception - 12000 Path Param Exception - 24000 Cryptography Exception - 401 Unauthorized - When authentication is required and has failed or has not yet been provided - 3000 Authentication Exception - 9000 Security Exception - 403 Forbidden - When AuthorisationManager says no. - 404 Not Found - For content/IDs that does not exist. - 6000 Not Found Exception - 409 Conflict - Such as an edit conflict between multiple simultaneous updates - 7000 Object Exists Exception - 8000 Revision Exception - 10000 Locked Exception - 14000 Duplicate entry - 422 Bad Request - For Required fields or things like malformed payload. - 15000 Value Validation Exception - 16000 Mapping Exception - 17000 Sorting Exception - 18000 Validation Exception - 21000 Param Exception - 22000 Invalid JSON Exception - 23000 Result Set Too Large Exception - 429 Too Many Requests - Request rate limit hit - 500 Internal Error - Unexpected condition was encountered and no more specific message is suitable - 1000 Exception

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 2.32.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build tripletex_api.gemspec

Then either install the gem locally:

gem install ./tripletex_api-1.0.0.gem

(for development, run gem install --dev ./tripletex_api-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'tripletex_api', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'tripletex_api', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'tripletex_api'

# Setup authorization
TripletexApi.configure do |config|
  # Configure HTTP basic authorization: tokenAuthScheme
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = TripletexApi::ActivityApi.new

id = 56 # Integer | Element ID

opts = { 
  fields: "fields_example" # String | Fields filter pattern
}

begin
  #Find activity by ID.
  result = api_instance.get(id, opts)
  p result
rescue TripletexApi::ApiError => e
  puts "Exception when calling ActivityApi->get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://tripletex.no/v2

ClassMethodHTTP requestDescription
TripletexApi::ActivityApigetGET /activity/{id}Find activity by ID.
TripletexApi::ActivityApiget_for_time_sheetGET /activity/>forTimeSheetFind applicable time sheet activities for an employee on a specific day.
TripletexApi::ActivityApisearchGET /activityFind activities corresponding with sent data.
TripletexApi::AddressApigetGET /address/{id}Get address by ID.
TripletexApi::AddressApiputPUT /address/{id}Update address.
TripletexApi::AddressApisearchGET /addressFind addresses corresponding with sent data.
TripletexApi::BankApisearchGET /bank[BETA] Find bank corresponding with sent data.
TripletexApi::BankreconciliationApiadjustmentPUT /bank/reconciliation/{id}/:adjustment[BETA] Add an adjustment to reconciliation by ID.
TripletexApi::BankreconciliationApideleteDELETE /bank/reconciliation/{id}[BETA] Delete bank reconciliation by ID.
TripletexApi::BankreconciliationApifetch_from_bankPUT /bank/reconciliation/:fetchFromBank[BETA] Create a bank reconciliation by fetching bank statement from the bank.
TripletexApi::BankreconciliationApigetGET /bank/reconciliation/{id}[BETA] Get bank reconciliation.
TripletexApi::BankreconciliationApilast_closedGET /bank/reconciliation/>lastClosed[BETA] Get last closed reconciliation by account ID.
TripletexApi::BankreconciliationApipostPOST /bank/reconciliation[BETA] Post a bank reconciliation.
TripletexApi::BankreconciliationApiputPUT /bank/reconciliation/{id}[BETA] Update a bank reconciliation.
TripletexApi::BankreconciliationApisearchGET /bank/reconciliation[BETA] Find bank reconciliation corresponding with sent data.
TripletexApi::BankreconciliationmatchApideleteDELETE /bank/reconciliation/match/{id}[BETA] Delete a bank reconciliation match by ID.
TripletexApi::BankreconciliationmatchApigetGET /bank/reconciliation/match/{id}[BETA] Get bank reconciliation match by ID.
TripletexApi::BankreconciliationmatchApipostPOST /bank/reconciliation/match[BETA] Create a bank reconciliation match.
TripletexApi::BankreconciliationmatchApiputPUT /bank/reconciliation/match/{id}[BETA] Update a bank reconciliation match by ID.
TripletexApi::BankreconciliationmatchApisearchGET /bank/reconciliation/match[BETA] Find bank reconciliation match corresponding with sent data.
TripletexApi::BankreconciliationmatchApisuggestPUT /bank/reconciliation/match/:suggest[BETA] Suggest matches for a bank reconciliation by ID.
TripletexApi::BankreconciliationpaymentTypeApigetGET /bank/reconciliation/paymentType/{id}[BETA] Get payment type by ID.
TripletexApi::BankreconciliationpaymentTypeApisearchGET /bank/reconciliation/paymentType[BETA] Find payment type corresponding with sent data.
TripletexApi::BankstatementApideleteDELETE /bank/statement/{id}[BETA] Delete bank statement by ID.
TripletexApi::BankstatementApigetGET /bank/statement/{id}[BETA] Get bank statement.
TripletexApi::BankstatementApiimport_bank_statementPOST /bank/statement/import[BETA] Upload bank statement file.
TripletexApi::BankstatementApisearchGET /bank/statement[BETA] Find bank statement corresponding with sent data.
TripletexApi::BankstatementtransactionApigetGET /bank/statement/transaction/{id}[BETA] Get bank transaction by ID.
TripletexApi::BankstatementtransactionApiget_detailsGET /bank/statement/transaction/{id}/details[BETA] Get additional details about transaction by ID.
TripletexApi::BankstatementtransactionApisearchGET /bank/statement/transaction[BETA] Find bank transaction corresponding with sent data.
TripletexApi::CompanyApigetGET /company/{id}Find company by ID.
TripletexApi::CompanyApiget_divisionsGET /company/divisions[DEPRECATED] Find divisions.
TripletexApi::CompanyApiget_with_login_accessGET /company/>withLoginAccessReturns client customers (with accountant/auditor relation) where the current user has login access (proxy login).
TripletexApi::CompanyApiputPUT /companyUpdate company information.
TripletexApi::CompanyaltinnApiputPUT /company/settings/altinn[BETA] Update AltInn id and password.
TripletexApi::CompanyaltinnApisearchGET /company/settings/altinn[BETA] Find Altinn id for login in company.
TripletexApi::ContactApigetGET /contact/{id}Get contact by ID.
TripletexApi::ContactApipostPOST /contactCreate contact.
TripletexApi::ContactApiputPUT /contact/{id}[BETA] Update contact.
TripletexApi::ContactApisearchGET /contactFind contacts corresponding with sent data.
TripletexApi::CountryApigetGET /country/{id}Get country by ID.
TripletexApi::CountryApisearchGET /countryFind countries corresponding with sent data.
TripletexApi::CrmprospectApigetGET /crm/prospect/{id}Get prospect by ID.
TripletexApi::CrmprospectApisearchGET /crm/prospectFind prospects corresponding with sent data.
TripletexApi::CurrencyApigetGET /currency/{id}Get currency by ID.
TripletexApi::CurrencyApisearchGET /currencyFind currencies corresponding with sent data.
TripletexApi::CustomerApigetGET /customer/{id}Get customer by ID.
TripletexApi::CustomerApipostPOST /customerCreate customer. Related customer addresses may also be created.
TripletexApi::CustomerApipost_listPOST /customer/list[BETA] Create multiple customers. Related supplier addresses may also be created.
TripletexApi::CustomerApiputPUT /customer/{id}Update customer.
TripletexApi::CustomerApiput_listPUT /customer/list[BETA] Update multiple customers. Addresses can also be updated.
TripletexApi::CustomerApisearchGET /customerFind customers corresponding with sent data.
TripletexApi::CustomercategoryApigetGET /customer/category/{id}Find customer/supplier category by ID.
TripletexApi::CustomercategoryApipostPOST /customer/categoryAdd new customer/supplier category.
TripletexApi::CustomercategoryApiputPUT /customer/category/{id}Update customer/supplier category.
TripletexApi::CustomercategoryApisearchGET /customer/categoryFind customer/supplier categories corresponding with sent data.
TripletexApi::DepartmentApigetGET /department/{id}Get department by ID.
TripletexApi::DepartmentApipostPOST /department[BETA] Add new department.
TripletexApi::DepartmentApipost_listPOST /department/list[BETA] Register new departments.
TripletexApi::DepartmentApiputPUT /department/{id}[BETA] Update department.
TripletexApi::DepartmentApiput_listPUT /department/list[BETA] Update multiple departments.
TripletexApi::DepartmentApisearchGET /departmentFind department corresponding with sent data.
TripletexApi::DivisionApipostPOST /division[BETA] Create division.
TripletexApi::DivisionApipost_listPOST /division/list[BETA] Create divisions.
TripletexApi::DivisionApiputPUT /division/{id}[BETA] Update division information.
TripletexApi::DivisionApiput_listPUT /division/list[BETA] Update multiple divisions.
TripletexApi::DivisionApisearchGET /division[BETA] Get divisions.
TripletexApi::DocumentApidownload_contentGET /document/{id}/content[BETA] Get content of document given by ID.
TripletexApi::DocumentApigetGET /document/{id}[BETA] Get document by ID.
TripletexApi::EmployeeApigetGET /employee/{id}Get employee by ID.
TripletexApi::EmployeeApipostPOST /employee[BETA] Create one employee.
TripletexApi::EmployeeApipost_listPOST /employee/list[BETA] Create several employees.
TripletexApi::EmployeeApiputPUT /employee/{id}Update employee.
TripletexApi::EmployeeApisearchGET /employeeFind employees corresponding with sent data.
TripletexApi::EmployeeemploymentApigetGET /employee/employment/{id}Find employment by ID.
TripletexApi::EmployeeemploymentApipostPOST /employee/employment[BETA] Create employment.
TripletexApi::EmployeeemploymentApiputPUT /employee/employment/{id}[BETA] Update employemnt.
TripletexApi::EmployeeemploymentApisearchGET /employee/employmentFind all employments for employee.
TripletexApi::EmployeeemploymentdetailsApigetGET /employee/employment/details/{id}[BETA] Find employment details by ID.
TripletexApi::EmployeeemploymentdetailsApipostPOST /employee/employment/details[BETA] Create employment details.
TripletexApi::EmployeeemploymentdetailsApiputPUT /employee/employment/details/{id}[BETA] Update employment details.
TripletexApi::EmployeeemploymentdetailsApisearchGET /employee/employment/details[BETA] Find all employmentdetails for employment.
TripletexApi::EmployeeemploymentemploymentTypeApiget_maritime_employment_typeGET /employee/employment/employmentType/maritimeEmploymentType[BETA] Find all maritime employment type IDs.
TripletexApi::EmployeeemploymentemploymentTypeApiget_salary_typeGET /employee/employment/employmentType/salaryType[BETA] Find all salary type IDs.
TripletexApi::EmployeeemploymentemploymentTypeApiget_schedule_typeGET /employee/employment/employmentType/scheduleType[BETA] Find all schedule type IDs.
TripletexApi::EmployeeemploymentemploymentTypeApisearchGET /employee/employment/employmentType[BETA] Find all employment type IDs.
TripletexApi::EmployeeemploymentleaveOfAbsenceApigetGET /employee/employment/leaveOfAbsence/{id}[BETA] Find leave of absence by ID.
TripletexApi::EmployeeemploymentleaveOfAbsenceApipostPOST /employee/employment/leaveOfAbsence[BETA] Create leave of absence.
TripletexApi::EmployeeemploymentleaveOfAbsenceApipost_listPOST /employee/employment/leaveOfAbsence/list[BETA] Create multiple leave of absences.
TripletexApi::EmployeeemploymentleaveOfAbsenceApiputPUT /employee/employment/leaveOfAbsence/{id}[BETA] Update leave of absence.
TripletexApi::EmployeeemploymentleaveOfAbsenceTypeApisearchGET /employee/employment/leaveOfAbsenceType[BETA] Find all leave of absence type IDs.
TripletexApi::EmployeeemploymentoccupationCodeApisearchGET /employee/employment/occupationCode[BETA] Find all profession codes.
TripletexApi::EmployeeemploymentremunerationTypeApisearchGET /employee/employment/remunerationType[BETA] Find all remuneration type IDs.
TripletexApi::EmployeeemploymentworkingHoursSchemeApisearchGET /employee/employment/workingHoursScheme[BETA] Find working hours scheme ID.
TripletexApi::EmployeeentitlementApiclientGET /employee/entitlement/client[BETA] Find all entitlements at client for user.
TripletexApi::EmployeeentitlementApigetGET /employee/entitlement/{id}Get entitlement by ID.
TripletexApi::EmployeeentitlementApigrant_client_entitlements_by_templatePUT /employee/entitlement/:grantClientEntitlementsByTemplate[BETA] Update employee entitlements in client account.
TripletexApi::EmployeeentitlementApigrant_entitlements_by_templatePUT /employee/entitlement/:grantEntitlementsByTemplate[BETA] Update employee entitlements.
TripletexApi::EmployeeentitlementApisearchGET /employee/entitlementFind all entitlements for user.
TripletexApi::EmployeenextOfKinApigetGET /employee/nextOfKin/{id}[BETA] Find next of kin by ID.
TripletexApi::EmployeenextOfKinApipostPOST /employee/nextOfKin[BETA] Create next of kin.
TripletexApi::EmployeenextOfKinApiputPUT /employee/nextOfKin/{id}[BETA] Update next of kin.
TripletexApi::EmployeenextOfKinApisearchGET /employee/nextOfKinFind all next of kin for employee.
TripletexApi::EmployeestandardTimeApigetGET /employee/standardTime/{id}[BETA] Find standard time by ID.
TripletexApi::EmployeestandardTimeApipostPOST /employee/standardTime[BETA] Create standard time.
TripletexApi::EmployeestandardTimeApiputPUT /employee/standardTime/{id}[BETA] Update standard time.
TripletexApi::EmployeestandardTimeApisearchGET /employee/standardTime[BETA] Find all standard times for employee.
TripletexApi::EventApigetGET /event[BETA] Get all (WebHook) event keys.
TripletexApi::EventsubscriptionApideleteDELETE /event/subscription/{id}[BETA] Delete the given subscription.
TripletexApi::EventsubscriptionApigetGET /event/subscription/{id}[BETA] Get subscription by ID.
TripletexApi::EventsubscriptionApipostPOST /event/subscription[BETA] Create a new subscription for current EmployeeToken.
TripletexApi::EventsubscriptionApiputPUT /event/subscription/{id}[BETA] Change a current subscription, based on id.
TripletexApi::EventsubscriptionApisearchGET /event/subscription[BETA] Find all ongoing subscriptions.
TripletexApi::InventoryApigetGET /inventory/{id}Get inventory by ID.
TripletexApi::InventoryApisearchGET /inventoryFind inventory corresponding with sent data.
TripletexApi::InvoiceApicreate_credit_notePUT /invoice/{id}/:createCreditNote[BETA] Creates a new Invoice representing a credit memo that nullifies the given invoice. Updates this invoice and any pre-existing inverse invoice.
TripletexApi::InvoiceApicreate_reminderPUT /invoice/{id}/:createReminder[BETA] Create invoice reminder and sends it by the given dispatch type. Supports the reminder types SOFT_REMINDER, REMINDER and NOTICE_OF_DEBT_COLLECTION. DispatchType NETS_PRINT must have type NOTICE_OF_DEBT_COLLECTION. SMS and NETS_PRINT must be activated prior to usage in the API.
TripletexApi::InvoiceApidownload_pdfGET /invoice/{invoiceId}/pdfGet invoice document by invoice ID.
TripletexApi::InvoiceApigetGET /invoice/{id}Get invoice by ID.
TripletexApi::InvoiceApipaymentPUT /invoice/{id}/:paymentUpdate invoice. The invoice is updated with payment information. The amount is in the invoice’s currency.
TripletexApi::InvoiceApipostPOST /invoiceCreate invoice.
TripletexApi::InvoiceApisearchGET /invoiceFind invoices corresponding with sent data. Includes charged outgoing invoices only.
TripletexApi::InvoiceApisendPUT /invoice/{id}/:send[BETA] Send invoice by ID and sendType. Optionally override email recipient.
TripletexApi::InvoicedetailsApigetGET /invoice/details/{id}[BETA] Get ProjectInvoiceDetails by ID.
TripletexApi::InvoicedetailsApisearchGET /invoice/detailsFind ProjectInvoiceDetails corresponding with sent data.
TripletexApi::InvoicepaymentTypeApigetGET /invoice/paymentType/{id}Get payment type by ID.
TripletexApi::InvoicepaymentTypeApisearchGET /invoice/paymentTypeFind payment type corresponding with sent data.
TripletexApi::LedgerApiopen_postGET /ledger/openPostFind open posts corresponding with sent data.
TripletexApi::LedgerApisearchGET /ledgerGet ledger (hovedbok).
TripletexApi::LedgeraccountApideleteDELETE /ledger/account/{id}[BETA] Delete account.
TripletexApi::LedgeraccountApidelete_by_idsDELETE /ledger/account/list[BETA] Delete multiple accounts.
TripletexApi::LedgeraccountApigetGET /ledger/account/{id}Get account by ID.
TripletexApi::LedgeraccountApipostPOST /ledger/account[BETA] Create a new account.
TripletexApi::LedgeraccountApipost_listPOST /ledger/account/list[BETA] Create several accounts.
TripletexApi::LedgeraccountApiputPUT /ledger/account/{id}[BETA] Update account.
TripletexApi::LedgeraccountApiput_listPUT /ledger/account/list[BETA] Update multiple accounts.
TripletexApi::LedgeraccountApisearchGET /ledger/accountFind accounts corresponding with sent data.
TripletexApi::LedgeraccountingPeriodApigetGET /ledger/accountingPeriod/{id}Get accounting period by ID.
TripletexApi::LedgeraccountingPeriodApisearchGET /ledger/accountingPeriodFind accounting periods corresponding with sent data.
TripletexApi::LedgerannualAccountApigetGET /ledger/annualAccount/{id}Get annual account by ID.
TripletexApi::LedgerannualAccountApisearchGET /ledger/annualAccountFind annual accounts corresponding with sent data.
TripletexApi::LedgercloseGroupApigetGET /ledger/closeGroup/{id}Get close group by ID.
TripletexApi::LedgercloseGroupApisearchGET /ledger/closeGroupFind close groups corresponding with sent data.
TripletexApi::LedgerpaymentTypeOutApideleteDELETE /ledger/paymentTypeOut/{id}[BETA] Delete payment type for outgoing payments by ID.
TripletexApi::LedgerpaymentTypeOutApigetGET /ledger/paymentTypeOut/{id}[BETA] Get payment type for outgoing payments by ID.
TripletexApi::LedgerpaymentTypeOutApipostPOST /ledger/paymentTypeOut[BETA] Create new payment type for outgoing payments
TripletexApi::LedgerpaymentTypeOutApipost_listPOST /ledger/paymentTypeOut/list[BETA] Create multiple payment types for outgoing payments at once
TripletexApi::LedgerpaymentTypeOutApiputPUT /ledger/paymentTypeOut/{id}[BETA] Update existing payment type for outgoing payments
TripletexApi::LedgerpaymentTypeOutApiput_listPUT /ledger/paymentTypeOut/list[BETA] Update multiple payment types for outgoing payments at once
TripletexApi::LedgerpaymentTypeOutApisearchGET /ledger/paymentTypeOut[BETA] Gets payment types for outgoing payments
TripletexApi::LedgerpostingApigetGET /ledger/posting/{id}Find postings by ID.
TripletexApi::LedgerpostingApiopen_postGET /ledger/posting/openPostFind open posts corresponding with sent data.
TripletexApi::LedgerpostingApisearchGET /ledger/postingFind postings corresponding with sent data.
TripletexApi::LedgervatTypeApigetGET /ledger/vatType/{id}Get vat type by ID.
TripletexApi::LedgervatTypeApisearchGET /ledger/vatTypeFind vat types corresponding with sent data.
TripletexApi::LedgervoucherApideleteDELETE /ledger/voucher/{id}[BETA] Delete voucher by ID.
TripletexApi::LedgervoucherApidownload_pdfGET /ledger/voucher/{voucherId}/pdfGet attachment by voucher ID.
TripletexApi::LedgervoucherApigetGET /ledger/voucher/{id}Get voucher by ID.
TripletexApi::LedgervoucherApiimport_documentPOST /ledger/voucher/importDocument[BETA] Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG, TIFF and EHF. Send as multipart form.
TripletexApi::LedgervoucherApiimport_gbat10POST /ledger/voucher/importGbat10Import GBAT10. Send as multipart form.
TripletexApi::LedgervoucherApinon_postedGET /ledger/voucher/>nonPosted[BETA] Find non-posted vouchers.
TripletexApi::LedgervoucherApipostPOST /ledger/voucherAdd new voucher. IMPORTANT: Also creates postings. Only the gross amounts will be used
TripletexApi::LedgervoucherApiputPUT /ledger/voucher/{id}[BETA] Update voucher. Postings with guiRow==0 will be deleted and regenerated.
TripletexApi::LedgervoucherApiput_listPUT /ledger/voucher/list[BETA] Update multiple vouchers. Postings with guiRow==0 will be deleted and regenerated.
TripletexApi::LedgervoucherApireversePUT /ledger/voucher/{id}/:reverseReverses the voucher, and returns the reversed voucher. Supports reversing most voucher types, except salary transactions.
TripletexApi::LedgervoucherApisearchGET /ledger/voucherFind vouchers corresponding with sent data.
TripletexApi::LedgervoucherApisend_to_inboxPUT /ledger/voucher/{id}/:sendToInbox[BETA] Send voucher to inbox.
TripletexApi::LedgervoucherApisend_to_ledgerPUT /ledger/voucher/{id}/:sendToLedger[BETA] Send voucher to ledger.
TripletexApi::LedgervoucherApiupload_pdfPOST /ledger/voucher/{voucherId}/pdf/{fileName}Upload attachment to voucher. Send as multipart form.
TripletexApi::LedgervoucherTypeApigetGET /ledger/voucherType/{id}Get voucher type by ID.
TripletexApi::LedgervoucherTypeApisearchGET /ledger/voucherTypeFind voucher types corresponding with sent data.
TripletexApi::MunicipalityApisearchGET /municipality[BETA] Get municipalities.
TripletexApi::OrderApigetGET /order/{id}Get order by ID.
TripletexApi::OrderApiinvoicePUT /order/{id}/:invoiceCreate new invoice from order.
TripletexApi::OrderApipostPOST /orderCreate order.
TripletexApi::OrderApiputPUT /order/{id}Update order.
TripletexApi::OrderApisearchGET /orderFind orders corresponding with sent data.
TripletexApi::OrderorderlineApideleteDELETE /order/orderline/{id}[BETA] Delete order line by ID.
TripletexApi::OrderorderlineApigetGET /order/orderline/{id}Get order line by ID.
TripletexApi::OrderorderlineApipostPOST /order/orderlineCreate order line. When creating several order lines, use /list for better performance.
TripletexApi::OrderorderlineApipost_listPOST /order/orderline/listCreate multiple order lines.
TripletexApi::ProductApigetGET /product/{id}Get product by ID.
TripletexApi::ProductApipostPOST /productCreate new product.
TripletexApi::ProductApiputPUT /product/{id}Update product.
TripletexApi::ProductApisearchGET /productFind products corresponding with sent data.
TripletexApi::ProductexternalApigetGET /product/external/{id}[BETA] Get external product by ID.
TripletexApi::ProductexternalApisearchGET /product/external[BETA] Find external products corresponding with sent data.
TripletexApi::ProductunitApigetGET /product/unit/{id}Get product unit by ID.
TripletexApi::ProductunitApisearchGET /product/unitFind product units corresponding with sent data.
TripletexApi::ProjectApideleteDELETE /project/{id}[BETA] Delete project.
TripletexApi::ProjectApidelete_by_idsDELETE /project/list[BETA] Delete projects.
TripletexApi::ProjectApidelete_listDELETE /project[BETA] Delete multiple projects.
TripletexApi::ProjectApigetGET /project/{id}Find project by ID.
TripletexApi::ProjectApiget_for_time_sheetGET /project/>forTimeSheetFind projects applicable for time sheet registration on a specific day.
TripletexApi::ProjectApipostPOST /project[BETA] Add new project.
TripletexApi::ProjectApipost_listPOST /project/list[BETA] Register new projects. Multiple projects for different users can be sent in the same request.
TripletexApi::ProjectApiputPUT /project/{id}[BETA] Update project.
TripletexApi::ProjectApiput_listPUT /project/list[BETA] Update multiple projects.
TripletexApi::ProjectApisearchGET /projectFind projects corresponding with sent data.
TripletexApi::ProjectcategoryApigetGET /project/category/{id}Find project category by ID.
TripletexApi::ProjectcategoryApipostPOST /project/categoryAdd new project category.
TripletexApi::ProjectcategoryApiputPUT /project/category/{id}Update project category.
TripletexApi::ProjectcategoryApisearchGET /project/categoryFind project categories corresponding with sent data.
TripletexApi::ProjectorderlineApideleteDELETE /project/orderline/{id}[BETA] Delete order line by ID.
TripletexApi::ProjectorderlineApigetGET /project/orderline/{id}[BETA] Get order line by ID.
TripletexApi::ProjectorderlineApipostPOST /project/orderline[BETA] Create order line. When creating several order lines, use /list for better performance.
TripletexApi::ProjectorderlineApipost_listPOST /project/orderline/list[BETA] Create multiple order lines.
TripletexApi::ProjectorderlineApiputPUT /project/orderline/{id}[BETA] Update project orderline.
TripletexApi::ProjectparticipantApidelete_by_idsDELETE /project/participant/list[BETA] Delete project participants.
TripletexApi::ProjectparticipantApigetGET /project/participant/{id}[BETA] Find project participant by ID.
TripletexApi::ProjectparticipantApipostPOST /project/participant[BETA] Add new project participant.
TripletexApi::ProjectparticipantApipost_listPOST /project/participant/list[BETA] Register new projects. Multiple projects for different users can be sent in the same request.
TripletexApi::ProjectparticipantApiputPUT /project/participant/{id}[BETA] Update project participant.
TripletexApi::ReminderApigetGET /reminder/{id}Get reminder by ID.
TripletexApi::ReminderApisearchGET /reminderFind reminders corresponding with sent data.
TripletexApi::SalarypayslipApidownload_pdfGET /salary/payslip/{id}/pdf[BETA] Find payslip (PDF document) by ID.
TripletexApi::SalarypayslipApigetGET /salary/payslip/{id}[BETA] Find payslip by ID.
TripletexApi::SalarypayslipApisearchGET /salary/payslip[BETA] Find payslips corresponding with sent data.
TripletexApi::SalarysettingsApigetGET /salary/settings[BETA] Get salary settings of logged in company.
TripletexApi::SalarysettingsApiputPUT /salary/settings[BETA] Update settings of logged in company.
TripletexApi::SalarysettingsholidayApidelete_by_idsDELETE /salary/settings/holiday/list[BETA] delete multiple holiday settings of current logged in company.
TripletexApi::SalarysettingsholidayApipostPOST /salary/settings/holiday[BETA] Create a holiday setting of current logged in company.
TripletexApi::SalarysettingsholidayApipost_listPOST /salary/settings/holiday/list[BETA] Create multiple holiday settings of current logged in company.
TripletexApi::SalarysettingsholidayApiputPUT /salary/settings/holiday/{id}[BETA] update a holiday setting of current logged in company.
TripletexApi::SalarysettingsholidayApiput_listPUT /salary/settings/holiday/list[BETA] update multiple holiday settings of current logged in company.
TripletexApi::SalarysettingsholidayApisearchGET /salary/settings/holiday[BETA] Find holiday settings of current logged in company.
TripletexApi::SalarytransactionApideleteDELETE /salary/transaction/{id}[BETA] Delete salary transaction by ID.
TripletexApi::SalarytransactionApigetGET /salary/transaction/{id}[BETA] Find salary transaction by ID.
TripletexApi::SalarytransactionApipostPOST /salary/transaction[BETA] Create a new salary transaction.
TripletexApi::SalarytypeApigetGET /salary/type/{id}[BETA] Find salary type by ID.
TripletexApi::SalarytypeApisearchGET /salary/type[BETA] Find salary type corresponding with sent data.
TripletexApi::SupplierApigetGET /supplier/{id}Get supplier by ID.
TripletexApi::SupplierApipostPOST /supplierCreate supplier. Related supplier addresses may also be created.
TripletexApi::SupplierApipost_listPOST /supplier/list[BETA] Create multiple suppliers. Related supplier addresses may also be created.
TripletexApi::SupplierApiputPUT /supplier/{id}Update supplier.
TripletexApi::SupplierApiput_listPUT /supplier/list[BETA] Update multiple suppliers. Addresses can also be updated.
TripletexApi::SupplierApisearchGET /supplierFind suppliers corresponding with sent data.
TripletexApi::TimesheetentryApideleteDELETE /timesheet/entry/{id}Delete timesheet entry by ID.
TripletexApi::TimesheetentryApigetGET /timesheet/entry/{id}Find timesheet entry by ID.
TripletexApi::TimesheetentryApiget_recent_activitiesGET /timesheet/entry/>recentActivitiesFind recently used timesheet activities.
TripletexApi::TimesheetentryApiget_recent_projectsGET /timesheet/entry/>recentProjectsFind projects with recent activities (timesheet entry registered).
TripletexApi::TimesheetentryApiget_total_hoursGET /timesheet/entry/>totalHoursFind total hours registered on an employee in a specific period.
TripletexApi::TimesheetentryApipostPOST /timesheet/entryAdd new timesheet entry. Only one entry per employee/date/activity/project combination is supported.
TripletexApi::TimesheetentryApipost_listPOST /timesheet/entry/listAdd new timesheet entry. Multiple objects for several users can be sent in the same request.
TripletexApi::TimesheetentryApiputPUT /timesheet/entry/{id}Update timesheet entry by ID. Note: Timesheet entry object fields which are present but not set, or set to 0, will be nulled.
TripletexApi::TimesheetentryApiput_listPUT /timesheet/entry/listUpdate timesheet entry. Multiple objects for different users can be sent in the same request.
TripletexApi::TimesheetentryApisearchGET /timesheet/entryFind timesheet entry corresponding with sent data.
TripletexApi::TimesheetsettingsApigetGET /timesheet/settings[BETA] Get timesheet settings of logged in company.
TripletexApi::TimesheettimeClockApigetGET /timesheet/timeClock/{id}Find time clock entry by ID.
TripletexApi::TimesheettimeClockApiget_presentGET /timesheet/timeClock/presentFind a user’s present running time clock.
TripletexApi::TimesheettimeClockApiputPUT /timesheet/timeClock/{id}Update time clock by ID.
TripletexApi::TimesheettimeClockApisearchGET /timesheet/timeClockFind time clock entries corresponding with sent data.
TripletexApi::TimesheettimeClockApistartPUT /timesheet/timeClock/:startStart time clock.
TripletexApi::TimesheettimeClockApistopPUT /timesheet/timeClock/{id}/:stopStop time clock.
TripletexApi::TimesheetweekApiapprovePUT /timesheet/week/:approveApprove week. By ID or (ISO-8601 week and employeeId combination).
TripletexApi::TimesheetweekApicompletePUT /timesheet/week/:completeComplete week. By ID or (ISO-8601 week and employeeId combination).
TripletexApi::TimesheetweekApireopenPUT /timesheet/week/:reopenReopen week. By ID or (ISO-8601 week and employeeId combination).
TripletexApi::TimesheetweekApisearchGET /timesheet/weekFind weekly status By ID, week/year combination, employeeId. or an approver
TripletexApi::TimesheetweekApiunapprovePUT /timesheet/week/:unapproveUnapprove week. By ID or (ISO-8601 week and employeeId combination).
TripletexApi::TokenconsumerApiget_by_tokenGET /token/consumer/byTokenGet consumer token by token string.
TripletexApi::TokenemployeeApicreatePUT /token/employee/:createCreate an employee token. Only selected consumers are allowed
TripletexApi::TokensessionApicreatePUT /token/session/:createCreate session token.
TripletexApi::TokensessionApideleteDELETE /token/session/{token}Delete session token.
TripletexApi::TokensessionApiwho_am_iGET /token/session/>whoAmIFind information about the current user.
TripletexApi::TravelExpenseApiapprovePUT /travelExpense/:approve[BETA] Approve travel expenses.
TripletexApi::TravelExpenseApicopyPUT /travelExpense/:copy[BETA] Copy travel expense.
TripletexApi::TravelExpenseApicreate_vouchersPUT /travelExpense/:createVouchers[BETA] Create vouchers
TripletexApi::TravelExpenseApideleteDELETE /travelExpense/{id}[BETA] Delete travel expense.
TripletexApi::TravelExpenseApideliverPUT /travelExpense/:deliver[BETA] Deliver travel expenses.
TripletexApi::TravelExpenseApidownload_attachmentGET /travelExpense/{travelExpenseId}/attachmentGet attachment by travel expense ID.
TripletexApi::TravelExpenseApigetGET /travelExpense/{id}[BETA] Get travel expense by ID.
TripletexApi::TravelExpenseApipostPOST /travelExpense[BETA] Create travel expense.
TripletexApi::TravelExpenseApiputPUT /travelExpense/{id}[BETA] Update travel expense.
TripletexApi::TravelExpenseApisearchGET /travelExpense[BETA] Find travel expenses corresponding with sent data.
TripletexApi::TravelExpenseApiunapprovePUT /travelExpense/:unapprove[BETA] Unapprove travel expenses.
TripletexApi::TravelExpenseApiundeliverPUT /travelExpense/:undeliver[BETA] Undeliver travel expenses.
TripletexApi::TravelExpenseApiupload_attachmentPOST /travelExpense/{travelExpenseId}/attachmentUpload attachment to travel expense.
TripletexApi::TravelExpenseaccommodationAllowanceApideleteDELETE /travelExpense/accommodationAllowance/{id}[BETA] Delete accommodation allowance.
TripletexApi::TravelExpenseaccommodationAllowanceApigetGET /travelExpense/accommodationAllowance/{id}[BETA] Get travel accommodation allowance by ID.
TripletexApi::TravelExpenseaccommodationAllowanceApipostPOST /travelExpense/accommodationAllowance[BETA] Create accommodation allowance.
TripletexApi::TravelExpenseaccommodationAllowanceApiputPUT /travelExpense/accommodationAllowance/{id}[BETA] Update accommodation allowance.
TripletexApi::TravelExpenseaccommodationAllowanceApisearchGET /travelExpense/accommodationAllowance[BETA] Find accommodation allowances corresponding with sent data.
TripletexApi::TravelExpensecostApideleteDELETE /travelExpense/cost/{id}[BETA] Delete cost.
TripletexApi::TravelExpensecostApigetGET /travelExpense/cost/{id}[BETA] Get cost by ID.
TripletexApi::TravelExpensecostApipostPOST /travelExpense/cost[BETA] Create cost.
TripletexApi::TravelExpensecostApiputPUT /travelExpense/cost/{id}[BETA] Update cost.
TripletexApi::TravelExpensecostApisearchGET /travelExpense/cost[BETA] Find costs corresponding with sent data.
TripletexApi::TravelExpensecostCategoryApigetGET /travelExpense/costCategory/{id}[BETA] Get cost category by ID.
TripletexApi::TravelExpensecostCategoryApisearchGET /travelExpense/costCategory[BETA] Find cost category corresponding with sent data.
TripletexApi::TravelExpensemileageAllowanceApideleteDELETE /travelExpense/mileageAllowance/{id}[BETA] Delete mileage allowance.
TripletexApi::TravelExpensemileageAllowanceApigetGET /travelExpense/mileageAllowance/{id}[BETA] Get mileage allowance by ID.
TripletexApi::TravelExpensemileageAllowanceApipostPOST /travelExpense/mileageAllowance[BETA] Create mileage allowance.
TripletexApi::TravelExpensemileageAllowanceApiputPUT /travelExpense/mileageAllowance/{id}[BETA] Update mileage allowance.
TripletexApi::TravelExpensemileageAllowanceApisearchGET /travelExpense/mileageAllowance[BETA] Find mileage allowances corresponding with sent data.
TripletexApi::TravelExpensepassengerApideleteDELETE /travelExpense/passenger/{id}[BETA] Delete passenger.
TripletexApi::TravelExpensepassengerApigetGET /travelExpense/passenger/{id}[BETA] Get passenger by ID.
TripletexApi::TravelExpensepassengerApipostPOST /travelExpense/passenger[BETA] Create passenger.
TripletexApi::TravelExpensepassengerApiputPUT /travelExpense/passenger/{id}[BETA] Update passenger.
TripletexApi::TravelExpensepassengerApisearchGET /travelExpense/passenger[BETA] Find passengers corresponding with sent data.
TripletexApi::TravelExpensepaymentTypeApigetGET /travelExpense/paymentType/{id}[BETA] Get payment type by ID.
TripletexApi::TravelExpensepaymentTypeApisearchGET /travelExpense/paymentType[BETA] Find payment type corresponding with sent data.
TripletexApi::TravelExpenseperDiemCompensationApideleteDELETE /travelExpense/perDiemCompensation/{id}[BETA] Delete per diem compensation.
TripletexApi::TravelExpenseperDiemCompensationApigetGET /travelExpense/perDiemCompensation/{id}[BETA] Get per diem compensation by ID.
TripletexApi::TravelExpenseperDiemCompensationApipostPOST /travelExpense/perDiemCompensation[BETA] Create per diem compensation.
TripletexApi::TravelExpenseperDiemCompensationApiputPUT /travelExpense/perDiemCompensation/{id}[BETA] Update per diem compensation.
TripletexApi::TravelExpenseperDiemCompensationApisearchGET /travelExpense/perDiemCompensation[BETA] Find per diem compensations corresponding with sent data.
TripletexApi::TravelExpenserateApigetGET /travelExpense/rate/{id}[BETA] Get travel expense rate by ID.
TripletexApi::TravelExpenserateApisearchGET /travelExpense/rate[BETA] Find rates corresponding with sent data.
TripletexApi::TravelExpenserateCategoryApigetGET /travelExpense/rateCategory/{id}[BETA] Get travel expense rate category by ID.
TripletexApi::TravelExpenserateCategoryApisearchGET /travelExpense/rateCategory[BETA] Find rate categories corresponding with sent data.
TripletexApi::TravelExpenserateCategoryGroupApigetGET /travelExpense/rateCategoryGroup/{id}[BETA] Get travel report rate category group by ID.
TripletexApi::TravelExpenserateCategoryGroupApisearchGET /travelExpense/rateCategoryGroup[BETA] Find rate categoriy groups corresponding with sent data.

Documentation for Models

Documentation for Authorization

tokenAuthScheme

  • Type: HTTP basic authentication

FAQs

Package last updated on 05 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc