tripletex_api3 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +712 -0
- data/Rakefile +8 -0
- data/docs/AbstractDTO.md +9 -0
- data/docs/AccommodationAllowance.md +20 -0
- data/docs/Account.md +29 -0
- data/docs/AccountingPeriod.md +16 -0
- data/docs/Activity.md +18 -0
- data/docs/ActivityApi.md +211 -0
- data/docs/Address.md +18 -0
- data/docs/AddressApi.md +197 -0
- data/docs/AltinnCompanyModule.md +13 -0
- data/docs/AnnualAccount.md +14 -0
- data/docs/ApiConsumer.md +13 -0
- data/docs/ApiError.md +14 -0
- data/docs/ApiValidationMessage.md +9 -0
- data/docs/AppSpecific.md +14 -0
- data/docs/Bank.md +14 -0
- data/docs/BankApi.md +73 -0
- data/docs/BankReconciliation.md +20 -0
- data/docs/BankReconciliationAdjustment.md +13 -0
- data/docs/BankReconciliationMatch.md +15 -0
- data/docs/BankReconciliationPaymentType.md +15 -0
- data/docs/BankStatement.md +16 -0
- data/docs/BankTransaction.md +15 -0
- data/docs/BankreconciliationApi.md +474 -0
- data/docs/BankreconciliationmatchApi.md +351 -0
- data/docs/BankreconciliationpaymentTypeApi.md +131 -0
- data/docs/BankstatementApi.md +243 -0
- data/docs/BankstatementtransactionApi.md +188 -0
- data/docs/Banner.md +18 -0
- data/docs/CSVRecord.md +10 -0
- data/docs/Change.md +10 -0
- data/docs/CloseGroup.md +13 -0
- data/docs/Company.md +21 -0
- data/docs/CompanyApi.md +243 -0
- data/docs/CompanyAutoCompleteDTO.md +23 -0
- data/docs/CompanyHoliday.md +16 -0
- data/docs/CompanyaltinnApi.md +118 -0
- data/docs/ConsumerToken.md +14 -0
- data/docs/Contact.md +16 -0
- data/docs/ContactApi.md +250 -0
- data/docs/Cost.md +27 -0
- data/docs/Country.md +15 -0
- data/docs/CountryApi.md +131 -0
- data/docs/CrmprospectApi.md +155 -0
- data/docs/Currency.md +13 -0
- data/docs/CurrencyApi.md +131 -0
- data/docs/Customer.md +32 -0
- data/docs/CustomerApi.md +364 -0
- data/docs/CustomerCategory.md +15 -0
- data/docs/CustomerTripletexAccount.md +21 -0
- data/docs/CustomercategoryApi.md +250 -0
- data/docs/Department.md +14 -0
- data/docs/DepartmentApi.md +358 -0
- data/docs/Division.md +16 -0
- data/docs/DivisionApi.md +292 -0
- data/docs/Document.md +13 -0
- data/docs/DocumentApi.md +120 -0
- data/docs/Employee.md +29 -0
- data/docs/EmployeeApi.md +311 -0
- data/docs/EmployeeToken.md +15 -0
- data/docs/EmployeeemploymentApi.md +242 -0
- data/docs/EmployeeemploymentdetailsApi.md +242 -0
- data/docs/EmployeeemploymentemploymentTypeApi.md +254 -0
- data/docs/EmployeeemploymentleaveOfAbsenceApi.md +234 -0
- data/docs/EmployeeemploymentleaveOfAbsenceTypeApi.md +69 -0
- data/docs/EmployeeemploymentoccupationCodeApi.md +73 -0
- data/docs/EmployeeemploymentremunerationTypeApi.md +69 -0
- data/docs/EmployeeemploymentworkingHoursSchemeApi.md +69 -0
- data/docs/EmployeeentitlementApi.md +313 -0
- data/docs/EmployeenextOfKinApi.md +242 -0
- data/docs/EmployeestandardTimeApi.md +242 -0
- data/docs/Employment.md +18 -0
- data/docs/EmploymentDetails.md +23 -0
- data/docs/EmploymentType.md +14 -0
- data/docs/Entitlement.md +15 -0
- data/docs/EventApi.md +63 -0
- data/docs/EventInfoDescription.md +9 -0
- data/docs/EventsubscriptionApi.md +293 -0
- data/docs/ExternalProduct.md +25 -0
- data/docs/ImportConfigDTO.md +10 -0
- data/docs/ImportReportDTO.md +22 -0
- data/docs/InternationalId.md +10 -0
- data/docs/Inventory.md +15 -0
- data/docs/InventoryApi.md +135 -0
- data/docs/Invoice.md +36 -0
- data/docs/InvoiceApi.md +518 -0
- data/docs/InvoicedetailsApi.md +135 -0
- data/docs/InvoicepaymentTypeApi.md +131 -0
- data/docs/Job.md +13 -0
- data/docs/JobDetailDTO.md +12 -0
- data/docs/LeaveOfAbsence.md +18 -0
- data/docs/LeaveOfAbsenceType.md +14 -0
- data/docs/LedgerAccount.md +16 -0
- data/docs/LedgerApi.md +169 -0
- data/docs/LedgeraccountApi.md +464 -0
- data/docs/LedgeraccountingPeriodApi.md +141 -0
- data/docs/LedgerannualAccountApi.md +133 -0
- data/docs/LedgercloseGroupApi.md +135 -0
- data/docs/LedgerpaymentTypeOutApi.md +409 -0
- data/docs/LedgerpostingApi.md +227 -0
- data/docs/LedgervatTypeApi.md +131 -0
- data/docs/LedgervoucherApi.md +850 -0
- data/docs/LedgervoucherTypeApi.md +129 -0
- data/docs/Link.md +10 -0
- data/docs/ListResponseAccommodationAllowance.md +12 -0
- data/docs/ListResponseAccount.md +12 -0
- data/docs/ListResponseAccountingPeriod.md +12 -0
- data/docs/ListResponseActivity.md +12 -0
- data/docs/ListResponseAddress.md +12 -0
- data/docs/ListResponseAnnualAccount.md +12 -0
- data/docs/ListResponseBank.md +12 -0
- data/docs/ListResponseBankReconciliation.md +12 -0
- data/docs/ListResponseBankReconciliationAdjustment.md +12 -0
- data/docs/ListResponseBankReconciliationMatch.md +12 -0
- data/docs/ListResponseBankReconciliationPaymentType.md +12 -0
- data/docs/ListResponseBankStatement.md +12 -0
- data/docs/ListResponseBankTransaction.md +12 -0
- data/docs/ListResponseBanner.md +12 -0
- data/docs/ListResponseCloseGroup.md +12 -0
- data/docs/ListResponseCompany.md +12 -0
- data/docs/ListResponseCompanyAutoCompleteDTO.md +12 -0
- data/docs/ListResponseCompanyHoliday.md +12 -0
- data/docs/ListResponseContact.md +12 -0
- data/docs/ListResponseCost.md +12 -0
- data/docs/ListResponseCountry.md +12 -0
- data/docs/ListResponseCurrency.md +12 -0
- data/docs/ListResponseCustomer.md +12 -0
- data/docs/ListResponseCustomerCategory.md +12 -0
- data/docs/ListResponseDepartment.md +12 -0
- data/docs/ListResponseDivision.md +12 -0
- data/docs/ListResponseEmployee.md +12 -0
- data/docs/ListResponseEmployment.md +12 -0
- data/docs/ListResponseEmploymentDetails.md +12 -0
- data/docs/ListResponseEmploymentType.md +12 -0
- data/docs/ListResponseEntitlement.md +12 -0
- data/docs/ListResponseExternalProduct.md +12 -0
- data/docs/ListResponseInventory.md +12 -0
- data/docs/ListResponseInvoice.md +12 -0
- data/docs/ListResponseLeaveOfAbsence.md +12 -0
- data/docs/ListResponseLeaveOfAbsenceType.md +12 -0
- data/docs/ListResponseLedgerAccount.md +12 -0
- data/docs/ListResponseMileageAllowance.md +12 -0
- data/docs/ListResponseMunicipality.md +12 -0
- data/docs/ListResponseNextOfKin.md +12 -0
- data/docs/ListResponseNotification.md +12 -0
- data/docs/ListResponseOccupationCode.md +12 -0
- data/docs/ListResponseOrder.md +12 -0
- data/docs/ListResponseOrderLine.md +12 -0
- data/docs/ListResponseOrderOffer.md +12 -0
- data/docs/ListResponsePassenger.md +12 -0
- data/docs/ListResponsePaymentType.md +12 -0
- data/docs/ListResponsePaymentTypeOut.md +12 -0
- data/docs/ListResponsePayslip.md +12 -0
- data/docs/ListResponsePerDiemCompensation.md +12 -0
- data/docs/ListResponsePersonAutoCompleteDTO.md +12 -0
- data/docs/ListResponsePosting.md +12 -0
- data/docs/ListResponseProduct.md +12 -0
- data/docs/ListResponseProductUnit.md +12 -0
- data/docs/ListResponseProject.md +12 -0
- data/docs/ListResponseProjectCategory.md +12 -0
- data/docs/ListResponseProjectInvoiceDetails.md +12 -0
- data/docs/ListResponseProjectOrderLine.md +12 -0
- data/docs/ListResponseProjectParticipant.md +12 -0
- data/docs/ListResponseProspect.md +12 -0
- data/docs/ListResponseReminder.md +12 -0
- data/docs/ListResponseRemunerationType.md +12 -0
- data/docs/ListResponseSalarySpecification.md +12 -0
- data/docs/ListResponseSalaryTransaction.md +12 -0
- data/docs/ListResponseSalaryType.md +12 -0
- data/docs/ListResponseSearchCompletionDTO.md +12 -0
- data/docs/ListResponseStandardTime.md +12 -0
- data/docs/ListResponseSubscription.md +12 -0
- data/docs/ListResponseSupplier.md +12 -0
- data/docs/ListResponseSupplierBalance.md +12 -0
- data/docs/ListResponseTimeClock.md +12 -0
- data/docs/ListResponseTimesheetEntry.md +12 -0
- data/docs/ListResponseTravelCostCategory.md +12 -0
- data/docs/ListResponseTravelExpense.md +12 -0
- data/docs/ListResponseTravelExpenseRate.md +12 -0
- data/docs/ListResponseTravelExpenseRateCategory.md +12 -0
- data/docs/ListResponseTravelExpenseRateCategoryGroup.md +12 -0
- data/docs/ListResponseTravelPaymentType.md +12 -0
- data/docs/ListResponseVatType.md +12 -0
- data/docs/ListResponseVoucher.md +12 -0
- data/docs/ListResponseVoucherType.md +12 -0
- data/docs/ListResponseWeek.md +12 -0
- data/docs/ListResponseWeeklyStatus.md +12 -0
- data/docs/ListResponseWorkingHoursScheme.md +12 -0
- data/docs/LoggedInUserInfoDTO.md +12 -0
- data/docs/MaritimeEmployment.md +10 -0
- data/docs/MaventaEventDataDTO.md +13 -0
- data/docs/MaventaStatusDTO.md +11 -0
- data/docs/MileageAllowance.md +22 -0
- data/docs/MobileAppLogin.md +11 -0
- data/docs/Modules.md +20 -0
- data/docs/MonthlyStatus.md +21 -0
- data/docs/Municipality.md +14 -0
- data/docs/MunicipalityApi.md +69 -0
- data/docs/NextOfKin.md +16 -0
- data/docs/Notification.md +16 -0
- data/docs/OccupationCode.md +13 -0
- data/docs/Order.md +44 -0
- data/docs/OrderApi.md +319 -0
- data/docs/OrderLine.md +28 -0
- data/docs/OrderOffer.md +15 -0
- data/docs/OrderorderlineApi.md +229 -0
- data/docs/Passenger.md +13 -0
- data/docs/PaymentType.md +17 -0
- data/docs/PaymentTypeOut.md +21 -0
- data/docs/Payslip.md +21 -0
- data/docs/PerDiemCompensation.md +24 -0
- data/docs/PersonAutoCompleteDTO.md +24 -0
- data/docs/Posting.md +32 -0
- data/docs/Product.md +29 -0
- data/docs/ProductApi.md +272 -0
- data/docs/ProductUnit.md +14 -0
- data/docs/ProductexternalApi.md +139 -0
- data/docs/ProductunitApi.md +135 -0
- data/docs/Project.md +32 -0
- data/docs/ProjectApi.md +603 -0
- data/docs/ProjectCategory.md +14 -0
- data/docs/ProjectInvoiceDetails.md +29 -0
- data/docs/ProjectOrderLine.md +26 -0
- data/docs/ProjectParticipant.md +14 -0
- data/docs/ProjectcategoryApi.md +248 -0
- data/docs/ProjectorderlineApi.md +287 -0
- data/docs/ProjectparticipantApi.md +287 -0
- data/docs/Prospect.md +28 -0
- data/docs/Reminder.md +28 -0
- data/docs/ReminderApi.md +143 -0
- data/docs/RemunerationType.md +14 -0
- data/docs/ResponseWrapperAccommodationAllowance.md +8 -0
- data/docs/ResponseWrapperAccount.md +8 -0
- data/docs/ResponseWrapperAccountingPeriod.md +8 -0
- data/docs/ResponseWrapperActivity.md +8 -0
- data/docs/ResponseWrapperAddress.md +8 -0
- data/docs/ResponseWrapperAltinnCompanyModule.md +8 -0
- data/docs/ResponseWrapperAnnualAccount.md +8 -0
- data/docs/ResponseWrapperApiConsumer.md +8 -0
- data/docs/ResponseWrapperAppSpecific.md +8 -0
- data/docs/ResponseWrapperBankReconciliation.md +8 -0
- data/docs/ResponseWrapperBankReconciliationMatch.md +8 -0
- data/docs/ResponseWrapperBankReconciliationPaymentType.md +8 -0
- data/docs/ResponseWrapperBankStatement.md +8 -0
- data/docs/ResponseWrapperBankTransaction.md +8 -0
- data/docs/ResponseWrapperBanner.md +8 -0
- data/docs/ResponseWrapperBoolean.md +8 -0
- data/docs/ResponseWrapperCloseGroup.md +8 -0
- data/docs/ResponseWrapperCompany.md +8 -0
- data/docs/ResponseWrapperCompanyHoliday.md +8 -0
- data/docs/ResponseWrapperConsumerToken.md +8 -0
- data/docs/ResponseWrapperContact.md +8 -0
- data/docs/ResponseWrapperCost.md +8 -0
- data/docs/ResponseWrapperCountry.md +8 -0
- data/docs/ResponseWrapperCurrency.md +8 -0
- data/docs/ResponseWrapperCustomer.md +8 -0
- data/docs/ResponseWrapperCustomerCategory.md +8 -0
- data/docs/ResponseWrapperDepartment.md +8 -0
- data/docs/ResponseWrapperDivision.md +8 -0
- data/docs/ResponseWrapperDocument.md +8 -0
- data/docs/ResponseWrapperDouble.md +8 -0
- data/docs/ResponseWrapperEmployee.md +8 -0
- data/docs/ResponseWrapperEmployeeToken.md +8 -0
- data/docs/ResponseWrapperEmployment.md +8 -0
- data/docs/ResponseWrapperEmploymentDetails.md +8 -0
- data/docs/ResponseWrapperEntitlement.md +8 -0
- data/docs/ResponseWrapperExternalProduct.md +8 -0
- data/docs/ResponseWrapperInteger.md +8 -0
- data/docs/ResponseWrapperInventory.md +8 -0
- data/docs/ResponseWrapperInvoice.md +8 -0
- data/docs/ResponseWrapperLeaveOfAbsence.md +8 -0
- data/docs/ResponseWrapperListJob.md +8 -0
- data/docs/ResponseWrapperLoggedInUserInfoDTO.md +8 -0
- data/docs/ResponseWrapperMapStringEventInfoDescription.md +8 -0
- data/docs/ResponseWrapperMileageAllowance.md +8 -0
- data/docs/ResponseWrapperModules.md +8 -0
- data/docs/ResponseWrapperMonthlyStatus.md +8 -0
- data/docs/ResponseWrapperNextOfKin.md +8 -0
- data/docs/ResponseWrapperNotification.md +8 -0
- data/docs/ResponseWrapperObject.md +8 -0
- data/docs/ResponseWrapperOrder.md +8 -0
- data/docs/ResponseWrapperOrderLine.md +8 -0
- data/docs/ResponseWrapperOrderOffer.md +8 -0
- data/docs/ResponseWrapperPassenger.md +8 -0
- data/docs/ResponseWrapperPaymentType.md +8 -0
- data/docs/ResponseWrapperPaymentTypeOut.md +8 -0
- data/docs/ResponseWrapperPayslip.md +8 -0
- data/docs/ResponseWrapperPerDiemCompensation.md +8 -0
- data/docs/ResponseWrapperPosting.md +8 -0
- data/docs/ResponseWrapperProduct.md +8 -0
- data/docs/ResponseWrapperProductUnit.md +8 -0
- data/docs/ResponseWrapperProject.md +8 -0
- data/docs/ResponseWrapperProjectCategory.md +8 -0
- data/docs/ResponseWrapperProjectInvoiceDetails.md +8 -0
- data/docs/ResponseWrapperProjectOrderLine.md +8 -0
- data/docs/ResponseWrapperProjectParticipant.md +8 -0
- data/docs/ResponseWrapperProspect.md +8 -0
- data/docs/ResponseWrapperReminder.md +8 -0
- data/docs/ResponseWrapperSalarySettings.md +8 -0
- data/docs/ResponseWrapperSalarySpecification.md +8 -0
- data/docs/ResponseWrapperSalaryTransaction.md +8 -0
- data/docs/ResponseWrapperSalaryType.md +8 -0
- data/docs/ResponseWrapperSessionToken.md +8 -0
- data/docs/ResponseWrapperStandardTime.md +8 -0
- data/docs/ResponseWrapperString.md +8 -0
- data/docs/ResponseWrapperSubscription.md +8 -0
- data/docs/ResponseWrapperSupplier.md +8 -0
- data/docs/ResponseWrapperSystemMessage.md +8 -0
- data/docs/ResponseWrapperTimeClock.md +8 -0
- data/docs/ResponseWrapperTimesheetEntry.md +8 -0
- data/docs/ResponseWrapperTimesheetSettings.md +8 -0
- data/docs/ResponseWrapperTravelCostCategory.md +8 -0
- data/docs/ResponseWrapperTravelExpense.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRate.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRateCategory.md +8 -0
- data/docs/ResponseWrapperTravelExpenseRateCategoryGroup.md +8 -0
- data/docs/ResponseWrapperTravelPaymentType.md +8 -0
- data/docs/ResponseWrapperTripDTO.md +8 -0
- data/docs/ResponseWrapperTripletexAccountReturn.md +8 -0
- data/docs/ResponseWrapperUnreadCountDTO.md +8 -0
- data/docs/ResponseWrapperVatType.md +8 -0
- data/docs/ResponseWrapperVoucher.md +8 -0
- data/docs/ResponseWrapperVoucherType.md +8 -0
- data/docs/ResponseWrapperWeek.md +8 -0
- data/docs/ResponseWrapperWeeklyStatus.md +8 -0
- data/docs/Result.md +17 -0
- data/docs/SalarySettings.md +13 -0
- data/docs/SalarySpecification.md +22 -0
- data/docs/SalaryTransaction.md +16 -0
- data/docs/SalaryType.md +14 -0
- data/docs/SalarypayslipApi.md +203 -0
- data/docs/SalarysettingsApi.md +118 -0
- data/docs/SalarysettingsholidayApi.md +345 -0
- data/docs/SalarytransactionApi.md +176 -0
- data/docs/SalarytypeApi.md +135 -0
- data/docs/SearchCompletionDTO.md +18 -0
- data/docs/SessionToken.md +16 -0
- data/docs/SmartScanWebhook.md +10 -0
- data/docs/StandardTime.md +14 -0
- data/docs/Subscription.md +15 -0
- data/docs/Supplier.md +33 -0
- data/docs/SupplierApi.md +370 -0
- data/docs/SupplierBalance.md +13 -0
- data/docs/SystemMessage.md +8 -0
- data/docs/TimeClock.md +19 -0
- data/docs/TimesheetEntry.md +24 -0
- data/docs/TimesheetEntrySearchResponse.md +13 -0
- data/docs/TimesheetSettings.md +13 -0
- data/docs/TimesheetentryApi.md +613 -0
- data/docs/TimesheetsettingsApi.md +63 -0
- data/docs/TimesheettimeClockApi.md +377 -0
- data/docs/TimesheetweekApi.md +313 -0
- data/docs/TokenconsumerApi.md +66 -0
- data/docs/TokenemployeeApi.md +74 -0
- data/docs/TokensessionApi.md +170 -0
- data/docs/TravelCostCategory.md +18 -0
- data/docs/TravelDetails.md +18 -0
- data/docs/TravelExpense.md +47 -0
- data/docs/TravelExpenseApi.md +749 -0
- data/docs/TravelExpenseRate.md +17 -0
- data/docs/TravelExpenseRateCategory.md +23 -0
- data/docs/TravelExpenseRateCategoryGroup.md +15 -0
- data/docs/TravelExpenseaccommodationAllowanceApi.md +315 -0
- data/docs/TravelExpensecostApi.md +315 -0
- data/docs/TravelExpensecostCategoryApi.md +131 -0
- data/docs/TravelExpensemileageAllowanceApi.md +321 -0
- data/docs/TravelExpensepassengerApi.md +297 -0
- data/docs/TravelExpensepaymentTypeApi.md +131 -0
- data/docs/TravelExpenseperDiemCompensationApi.md +323 -0
- data/docs/TravelExpenserateApi.md +147 -0
- data/docs/TravelExpenserateCategoryApi.md +151 -0
- data/docs/TravelExpenserateCategoryGroupApi.md +135 -0
- data/docs/TravelPaymentType.md +16 -0
- data/docs/TriggerDTO.md +13 -0
- data/docs/TripDTO.md +10 -0
- data/docs/TripletexAccount.md +22 -0
- data/docs/TripletexAccountReturn.md +12 -0
- data/docs/UnreadCountDTO.md +9 -0
- data/docs/VNTCStatusDTO.md +13 -0
- data/docs/VatType.md +14 -0
- data/docs/Voucher.md +21 -0
- data/docs/VoucherSearchResponse.md +13 -0
- data/docs/VoucherType.md +12 -0
- data/docs/Week.md +19 -0
- data/docs/WeeklyStatus.md +18 -0
- data/docs/WorkingHoursScheme.md +14 -0
- data/git_push.sh +55 -0
- data/lib/tripletex_api.rb +421 -0
- data/lib/tripletex_api/api/activity_api.rb +228 -0
- data/lib/tripletex_api/api/address_api.rb +207 -0
- data/lib/tripletex_api/api/bank_api.rb +86 -0
- data/lib/tripletex_api/api/bankreconciliation_api.rb +469 -0
- data/lib/tripletex_api/api/bankreconciliationmatch_api.rb +346 -0
- data/lib/tripletex_api/api/bankreconciliationpayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/bankstatement_api.rb +255 -0
- data/lib/tripletex_api/api/bankstatementtransaction_api.rb +197 -0
- data/lib/tripletex_api/api/company_api.rb +240 -0
- data/lib/tripletex_api/api/companyaltinn_api.rb +120 -0
- data/lib/tripletex_api/api/contact_api.rb +253 -0
- data/lib/tripletex_api/api/country_api.rb +140 -0
- data/lib/tripletex_api/api/crmprospect_api.rb +176 -0
- data/lib/tripletex_api/api/currency_api.rb +140 -0
- data/lib/tripletex_api/api/customer_api.rb +357 -0
- data/lib/tripletex_api/api/customercategory_api.rb +253 -0
- data/lib/tripletex_api/api/department_api.rb +348 -0
- data/lib/tripletex_api/api/division_api.rb +282 -0
- data/lib/tripletex_api/api/document_api.rb +130 -0
- data/lib/tripletex_api/api/employee_api.rb +311 -0
- data/lib/tripletex_api/api/employeeemployment_api.rb +241 -0
- data/lib/tripletex_api/api/employeeemploymentdetails_api.rb +241 -0
- data/lib/tripletex_api/api/employeeemploymentemployment_type_api.rb +257 -0
- data/lib/tripletex_api/api/employeeemploymentleave_of_absence_api.rb +230 -0
- data/lib/tripletex_api/api/employeeemploymentleave_of_absence_type_api.rb +80 -0
- data/lib/tripletex_api/api/employeeemploymentoccupation_code_api.rb +86 -0
- data/lib/tripletex_api/api/employeeemploymentremuneration_type_api.rb +80 -0
- data/lib/tripletex_api/api/employeeemploymentworking_hours_scheme_api.rb +80 -0
- data/lib/tripletex_api/api/employeeentitlement_api.rb +334 -0
- data/lib/tripletex_api/api/employeenext_of_kin_api.rb +241 -0
- data/lib/tripletex_api/api/employeestandard_time_api.rb +241 -0
- data/lib/tripletex_api/api/event_api.rb +71 -0
- data/lib/tripletex_api/api/eventsubscription_api.rb +286 -0
- data/lib/tripletex_api/api/inventory_api.rb +146 -0
- data/lib/tripletex_api/api/invoice_api.rb +565 -0
- data/lib/tripletex_api/api/invoicedetails_api.rb +151 -0
- data/lib/tripletex_api/api/invoicepayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/ledger_api.rb +203 -0
- data/lib/tripletex_api/api/ledgeraccount_api.rb +449 -0
- data/lib/tripletex_api/api/ledgeraccounting_period_api.rb +155 -0
- data/lib/tripletex_api/api/ledgerannual_account_api.rb +143 -0
- data/lib/tripletex_api/api/ledgerclose_group_api.rb +151 -0
- data/lib/tripletex_api/api/ledgerpayment_type_out_api.rb +395 -0
- data/lib/tripletex_api/api/ledgerposting_api.rb +257 -0
- data/lib/tripletex_api/api/ledgervat_type_api.rb +140 -0
- data/lib/tripletex_api/api/ledgervoucher_api.rb +873 -0
- data/lib/tripletex_api/api/ledgervoucher_type_api.rb +137 -0
- data/lib/tripletex_api/api/municipality_api.rb +80 -0
- data/lib/tripletex_api/api/order_api.rb +331 -0
- data/lib/tripletex_api/api/orderorderline_api.rb +225 -0
- data/lib/tripletex_api/api/product_api.rb +286 -0
- data/lib/tripletex_api/api/productexternal_api.rb +155 -0
- data/lib/tripletex_api/api/productunit_api.rb +146 -0
- data/lib/tripletex_api/api/project_api.rb +590 -0
- data/lib/tripletex_api/api/projectcategory_api.rb +250 -0
- data/lib/tripletex_api/api/projectorderline_api.rb +280 -0
- data/lib/tripletex_api/api/projectparticipant_api.rb +281 -0
- data/lib/tripletex_api/api/reminder_api.rb +163 -0
- data/lib/tripletex_api/api/salarypayslip_api.rb +220 -0
- data/lib/tripletex_api/api/salarysettings_api.rb +120 -0
- data/lib/tripletex_api/api/salarysettingsholiday_api.rb +333 -0
- data/lib/tripletex_api/api/salarytransaction_api.rb +179 -0
- data/lib/tripletex_api/api/salarytype_api.rb +146 -0
- data/lib/tripletex_api/api/supplier_api.rb +366 -0
- data/lib/tripletex_api/api/timesheetentry_api.rb +602 -0
- data/lib/tripletex_api/api/timesheetsettings_api.rb +71 -0
- data/lib/tripletex_api/api/timesheettime_clock_api.rb +378 -0
- data/lib/tripletex_api/api/timesheetweek_api.rb +308 -0
- data/lib/tripletex_api/api/tokenconsumer_api.rb +78 -0
- data/lib/tripletex_api/api/tokenemployee_api.rb +103 -0
- data/lib/tripletex_api/api/tokensession_api.rb +187 -0
- data/lib/tripletex_api/api/travel_expense_api.rb +727 -0
- data/lib/tripletex_api/api/travel_expenseaccommodation_allowance_api.rb +321 -0
- data/lib/tripletex_api/api/travel_expensecost_api.rb +321 -0
- data/lib/tripletex_api/api/travel_expensecost_category_api.rb +140 -0
- data/lib/tripletex_api/api/travel_expensemileage_allowance_api.rb +330 -0
- data/lib/tripletex_api/api/travel_expensepassenger_api.rb +294 -0
- data/lib/tripletex_api/api/travel_expensepayment_type_api.rb +140 -0
- data/lib/tripletex_api/api/travel_expenseper_diem_compensation_api.rb +336 -0
- data/lib/tripletex_api/api/travel_expenserate_api.rb +167 -0
- data/lib/tripletex_api/api/travel_expenserate_category_api.rb +173 -0
- data/lib/tripletex_api/api/travel_expenserate_category_group_api.rb +146 -0
- data/lib/tripletex_api/api_client.rb +390 -0
- data/lib/tripletex_api/api_error.rb +38 -0
- data/lib/tripletex_api/configuration.rb +209 -0
- data/lib/tripletex_api/models/abstract_dto.rb +197 -0
- data/lib/tripletex_api/models/accommodation_allowance.rb +322 -0
- data/lib/tripletex_api/models/account.rb +545 -0
- data/lib/tripletex_api/models/accounting_period.rb +305 -0
- data/lib/tripletex_api/models/activity.rb +320 -0
- data/lib/tripletex_api/models/address.rb +396 -0
- data/lib/tripletex_api/models/altinn_company_module.rb +273 -0
- data/lib/tripletex_api/models/annual_account.rb +244 -0
- data/lib/tripletex_api/models/api_consumer.rb +292 -0
- data/lib/tripletex_api/models/api_error.rb +244 -0
- data/lib/tripletex_api/models/api_validation_message.rb +197 -0
- data/lib/tripletex_api/models/app_specific.rb +256 -0
- data/lib/tripletex_api/models/bank.rb +288 -0
- data/lib/tripletex_api/models/bank_reconciliation.rb +310 -0
- data/lib/tripletex_api/models/bank_reconciliation_adjustment.rb +258 -0
- data/lib/tripletex_api/models/bank_reconciliation_match.rb +298 -0
- data/lib/tripletex_api/models/bank_reconciliation_payment_type.rb +274 -0
- data/lib/tripletex_api/models/bank_statement.rb +269 -0
- data/lib/tripletex_api/models/bank_transaction.rb +269 -0
- data/lib/tripletex_api/models/banner.rb +374 -0
- data/lib/tripletex_api/models/change.rb +239 -0
- data/lib/tripletex_api/models/close_group.rb +237 -0
- data/lib/tripletex_api/models/company.rb +454 -0
- data/lib/tripletex_api/models/company_auto_complete_dto.rb +346 -0
- data/lib/tripletex_api/models/company_holiday.rb +264 -0
- data/lib/tripletex_api/models/consumer_token.rb +260 -0
- data/lib/tripletex_api/models/contact.rb +369 -0
- data/lib/tripletex_api/models/cost.rb +401 -0
- data/lib/tripletex_api/models/country.rb +272 -0
- data/lib/tripletex_api/models/csv_record.rb +208 -0
- data/lib/tripletex_api/models/currency.rb +267 -0
- data/lib/tripletex_api/models/customer.rb +574 -0
- data/lib/tripletex_api/models/customer_category.rb +318 -0
- data/lib/tripletex_api/models/customer_tripletex_account.rb +429 -0
- data/lib/tripletex_api/models/department.rb +302 -0
- data/lib/tripletex_api/models/division.rb +311 -0
- data/lib/tripletex_api/models/document.rb +285 -0
- data/lib/tripletex_api/models/employee.rb +609 -0
- data/lib/tripletex_api/models/employee_token.rb +269 -0
- data/lib/tripletex_api/models/employment.rb +305 -0
- data/lib/tripletex_api/models/employment_details.rb +391 -0
- data/lib/tripletex_api/models/employment_type.rb +315 -0
- data/lib/tripletex_api/models/entitlement.rb +272 -0
- data/lib/tripletex_api/models/event_info_description.rb +197 -0
- data/lib/tripletex_api/models/external_product.rb +398 -0
- data/lib/tripletex_api/models/import_config_dto.rb +212 -0
- data/lib/tripletex_api/models/import_report_dto.rb +326 -0
- data/lib/tripletex_api/models/international_id.rb +256 -0
- data/lib/tripletex_api/models/inventory.rb +315 -0
- data/lib/tripletex_api/models/invoice.rb +552 -0
- data/lib/tripletex_api/models/job.rb +239 -0
- data/lib/tripletex_api/models/job_detail_dto.rb +226 -0
- data/lib/tripletex_api/models/leave_of_absence.rb +314 -0
- data/lib/tripletex_api/models/leave_of_absence_type.rb +315 -0
- data/lib/tripletex_api/models/ledger_account.rb +263 -0
- data/lib/tripletex_api/models/link.rb +239 -0
- data/lib/tripletex_api/models/list_response_accommodation_allowance.rb +228 -0
- data/lib/tripletex_api/models/list_response_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_accounting_period.rb +228 -0
- data/lib/tripletex_api/models/list_response_activity.rb +228 -0
- data/lib/tripletex_api/models/list_response_address.rb +228 -0
- data/lib/tripletex_api/models/list_response_annual_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_adjustment.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_match.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_reconciliation_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_statement.rb +228 -0
- data/lib/tripletex_api/models/list_response_bank_transaction.rb +228 -0
- data/lib/tripletex_api/models/list_response_banner.rb +228 -0
- data/lib/tripletex_api/models/list_response_close_group.rb +228 -0
- data/lib/tripletex_api/models/list_response_company.rb +228 -0
- data/lib/tripletex_api/models/list_response_company_auto_complete_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_company_holiday.rb +228 -0
- data/lib/tripletex_api/models/list_response_contact.rb +228 -0
- data/lib/tripletex_api/models/list_response_cost.rb +228 -0
- data/lib/tripletex_api/models/list_response_country.rb +228 -0
- data/lib/tripletex_api/models/list_response_currency.rb +228 -0
- data/lib/tripletex_api/models/list_response_customer.rb +228 -0
- data/lib/tripletex_api/models/list_response_customer_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_department.rb +228 -0
- data/lib/tripletex_api/models/list_response_division.rb +228 -0
- data/lib/tripletex_api/models/list_response_employee.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment_details.rb +228 -0
- data/lib/tripletex_api/models/list_response_employment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_entitlement.rb +228 -0
- data/lib/tripletex_api/models/list_response_external_product.rb +228 -0
- data/lib/tripletex_api/models/list_response_inventory.rb +228 -0
- data/lib/tripletex_api/models/list_response_invoice.rb +228 -0
- data/lib/tripletex_api/models/list_response_leave_of_absence.rb +228 -0
- data/lib/tripletex_api/models/list_response_leave_of_absence_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_ledger_account.rb +228 -0
- data/lib/tripletex_api/models/list_response_mileage_allowance.rb +228 -0
- data/lib/tripletex_api/models/list_response_municipality.rb +228 -0
- data/lib/tripletex_api/models/list_response_next_of_kin.rb +228 -0
- data/lib/tripletex_api/models/list_response_notification.rb +228 -0
- data/lib/tripletex_api/models/list_response_occupation_code.rb +228 -0
- data/lib/tripletex_api/models/list_response_order.rb +228 -0
- data/lib/tripletex_api/models/list_response_order_line.rb +228 -0
- data/lib/tripletex_api/models/list_response_order_offer.rb +228 -0
- data/lib/tripletex_api/models/list_response_passenger.rb +228 -0
- data/lib/tripletex_api/models/list_response_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_payment_type_out.rb +228 -0
- data/lib/tripletex_api/models/list_response_payslip.rb +228 -0
- data/lib/tripletex_api/models/list_response_per_diem_compensation.rb +228 -0
- data/lib/tripletex_api/models/list_response_person_auto_complete_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_posting.rb +228 -0
- data/lib/tripletex_api/models/list_response_product.rb +228 -0
- data/lib/tripletex_api/models/list_response_product_unit.rb +228 -0
- data/lib/tripletex_api/models/list_response_project.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_invoice_details.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_order_line.rb +228 -0
- data/lib/tripletex_api/models/list_response_project_participant.rb +228 -0
- data/lib/tripletex_api/models/list_response_prospect.rb +228 -0
- data/lib/tripletex_api/models/list_response_reminder.rb +228 -0
- data/lib/tripletex_api/models/list_response_remuneration_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_specification.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_transaction.rb +228 -0
- data/lib/tripletex_api/models/list_response_salary_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_search_completion_dto.rb +228 -0
- data/lib/tripletex_api/models/list_response_standard_time.rb +228 -0
- data/lib/tripletex_api/models/list_response_subscription.rb +228 -0
- data/lib/tripletex_api/models/list_response_supplier.rb +228 -0
- data/lib/tripletex_api/models/list_response_supplier_balance.rb +228 -0
- data/lib/tripletex_api/models/list_response_time_clock.rb +228 -0
- data/lib/tripletex_api/models/list_response_timesheet_entry.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_cost_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate_category.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_expense_rate_category_group.rb +228 -0
- data/lib/tripletex_api/models/list_response_travel_payment_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_vat_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_voucher.rb +228 -0
- data/lib/tripletex_api/models/list_response_voucher_type.rb +228 -0
- data/lib/tripletex_api/models/list_response_week.rb +228 -0
- data/lib/tripletex_api/models/list_response_weekly_status.rb +228 -0
- data/lib/tripletex_api/models/list_response_working_hours_scheme.rb +228 -0
- data/lib/tripletex_api/models/logged_in_user_info_dto.rb +224 -0
- data/lib/tripletex_api/models/maritime_employment.rb +266 -0
- data/lib/tripletex_api/models/maventa_event_data_dto.rb +258 -0
- data/lib/tripletex_api/models/maventa_status_dto.rb +235 -0
- data/lib/tripletex_api/models/mileage_allowance.rb +336 -0
- data/lib/tripletex_api/models/mobile_app_login.rb +239 -0
- data/lib/tripletex_api/models/modules.rb +328 -0
- data/lib/tripletex_api/models/monthly_status.rb +316 -0
- data/lib/tripletex_api/models/municipality.rb +292 -0
- data/lib/tripletex_api/models/next_of_kin.rb +360 -0
- data/lib/tripletex_api/models/notification.rb +355 -0
- data/lib/tripletex_api/models/occupation_code.rb +267 -0
- data/lib/tripletex_api/models/order.rb +788 -0
- data/lib/tripletex_api/models/order_line.rb +385 -0
- data/lib/tripletex_api/models/order_offer.rb +270 -0
- data/lib/tripletex_api/models/passenger.rb +259 -0
- data/lib/tripletex_api/models/payment_type.rb +295 -0
- data/lib/tripletex_api/models/payment_type_out.rb +358 -0
- data/lib/tripletex_api/models/payslip.rb +332 -0
- data/lib/tripletex_api/models/per_diem_compensation.rb +398 -0
- data/lib/tripletex_api/models/person_auto_complete_dto.rb +357 -0
- data/lib/tripletex_api/models/posting.rb +440 -0
- data/lib/tripletex_api/models/product.rb +450 -0
- data/lib/tripletex_api/models/product_unit.rb +292 -0
- data/lib/tripletex_api/models/project.rb +528 -0
- data/lib/tripletex_api/models/project_category.rb +293 -0
- data/lib/tripletex_api/models/project_invoice_details.rb +413 -0
- data/lib/tripletex_api/models/project_order_line.rb +371 -0
- data/lib/tripletex_api/models/project_participant.rb +246 -0
- data/lib/tripletex_api/models/prospect.rb +448 -0
- data/lib/tripletex_api/models/reminder.rb +509 -0
- data/lib/tripletex_api/models/remuneration_type.rb +315 -0
- data/lib/tripletex_api/models/response_wrapper_accommodation_allowance.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_account.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_accounting_period.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_activity.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_address.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_altinn_company_module.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_annual_account.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_api_consumer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_app_specific.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_match.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_reconciliation_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_statement.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_bank_transaction.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_banner.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_boolean.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_close_group.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_company.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_company_holiday.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_consumer_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_contact.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_cost.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_country.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_currency.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_customer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_customer_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_department.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_division.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_document.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_double.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employee.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employee_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employment.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_employment_details.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_entitlement.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_external_product.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_integer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_inventory.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_invoice.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_leave_of_absence.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_list_job.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_logged_in_user_info_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_map_string_event_info_description.rb +190 -0
- data/lib/tripletex_api/models/response_wrapper_mileage_allowance.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_modules.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_monthly_status.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_next_of_kin.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_notification.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_object.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order_line.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_order_offer.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_passenger.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payment_type_out.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_payslip.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_per_diem_compensation.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_posting.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_product.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_product_unit.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_invoice_details.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_order_line.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_project_participant.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_prospect.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_reminder.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_settings.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_specification.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_transaction.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_salary_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_session_token.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_standard_time.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_string.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_subscription.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_supplier.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_system_message.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_time_clock.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_timesheet_entry.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_timesheet_settings.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_cost_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_expense_rate_category_group.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_travel_payment_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_trip_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_tripletex_account_return.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_unread_count_dto.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_vat_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_voucher.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_voucher_type.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_week.rb +188 -0
- data/lib/tripletex_api/models/response_wrapper_weekly_status.rb +188 -0
- data/lib/tripletex_api/models/result.rb +320 -0
- data/lib/tripletex_api/models/salary_settings.rb +279 -0
- data/lib/tripletex_api/models/salary_specification.rb +331 -0
- data/lib/tripletex_api/models/salary_transaction.rb +284 -0
- data/lib/tripletex_api/models/salary_type.rb +276 -0
- data/lib/tripletex_api/models/search_completion_dto.rb +301 -0
- data/lib/tripletex_api/models/session_token.rb +299 -0
- data/lib/tripletex_api/models/smart_scan_webhook.rb +206 -0
- data/lib/tripletex_api/models/standard_time.rb +254 -0
- data/lib/tripletex_api/models/subscription.rb +377 -0
- data/lib/tripletex_api/models/supplier.rb +553 -0
- data/lib/tripletex_api/models/supplier_balance.rb +236 -0
- data/lib/tripletex_api/models/system_message.rb +188 -0
- data/lib/tripletex_api/models/time_clock.rb +320 -0
- data/lib/tripletex_api/models/timesheet_entry.rb +367 -0
- data/lib/tripletex_api/models/timesheet_entry_search_response.rb +237 -0
- data/lib/tripletex_api/models/timesheet_settings.rb +239 -0
- data/lib/tripletex_api/models/travel_cost_category.rb +312 -0
- data/lib/tripletex_api/models/travel_details.rb +348 -0
- data/lib/tripletex_api/models/travel_expense.rb +644 -0
- data/lib/tripletex_api/models/travel_expense_rate.rb +281 -0
- data/lib/tripletex_api/models/travel_expense_rate_category.rb +396 -0
- data/lib/tripletex_api/models/travel_expense_rate_category_group.rb +265 -0
- data/lib/tripletex_api/models/travel_payment_type.rb +292 -0
- data/lib/tripletex_api/models/trigger_dto.rb +233 -0
- data/lib/tripletex_api/models/trip_dto.rb +206 -0
- data/lib/tripletex_api/models/tripletex_account.rb +424 -0
- data/lib/tripletex_api/models/tripletex_account_return.rb +224 -0
- data/lib/tripletex_api/models/unread_count_dto.rb +197 -0
- data/lib/tripletex_api/models/vat_type.rb +276 -0
- data/lib/tripletex_api/models/vntc_status_dto.rb +258 -0
- data/lib/tripletex_api/models/voucher.rb +362 -0
- data/lib/tripletex_api/models/voucher_search_response.rb +238 -0
- data/lib/tripletex_api/models/voucher_type.rb +242 -0
- data/lib/tripletex_api/models/week.rb +295 -0
- data/lib/tripletex_api/models/weekly_status.rb +289 -0
- data/lib/tripletex_api/models/working_hours_scheme.rb +315 -0
- data/lib/tripletex_api/version.rb +15 -0
- data/spec/api/activity_api_spec.rb +89 -0
- data/spec/api/address_api_spec.rb +82 -0
- data/spec/api/bank_api_spec.rb +52 -0
- data/spec/api/bankreconciliation_api_spec.rb +143 -0
- data/spec/api/bankreconciliationmatch_api_spec.rb +114 -0
- data/spec/api/bankreconciliationpayment_type_api_spec.rb +65 -0
- data/spec/api/bankstatement_api_spec.rb +90 -0
- data/spec/api/bankstatementtransaction_api_spec.rb +77 -0
- data/spec/api/company_api_spec.rb +90 -0
- data/spec/api/companyaltinn_api_spec.rb +59 -0
- data/spec/api/contact_api_spec.rb +93 -0
- data/spec/api/country_api_spec.rb +65 -0
- data/spec/api/crmprospect_api_spec.rb +77 -0
- data/spec/api/currency_api_spec.rb +65 -0
- data/spec/api/customer_api_spec.rb +119 -0
- data/spec/api/customercategory_api_spec.rb +93 -0
- data/spec/api/department_api_spec.rb +116 -0
- data/spec/api/division_api_spec.rb +99 -0
- data/spec/api/document_api_spec.rb +60 -0
- data/spec/api/employee_api_spec.rb +108 -0
- data/spec/api/employeeemployment_api_spec.rb +89 -0
- data/spec/api/employeeemploymentdetails_api_spec.rb +89 -0
- data/spec/api/employeeemploymentemployment_type_api_spec.rb +96 -0
- data/spec/api/employeeemploymentleave_of_absence_api_spec.rb +85 -0
- data/spec/api/employeeemploymentleave_of_absence_type_api_spec.rb +50 -0
- data/spec/api/employeeemploymentoccupation_code_api_spec.rb +52 -0
- data/spec/api/employeeemploymentremuneration_type_api_spec.rb +50 -0
- data/spec/api/employeeemploymentworking_hours_scheme_api_spec.rb +50 -0
- data/spec/api/employeeentitlement_api_spec.rb +109 -0
- data/spec/api/employeenext_of_kin_api_spec.rb +89 -0
- data/spec/api/employeestandard_time_api_spec.rb +89 -0
- data/spec/api/event_api_spec.rb +47 -0
- data/spec/api/eventsubscription_api_spec.rb +100 -0
- data/spec/api/inventory_api_spec.rb +67 -0
- data/spec/api/invoice_api_spec.rb +160 -0
- data/spec/api/invoicedetails_api_spec.rb +66 -0
- data/spec/api/invoicepayment_type_api_spec.rb +65 -0
- data/spec/api/ledger_api_spec.rb +83 -0
- data/spec/api/ledgeraccount_api_spec.rb +140 -0
- data/spec/api/ledgeraccounting_period_api_spec.rb +70 -0
- data/spec/api/ledgerannual_account_api_spec.rb +66 -0
- data/spec/api/ledgerclose_group_api_spec.rb +66 -0
- data/spec/api/ledgerpayment_type_out_api_spec.rb +127 -0
- data/spec/api/ledgerposting_api_spec.rb +96 -0
- data/spec/api/ledgervat_type_api_spec.rb +65 -0
- data/spec/api/ledgervoucher_api_spec.rb +236 -0
- data/spec/api/ledgervoucher_type_api_spec.rb +64 -0
- data/spec/api/municipality_api_spec.rb +50 -0
- data/spec/api/order_api_spec.rb +110 -0
- data/spec/api/orderorderline_api_spec.rb +84 -0
- data/spec/api/product_api_spec.rb +104 -0
- data/spec/api/productexternal_api_spec.rb +69 -0
- data/spec/api/productunit_api_spec.rb +67 -0
- data/spec/api/project_api_spec.rb +179 -0
- data/spec/api/projectcategory_api_spec.rb +92 -0
- data/spec/api/projectorderline_api_spec.rb +97 -0
- data/spec/api/projectparticipant_api_spec.rb +97 -0
- data/spec/api/reminder_api_spec.rb +70 -0
- data/spec/api/salarypayslip_api_spec.rb +86 -0
- data/spec/api/salarysettings_api_spec.rb +59 -0
- data/spec/api/salarysettingsholiday_api_spec.rb +111 -0
- data/spec/api/salarytransaction_api_spec.rb +73 -0
- data/spec/api/salarytype_api_spec.rb +67 -0
- data/spec/api/supplier_api_spec.rb +122 -0
- data/spec/api/timesheetentry_api_spec.rb +180 -0
- data/spec/api/timesheetsettings_api_spec.rb +47 -0
- data/spec/api/timesheettime_clock_api_spec.rb +125 -0
- data/spec/api/timesheetweek_api_spec.rb +110 -0
- data/spec/api/tokenconsumer_api_spec.rb +48 -0
- data/spec/api/tokenemployee_api_spec.rb +51 -0
- data/spec/api/tokensession_api_spec.rb +73 -0
- data/spec/api/travel_expense_api_spec.rb +205 -0
- data/spec/api/travel_expenseaccommodation_allowance_api_spec.rb +111 -0
- data/spec/api/travel_expensecost_api_spec.rb +111 -0
- data/spec/api/travel_expensecost_category_api_spec.rb +65 -0
- data/spec/api/travel_expensemileage_allowance_api_spec.rb +114 -0
- data/spec/api/travel_expensepassenger_api_spec.rb +102 -0
- data/spec/api/travel_expensepayment_type_api_spec.rb +65 -0
- data/spec/api/travel_expenseper_diem_compensation_api_spec.rb +115 -0
- data/spec/api/travel_expenserate_api_spec.rb +73 -0
- data/spec/api/travel_expenserate_category_api_spec.rb +75 -0
- data/spec/api/travel_expenserate_category_group_api_spec.rb +67 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_dto_spec.rb +48 -0
- data/spec/models/accommodation_allowance_spec.rb +114 -0
- data/spec/models/account_spec.rb +172 -0
- data/spec/models/accounting_period_spec.rb +90 -0
- data/spec/models/activity_spec.rb +102 -0
- data/spec/models/address_spec.rb +102 -0
- data/spec/models/altinn_company_module_spec.rb +72 -0
- data/spec/models/annual_account_spec.rb +78 -0
- data/spec/models/api_consumer_spec.rb +72 -0
- data/spec/models/api_error_spec.rb +78 -0
- data/spec/models/api_validation_message_spec.rb +48 -0
- data/spec/models/app_specific_spec.rb +78 -0
- data/spec/models/bank_reconciliation_adjustment_spec.rb +72 -0
- data/spec/models/bank_reconciliation_match_spec.rb +88 -0
- data/spec/models/bank_reconciliation_payment_type_spec.rb +84 -0
- data/spec/models/bank_reconciliation_spec.rb +114 -0
- data/spec/models/bank_spec.rb +82 -0
- data/spec/models/bank_statement_spec.rb +90 -0
- data/spec/models/bank_transaction_spec.rb +84 -0
- data/spec/models/banner_spec.rb +102 -0
- data/spec/models/change_spec.rb +58 -0
- data/spec/models/close_group_spec.rb +72 -0
- data/spec/models/company_auto_complete_dto_spec.rb +136 -0
- data/spec/models/company_holiday_spec.rb +90 -0
- data/spec/models/company_spec.rb +124 -0
- data/spec/models/consumer_token_spec.rb +78 -0
- data/spec/models/contact_spec.rb +90 -0
- data/spec/models/cost_spec.rb +156 -0
- data/spec/models/country_spec.rb +84 -0
- data/spec/models/csv_record_spec.rb +54 -0
- data/spec/models/currency_spec.rb +72 -0
- data/spec/models/customer_category_spec.rb +84 -0
- data/spec/models/customer_spec.rb +186 -0
- data/spec/models/customer_tripletex_account_spec.rb +136 -0
- data/spec/models/department_spec.rb +78 -0
- data/spec/models/division_spec.rb +90 -0
- data/spec/models/document_spec.rb +72 -0
- data/spec/models/employee_spec.rb +172 -0
- data/spec/models/employee_token_spec.rb +84 -0
- data/spec/models/employment_details_spec.rb +144 -0
- data/spec/models/employment_spec.rb +102 -0
- data/spec/models/employment_type_spec.rb +82 -0
- data/spec/models/entitlement_spec.rb +84 -0
- data/spec/models/event_info_description_spec.rb +48 -0
- data/spec/models/external_product_spec.rb +144 -0
- data/spec/models/import_config_dto_spec.rb +54 -0
- data/spec/models/import_report_dto_spec.rb +126 -0
- data/spec/models/international_id_spec.rb +58 -0
- data/spec/models/inventory_spec.rb +84 -0
- data/spec/models/invoice_spec.rb +214 -0
- data/spec/models/job_detail_dto_spec.rb +66 -0
- data/spec/models/job_spec.rb +72 -0
- data/spec/models/leave_of_absence_spec.rb +102 -0
- data/spec/models/leave_of_absence_type_spec.rb +82 -0
- data/spec/models/ledger_account_spec.rb +90 -0
- data/spec/models/link_spec.rb +58 -0
- data/spec/models/list_response_accommodation_allowance_spec.rb +66 -0
- data/spec/models/list_response_account_spec.rb +66 -0
- data/spec/models/list_response_accounting_period_spec.rb +66 -0
- data/spec/models/list_response_activity_spec.rb +66 -0
- data/spec/models/list_response_address_spec.rb +66 -0
- data/spec/models/list_response_annual_account_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_adjustment_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_match_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_payment_type_spec.rb +66 -0
- data/spec/models/list_response_bank_reconciliation_spec.rb +66 -0
- data/spec/models/list_response_bank_spec.rb +66 -0
- data/spec/models/list_response_bank_statement_spec.rb +66 -0
- data/spec/models/list_response_bank_transaction_spec.rb +66 -0
- data/spec/models/list_response_banner_spec.rb +66 -0
- data/spec/models/list_response_close_group_spec.rb +66 -0
- data/spec/models/list_response_company_auto_complete_dto_spec.rb +66 -0
- data/spec/models/list_response_company_holiday_spec.rb +66 -0
- data/spec/models/list_response_company_spec.rb +66 -0
- data/spec/models/list_response_contact_spec.rb +66 -0
- data/spec/models/list_response_cost_spec.rb +66 -0
- data/spec/models/list_response_country_spec.rb +66 -0
- data/spec/models/list_response_currency_spec.rb +66 -0
- data/spec/models/list_response_customer_category_spec.rb +66 -0
- data/spec/models/list_response_customer_spec.rb +66 -0
- data/spec/models/list_response_department_spec.rb +66 -0
- data/spec/models/list_response_division_spec.rb +66 -0
- data/spec/models/list_response_employee_spec.rb +66 -0
- data/spec/models/list_response_employment_details_spec.rb +66 -0
- data/spec/models/list_response_employment_spec.rb +66 -0
- data/spec/models/list_response_employment_type_spec.rb +66 -0
- data/spec/models/list_response_entitlement_spec.rb +66 -0
- data/spec/models/list_response_external_product_spec.rb +66 -0
- data/spec/models/list_response_inventory_spec.rb +66 -0
- data/spec/models/list_response_invoice_spec.rb +66 -0
- data/spec/models/list_response_leave_of_absence_spec.rb +66 -0
- data/spec/models/list_response_leave_of_absence_type_spec.rb +66 -0
- data/spec/models/list_response_ledger_account_spec.rb +66 -0
- data/spec/models/list_response_mileage_allowance_spec.rb +66 -0
- data/spec/models/list_response_municipality_spec.rb +66 -0
- data/spec/models/list_response_next_of_kin_spec.rb +66 -0
- data/spec/models/list_response_notification_spec.rb +66 -0
- data/spec/models/list_response_occupation_code_spec.rb +66 -0
- data/spec/models/list_response_order_line_spec.rb +66 -0
- data/spec/models/list_response_order_offer_spec.rb +66 -0
- data/spec/models/list_response_order_spec.rb +66 -0
- data/spec/models/list_response_passenger_spec.rb +66 -0
- data/spec/models/list_response_payment_type_out_spec.rb +66 -0
- data/spec/models/list_response_payment_type_spec.rb +66 -0
- data/spec/models/list_response_payslip_spec.rb +66 -0
- data/spec/models/list_response_per_diem_compensation_spec.rb +66 -0
- data/spec/models/list_response_person_auto_complete_dto_spec.rb +66 -0
- data/spec/models/list_response_posting_spec.rb +66 -0
- data/spec/models/list_response_product_spec.rb +66 -0
- data/spec/models/list_response_product_unit_spec.rb +66 -0
- data/spec/models/list_response_project_category_spec.rb +66 -0
- data/spec/models/list_response_project_invoice_details_spec.rb +66 -0
- data/spec/models/list_response_project_order_line_spec.rb +66 -0
- data/spec/models/list_response_project_participant_spec.rb +66 -0
- data/spec/models/list_response_project_spec.rb +66 -0
- data/spec/models/list_response_prospect_spec.rb +66 -0
- data/spec/models/list_response_reminder_spec.rb +66 -0
- data/spec/models/list_response_remuneration_type_spec.rb +66 -0
- data/spec/models/list_response_salary_specification_spec.rb +66 -0
- data/spec/models/list_response_salary_transaction_spec.rb +66 -0
- data/spec/models/list_response_salary_type_spec.rb +66 -0
- data/spec/models/list_response_search_completion_dto_spec.rb +66 -0
- data/spec/models/list_response_standard_time_spec.rb +66 -0
- data/spec/models/list_response_subscription_spec.rb +66 -0
- data/spec/models/list_response_supplier_balance_spec.rb +66 -0
- data/spec/models/list_response_supplier_spec.rb +66 -0
- data/spec/models/list_response_time_clock_spec.rb +66 -0
- data/spec/models/list_response_timesheet_entry_spec.rb +66 -0
- data/spec/models/list_response_travel_cost_category_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_category_group_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_category_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_rate_spec.rb +66 -0
- data/spec/models/list_response_travel_expense_spec.rb +66 -0
- data/spec/models/list_response_travel_payment_type_spec.rb +66 -0
- data/spec/models/list_response_vat_type_spec.rb +66 -0
- data/spec/models/list_response_voucher_spec.rb +66 -0
- data/spec/models/list_response_voucher_type_spec.rb +66 -0
- data/spec/models/list_response_week_spec.rb +66 -0
- data/spec/models/list_response_weekly_status_spec.rb +66 -0
- data/spec/models/list_response_working_hours_scheme_spec.rb +66 -0
- data/spec/models/logged_in_user_info_dto_spec.rb +66 -0
- data/spec/models/maritime_employment_spec.rb +66 -0
- data/spec/models/maventa_event_data_dto_spec.rb +72 -0
- data/spec/models/maventa_status_dto_spec.rb +60 -0
- data/spec/models/mileage_allowance_spec.rb +126 -0
- data/spec/models/mobile_app_login_spec.rb +60 -0
- data/spec/models/modules_spec.rb +114 -0
- data/spec/models/monthly_status_spec.rb +120 -0
- data/spec/models/municipality_spec.rb +78 -0
- data/spec/models/next_of_kin_spec.rb +94 -0
- data/spec/models/notification_spec.rb +90 -0
- data/spec/models/occupation_code_spec.rb +72 -0
- data/spec/models/order_line_spec.rb +162 -0
- data/spec/models/order_offer_spec.rb +84 -0
- data/spec/models/order_spec.rb +282 -0
- data/spec/models/passenger_spec.rb +72 -0
- data/spec/models/payment_type_out_spec.rb +120 -0
- data/spec/models/payment_type_spec.rb +96 -0
- data/spec/models/payslip_spec.rb +120 -0
- data/spec/models/per_diem_compensation_spec.rb +142 -0
- data/spec/models/person_auto_complete_dto_spec.rb +142 -0
- data/spec/models/posting_spec.rb +186 -0
- data/spec/models/product_spec.rb +168 -0
- data/spec/models/product_unit_spec.rb +78 -0
- data/spec/models/project_category_spec.rb +78 -0
- data/spec/models/project_invoice_details_spec.rb +168 -0
- data/spec/models/project_order_line_spec.rb +150 -0
- data/spec/models/project_participant_spec.rb +78 -0
- data/spec/models/project_spec.rb +190 -0
- data/spec/models/prospect_spec.rb +162 -0
- data/spec/models/reminder_spec.rb +166 -0
- data/spec/models/remuneration_type_spec.rb +82 -0
- data/spec/models/response_wrapper_accommodation_allowance_spec.rb +42 -0
- data/spec/models/response_wrapper_account_spec.rb +42 -0
- data/spec/models/response_wrapper_accounting_period_spec.rb +42 -0
- data/spec/models/response_wrapper_activity_spec.rb +42 -0
- data/spec/models/response_wrapper_address_spec.rb +42 -0
- data/spec/models/response_wrapper_altinn_company_module_spec.rb +42 -0
- data/spec/models/response_wrapper_annual_account_spec.rb +42 -0
- data/spec/models/response_wrapper_api_consumer_spec.rb +42 -0
- data/spec/models/response_wrapper_app_specific_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_match_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_reconciliation_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_statement_spec.rb +42 -0
- data/spec/models/response_wrapper_bank_transaction_spec.rb +42 -0
- data/spec/models/response_wrapper_banner_spec.rb +42 -0
- data/spec/models/response_wrapper_boolean_spec.rb +42 -0
- data/spec/models/response_wrapper_close_group_spec.rb +42 -0
- data/spec/models/response_wrapper_company_holiday_spec.rb +42 -0
- data/spec/models/response_wrapper_company_spec.rb +42 -0
- data/spec/models/response_wrapper_consumer_token_spec.rb +42 -0
- data/spec/models/response_wrapper_contact_spec.rb +42 -0
- data/spec/models/response_wrapper_cost_spec.rb +42 -0
- data/spec/models/response_wrapper_country_spec.rb +42 -0
- data/spec/models/response_wrapper_currency_spec.rb +42 -0
- data/spec/models/response_wrapper_customer_category_spec.rb +42 -0
- data/spec/models/response_wrapper_customer_spec.rb +42 -0
- data/spec/models/response_wrapper_department_spec.rb +42 -0
- data/spec/models/response_wrapper_division_spec.rb +42 -0
- data/spec/models/response_wrapper_document_spec.rb +42 -0
- data/spec/models/response_wrapper_double_spec.rb +42 -0
- data/spec/models/response_wrapper_employee_spec.rb +42 -0
- data/spec/models/response_wrapper_employee_token_spec.rb +42 -0
- data/spec/models/response_wrapper_employment_details_spec.rb +42 -0
- data/spec/models/response_wrapper_employment_spec.rb +42 -0
- data/spec/models/response_wrapper_entitlement_spec.rb +42 -0
- data/spec/models/response_wrapper_external_product_spec.rb +42 -0
- data/spec/models/response_wrapper_integer_spec.rb +42 -0
- data/spec/models/response_wrapper_inventory_spec.rb +42 -0
- data/spec/models/response_wrapper_invoice_spec.rb +42 -0
- data/spec/models/response_wrapper_leave_of_absence_spec.rb +42 -0
- data/spec/models/response_wrapper_list_job_spec.rb +42 -0
- data/spec/models/response_wrapper_logged_in_user_info_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_map_string_event_info_description_spec.rb +42 -0
- data/spec/models/response_wrapper_mileage_allowance_spec.rb +42 -0
- data/spec/models/response_wrapper_modules_spec.rb +42 -0
- data/spec/models/response_wrapper_monthly_status_spec.rb +42 -0
- data/spec/models/response_wrapper_next_of_kin_spec.rb +42 -0
- data/spec/models/response_wrapper_notification_spec.rb +42 -0
- data/spec/models/response_wrapper_object_spec.rb +42 -0
- data/spec/models/response_wrapper_order_line_spec.rb +42 -0
- data/spec/models/response_wrapper_order_offer_spec.rb +42 -0
- data/spec/models/response_wrapper_order_spec.rb +42 -0
- data/spec/models/response_wrapper_passenger_spec.rb +42 -0
- data/spec/models/response_wrapper_payment_type_out_spec.rb +42 -0
- data/spec/models/response_wrapper_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_payslip_spec.rb +42 -0
- data/spec/models/response_wrapper_per_diem_compensation_spec.rb +42 -0
- data/spec/models/response_wrapper_posting_spec.rb +42 -0
- data/spec/models/response_wrapper_product_spec.rb +42 -0
- data/spec/models/response_wrapper_product_unit_spec.rb +42 -0
- data/spec/models/response_wrapper_project_category_spec.rb +42 -0
- data/spec/models/response_wrapper_project_invoice_details_spec.rb +42 -0
- data/spec/models/response_wrapper_project_order_line_spec.rb +42 -0
- data/spec/models/response_wrapper_project_participant_spec.rb +42 -0
- data/spec/models/response_wrapper_project_spec.rb +42 -0
- data/spec/models/response_wrapper_prospect_spec.rb +42 -0
- data/spec/models/response_wrapper_reminder_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_settings_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_specification_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_transaction_spec.rb +42 -0
- data/spec/models/response_wrapper_salary_type_spec.rb +42 -0
- data/spec/models/response_wrapper_session_token_spec.rb +42 -0
- data/spec/models/response_wrapper_standard_time_spec.rb +42 -0
- data/spec/models/response_wrapper_string_spec.rb +42 -0
- data/spec/models/response_wrapper_subscription_spec.rb +42 -0
- data/spec/models/response_wrapper_supplier_spec.rb +42 -0
- data/spec/models/response_wrapper_system_message_spec.rb +42 -0
- data/spec/models/response_wrapper_time_clock_spec.rb +42 -0
- data/spec/models/response_wrapper_timesheet_entry_spec.rb +42 -0
- data/spec/models/response_wrapper_timesheet_settings_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_cost_category_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_category_group_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_category_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_rate_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_expense_spec.rb +42 -0
- data/spec/models/response_wrapper_travel_payment_type_spec.rb +42 -0
- data/spec/models/response_wrapper_trip_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_tripletex_account_return_spec.rb +42 -0
- data/spec/models/response_wrapper_unread_count_dto_spec.rb +42 -0
- data/spec/models/response_wrapper_vat_type_spec.rb +42 -0
- data/spec/models/response_wrapper_voucher_spec.rb +42 -0
- data/spec/models/response_wrapper_voucher_type_spec.rb +42 -0
- data/spec/models/response_wrapper_week_spec.rb +42 -0
- data/spec/models/response_wrapper_weekly_status_spec.rb +42 -0
- data/spec/models/result_spec.rb +104 -0
- data/spec/models/salary_settings_spec.rb +76 -0
- data/spec/models/salary_specification_spec.rb +126 -0
- data/spec/models/salary_transaction_spec.rb +90 -0
- data/spec/models/salary_type_spec.rb +78 -0
- data/spec/models/search_completion_dto_spec.rb +106 -0
- data/spec/models/session_token_spec.rb +90 -0
- data/spec/models/smart_scan_webhook_spec.rb +54 -0
- data/spec/models/standard_time_spec.rb +78 -0
- data/spec/models/subscription_spec.rb +88 -0
- data/spec/models/supplier_balance_spec.rb +72 -0
- data/spec/models/supplier_spec.rb +192 -0
- data/spec/models/system_message_spec.rb +42 -0
- data/spec/models/time_clock_spec.rb +108 -0
- data/spec/models/timesheet_entry_search_response_spec.rb +72 -0
- data/spec/models/timesheet_entry_spec.rb +138 -0
- data/spec/models/timesheet_settings_spec.rb +72 -0
- data/spec/models/travel_cost_category_spec.rb +102 -0
- data/spec/models/travel_details_spec.rb +102 -0
- data/spec/models/travel_expense_rate_category_group_spec.rb +84 -0
- data/spec/models/travel_expense_rate_category_spec.rb +136 -0
- data/spec/models/travel_expense_rate_spec.rb +96 -0
- data/spec/models/travel_expense_spec.rb +280 -0
- data/spec/models/travel_payment_type_spec.rb +90 -0
- data/spec/models/trigger_dto_spec.rb +72 -0
- data/spec/models/trip_dto_spec.rb +54 -0
- data/spec/models/tripletex_account_return_spec.rb +66 -0
- data/spec/models/tripletex_account_spec.rb +138 -0
- data/spec/models/unread_count_dto_spec.rb +48 -0
- data/spec/models/vat_type_spec.rb +78 -0
- data/spec/models/vntc_status_dto_spec.rb +72 -0
- data/spec/models/voucher_search_response_spec.rb +72 -0
- data/spec/models/voucher_spec.rb +120 -0
- data/spec/models/voucher_type_spec.rb +66 -0
- data/spec/models/week_spec.rb +108 -0
- data/spec/models/working_hours_scheme_spec.rb +82 -0
- data/spec/spec_helper.rb +111 -0
- data/tripletex_api.gemspec +46 -0
- metadata +1862 -0
@@ -0,0 +1,227 @@
|
|
1
|
+
# TripletexApi::LedgerpostingApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](LedgerpostingApi.md#get) | **GET** /ledger/posting/{id} | Find postings by ID.
|
8
|
+
[**open_post**](LedgerpostingApi.md#open_post) | **GET** /ledger/posting/openPost | Find open posts corresponding with sent data.
|
9
|
+
[**search**](LedgerpostingApi.md#search) | **GET** /ledger/posting | Find postings corresponding with sent data.
|
10
|
+
|
11
|
+
|
12
|
+
# **get**
|
13
|
+
> ResponseWrapperPosting get(id, opts)
|
14
|
+
|
15
|
+
Find postings by ID.
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'tripletex_api'
|
23
|
+
# setup authorization
|
24
|
+
TripletexApi.configure do |config|
|
25
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
26
|
+
config.username = 'YOUR USERNAME'
|
27
|
+
config.password = 'YOUR PASSWORD'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = TripletexApi::LedgerpostingApi.new
|
31
|
+
|
32
|
+
id = 56 # Integer | Element ID
|
33
|
+
|
34
|
+
opts = {
|
35
|
+
fields: "fields_example" # String | Fields filter pattern
|
36
|
+
}
|
37
|
+
|
38
|
+
begin
|
39
|
+
#Find postings by ID.
|
40
|
+
result = api_instance.get(id, opts)
|
41
|
+
p result
|
42
|
+
rescue TripletexApi::ApiError => e
|
43
|
+
puts "Exception when calling LedgerpostingApi->get: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
Name | Type | Description | Notes
|
50
|
+
------------- | ------------- | ------------- | -------------
|
51
|
+
**id** | **Integer**| Element ID |
|
52
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
53
|
+
|
54
|
+
### Return type
|
55
|
+
|
56
|
+
[**ResponseWrapperPosting**](ResponseWrapperPosting.md)
|
57
|
+
|
58
|
+
### Authorization
|
59
|
+
|
60
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
61
|
+
|
62
|
+
### HTTP request headers
|
63
|
+
|
64
|
+
- **Content-Type**: Not defined
|
65
|
+
- **Accept**: Not defined
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# **open_post**
|
70
|
+
> ListResponsePosting open_post(date, opts)
|
71
|
+
|
72
|
+
Find open posts corresponding with sent data.
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
### Example
|
77
|
+
```ruby
|
78
|
+
# load the gem
|
79
|
+
require 'tripletex_api'
|
80
|
+
# setup authorization
|
81
|
+
TripletexApi.configure do |config|
|
82
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
83
|
+
config.username = 'YOUR USERNAME'
|
84
|
+
config.password = 'YOUR PASSWORD'
|
85
|
+
end
|
86
|
+
|
87
|
+
api_instance = TripletexApi::LedgerpostingApi.new
|
88
|
+
|
89
|
+
date = "date_example" # String | Invoice date. Format is yyyy-MM-dd (to and excl.).
|
90
|
+
|
91
|
+
opts = {
|
92
|
+
account_id: 56, # Integer | Element ID
|
93
|
+
supplier_id: 56, # Integer | Element ID
|
94
|
+
customer_id: 56, # Integer | Element ID
|
95
|
+
employee_id: 56, # Integer | Element ID
|
96
|
+
department_id: 56, # Integer | Element ID
|
97
|
+
project_id: 56, # Integer | Element ID
|
98
|
+
product_id: 56, # Integer | Element ID
|
99
|
+
from: 0, # Integer | From index
|
100
|
+
count: 1000, # Integer | Number of elements to return
|
101
|
+
sorting: "sorting_example", # String | Sorting pattern
|
102
|
+
fields: "fields_example" # String | Fields filter pattern
|
103
|
+
}
|
104
|
+
|
105
|
+
begin
|
106
|
+
#Find open posts corresponding with sent data.
|
107
|
+
result = api_instance.open_post(date, opts)
|
108
|
+
p result
|
109
|
+
rescue TripletexApi::ApiError => e
|
110
|
+
puts "Exception when calling LedgerpostingApi->open_post: #{e}"
|
111
|
+
end
|
112
|
+
```
|
113
|
+
|
114
|
+
### Parameters
|
115
|
+
|
116
|
+
Name | Type | Description | Notes
|
117
|
+
------------- | ------------- | ------------- | -------------
|
118
|
+
**date** | **String**| Invoice date. Format is yyyy-MM-dd (to and excl.). |
|
119
|
+
**account_id** | **Integer**| Element ID | [optional]
|
120
|
+
**supplier_id** | **Integer**| Element ID | [optional]
|
121
|
+
**customer_id** | **Integer**| Element ID | [optional]
|
122
|
+
**employee_id** | **Integer**| Element ID | [optional]
|
123
|
+
**department_id** | **Integer**| Element ID | [optional]
|
124
|
+
**project_id** | **Integer**| Element ID | [optional]
|
125
|
+
**product_id** | **Integer**| Element ID | [optional]
|
126
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
127
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
128
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
129
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
130
|
+
|
131
|
+
### Return type
|
132
|
+
|
133
|
+
[**ListResponsePosting**](ListResponsePosting.md)
|
134
|
+
|
135
|
+
### Authorization
|
136
|
+
|
137
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
138
|
+
|
139
|
+
### HTTP request headers
|
140
|
+
|
141
|
+
- **Content-Type**: Not defined
|
142
|
+
- **Accept**: Not defined
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
# **search**
|
147
|
+
> ListResponsePosting search(date_from, date_to, opts)
|
148
|
+
|
149
|
+
Find postings corresponding with sent data.
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
### Example
|
154
|
+
```ruby
|
155
|
+
# load the gem
|
156
|
+
require 'tripletex_api'
|
157
|
+
# setup authorization
|
158
|
+
TripletexApi.configure do |config|
|
159
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
160
|
+
config.username = 'YOUR USERNAME'
|
161
|
+
config.password = 'YOUR PASSWORD'
|
162
|
+
end
|
163
|
+
|
164
|
+
api_instance = TripletexApi::LedgerpostingApi.new
|
165
|
+
|
166
|
+
date_from = "date_from_example" # String | Format is yyyy-MM-dd (from and incl.).
|
167
|
+
|
168
|
+
date_to = "date_to_example" # String | Format is yyyy-MM-dd (to and excl.).
|
169
|
+
|
170
|
+
opts = {
|
171
|
+
open_postings: "open_postings_example", # String | Deprecated
|
172
|
+
account_id: 56, # Integer | Element ID
|
173
|
+
supplier_id: 56, # Integer | Element ID
|
174
|
+
customer_id: 56, # Integer | Element ID
|
175
|
+
employee_id: 56, # Integer | Element ID
|
176
|
+
department_id: 56, # Integer | Element ID
|
177
|
+
project_id: 56, # Integer | Element ID
|
178
|
+
product_id: 56, # Integer | Element ID
|
179
|
+
from: 0, # Integer | From index
|
180
|
+
count: 1000, # Integer | Number of elements to return
|
181
|
+
sorting: "sorting_example", # String | Sorting pattern
|
182
|
+
fields: "fields_example" # String | Fields filter pattern
|
183
|
+
}
|
184
|
+
|
185
|
+
begin
|
186
|
+
#Find postings corresponding with sent data.
|
187
|
+
result = api_instance.search(date_from, date_to, opts)
|
188
|
+
p result
|
189
|
+
rescue TripletexApi::ApiError => e
|
190
|
+
puts "Exception when calling LedgerpostingApi->search: #{e}"
|
191
|
+
end
|
192
|
+
```
|
193
|
+
|
194
|
+
### Parameters
|
195
|
+
|
196
|
+
Name | Type | Description | Notes
|
197
|
+
------------- | ------------- | ------------- | -------------
|
198
|
+
**date_from** | **String**| Format is yyyy-MM-dd (from and incl.). |
|
199
|
+
**date_to** | **String**| Format is yyyy-MM-dd (to and excl.). |
|
200
|
+
**open_postings** | **String**| Deprecated | [optional]
|
201
|
+
**account_id** | **Integer**| Element ID | [optional]
|
202
|
+
**supplier_id** | **Integer**| Element ID | [optional]
|
203
|
+
**customer_id** | **Integer**| Element ID | [optional]
|
204
|
+
**employee_id** | **Integer**| Element ID | [optional]
|
205
|
+
**department_id** | **Integer**| Element ID | [optional]
|
206
|
+
**project_id** | **Integer**| Element ID | [optional]
|
207
|
+
**product_id** | **Integer**| Element ID | [optional]
|
208
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
209
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
210
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
211
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
212
|
+
|
213
|
+
### Return type
|
214
|
+
|
215
|
+
[**ListResponsePosting**](ListResponsePosting.md)
|
216
|
+
|
217
|
+
### Authorization
|
218
|
+
|
219
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
220
|
+
|
221
|
+
### HTTP request headers
|
222
|
+
|
223
|
+
- **Content-Type**: Not defined
|
224
|
+
- **Accept**: Not defined
|
225
|
+
|
226
|
+
|
227
|
+
|
@@ -0,0 +1,131 @@
|
|
1
|
+
# TripletexApi::LedgervatTypeApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](LedgervatTypeApi.md#get) | **GET** /ledger/vatType/{id} | Get vat type by ID.
|
8
|
+
[**search**](LedgervatTypeApi.md#search) | **GET** /ledger/vatType | Find vat types corresponding with sent data.
|
9
|
+
|
10
|
+
|
11
|
+
# **get**
|
12
|
+
> ResponseWrapperVatType get(id, opts)
|
13
|
+
|
14
|
+
Get vat type by ID.
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'tripletex_api'
|
22
|
+
# setup authorization
|
23
|
+
TripletexApi.configure do |config|
|
24
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
25
|
+
config.username = 'YOUR USERNAME'
|
26
|
+
config.password = 'YOUR PASSWORD'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = TripletexApi::LedgervatTypeApi.new
|
30
|
+
|
31
|
+
id = 56 # Integer | Element ID
|
32
|
+
|
33
|
+
opts = {
|
34
|
+
fields: "fields_example" # String | Fields filter pattern
|
35
|
+
}
|
36
|
+
|
37
|
+
begin
|
38
|
+
#Get vat type by ID.
|
39
|
+
result = api_instance.get(id, opts)
|
40
|
+
p result
|
41
|
+
rescue TripletexApi::ApiError => e
|
42
|
+
puts "Exception when calling LedgervatTypeApi->get: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**id** | **Integer**| Element ID |
|
51
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
52
|
+
|
53
|
+
### Return type
|
54
|
+
|
55
|
+
[**ResponseWrapperVatType**](ResponseWrapperVatType.md)
|
56
|
+
|
57
|
+
### Authorization
|
58
|
+
|
59
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
60
|
+
|
61
|
+
### HTTP request headers
|
62
|
+
|
63
|
+
- **Content-Type**: Not defined
|
64
|
+
- **Accept**: Not defined
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
# **search**
|
69
|
+
> ListResponseVatType search(opts)
|
70
|
+
|
71
|
+
Find vat types corresponding with sent data.
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
### Example
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'tripletex_api'
|
79
|
+
# setup authorization
|
80
|
+
TripletexApi.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = TripletexApi::LedgervatTypeApi.new
|
87
|
+
|
88
|
+
opts = {
|
89
|
+
id: "id_example", # String | List of IDs
|
90
|
+
number: "number_example", # String | List of IDs
|
91
|
+
from: 0, # Integer | From index
|
92
|
+
count: 1000, # Integer | Number of elements to return
|
93
|
+
sorting: "sorting_example", # String | Sorting pattern
|
94
|
+
fields: "fields_example" # String | Fields filter pattern
|
95
|
+
}
|
96
|
+
|
97
|
+
begin
|
98
|
+
#Find vat types corresponding with sent data.
|
99
|
+
result = api_instance.search(opts)
|
100
|
+
p result
|
101
|
+
rescue TripletexApi::ApiError => e
|
102
|
+
puts "Exception when calling LedgervatTypeApi->search: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
### Parameters
|
107
|
+
|
108
|
+
Name | Type | Description | Notes
|
109
|
+
------------- | ------------- | ------------- | -------------
|
110
|
+
**id** | **String**| List of IDs | [optional]
|
111
|
+
**number** | **String**| List of IDs | [optional]
|
112
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
113
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
114
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
115
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
116
|
+
|
117
|
+
### Return type
|
118
|
+
|
119
|
+
[**ListResponseVatType**](ListResponseVatType.md)
|
120
|
+
|
121
|
+
### Authorization
|
122
|
+
|
123
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
124
|
+
|
125
|
+
### HTTP request headers
|
126
|
+
|
127
|
+
- **Content-Type**: Not defined
|
128
|
+
- **Accept**: Not defined
|
129
|
+
|
130
|
+
|
131
|
+
|
@@ -0,0 +1,850 @@
|
|
1
|
+
# TripletexApi::LedgervoucherApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://tripletex.no/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete**](LedgervoucherApi.md#delete) | **DELETE** /ledger/voucher/{id} | [BETA] Delete voucher by ID.
|
8
|
+
[**download_pdf**](LedgervoucherApi.md#download_pdf) | **GET** /ledger/voucher/{voucherId}/pdf | Get attachment by voucher ID.
|
9
|
+
[**get**](LedgervoucherApi.md#get) | **GET** /ledger/voucher/{id} | Get voucher by ID.
|
10
|
+
[**import_document**](LedgervoucherApi.md#import_document) | **POST** /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.
|
11
|
+
[**import_gbat10**](LedgervoucherApi.md#import_gbat10) | **POST** /ledger/voucher/importGbat10 | Import GBAT10. Send as multipart form.
|
12
|
+
[**non_posted**](LedgervoucherApi.md#non_posted) | **GET** /ledger/voucher/>nonPosted | [BETA] Find non-posted vouchers.
|
13
|
+
[**post**](LedgervoucherApi.md#post) | **POST** /ledger/voucher | Add new voucher. IMPORTANT: Also creates postings. Only the gross amounts will be used
|
14
|
+
[**put**](LedgervoucherApi.md#put) | **PUT** /ledger/voucher/{id} | [BETA] Update voucher. Postings with guiRow==0 will be deleted and regenerated.
|
15
|
+
[**put_list**](LedgervoucherApi.md#put_list) | **PUT** /ledger/voucher/list | [BETA] Update multiple vouchers. Postings with guiRow==0 will be deleted and regenerated.
|
16
|
+
[**reverse**](LedgervoucherApi.md#reverse) | **PUT** /ledger/voucher/{id}/:reverse | Reverses the voucher, and returns the reversed voucher. Supports reversing most voucher types, except salary transactions.
|
17
|
+
[**search**](LedgervoucherApi.md#search) | **GET** /ledger/voucher | Find vouchers corresponding with sent data.
|
18
|
+
[**send_to_inbox**](LedgervoucherApi.md#send_to_inbox) | **PUT** /ledger/voucher/{id}/:sendToInbox | [BETA] Send voucher to inbox.
|
19
|
+
[**send_to_ledger**](LedgervoucherApi.md#send_to_ledger) | **PUT** /ledger/voucher/{id}/:sendToLedger | [BETA] Send voucher to ledger.
|
20
|
+
[**upload_pdf**](LedgervoucherApi.md#upload_pdf) | **POST** /ledger/voucher/{voucherId}/pdf/{fileName} | Upload attachment to voucher. Send as multipart form.
|
21
|
+
|
22
|
+
|
23
|
+
# **delete**
|
24
|
+
> delete(id)
|
25
|
+
|
26
|
+
[BETA] Delete voucher by ID.
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
### Example
|
31
|
+
```ruby
|
32
|
+
# load the gem
|
33
|
+
require 'tripletex_api'
|
34
|
+
# setup authorization
|
35
|
+
TripletexApi.configure do |config|
|
36
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
37
|
+
config.username = 'YOUR USERNAME'
|
38
|
+
config.password = 'YOUR PASSWORD'
|
39
|
+
end
|
40
|
+
|
41
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
42
|
+
|
43
|
+
id = 56 # Integer | Element ID
|
44
|
+
|
45
|
+
|
46
|
+
begin
|
47
|
+
#[BETA] Delete voucher by ID.
|
48
|
+
api_instance.delete(id)
|
49
|
+
rescue TripletexApi::ApiError => e
|
50
|
+
puts "Exception when calling LedgervoucherApi->delete: #{e}"
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
### Parameters
|
55
|
+
|
56
|
+
Name | Type | Description | Notes
|
57
|
+
------------- | ------------- | ------------- | -------------
|
58
|
+
**id** | **Integer**| Element ID |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
nil (empty response body)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: Not defined
|
71
|
+
- **Accept**: Not defined
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
# **download_pdf**
|
76
|
+
> String download_pdf(voucher_id)
|
77
|
+
|
78
|
+
Get attachment by voucher ID.
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
### Example
|
83
|
+
```ruby
|
84
|
+
# load the gem
|
85
|
+
require 'tripletex_api'
|
86
|
+
# setup authorization
|
87
|
+
TripletexApi.configure do |config|
|
88
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
89
|
+
config.username = 'YOUR USERNAME'
|
90
|
+
config.password = 'YOUR PASSWORD'
|
91
|
+
end
|
92
|
+
|
93
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
94
|
+
|
95
|
+
voucher_id = 56 # Integer | Voucher ID from which PDF is downloaded.
|
96
|
+
|
97
|
+
|
98
|
+
begin
|
99
|
+
#Get attachment by voucher ID.
|
100
|
+
result = api_instance.download_pdf(voucher_id)
|
101
|
+
p result
|
102
|
+
rescue TripletexApi::ApiError => e
|
103
|
+
puts "Exception when calling LedgervoucherApi->download_pdf: #{e}"
|
104
|
+
end
|
105
|
+
```
|
106
|
+
|
107
|
+
### Parameters
|
108
|
+
|
109
|
+
Name | Type | Description | Notes
|
110
|
+
------------- | ------------- | ------------- | -------------
|
111
|
+
**voucher_id** | **Integer**| Voucher ID from which PDF is downloaded. |
|
112
|
+
|
113
|
+
### Return type
|
114
|
+
|
115
|
+
**String**
|
116
|
+
|
117
|
+
### Authorization
|
118
|
+
|
119
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
120
|
+
|
121
|
+
### HTTP request headers
|
122
|
+
|
123
|
+
- **Content-Type**: Not defined
|
124
|
+
- **Accept**: application/octet-stream
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
# **get**
|
129
|
+
> ResponseWrapperVoucher get(id, opts)
|
130
|
+
|
131
|
+
Get voucher by ID.
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
### Example
|
136
|
+
```ruby
|
137
|
+
# load the gem
|
138
|
+
require 'tripletex_api'
|
139
|
+
# setup authorization
|
140
|
+
TripletexApi.configure do |config|
|
141
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
142
|
+
config.username = 'YOUR USERNAME'
|
143
|
+
config.password = 'YOUR PASSWORD'
|
144
|
+
end
|
145
|
+
|
146
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
147
|
+
|
148
|
+
id = 56 # Integer | Element ID
|
149
|
+
|
150
|
+
opts = {
|
151
|
+
fields: "fields_example" # String | Fields filter pattern
|
152
|
+
}
|
153
|
+
|
154
|
+
begin
|
155
|
+
#Get voucher by ID.
|
156
|
+
result = api_instance.get(id, opts)
|
157
|
+
p result
|
158
|
+
rescue TripletexApi::ApiError => e
|
159
|
+
puts "Exception when calling LedgervoucherApi->get: #{e}"
|
160
|
+
end
|
161
|
+
```
|
162
|
+
|
163
|
+
### Parameters
|
164
|
+
|
165
|
+
Name | Type | Description | Notes
|
166
|
+
------------- | ------------- | ------------- | -------------
|
167
|
+
**id** | **Integer**| Element ID |
|
168
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
169
|
+
|
170
|
+
### Return type
|
171
|
+
|
172
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
173
|
+
|
174
|
+
### Authorization
|
175
|
+
|
176
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
177
|
+
|
178
|
+
### HTTP request headers
|
179
|
+
|
180
|
+
- **Content-Type**: Not defined
|
181
|
+
- **Accept**: Not defined
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
# **import_document**
|
186
|
+
> ListResponseVoucher import_document(file, opts)
|
187
|
+
|
188
|
+
[BETA] Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG, TIFF and EHF. Send as multipart form.
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
### Example
|
193
|
+
```ruby
|
194
|
+
# load the gem
|
195
|
+
require 'tripletex_api'
|
196
|
+
# setup authorization
|
197
|
+
TripletexApi.configure do |config|
|
198
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
199
|
+
config.username = 'YOUR USERNAME'
|
200
|
+
config.password = 'YOUR PASSWORD'
|
201
|
+
end
|
202
|
+
|
203
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
204
|
+
|
205
|
+
file = File.new("/path/to/file.txt") # File | The file
|
206
|
+
|
207
|
+
opts = {
|
208
|
+
description: "description_example", # String | Optional description to use for the voucher(s). If omitted the file name will be used.
|
209
|
+
split: false # BOOLEAN | If the document consists of several pages, should the document be split into one voucher per page?
|
210
|
+
}
|
211
|
+
|
212
|
+
begin
|
213
|
+
#[BETA] Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG, TIFF and EHF. Send as multipart form.
|
214
|
+
result = api_instance.import_document(file, opts)
|
215
|
+
p result
|
216
|
+
rescue TripletexApi::ApiError => e
|
217
|
+
puts "Exception when calling LedgervoucherApi->import_document: #{e}"
|
218
|
+
end
|
219
|
+
```
|
220
|
+
|
221
|
+
### Parameters
|
222
|
+
|
223
|
+
Name | Type | Description | Notes
|
224
|
+
------------- | ------------- | ------------- | -------------
|
225
|
+
**file** | **File**| The file |
|
226
|
+
**description** | **String**| Optional description to use for the voucher(s). If omitted the file name will be used. | [optional]
|
227
|
+
**split** | **BOOLEAN**| If the document consists of several pages, should the document be split into one voucher per page? | [optional] [default to false]
|
228
|
+
|
229
|
+
### Return type
|
230
|
+
|
231
|
+
[**ListResponseVoucher**](ListResponseVoucher.md)
|
232
|
+
|
233
|
+
### Authorization
|
234
|
+
|
235
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
236
|
+
|
237
|
+
### HTTP request headers
|
238
|
+
|
239
|
+
- **Content-Type**: multipart/form-data
|
240
|
+
- **Accept**: Not defined
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
# **import_gbat10**
|
245
|
+
> import_gbat10(generate_vat_postings, file, opts)
|
246
|
+
|
247
|
+
Import GBAT10. Send as multipart form.
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
### Example
|
252
|
+
```ruby
|
253
|
+
# load the gem
|
254
|
+
require 'tripletex_api'
|
255
|
+
# setup authorization
|
256
|
+
TripletexApi.configure do |config|
|
257
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
258
|
+
config.username = 'YOUR USERNAME'
|
259
|
+
config.password = 'YOUR PASSWORD'
|
260
|
+
end
|
261
|
+
|
262
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
263
|
+
|
264
|
+
generate_vat_postings = true # BOOLEAN | If the import should generate VAT postings
|
265
|
+
|
266
|
+
file = File.new("/path/to/file.txt") # File | The file
|
267
|
+
|
268
|
+
opts = {
|
269
|
+
encoding: "utf-8" # String | The file encoding
|
270
|
+
}
|
271
|
+
|
272
|
+
begin
|
273
|
+
#Import GBAT10. Send as multipart form.
|
274
|
+
api_instance.import_gbat10(generate_vat_postings, file, opts)
|
275
|
+
rescue TripletexApi::ApiError => e
|
276
|
+
puts "Exception when calling LedgervoucherApi->import_gbat10: #{e}"
|
277
|
+
end
|
278
|
+
```
|
279
|
+
|
280
|
+
### Parameters
|
281
|
+
|
282
|
+
Name | Type | Description | Notes
|
283
|
+
------------- | ------------- | ------------- | -------------
|
284
|
+
**generate_vat_postings** | **BOOLEAN**| If the import should generate VAT postings |
|
285
|
+
**file** | **File**| The file |
|
286
|
+
**encoding** | **String**| The file encoding | [optional] [default to utf-8]
|
287
|
+
|
288
|
+
### Return type
|
289
|
+
|
290
|
+
nil (empty response body)
|
291
|
+
|
292
|
+
### Authorization
|
293
|
+
|
294
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
295
|
+
|
296
|
+
### HTTP request headers
|
297
|
+
|
298
|
+
- **Content-Type**: multipart/form-data
|
299
|
+
- **Accept**: Not defined
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
# **non_posted**
|
304
|
+
> ListResponseVoucher non_posted(include_non_approved, opts)
|
305
|
+
|
306
|
+
[BETA] Find non-posted vouchers.
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
### Example
|
311
|
+
```ruby
|
312
|
+
# load the gem
|
313
|
+
require 'tripletex_api'
|
314
|
+
# setup authorization
|
315
|
+
TripletexApi.configure do |config|
|
316
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
317
|
+
config.username = 'YOUR USERNAME'
|
318
|
+
config.password = 'YOUR PASSWORD'
|
319
|
+
end
|
320
|
+
|
321
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
322
|
+
|
323
|
+
include_non_approved = false # BOOLEAN | Include non-approved vouchers in the result.
|
324
|
+
|
325
|
+
opts = {
|
326
|
+
date_from: "date_from_example", # String | From and including
|
327
|
+
date_to: "date_to_example", # String | To and excluding
|
328
|
+
changed_since: "changed_since_example", # String | Only return elements that have changed since this date and time
|
329
|
+
from: 0, # Integer | From index
|
330
|
+
count: 1000, # Integer | Number of elements to return
|
331
|
+
sorting: "sorting_example", # String | Sorting pattern
|
332
|
+
fields: "fields_example" # String | Fields filter pattern
|
333
|
+
}
|
334
|
+
|
335
|
+
begin
|
336
|
+
#[BETA] Find non-posted vouchers.
|
337
|
+
result = api_instance.non_posted(include_non_approved, opts)
|
338
|
+
p result
|
339
|
+
rescue TripletexApi::ApiError => e
|
340
|
+
puts "Exception when calling LedgervoucherApi->non_posted: #{e}"
|
341
|
+
end
|
342
|
+
```
|
343
|
+
|
344
|
+
### Parameters
|
345
|
+
|
346
|
+
Name | Type | Description | Notes
|
347
|
+
------------- | ------------- | ------------- | -------------
|
348
|
+
**include_non_approved** | **BOOLEAN**| Include non-approved vouchers in the result. | [default to false]
|
349
|
+
**date_from** | **String**| From and including | [optional]
|
350
|
+
**date_to** | **String**| To and excluding | [optional]
|
351
|
+
**changed_since** | **String**| Only return elements that have changed since this date and time | [optional]
|
352
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
353
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
354
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
355
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
356
|
+
|
357
|
+
### Return type
|
358
|
+
|
359
|
+
[**ListResponseVoucher**](ListResponseVoucher.md)
|
360
|
+
|
361
|
+
### Authorization
|
362
|
+
|
363
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
364
|
+
|
365
|
+
### HTTP request headers
|
366
|
+
|
367
|
+
- **Content-Type**: Not defined
|
368
|
+
- **Accept**: Not defined
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
# **post**
|
373
|
+
> ResponseWrapperVoucher post(opts)
|
374
|
+
|
375
|
+
Add new voucher. IMPORTANT: Also creates postings. Only the gross amounts will be used
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
### Example
|
380
|
+
```ruby
|
381
|
+
# load the gem
|
382
|
+
require 'tripletex_api'
|
383
|
+
# setup authorization
|
384
|
+
TripletexApi.configure do |config|
|
385
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
386
|
+
config.username = 'YOUR USERNAME'
|
387
|
+
config.password = 'YOUR PASSWORD'
|
388
|
+
end
|
389
|
+
|
390
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
391
|
+
|
392
|
+
opts = {
|
393
|
+
send_to_ledger: true, # BOOLEAN | Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission.
|
394
|
+
body: TripletexApi::Voucher.new # Voucher | JSON representing the new object to be created. Should not have ID and version set.
|
395
|
+
}
|
396
|
+
|
397
|
+
begin
|
398
|
+
#Add new voucher. IMPORTANT: Also creates postings. Only the gross amounts will be used
|
399
|
+
result = api_instance.post(opts)
|
400
|
+
p result
|
401
|
+
rescue TripletexApi::ApiError => e
|
402
|
+
puts "Exception when calling LedgervoucherApi->post: #{e}"
|
403
|
+
end
|
404
|
+
```
|
405
|
+
|
406
|
+
### Parameters
|
407
|
+
|
408
|
+
Name | Type | Description | Notes
|
409
|
+
------------- | ------------- | ------------- | -------------
|
410
|
+
**send_to_ledger** | **BOOLEAN**| Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission. | [optional] [default to true]
|
411
|
+
**body** | [**Voucher**](Voucher.md)| JSON representing the new object to be created. Should not have ID and version set. | [optional]
|
412
|
+
|
413
|
+
### Return type
|
414
|
+
|
415
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
416
|
+
|
417
|
+
### Authorization
|
418
|
+
|
419
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
420
|
+
|
421
|
+
### HTTP request headers
|
422
|
+
|
423
|
+
- **Content-Type**: application/json; charset=utf-8
|
424
|
+
- **Accept**: Not defined
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
# **put**
|
429
|
+
> ResponseWrapperVoucher put(id, opts)
|
430
|
+
|
431
|
+
[BETA] Update voucher. Postings with guiRow==0 will be deleted and regenerated.
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
### Example
|
436
|
+
```ruby
|
437
|
+
# load the gem
|
438
|
+
require 'tripletex_api'
|
439
|
+
# setup authorization
|
440
|
+
TripletexApi.configure do |config|
|
441
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
442
|
+
config.username = 'YOUR USERNAME'
|
443
|
+
config.password = 'YOUR PASSWORD'
|
444
|
+
end
|
445
|
+
|
446
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
447
|
+
|
448
|
+
id = 56 # Integer | Element ID
|
449
|
+
|
450
|
+
opts = {
|
451
|
+
send_to_ledger: true, # BOOLEAN | Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission.
|
452
|
+
body: TripletexApi::Voucher.new # Voucher | Partial object describing what should be updated
|
453
|
+
}
|
454
|
+
|
455
|
+
begin
|
456
|
+
#[BETA] Update voucher. Postings with guiRow==0 will be deleted and regenerated.
|
457
|
+
result = api_instance.put(id, opts)
|
458
|
+
p result
|
459
|
+
rescue TripletexApi::ApiError => e
|
460
|
+
puts "Exception when calling LedgervoucherApi->put: #{e}"
|
461
|
+
end
|
462
|
+
```
|
463
|
+
|
464
|
+
### Parameters
|
465
|
+
|
466
|
+
Name | Type | Description | Notes
|
467
|
+
------------- | ------------- | ------------- | -------------
|
468
|
+
**id** | **Integer**| Element ID |
|
469
|
+
**send_to_ledger** | **BOOLEAN**| Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission. | [optional] [default to true]
|
470
|
+
**body** | [**Voucher**](Voucher.md)| Partial object describing what should be updated | [optional]
|
471
|
+
|
472
|
+
### Return type
|
473
|
+
|
474
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
475
|
+
|
476
|
+
### Authorization
|
477
|
+
|
478
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
479
|
+
|
480
|
+
### HTTP request headers
|
481
|
+
|
482
|
+
- **Content-Type**: application/json; charset=utf-8
|
483
|
+
- **Accept**: Not defined
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
# **put_list**
|
488
|
+
> ListResponseVoucher put_list(opts)
|
489
|
+
|
490
|
+
[BETA] Update multiple vouchers. Postings with guiRow==0 will be deleted and regenerated.
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
### Example
|
495
|
+
```ruby
|
496
|
+
# load the gem
|
497
|
+
require 'tripletex_api'
|
498
|
+
# setup authorization
|
499
|
+
TripletexApi.configure do |config|
|
500
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
501
|
+
config.username = 'YOUR USERNAME'
|
502
|
+
config.password = 'YOUR PASSWORD'
|
503
|
+
end
|
504
|
+
|
505
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
506
|
+
|
507
|
+
opts = {
|
508
|
+
send_to_ledger: true, # BOOLEAN | Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission.
|
509
|
+
body: [TripletexApi::Voucher.new] # Array<Voucher> | JSON representing updates to object. Should have ID and version set.
|
510
|
+
}
|
511
|
+
|
512
|
+
begin
|
513
|
+
#[BETA] Update multiple vouchers. Postings with guiRow==0 will be deleted and regenerated.
|
514
|
+
result = api_instance.put_list(opts)
|
515
|
+
p result
|
516
|
+
rescue TripletexApi::ApiError => e
|
517
|
+
puts "Exception when calling LedgervoucherApi->put_list: #{e}"
|
518
|
+
end
|
519
|
+
```
|
520
|
+
|
521
|
+
### Parameters
|
522
|
+
|
523
|
+
Name | Type | Description | Notes
|
524
|
+
------------- | ------------- | ------------- | -------------
|
525
|
+
**send_to_ledger** | **BOOLEAN**| Should the voucher be sent to ledger? Requires the \"Advanced Voucher\" permission. | [optional] [default to true]
|
526
|
+
**body** | [**Array<Voucher>**](Voucher.md)| JSON representing updates to object. Should have ID and version set. | [optional]
|
527
|
+
|
528
|
+
### Return type
|
529
|
+
|
530
|
+
[**ListResponseVoucher**](ListResponseVoucher.md)
|
531
|
+
|
532
|
+
### Authorization
|
533
|
+
|
534
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
535
|
+
|
536
|
+
### HTTP request headers
|
537
|
+
|
538
|
+
- **Content-Type**: application/json; charset=utf-8
|
539
|
+
- **Accept**: Not defined
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
# **reverse**
|
544
|
+
> ResponseWrapperVoucher reverse(id, date)
|
545
|
+
|
546
|
+
Reverses the voucher, and returns the reversed voucher. Supports reversing most voucher types, except salary transactions.
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
### Example
|
551
|
+
```ruby
|
552
|
+
# load the gem
|
553
|
+
require 'tripletex_api'
|
554
|
+
# setup authorization
|
555
|
+
TripletexApi.configure do |config|
|
556
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
557
|
+
config.username = 'YOUR USERNAME'
|
558
|
+
config.password = 'YOUR PASSWORD'
|
559
|
+
end
|
560
|
+
|
561
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
562
|
+
|
563
|
+
id = 56 # Integer | ID of voucher that should be reversed.
|
564
|
+
|
565
|
+
date = "date_example" # String | Reverse voucher date
|
566
|
+
|
567
|
+
|
568
|
+
begin
|
569
|
+
#Reverses the voucher, and returns the reversed voucher. Supports reversing most voucher types, except salary transactions.
|
570
|
+
result = api_instance.reverse(id, date)
|
571
|
+
p result
|
572
|
+
rescue TripletexApi::ApiError => e
|
573
|
+
puts "Exception when calling LedgervoucherApi->reverse: #{e}"
|
574
|
+
end
|
575
|
+
```
|
576
|
+
|
577
|
+
### Parameters
|
578
|
+
|
579
|
+
Name | Type | Description | Notes
|
580
|
+
------------- | ------------- | ------------- | -------------
|
581
|
+
**id** | **Integer**| ID of voucher that should be reversed. |
|
582
|
+
**date** | **String**| Reverse voucher date |
|
583
|
+
|
584
|
+
### Return type
|
585
|
+
|
586
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
587
|
+
|
588
|
+
### Authorization
|
589
|
+
|
590
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
591
|
+
|
592
|
+
### HTTP request headers
|
593
|
+
|
594
|
+
- **Content-Type**: Not defined
|
595
|
+
- **Accept**: Not defined
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
# **search**
|
600
|
+
> VoucherSearchResponse search(date_from, date_to, opts)
|
601
|
+
|
602
|
+
Find vouchers corresponding with sent data.
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
### Example
|
607
|
+
```ruby
|
608
|
+
# load the gem
|
609
|
+
require 'tripletex_api'
|
610
|
+
# setup authorization
|
611
|
+
TripletexApi.configure do |config|
|
612
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
613
|
+
config.username = 'YOUR USERNAME'
|
614
|
+
config.password = 'YOUR PASSWORD'
|
615
|
+
end
|
616
|
+
|
617
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
618
|
+
|
619
|
+
date_from = "date_from_example" # String | From and including
|
620
|
+
|
621
|
+
date_to = "date_to_example" # String | To and excluding
|
622
|
+
|
623
|
+
opts = {
|
624
|
+
id: "id_example", # String | List of IDs
|
625
|
+
number: "number_example", # String | List of IDs
|
626
|
+
number_from: 56, # Integer | From and including
|
627
|
+
number_to: 56, # Integer | To and excluding
|
628
|
+
type_id: "type_id_example", # String | List of IDs
|
629
|
+
from: 0, # Integer | From index
|
630
|
+
count: 1000, # Integer | Number of elements to return
|
631
|
+
sorting: "sorting_example", # String | Sorting pattern
|
632
|
+
fields: "fields_example" # String | Fields filter pattern
|
633
|
+
}
|
634
|
+
|
635
|
+
begin
|
636
|
+
#Find vouchers corresponding with sent data.
|
637
|
+
result = api_instance.search(date_from, date_to, opts)
|
638
|
+
p result
|
639
|
+
rescue TripletexApi::ApiError => e
|
640
|
+
puts "Exception when calling LedgervoucherApi->search: #{e}"
|
641
|
+
end
|
642
|
+
```
|
643
|
+
|
644
|
+
### Parameters
|
645
|
+
|
646
|
+
Name | Type | Description | Notes
|
647
|
+
------------- | ------------- | ------------- | -------------
|
648
|
+
**date_from** | **String**| From and including |
|
649
|
+
**date_to** | **String**| To and excluding |
|
650
|
+
**id** | **String**| List of IDs | [optional]
|
651
|
+
**number** | **String**| List of IDs | [optional]
|
652
|
+
**number_from** | **Integer**| From and including | [optional]
|
653
|
+
**number_to** | **Integer**| To and excluding | [optional]
|
654
|
+
**type_id** | **String**| List of IDs | [optional]
|
655
|
+
**from** | **Integer**| From index | [optional] [default to 0]
|
656
|
+
**count** | **Integer**| Number of elements to return | [optional] [default to 1000]
|
657
|
+
**sorting** | **String**| Sorting pattern | [optional]
|
658
|
+
**fields** | **String**| Fields filter pattern | [optional]
|
659
|
+
|
660
|
+
### Return type
|
661
|
+
|
662
|
+
[**VoucherSearchResponse**](VoucherSearchResponse.md)
|
663
|
+
|
664
|
+
### Authorization
|
665
|
+
|
666
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
667
|
+
|
668
|
+
### HTTP request headers
|
669
|
+
|
670
|
+
- **Content-Type**: Not defined
|
671
|
+
- **Accept**: Not defined
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
# **send_to_inbox**
|
676
|
+
> ResponseWrapperVoucher send_to_inbox(id, opts)
|
677
|
+
|
678
|
+
[BETA] Send voucher to inbox.
|
679
|
+
|
680
|
+
|
681
|
+
|
682
|
+
### Example
|
683
|
+
```ruby
|
684
|
+
# load the gem
|
685
|
+
require 'tripletex_api'
|
686
|
+
# setup authorization
|
687
|
+
TripletexApi.configure do |config|
|
688
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
689
|
+
config.username = 'YOUR USERNAME'
|
690
|
+
config.password = 'YOUR PASSWORD'
|
691
|
+
end
|
692
|
+
|
693
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
694
|
+
|
695
|
+
id = 56 # Integer | ID of voucher that should be sent to inbox.
|
696
|
+
|
697
|
+
opts = {
|
698
|
+
version: 56, # Integer | Version of voucher that should be sent to inbox.
|
699
|
+
comment: "comment_example" # String | Description of why the voucher was rejected. This parameter is only used if the approval feature is enabled.
|
700
|
+
}
|
701
|
+
|
702
|
+
begin
|
703
|
+
#[BETA] Send voucher to inbox.
|
704
|
+
result = api_instance.send_to_inbox(id, opts)
|
705
|
+
p result
|
706
|
+
rescue TripletexApi::ApiError => e
|
707
|
+
puts "Exception when calling LedgervoucherApi->send_to_inbox: #{e}"
|
708
|
+
end
|
709
|
+
```
|
710
|
+
|
711
|
+
### Parameters
|
712
|
+
|
713
|
+
Name | Type | Description | Notes
|
714
|
+
------------- | ------------- | ------------- | -------------
|
715
|
+
**id** | **Integer**| ID of voucher that should be sent to inbox. |
|
716
|
+
**version** | **Integer**| Version of voucher that should be sent to inbox. | [optional]
|
717
|
+
**comment** | **String**| Description of why the voucher was rejected. This parameter is only used if the approval feature is enabled. | [optional]
|
718
|
+
|
719
|
+
### Return type
|
720
|
+
|
721
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
722
|
+
|
723
|
+
### Authorization
|
724
|
+
|
725
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
726
|
+
|
727
|
+
### HTTP request headers
|
728
|
+
|
729
|
+
- **Content-Type**: Not defined
|
730
|
+
- **Accept**: Not defined
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
# **send_to_ledger**
|
735
|
+
> ResponseWrapperVoucher send_to_ledger(id, opts)
|
736
|
+
|
737
|
+
[BETA] Send voucher to ledger.
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
### Example
|
742
|
+
```ruby
|
743
|
+
# load the gem
|
744
|
+
require 'tripletex_api'
|
745
|
+
# setup authorization
|
746
|
+
TripletexApi.configure do |config|
|
747
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
748
|
+
config.username = 'YOUR USERNAME'
|
749
|
+
config.password = 'YOUR PASSWORD'
|
750
|
+
end
|
751
|
+
|
752
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
753
|
+
|
754
|
+
id = 56 # Integer | ID of voucher that should be sent to ledger.
|
755
|
+
|
756
|
+
opts = {
|
757
|
+
version: 56, # Integer | Version of voucher that should be sent to ledger.
|
758
|
+
number: 0 # Integer | Voucher number to use. If omitted or 0 the system will assign the number.
|
759
|
+
}
|
760
|
+
|
761
|
+
begin
|
762
|
+
#[BETA] Send voucher to ledger.
|
763
|
+
result = api_instance.send_to_ledger(id, opts)
|
764
|
+
p result
|
765
|
+
rescue TripletexApi::ApiError => e
|
766
|
+
puts "Exception when calling LedgervoucherApi->send_to_ledger: #{e}"
|
767
|
+
end
|
768
|
+
```
|
769
|
+
|
770
|
+
### Parameters
|
771
|
+
|
772
|
+
Name | Type | Description | Notes
|
773
|
+
------------- | ------------- | ------------- | -------------
|
774
|
+
**id** | **Integer**| ID of voucher that should be sent to ledger. |
|
775
|
+
**version** | **Integer**| Version of voucher that should be sent to ledger. | [optional]
|
776
|
+
**number** | **Integer**| Voucher number to use. If omitted or 0 the system will assign the number. | [optional] [default to 0]
|
777
|
+
|
778
|
+
### Return type
|
779
|
+
|
780
|
+
[**ResponseWrapperVoucher**](ResponseWrapperVoucher.md)
|
781
|
+
|
782
|
+
### Authorization
|
783
|
+
|
784
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
785
|
+
|
786
|
+
### HTTP request headers
|
787
|
+
|
788
|
+
- **Content-Type**: Not defined
|
789
|
+
- **Accept**: Not defined
|
790
|
+
|
791
|
+
|
792
|
+
|
793
|
+
# **upload_pdf**
|
794
|
+
> upload_pdf(voucher_id, file_name, file)
|
795
|
+
|
796
|
+
Upload attachment to voucher. Send as multipart form.
|
797
|
+
|
798
|
+
|
799
|
+
|
800
|
+
### Example
|
801
|
+
```ruby
|
802
|
+
# load the gem
|
803
|
+
require 'tripletex_api'
|
804
|
+
# setup authorization
|
805
|
+
TripletexApi.configure do |config|
|
806
|
+
# Configure HTTP basic authorization: tokenAuthScheme
|
807
|
+
config.username = 'YOUR USERNAME'
|
808
|
+
config.password = 'YOUR PASSWORD'
|
809
|
+
end
|
810
|
+
|
811
|
+
api_instance = TripletexApi::LedgervoucherApi.new
|
812
|
+
|
813
|
+
voucher_id = 56 # Integer | Voucher ID to upload PDF to.
|
814
|
+
|
815
|
+
file_name = "file_name_example" # String | File name to store the pdf under. Will not be the same as the filename on the file returned.
|
816
|
+
|
817
|
+
file = File.new("/path/to/file.txt") # File | The file
|
818
|
+
|
819
|
+
|
820
|
+
begin
|
821
|
+
#Upload attachment to voucher. Send as multipart form.
|
822
|
+
api_instance.upload_pdf(voucher_id, file_name, file)
|
823
|
+
rescue TripletexApi::ApiError => e
|
824
|
+
puts "Exception when calling LedgervoucherApi->upload_pdf: #{e}"
|
825
|
+
end
|
826
|
+
```
|
827
|
+
|
828
|
+
### Parameters
|
829
|
+
|
830
|
+
Name | Type | Description | Notes
|
831
|
+
------------- | ------------- | ------------- | -------------
|
832
|
+
**voucher_id** | **Integer**| Voucher ID to upload PDF to. |
|
833
|
+
**file_name** | **String**| File name to store the pdf under. Will not be the same as the filename on the file returned. |
|
834
|
+
**file** | **File**| The file |
|
835
|
+
|
836
|
+
### Return type
|
837
|
+
|
838
|
+
nil (empty response body)
|
839
|
+
|
840
|
+
### Authorization
|
841
|
+
|
842
|
+
[tokenAuthScheme](../README.md#tokenAuthScheme)
|
843
|
+
|
844
|
+
### HTTP request headers
|
845
|
+
|
846
|
+
- **Content-Type**: multipart/form-data
|
847
|
+
- **Accept**: Not defined
|
848
|
+
|
849
|
+
|
850
|
+
|