Skip to content

ThorinEk/fortnox-php-api-client

Repository files navigation

OpenAPIClient-php

This project is entirely generated automatically based on the OpenAPI specification for Fortnox. It was generated to be used as an HTTP client in Albia Sweden AB's customer portal.

Documentation

The Fortnox API is organized around REST. This means that we’ve designed it to have resource-oriented URLs and be as predictable as possible for you as developer.

It also means that we use HTTP status codes when something goes wrong and HTTP verbs understod by many API clients around the web.

We use a modified version of OAuth2 for authentication to offer a secure way for both you and our users to interact.

The API is generally built to support both XML and JSON but in this documentation all the examples will be in JSON.

We encourage you to read all the articles in the Guides & Good to Know section first, before going forward and learning about the different resources.

This to ensure you get an understanding of some of the shared components of the API such as parameters and error handling.

Rate limits

The limit per access-token is 25 requests per 5 seconds. This equals to 300 requests per minute.

Read more about this here.

Query parameters

Use query parameters with the ?-character and separate parameters with the &-character.

Example: GET - https://api.fortnox.se/3/invoices?accountnumberfrom=3000&accountnumberto=4000 Read more about our parameters here

Search the documentation using the search field in the top left corner.

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

{
     "repositories": [
       {
           "type": "vcs",
           "url": "https://github.com/ThorinEk/fortnox-php-api-client.git"
       }
   ],
}

Then run composer install thorinek/fortnox-php-api-client

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');




$apiInstance = new FortnoxApi\Api\AbsenceTransactionsResourceApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$absence_transactions_payload = new \FortnoxApi\Model\AbsenceTransactionPayloadWrap(); // \FortnoxApi\Model\AbsenceTransactionPayloadWrap | to create

try {
    $result = $apiInstance->createAbsenceTransactionsResource($absence_transactions_payload);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AbsenceTransactionsResourceApi->createAbsenceTransactionsResource: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AbsenceTransactionsResourceApi createAbsenceTransactionsResource POST /3/absencetransactions Create a new absence transaction
AbsenceTransactionsResourceApi getAbsenceTransactionsResource GET /3/absencetransactions/{id} Retrieve a specific absence transaction
AbsenceTransactionsResourceApi getAbsenceTransactionsResource1 GET /3/absencetransactions/{EmployeeId}/{Date}/{Code} Retrieve absence transactions
AbsenceTransactionsResourceApi listAbsenceTransactionsResource GET /3/absencetransactions Lists all absence transactions
AbsenceTransactionsResourceApi remove DELETE /3/absencetransactions/{id} Delete an absence transaction
AbsenceTransactionsResourceApi updateAbsenceTransactionsResource PUT /3/absencetransactions/{id} Update a single absence transaction
AccountChartsResourceApi listAccountChartsResource GET /3/accountcharts List all account charts
AccountsResourceApi createAccountsResource POST /3/accounts/ Create an account
AccountsResourceApi getAccountsResource GET /3/accounts/{Number} Retrieve an account
AccountsResourceApi listAccountsResource GET /3/accounts/ List all accounts
AccountsResourceApi updateAccountsResource PUT /3/accounts/{Number} Update an account
ArchiveResourceApi getFileById GET /3/archive/{id} Retrieve a single file
ArchiveResourceApi getFolder GET /3/archive/ Retrieve folder or file
ArchiveResourceApi removeById DELETE /3/archive/{id} Delete a single file
ArchiveResourceApi removeByPath DELETE /3/archive/ Remove files
ArchiveResourceApi uploadFile POST /3/archive/ Upload a file to a specific subdirectory
ArticleFileConnectionsResourceApi createArticleFileConnectionsResource POST /3/articlefileconnections/ Create an article file connection
ArticleFileConnectionsResourceApi getArticleFileConnectionsResource GET /3/articlefileconnections/{FileId} Retrieve a single article file connection
ArticleFileConnectionsResourceApi listArticleFileConnectionsResource GET /3/articlefileconnections/ Retrieve a list of article file connections
ArticleFileConnectionsResourceApi removeArticleFileConnectionsResource DELETE /3/articlefileconnections/{FileId} Remove an article file connection
ArticlesResourceApi callList GET /api/time/articles-v1 Get full article registrations that match filter
ArticlesResourceArticlesApi createArticlesResourceArticles POST /3/articles Create an article
ArticlesResourceArticlesApi getArticlesResourceArticles GET /3/articles/{ArticleNumber} Retrieve an article
ArticlesResourceArticlesApi listArticlesResourceArticles GET /3/articles Retrieve a list of articles
ArticlesResourceArticlesApi removeArticlesResourceArticles DELETE /3/articles/{ArticleNumber} Delete an article
ArticlesResourceArticlesApi updateArticlesResourceArticles PUT /3/articles/{ArticleNumber} Update an article
AssetFileConnectionResourceApi createAssetFileConnectionResource POST /3/assetfileconnections Create an asset file connection
AssetFileConnectionResourceApi deleteAssetFileConnectionResource DELETE /3/assetfileconnections/{fileId} Remove an asset file connection
AssetFileConnectionResourceApi getAllAssetFileConnectionResource GET /3/assetfileconnections Retrieve a list of asset file connections
AssetTypesResourceApi createAssetTypesResource POST /3/assets/types/{id} Create an asset type
AssetTypesResourceApi deleteAssetTypesResource DELETE /3/assets/types/{id} Delete an asset type
AssetTypesResourceApi getAllAssetTypesResource GET /3/assets/types/ Retrieve a list of asset types
AssetTypesResourceApi getAssetTypesResource GET /3/assets/types/{id} Retrieve an asset type
AssetTypesResourceApi updateAssetTypesResource PUT /3/assets/types/{id} Update an asset type
AssetsResourceApi changeManualObValue PUT /3/assets/{GivenNumber} Change manual OB value of an Asset
AssetsResourceApi createAssetsResource POST /3/assets/ Create an Asset
AssetsResourceApi deleteAssetsResource DELETE /3/assets/{GivenNumber} Delete or Void an Asset
AssetsResourceApi depreciate POST /3/assets/depreciate Perform a Depreciation of an Asset
AssetsResourceApi getAssetsResource GET /3/assets/{GivenNumber} Retrieve a single asset
AssetsResourceApi getDeprecationList GET /3/assets/depreciations/{ToDate} Assets depreciation list
AssetsResourceApi listAssetsResource GET /3/assets/ Retrieve a list of assets
AssetsResourceApi scrap PUT /3/assets/scrap/{GivenNumber} Scrap an Asset
AssetsResourceApi sell PUT /3/assets/sell/{GivenNumber} Sell an Asset
AssetsResourceApi writeDown PUT /3/assets/writedown/{GivenNumber} Write down an Asset
AssetsResourceApi writeUp PUT /3/assets/writeup/{GivenNumber} Write up an Asset
AttachmentResourceApi attach POST /api/fileattachments/attachments-v1 Attach files to one or more entities
AttachmentResourceApi detach DELETE /api/fileattachments/attachments-v1/{attachmentId} Detach file
AttachmentResourceApi getAttachments GET /api/fileattachments/attachments-v1 Get attached files on an entity
AttachmentResourceApi getNumberOfAttachmentsForEntity GET /api/fileattachments/attachments-v1/numberofattachments List number of attachments
AttachmentResourceApi updateAttachment PUT /api/fileattachments/attachments-v1/{attachmentId} Update attachment
AttachmentResourceApi validateIncludedOnSend POST /api/fileattachments/attachments-v1/validateincludedonsend Validates a list of attachments that will be included on send
AttendanceTransactionsResourceApi createAttendanceTransactionsResource POST /3/attendancetransactions Create a new attendance transaction
AttendanceTransactionsResourceApi getAttendanceTransactionsResource GET /3/attendancetransactions/{id} Retrieve a specific attendance transaction
AttendanceTransactionsResourceApi listAttendanceTransactionsResource GET /3/attendancetransactions Lists all attendance transactions
AttendanceTransactionsResourceApi updateAttendanceTransactionsResource PUT /3/attendancetransactions/{id} Update a single attendance transaction
CompanyInformationResourceApi getCompanyInformationResource GET /3/companyinformation Retrieve the Company Information
CompanySettingsResourceApi getCompanySettingsResource GET /3/settings/company/ Retrieve the company settings
ContractAccrualsResourceApi createContractAccrualsResource POST /3/contractaccruals/ Create a contract accrual
ContractAccrualsResourceApi getContractAccrualsResource GET /3/contractaccruals/{DocumentNumber} Retrieve a single contract accrual
ContractAccrualsResourceApi listContractAccrualsResource GET /3/contractaccruals/ Retrieve a list of contract accruals
ContractAccrualsResourceApi removeContractAccrualsResource DELETE /3/contractaccruals/{DocumentNumber} Remove a contract accrual
ContractAccrualsResourceApi updateContractAccrualsResource PUT /3/contractaccruals/{DocumentNumber} Update a contract accrual
ContractTemplatesResourceApi createContractTemplatesResource POST /3/contracttemplates/ Create a contract template
ContractTemplatesResourceApi getContractTemplatesResource GET /3/contracttemplates/{TemplateNumber} Retrieve a single contract template
ContractTemplatesResourceApi listContractTemplatesResource GET /3/contracttemplates/ Retrieve a list of contract templates
ContractTemplatesResourceApi updateContractTemplatesResource PUT /3/contracttemplates/{TemplateNumber} Update a contract template
ContractsResourceApi createContractsResource POST /3/contracts/ Create a contract
ContractsResourceApi createinvoice PUT /3/contracts/{DocumentNumber}/createinvoice Create invoice from contract
ContractsResourceApi finish PUT /3/contracts/{DocumentNumber}/finish Set a contract as finished
ContractsResourceApi getContractsResource GET /3/contracts/{DocumentNumber} Retrieve a single contract
ContractsResourceApi increaseinvoicecount PUT /3/contracts/{DocumentNumber}/increaseinvoicecount Increases the invoice count without creating an invoice
ContractsResourceApi listContractsResource GET /3/contracts/ Retrieve a list of contracts
ContractsResourceApi updateContractsResource PUT /3/contracts/{DocumentNumber} Update a contract
CostCentersResourceApi createCostCentersResource POST /3/costcenters Create a cost center
CostCentersResourceApi getCostCentersResource GET /3/costcenters/{Code} Retrieve a single cost center
CostCentersResourceApi listCostCentersResource GET /3/costcenters Retrieve a list of cost centers
CostCentersResourceApi removeCostCentersResource DELETE /3/costcenters/{Code} Remove a cost center
CostCentersResourceApi updateCostCentersResource PUT /3/costcenters/{Code} Update a cost center
CurrenciesResourceApi createCurrenciesResource POST /3/currencies Create a currency
CurrenciesResourceApi getCurrenciesResource GET /3/currencies/{Code} Retrieve a single currency
CurrenciesResourceApi listCurrenciesResource GET /3/currencies Retrieve a list of currencies
CurrenciesResourceApi removeCurrenciesResource DELETE /3/currencies/{Code} Remove a currency
CurrenciesResourceApi updateCurrenciesResource PUT /3/currencies/{Code} Update a currency
CustomDocumentTypeResourceApi createCustomDocumentTypeResource POST /api/warehouse/documentdeliveries/custom/documenttypes-v1 Create custom document type
CustomDocumentTypeResourceApi getAllCustomDocumentTypeResource GET /api/warehouse/documentdeliveries/custom/documenttypes-v1 List custom document types
CustomDocumentTypeResourceApi getCustomDocumentTypeResource GET /api/warehouse/documentdeliveries/custom/documenttypes-v1/{type} Get custom document type
CustomInboundDocumentResourceApi getCustomInboundDocumentResource GET /api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id} Get custom inbound document
CustomInboundDocumentResourceApi releaseCustomInboundDocumentResource PUT /api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id}/release Release custom inbound document
CustomInboundDocumentResourceApi saveCustomInboundDocumentResource PUT /api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id} Save custom inbound document
CustomInboundDocumentResourceApi voidDocumentCustomInboundDocumentResource PUT /api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id}/void Void custom inbound document
CustomOutboundDocumentResourceApi get GET /api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id} Get custom outbound document
CustomOutboundDocumentResourceApi release PUT /api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id}/release Release custom outbound document
CustomOutboundDocumentResourceApi save PUT /api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id} Save a custom outbound document
CustomOutboundDocumentResourceApi voidDocument PUT /api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id}/void Void custom outbound document
CustomerReferencesResourceApi createCustomerReferencesResource POST /3/customerreferences/ Create a customer reference row
CustomerReferencesResourceApi getCustomerReferencesResource GET /3/customerreferences/{CustomerReferenceRowId} Retrieve a customer reference row
CustomerReferencesResourceApi listCustomerReferencesResource GET /3/customerreferences/ Retrieve a list of customers reference rows
CustomerReferencesResourceApi removeCustomerReferencesResource DELETE /3/customerreferences/{CustomerReferenceRowId} Delete a customer reference row
CustomerReferencesResourceApi updateCustomerReferencesResource PUT /3/customerreferences/{CustomerReferenceRowId} Update a customer reference row
CustomersResourceApi createCustomersResource POST /3/customers/ Create a customer
CustomersResourceApi getCustomersResource GET /3/customers/{CustomerNumber} Retrieve a customer
CustomersResourceApi listCustomersResource GET /3/customers/ Retrieve a list of customers
CustomersResourceApi removeCustomersResource DELETE /3/customers/{CustomerNumber} Delete a customer
CustomersResourceApi updateCustomersResource PUT /3/customers/{CustomerNumber} Update a customer
EUVatLimitRegulationResourceApi getEUVatLimitRegulationResource GET /3/euvatlimitregulation/ Retrieve details about eu vat limit
EmployeesResourceApi createEmployeesResource POST /3/employees/ Create a new employee
EmployeesResourceApi getEmployeesResource GET /3/employees/{EmployeeId} Retrieve a specific employee
EmployeesResourceApi listEmployeesResource GET /3/employees/ Retrieve a list of employees
EmployeesResourceApi updateEmployeesResource PUT /3/employees/{EmployeeId} Update employee
ExpensesResourceApi createExpensesResource POST /3/expenses/ Create an expense
ExpensesResourceApi getExpensesResource GET /3/expenses/{ExpenseCode} Retrieve an expense
ExpensesResourceApi listExpensesResource GET /3/expenses/ Retrieve expenses
FinanceInvoicesResourceApi createFinanceInvoicesResource POST /3/noxfinansinvoices/ Send an invoice with Fortnox Finans
FinanceInvoicesResourceApi getFinanceInvoicesResource GET /3/noxfinansinvoices/{Number} Retrieve a single invoice payment
FinanceInvoicesResourceApi pause PUT /3/noxfinansinvoices/{Number}/pause Action Pause
FinanceInvoicesResourceApi reportPayment PUT /3/noxfinansinvoices/{Number}/report-payment Action Report Payment
FinanceInvoicesResourceApi stop PUT /3/noxfinansinvoices/{Number}/stop Action Stop
FinanceInvoicesResourceApi takeFees PUT /3/noxfinansinvoices/{Number}/take-fees Action Take Fees
FinanceInvoicesResourceApi unpause PUT /3/noxfinansinvoices/{Number}/unpause Action Unpause
FinancialYearsResourceApi createFinancialYearsResource POST /3/financialyears Create a financial year
FinancialYearsResourceApi getByDate GET /3/financialyears Retrieve a list of financial years
FinancialYearsResourceApi getById GET /3/financialyears/{Id} Retrieve financial year by id
InboxResourceApi getFileByIdInboxResource GET /3/inbox/{Id} Retrieve a single file
InboxResourceApi getInboxResource GET /3/inbox/ Retrieve the root folder containing files and folders
InboxResourceApi removeInboxResource DELETE /3/inbox/{Id} Remove a file or folder
InboxResourceApi upload POST /3/inbox/ Upload a file
IncomingGoodsResourceApi completed PUT /api/warehouse/incominggoods-v1/{id}/completed Complete Incoming Goods document
IncomingGoodsResourceApi createIncomingGoodsResource POST /api/warehouse/incominggoods-v1/ Create Incoming Goods document
IncomingGoodsResourceApi getAllIncomingGoodsResource GET /api/warehouse/incominggoods-v1/ List Incoming Goods Documents
IncomingGoodsResourceApi getIncomingGoodsResource GET /api/warehouse/incominggoods-v1/{id} Get Incoming Goods document
IncomingGoodsResourceApi releaseIncomingGoodsResource PUT /api/warehouse/incominggoods-v1/{id}/release Release Incoming Goods document
IncomingGoodsResourceApi saveIncomingGoodsResource PUT /api/warehouse/incominggoods-v1/{id} Update Incoming Goods document
IncomingGoodsResourceApi voidDocumentIncomingGoodsResource PUT /api/warehouse/incominggoods-v1/{id}/void Void Incoming Goods document
InvoiceAccrualsResourceApi createInvoiceAccrualsResource POST /3/invoiceaccruals/ Create an invoice accrual
InvoiceAccrualsResourceApi getInvoiceAccrualsResource GET /3/invoiceaccruals/{InvoiceNumber} Retrieve a single invoice accrual
InvoiceAccrualsResourceApi listInvoiceAccrualsResource GET /3/invoiceaccruals/ Retrieve a list of invoice accruals
InvoiceAccrualsResourceApi removeInvoiceAccrualsResource DELETE /3/invoiceaccruals/{InvoiceNumber} Remove an invoice accrual
InvoiceAccrualsResourceApi updateInvoiceAccrualsResource PUT /3/invoiceaccruals/{InvoiceNumber} Update an invoice accrual
InvoicePaymentsResourceApi bookkeep PUT /3/invoicepayments/{Number}/bookkeep Bookkeep an invoice payment
InvoicePaymentsResourceApi createInvoicePaymentsResource POST /3/invoicepayments/ Create an invoice payment
InvoicePaymentsResourceApi getInvoicePaymentsResource GET /3/invoicepayments/{Number} Retrieve a single invoice payment
InvoicePaymentsResourceApi listInvoicePaymentsResource GET /3/invoicepayments/ Retrieve a list of invoice payments
InvoicePaymentsResourceApi removeInvoicePaymentsResource DELETE /3/invoicepayments/{Number} Remove an invoice payment
InvoicePaymentsResourceApi updateInvoicePaymentsResource PUT /3/invoicepayments/{Number} Update an invoice payment
InvoicesResourceApi bookkeepInvoicesResource PUT /3/invoices/{DocumentNumber}/bookkeep Bookkeep an invoice
InvoicesResourceApi callPrint GET /3/invoices/{DocumentNumber}/print Print an invoice
InvoicesResourceApi cancel PUT /3/invoices/{DocumentNumber}/cancel Cancel an invoice
InvoicesResourceApi createInvoicesResource POST /3/invoices Create an invoice
InvoicesResourceApi credit PUT /3/invoices/{DocumentNumber}/credit Credit an invoice
InvoicesResourceApi eInvoice GET /3/invoices/{DocumentNumber}/einvoice Send an invoice as e-invoice
InvoicesResourceApi ePrint GET /3/invoices/{DocumentNumber}/eprint Send an invoice as e-print
InvoicesResourceApi email GET /3/invoices/{DocumentNumber}/email Send an invoice as email
InvoicesResourceApi externalPrint PUT /3/invoices/{DocumentNumber}/externalprint Set an invoice as sent
InvoicesResourceApi getInvoicesResource GET /3/invoices/{DocumentNumber} Retrieve a single invoice
InvoicesResourceApi listInvoicesResource GET /3/invoices Retrieve a list of invoices
InvoicesResourceApi preview GET /3/invoices/{DocumentNumber}/preview Preview an invoice
InvoicesResourceApi printReminder GET /3/invoices/{DocumentNumber}/printreminder Print an invoice as reminder
InvoicesResourceApi updateInvoicesResource PUT /3/invoices/{DocumentNumber} Update an invoice
InvoicesResourceApi warehouseReady PUT /3/invoices/{DocumentNumber}/warehouseready Set an invoice as done
LabelsResourceApi createLabelsResource POST /3/labels Create a label
LabelsResourceApi listLabelsResource GET /3/labels Retrieve a list of labels
LabelsResourceApi removeLabelsResource DELETE /3/labels/{Id} Delete a label
LabelsResourceApi updateLabelsResource PUT /3/labels/{Id} Update a label
LockedPeriodResourceApi getLockedPeriodResource GET /3/settings/lockedperiod/ Retrieve the locked period
MeResourceApi getMeResource GET /3/me Retrieve user information Use this endpoint to retrieve user information related to the used access token
ModesOfPaymentsResourceApi createModesOfPaymentsResource POST /3/modesofpayments Create a mode of payment
ModesOfPaymentsResourceApi getModesOfPaymentsResource GET /3/modesofpayments/{Code} Retrieve a single mode of payment
ModesOfPaymentsResourceApi listModesOfPaymentsResource GET /3/modesofpayments Retrieve a list of modes of payments
ModesOfPaymentsResourceApi updateModesOfPaymentsResource PUT /3/modesofpayments/{Code} Update a mode of payment
OffersResourceApi cancelOffersResource PUT /3/offers/{DocumentNumber}/cancel Cancels given offer
OffersResourceApi createOffersResource POST /3/offers/ Create an offer
OffersResourceApi createorder PUT /3/offers/{DocumentNumber}/createorder Create order out of given offer
OffersResourceApi emailOffersResource GET /3/offers/{DocumentNumber}/email Send given offer as email
OffersResourceApi externalprint PUT /3/offers/{DocumentNumber}/externalprint Set given offer as sent
OffersResourceApi getOffersResource GET /3/offers/{DocumentNumber} Retrieve a single offer
OffersResourceApi listOffersResource GET /3/offers/ Retrieve a list of offers
OffersResourceApi previewOffersResource GET /3/offers/{DocumentNumber}/preview Preview given offer
OffersResourceApi printOffersResource GET /3/offers/{DocumentNumber}/print Print given offer
OffersResourceApi updateOffersResource PUT /3/offers/{DocumentNumber} Update an offer
OrdersResourceApi cancelOrdersResource PUT /3/orders/{DocumentNumber}/cancel Cancels given order
OrdersResourceApi createOrdersResource POST /3/orders/ Create a new order
OrdersResourceApi createinvoiceOrdersResource PUT /3/orders/{DocumentNumber}/createinvoice Create invoice out of given order
OrdersResourceApi emailOrdersResource GET /3/orders/{DocumentNumber}/email Send given order as email
OrdersResourceApi externalprintOrdersResource PUT /3/orders/{DocumentNumber}/externalprint Set given order as sent
OrdersResourceApi getOrdersResource GET /3/orders/{DocumentNumber} Retrieve a single order
OrdersResourceApi listOrdersResource GET /3/orders/ Retrieve a list of orders
OrdersResourceApi previewOrdersResource GET /3/orders/{DocumentNumber}/preview Preview given offer
OrdersResourceApi printOrdersResource GET /3/orders/{DocumentNumber}/print Print given order
OrdersResourceApi updateOrdersResource PUT /3/orders/{DocumentNumber} Update an order
PredefinedAccountsResourceApi getPredefinedAccountsResource GET /3/predefinedaccounts/{name} Retrieve information for a specific account type
PredefinedAccountsResourceApi listPredefinedAccountsResource GET /3/predefinedaccounts/ Retrieve a list of all predefined accounts
PredefinedAccountsResourceApi updatePredefinedAccountsResource PUT /3/predefinedaccounts/{name} Update a Predefined Account
PredefinedVoucherSeriesResourceApi getPredefinedVoucherSeriesResource GET /3/predefinedvoucherseries/{Name} Retrieve a specific predefined voucher series
PredefinedVoucherSeriesResourceApi listPredefinedVoucherSeriesResource GET /3/predefinedvoucherseries/ Retrieve a list of predefined voucher series
PredefinedVoucherSeriesResourceApi updatePredefinedVoucherSeriesResource PUT /3/predefinedvoucherseries/{Name} Update a predefined voucher series
PriceListsResourceApi createPriceListsResource POST /3/pricelists Create a price list
PriceListsResourceApi getPriceListsResource GET /3/pricelists/{Code} Retrieve a single price list
PriceListsResourceApi listPriceListsResource GET /3/pricelists Retrieve a list of price lists
PriceListsResourceApi updatePriceListsResource PUT /3/pricelists/{Code} Update a price list
PricesResourceApi createPricesResource POST /3/prices/ Create a price
PricesResourceApi getFirstPrice GET /3/prices/{PriceList}/{ArticleNumber} Retrieve the first price for the specified article
PricesResourceApi getPricesResource GET /3/prices/{PriceList}/{ArticleNumber}/{FromQuantity} Retrieve a price for a specified article
PricesResourceApi listPricesResource GET /3/prices/sublist/{PriceList}/{ArticleNumber} Retrieve a list of articles with all their prices in the specified price list
PricesResourceApi removePricesResource DELETE /3/prices/{PriceList}/{ArticleNumber}/{FromQuantity} Delete a single price
PricesResourceApi updatePricesResource PUT /3/prices/{PriceList}/{ArticleNumber}/{FromQuantity} Update a price
PricesResourceApi updatePricesResource1 PUT /3/prices/{PriceList}/{ArticleNumber} Update the first price in the specified article
PrintTemplatesResourceApi listPrintTemplatesResource GET /3/printtemplates Retrieve a list of print templates
ProjectsResourceApi createProjectsResource POST /3/projects Create a project
ProjectsResourceApi getProjectsResource GET /3/projects/{ProjectNumber} Retrieve a single project
ProjectsResourceApi listProjectsResource GET /3/projects Retrieve a list of projects
ProjectsResourceApi removeProjectsResource DELETE /3/projects/{ProjectNumber} Remove a project
ProjectsResourceApi updateProjectsResource PUT /3/projects/{ProjectNumber} Update a project
PurchaseOrderResourceApi batchUpdateResponseState PUT /api/warehouse/purchaseorders-v1/response Update response states
PurchaseOrderResourceApi createPurchaseOrderResource POST /api/warehouse/purchaseorders-v1 Create Purchase Order
PurchaseOrderResourceApi getAllPurchaseOrderResource GET /api/warehouse/purchaseorders-v1 List Purchase Orders
PurchaseOrderResourceApi getAttachedNotes GET /api/warehouse/purchaseorders-v1/{id}/notes Get notes
PurchaseOrderResourceApi getCsvReport GET /api/warehouse/purchaseorders-v1/csv Get CSV list of Purchase Orders
PurchaseOrderResourceApi getMatchedDocuments GET /api/warehouse/purchaseorders-v1/{id}/matches List matched documents
PurchaseOrderResourceApi getPurchaseOrderResource GET /api/warehouse/purchaseorders-v1/{id} Get Purchase Order
PurchaseOrderResourceApi sendPurchaseOrder POST /api/warehouse/purchaseorders-v1/{id}/send Send purchase order via email
PurchaseOrderResourceApi sendPurchaseOrders POST /api/warehouse/purchaseorders-v1/sendpurchaseorders Sends multiple purchase orders via email
PurchaseOrderResourceApi setDropshipManuallyCompleted PUT /api/warehouse/purchaseorders-v1/{id}/dropshipcomplete Manually complete dropship order
PurchaseOrderResourceApi setManuallyCompleted PUT /api/warehouse/purchaseorders-v1/{id}/complete Manually complete Purchase Order
PurchaseOrderResourceApi updatePurchaseOrderResource PUT /api/warehouse/purchaseorders-v1/{id} Update Purchase Order
PurchaseOrderResourceApi updateResponseState PUT /api/warehouse/purchaseorders-v1/{id}/response Update response state
PurchaseOrderResourceApi voidDocumentPurchaseOrderResource PUT /api/warehouse/purchaseorders-v1/{id}/void Void Purchase Order
RegistrationsResourceApi listRegistrationsResource GET /api/time/registrations-v2 Get time/absence registrations that match filter
SalaryTransactionsResourceApi createSalaryTransactionsResource POST /3/salarytransactions Create a new salary transaction for an employee
SalaryTransactionsResourceApi deleteSalaryTransactionsResource DELETE /3/salarytransactions/{SalaryRow} Delete a single salary transaction
SalaryTransactionsResourceApi getSalaryTransactionsResource GET /3/salarytransactions/{SalaryRow} Retrieve a single salary transaction
SalaryTransactionsResourceApi listSalaryTransactionsResource GET /3/salarytransactions List all salary transactions for all employees
SalaryTransactionsResourceApi updateSalaryTransactionsResource PUT /3/salarytransactions/{SalaryRow} Update a salary transaction
ScheduleTimesResourceApi getScheduleTimesResource GET /3/scheduletimes/{EmployeeId}/{Date} Retrieve a specific schedule time
ScheduleTimesResourceApi reset PUT /3/scheduletimes/{EmployeeId}/{Date}/resetday Reset schedule time
ScheduleTimesResourceApi updateScheduleTimesResource PUT /3/scheduletimes/{EmployeeId}/{Date} Update a schedule time
SieResourceApi getSieResource GET /3/sie/{Type} Retrieve a SIE file
StockPointResourceApi appendStockLocations POST /api/warehouse/stockpoints-v1/{id} Append stock locations
StockPointResourceApi create POST /api/warehouse/stockpoints-v1 Create stock point
StockPointResourceApi delete DELETE /api/warehouse/stockpoints-v1/{id} Delete stock point
StockPointResourceApi getAll GET /api/warehouse/stockpoints-v1 List stock points
StockPointResourceApi getByAmbiguousId GET /api/warehouse/stockpoints-v1/{id} Get stock point
StockPointResourceApi getMany GET /api/warehouse/stockpoints-v1/multi Get stock points
StockPointResourceApi getStockLocationsByAmbiguousId GET /api/warehouse/stockpoints-v1/{id}/stocklocations Get stock locations
StockPointResourceApi update PUT /api/warehouse/stockpoints-v1/{id} Update stock point
StockStatusResourceApi getStockBalance GET /api/warehouse/status-v1/stockbalance Get stock balance
StockTakingResourceApi addStockTakingRows POST /api/warehouse/stocktaking-v1/{id}/rows Add rows
StockTakingResourceApi addStockTakingRowsByFilter POST /api/warehouse/stocktaking-v1/{id}/addrows Add rows by filter
StockTakingResourceApi createStockTakingResource POST /api/warehouse/stocktaking-v1 Create stock taking
StockTakingResourceApi deleteStockTaking DELETE /api/warehouse/stocktaking-v1/{id} Delete Stock Taking document
StockTakingResourceApi deleteStockTakingRow DELETE /api/warehouse/stocktaking-v1/{id}/rows/{rowId:.*} Delete row
StockTakingResourceApi deleteStockTakingRowByFilter DELETE /api/warehouse/stocktaking-v1/{id}/rows Delete rows by filter
StockTakingResourceApi getAllStockTakingResource GET /api/warehouse/stocktaking-v1 List stock takings
StockTakingResourceApi getCandidateRows GET /api/warehouse/stocktaking-v1/{id}/candidates Get candidate rows
StockTakingResourceApi getRows GET /api/warehouse/stocktaking-v1/{id}/rows Get Stock Taking Rows
StockTakingResourceApi getStockTakingResource GET /api/warehouse/stocktaking-v1/{id} Get Stock Taking document
StockTakingResourceApi releaseStockTakingResource PUT /api/warehouse/stocktaking-v1/{id}/release Release Stock Taking document
StockTakingResourceApi updateStockTakingResource PUT /api/warehouse/stocktaking-v1/{id} Update a stock taking
StockTakingResourceApi voidStockTaking PUT /api/warehouse/stocktaking-v1/{id}/void Void Stock Taking document
SupplierInvoiceAccrualsResourceApi createSupplierInvoiceAccrualsResource POST /3/supplierinvoiceaccruals/ Create a supplier invoice accrual
SupplierInvoiceAccrualsResourceApi getSupplierInvoiceAccrualsResource GET /3/supplierinvoiceaccruals/{SupplierInvoiceNumber} Retrieve a single supplier invoice accrual
SupplierInvoiceAccrualsResourceApi listSupplierInvoiceAccrualsResource GET /3/supplierinvoiceaccruals/ Retrieve a list of supplier invoice accruals
SupplierInvoiceAccrualsResourceApi removeSupplierInvoiceAccrualsResource DELETE /3/supplierinvoiceaccruals/{SupplierInvoiceNumber} Remove a supplier invoice accrual
SupplierInvoiceAccrualsResourceApi updateSupplierInvoiceAccrualsResource PUT /3/supplierinvoiceaccruals/{SupplierInvoiceNumber} Update a supplier invoice accrual
SupplierInvoiceExternalUrlConnectionsResourceApi createSupplierInvoiceExternalUrlConnectionsResource POST /3/supplierinvoiceexternalurlconnections Create a supplier invoice external URL connection
SupplierInvoiceExternalUrlConnectionsResourceApi deleteSupplierInvoiceExternalUrlConnectionsResource DELETE /3/supplierinvoiceexternalurlconnections/{Id} Remove a supplier invoice external URL connection
SupplierInvoiceExternalUrlConnectionsResourceApi getSupplierInvoiceExternalUrlConnectionsResource GET /3/supplierinvoiceexternalurlconnections/{Id} Retrieve a single supplier invoice external URL connection
SupplierInvoiceExternalUrlConnectionsResourceApi updateSupplierInvoiceExternalUrlConnectionsResource PUT /3/supplierinvoiceexternalurlconnections/{Id} Update a supplier invoice external URL connection
SupplierInvoiceFileConnectionsResourceApi createSupplierInvoiceFileConnectionsResource POST /3/supplierinvoicefileconnections/ Create an supplier invoice file connection
SupplierInvoiceFileConnectionsResourceApi getSupplierInvoiceFileConnectionsResource GET /3/supplierinvoicefileconnections/{FileId} Retrieve a single supplier invoice file connection
SupplierInvoiceFileConnectionsResourceApi listSupplierInvoiceFileConnectionsResource GET /3/supplierinvoicefileconnections/ Retrieve a list of supplier invoice file connections
SupplierInvoiceFileConnectionsResourceApi removeSupplierInvoiceFileConnectionsResource DELETE /3/supplierinvoicefileconnections/{FileId} Remove an supplier invoice file connection
SupplierInvoicePaymentsResourceApi bookkeepSupplierInvoicePaymentsResource PUT /3/supplierinvoicepayments/{Number}/bookkeep Bookkeep a supplier invoice payment
SupplierInvoicePaymentsResourceApi createSupplierInvoicePaymentsResource POST /3/supplierinvoicepayments/ Create a supplier invoice payment
SupplierInvoicePaymentsResourceApi getSupplierInvoicePaymentsResource GET /3/supplierinvoicepayments/{Number} Retrieve a single supplier invoice payment
SupplierInvoicePaymentsResourceApi listSupplierInvoicePaymentsResource GET /3/supplierinvoicepayments/ Retrieve a list of supplier invoice payments
SupplierInvoicePaymentsResourceApi removeSupplierInvoicePaymentsResource DELETE /3/supplierinvoicepayments/{Number} Remove a supplier invoice payment
SupplierInvoicePaymentsResourceApi updateSupplierInvoicePaymentsResource PUT /3/supplierinvoicepayments/{Number} Update a supplier invoice payment
SupplierInvoicesResourceApi approvalbookkeep PUT /3/supplierinvoices/{GivenNumber}/approvalbookkeep Approval of bookkeep of given supplier invoice
SupplierInvoicesResourceApi approvalpayment PUT /3/supplierinvoices/{GivenNumber}/approvalpayment Approval of payment of given supplier invoice
SupplierInvoicesResourceApi bookkeepSupplierInvoicesResource PUT /3/supplierinvoices/{GivenNumber}/bookkeep Bookkeep given supplier invoice
SupplierInvoicesResourceApi cancelSupplierInvoicesResource PUT /3/supplierinvoices/{GivenNumber}/cancel Cancels given supplier invoice
SupplierInvoicesResourceApi createSupplierInvoicesResource POST /3/supplierinvoices/ Create a supplier invoice
SupplierInvoicesResourceApi creditSupplierInvoicesResource PUT /3/supplierinvoices/{GivenNumber}/credit Credit given supplier invoice
SupplierInvoicesResourceApi getSupplierInvoicesResource GET /3/supplierinvoices/{GivenNumber} Retrieve a single supplier invoice
SupplierInvoicesResourceApi listSupplierInvoicesResource GET /3/supplierinvoices/ Retrieve a list of supplier invoices
SupplierInvoicesResourceApi updateSupplierInvoicesResource PUT /3/supplierinvoices/{GivenNumber} Update a supplier invoice
SuppliersResourceApi createSuppliersResource POST /3/suppliers Create a supplier
SuppliersResourceApi getSuppliersResource GET /3/suppliers/{SupplierNumber} Retrieve a single supplier
SuppliersResourceApi listSuppliersResource GET /3/suppliers Retrieve a list of suppliers
SuppliersResourceApi updateSuppliersResource PUT /3/suppliers/{SupplierNumber} Update a supplier
TaxReductionsResourceApi createTaxReductionsResource POST /3/taxreductions Create a Tax Reduction
TaxReductionsResourceApi getTaxReductionsResource GET /3/taxreductions/{Id} Retrieve a single tax reduction
TaxReductionsResourceApi listTaxReductionsResource GET /3/taxreductions Retrieve a list of tax reductions
TaxReductionsResourceApi removeTaxReductionsResource DELETE /3/taxreductions/{Id} Remove a tax reduction
TaxReductionsResourceApi updateTaxReductionsResource PUT /3/taxreductions/{Id} Update a tax reduction
TenantResourceApi getTenant GET /api/warehouse/tenants-v4 Get Warehouse activation status
TermsOfDeliveriesResourceApi createTermsOfDeliveriesResource POST /3/termsofdeliveries Create a terms of delivery
TermsOfDeliveriesResourceApi getTermsOfDeliveriesResource GET /3/termsofdeliveries/{Code} Retrieve a single terms of delivery
TermsOfDeliveriesResourceApi listTermsOfDeliveriesResource GET /3/termsofdeliveries Retrieve a list of terms of deliveries
TermsOfDeliveriesResourceApi updateTermsOfDeliveriesResource PUT /3/termsofdeliveries/{Code} Update a terms of delivery
TermsOfPaymentsResourceApi createTermsOfPaymentsResource POST /3/termsofpayments Create a term of payment
TermsOfPaymentsResourceApi getTermsOfPaymentsResource GET /3/termsofpayments/{Code} Retrieve a single terms of payment
TermsOfPaymentsResourceApi listTermsOfPaymentsResource GET /3/termsofpayments Retrieve a list of all terms of payments
TermsOfPaymentsResourceApi removeTermsOfPaymentsResource DELETE /3/termsofpayments/{Code} Remove a term of payment
TermsOfPaymentsResourceApi updateTermsOfPaymentsResource PUT /3/termsofpayments/{Code} Update a term of payment
TrustedEmailSendersResourceApi createTrustedEmailSendersResource POST /3/emailsenders/trusted Add a new email address as trusted
TrustedEmailSendersResourceApi getTrustedEmailSendersResource GET /3/emailsenders/ Retrieve a list of all trusted and rejected senders
TrustedEmailSendersResourceApi removeTrustedEmailSendersResource DELETE /3/emailsenders/trusted/{Id} Delete an email address from the trusted senders list
UnitsResourceApi createUnitsResource POST /3/units Create a unit
UnitsResourceApi getUnitsResource GET /3/units/{Code} Retrieve a single unit
UnitsResourceApi listUnitsResource GET /3/units Retrieve a list of units
UnitsResourceApi removeUnitsResource DELETE /3/units/{Code} Remove a unit
UnitsResourceApi updateUnitsResource PUT /3/units/{Code} Update a unit
VacationDebtBasisResourceApi getVacationDebtBasisResource GET /3/vacationdebtbasis/{Year}/{Month} Retrieve a specific vacation debt basis for a posted voucher
VoucherFileConnectionsResourceApi createVoucherFileConnectionsResource POST /3/voucherfileconnections/ Create a voucher file connection
VoucherFileConnectionsResourceApi getVoucherFileConnectionsResource GET /3/voucherfileconnections/{FileId} Retrieve a single voucher file connection
VoucherFileConnectionsResourceApi listVoucherFileConnectionsResource GET /3/voucherfileconnections/ Retrieve a list of voucher file connections
VoucherFileConnectionsResourceApi removeVoucherFileConnectionsResource DELETE /3/voucherfileconnections/{FileId} Remove a voucher file connection
VoucherSeriesResourceApi createVoucherSeriesResource POST /3/voucherseries Create a voucher series
VoucherSeriesResourceApi getVoucherSeriesResource GET /3/voucherseries/{Code} Retrieve a single voucher series
VoucherSeriesResourceApi listVoucherSeriesResource GET /3/voucherseries Retrieve a list of voucher series
VoucherSeriesResourceApi updateVoucherSeriesResource PUT /3/voucherseries/{Code} Update a voucher series
VouchersResourceApi createVouchersResource POST /3/vouchers/ Create a voucher
VouchersResourceApi getVouchersResource GET /3/vouchers/{VoucherSeries}/{VoucherNumber} Retrieve a specific voucher
VouchersResourceApi listSeries GET /3/vouchers/sublist/{VoucherSeries} Retrieve a list of vouchers for a specific series
VouchersResourceApi listVouchersResource GET /3/vouchers/ Retrieve all vouchers
WayOfDeliveriesResourceApi createWayOfDeliveriesResource POST /3/wayofdeliveries Create a way of delivery
WayOfDeliveriesResourceApi getWayOfDeliveriesResource GET /3/wayofdeliveries/{Code} Retrieve a single way of delivery
WayOfDeliveriesResourceApi listWayOfDeliveriesResource GET /3/wayofdeliveries Retrieve a list of way of deliveries
WayOfDeliveriesResourceApi removeWayOfDeliveriesResource DELETE /3/wayofdeliveries/{Code} Remove a way of delivery
WayOfDeliveriesResourceApi updateWayOfDeliveriesResource PUT /3/wayofdeliveries/{Code} Update a way of delivery

Models

Authorization

Endpoints do not require authorization.

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages