﻿<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?>
<api basepath="/api/" version="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="minuba.dk api.xsd">
	<operationunits>
		<operationunit name="Activity" url="Activity">
			<description>Activity represents additional work that is associated
				with an order.</description>
			<method type="GET"
				description="Return a list of activities parameters. GET-method must be called with one parameter specified. I multiple parameters are specified the first parameter type specified will be processed.">
				<param name="id" required="false" multiple="true"
					description="The ids of Activities to retrieve" type="UUID" />
				<param name="orderId" multiple="true" required="false" type="UUID"
					description="Id of the orders of which to retrieve the activities for" />
				<param name="state" multiple="true" required="false" type="string"
					description="Status of the orders to return. NOTE: State Must be specified in same letter case as specified e.g., upper case for PROPOSALDRAFT">
					<option type="text" name="proposalDraft" description="Proposal drafts" />
					<option type="text" name="proposal" description="Proposal and Proposal drafts" />
					<option type="text" name="orderDraft" description="Order drafts" />
					<option type="text" name="new" description="New orders" />
					<option type="text" name="started" description="Started orders" />
					<option type="text" name="delayed" description="Postponed/delayed orders" />
					<option type="text" name="completed" description="Finished orders" />
					<option type="text" name="closed" description="Closed orders" />
					<option type="text" name="rejected" description="Rejected orders" />
				</param>
				<return name="activities" type="Activity" description="List of Activities found" />
			</method>
			<method type="POST" description="Create new Activity for given order">
				<param name="orderId" description="The id of the order" multiple="false" required="true"
					type="UUID" />
				<param name="description" description="The description of the Activity" multiple="false"
					required="false" type="text" />
				<param name="name" description="The name of the Activity" multiple="false"
					required="true" type="text" />
			</method>
			<method type="PUT" description="Update an existing activity">
				<param name="id" description="The id of the Activity to update" multiple="false"
					required="true" type="UUID" />
				<param name="description" description="The description of the Activity" multiple="false"
					required="false" type="text" />
				<param name="name" description="The name of the Activity" multiple="false"
					required="true" type="text" />
				<param name="price" description="The price of the Activity if pricebasis is FIXEDPRICE"
					multiple="false" required="false" type="text" />
				<param name="priceBasis" multiple="true" required="true" type="string"
					description="The price basis of the Activity">
					<option type="text" name="CALCULATION"
						description="Activity priced after the calculation" />
					<option type="text" name="EXPENSELINES"
						description="Activity priced after the expenses" />
					<option type="text" name="FIXEDPRICE" description="Activity with a fixed price amount" />
				</param>
			</method>
			<method type="PATCH" description="Update a field in an existing activity">
				<param name="id" description="The id of the Activity to update" multiple="false"
					required="true" type="UUID" />
				<param name="description" description="The description of the Activity" multiple="false"
					required="false" type="text" />
				<param name="name" description="The name of the Activity" multiple="false"
					required="true" type="text" />
				<param name="price" description="The price of the Activity if pricebasis is FIXEDPRICE"
					multiple="false" required="false" type="text" />
				<param name="priceBasis" multiple="true" required="true" type="string"
					description="The price basis of the Activity">
					<option type="text" name="CALCULATION"
						description="Activity priced after the calculation" />
					<option type="text" name="EXPENSELINES"
						description="Activity priced after the expenses" />
					<option type="text" name="FIXEDPRICE" description="Activity with a fixed price amount" />
				</param>
			</method>
		</operationunit>
		<operationunit name="Address" url="Address">
			<description>Address describes locations for orders, invoices and
				clients. Three address types
				are defined CONTACT, BILLING and
				DELIVERY</description>
			<method type="DELETE" description="Delete a specified address">
				<param name="id" description="The id of the address to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="GET"
				description="Return a list of addresses based on ids or belonging to a client">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the addresses to return. If id-parameter is specified other parameters are ignored" />
				<param name="clientId" multiple="false" required="false" type="UUID"
					description="Return all of clients addresses. Ignored if id-parameter is specified" />
				<param type="boolean" name="includeDeleted" required="false" multiple="false"
					description="If set to true both active and deleted addresses will be returned. Ignored if id-parameter is specified" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return addresses updated after this time. Ignored if id-parameter or clientId-parameter is specified" />
				<return name="addresses" type="Address" description="List of addresses found" />
			</method>
			<method type="PUT" description="Update an existing address">
				<param type="UUID" name="id" description="Id of the address" required="true"
					multiple="false" />
				<param type="text" name="name" description="Name of the address" required="true"
					multiple="false" />
				<param type="text" name="description"
					description="Description of the order. Not shown in the interface" required="false"
					multiple="false" />
				<param type="text" name="addressType" description="The type of the address"
					required="true" multiple="false">
					<option name="CONTACT" description="The address is used as contact information" />
					<option name="BILLING" description="The address is used for invoicing" />
					<option name="DELIVERY"
						description="The address is used for installation/execution of orders" />
				</param>
				<param name="streetAddress" description="The street address" type="text" required="false"
					multiple="false" />
				<param type="text" name="streetAddress2"
					description="Additional street address information" required="false" multiple="false" />
				<param type="text" name="city" description="The city" required="false" multiple="false" />
				<param type="text" name="postCode" description="The postal code" required="false"
					multiple="false" />
				<param type="text" name="state" description="The state" required="false" multiple="false" />
				<param type="text" name="country" description="The country" required="false"
					multiple="false" />
				<param type="text" name="phone" description="Phone number" required="false"
					multiple="false" />
				<param type="text" name="cellPhone" description="Cell phone number" required="false"
					multiple="false" />
				<param type="text" name="email" description="E-mail" required="false" multiple="false" />
				<param type="text" name="att" description="Att" required="false" multiple="false" />
				<param type="text" name="EAN" description="A GLN number to use for government clients"
					required="false" multiple="false" />
				<param type="UUID" name="clientId" description="Id of the client this address belongs to"
					required="false" multiple="false" />
			</method>
			<method type="POST" description="Create a new address">
				<param type="text" name="name" description="Name of the address" required="true"
					multiple="false" />
				<param type="text" name="description"
					description="Description of the order. Not shown in the interface" required="false"
					multiple="false" />
				<param type="text" name="addressType" description="The type of the address"
					required="true" multiple="false">
					<option name="CONTACT" description="The address is used as contact information" />
					<option name="BILLING" description="The address is used for invoicing" />
					<option name="DELIVERY"
						description="The address is used for installation/execution of orders" />
				</param>
				<param name="streetAddress" description="The street address" type="text" required="false"
					multiple="false" />
				<param type="text" name="streetAddress2"
					description="Additional street address information" required="false" multiple="false" />
				<param type="text" name="city" description="The city" required="false" multiple="false" />
				<param type="text" name="postCode" description="The postal code" required="false"
					multiple="false" />
				<param type="text" name="state" description="The state" required="false" multiple="false" />
				<param type="text" name="country" description="The country" required="false"
					multiple="false" />
				<param type="text" name="phone" description="Phone number" required="false"
					multiple="false" />
				<param type="text" name="cellPhone" description="Cell phone number" required="false"
					multiple="false" />
				<param type="text" name="email" description="E-mail" required="false" multiple="false" />
				<param type="text" name="att" description="Att" required="false" multiple="false" />
				<param type="text" name="EAN" description="A GLN number to use for government clients"
					required="false" multiple="false" />
				<param type="UUID" name="clientId" description="Id of the client this address belongs to"
					required="false" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="BudgetLine" url="BudgetLine">
			<description>Budget lines are associated with a budget and a budget
				line type.</description>
			<method type="DELETE"
				description="Delete budget line(s). When all budget lines are deleted from a budget, the budget will also be deleted">
				<param name="id" multiple="true" required="true" type="UUID"
					description="Id of the budget line to delete. All expense and calculation lines attached to this budget line, will have the budget line removed. If no budget lines left on the budget, the budget will be deleted" />
			</method>
			<method type="GET"
				description="Budget lines assigned to a budget, a list of budget lines is returned. *(id, activityId, orderId or budgetId is required).">
				<param name="id" multiple="true" required="conditional*" type="UUID"
					description="Id(s) of the budget line to return." />
				<param name="budgetId" multiple="false" required="conditional*" type="UUID"
					description="The budget id of the budget lines to return." />
				<param name="activityId" multiple="false" required="conditional*" type="UUID"
					description="The activity Id of the budget lines to return." />
				<param name="orderId" multiple="false" required="conditional*" type="UUID"
					description="The order id of the budget lines to return." />
				<return name="BudgetLines" type="BudgetLine"
					description="Returns a list of budget lines" />
			</method>
			<method type="PATCH"
				description="Update one or more budget line(s), on a single budget. The number of each parameter must match. *(id or budgetLineTypeId is required) **(activityId, orderId or budgetId is required)">
				<param name="id" multiple="true" required="conditional*" type="UUID"
					description="Id of the budget line to edit." />
				<param name="budgetId" multiple="false" required="conditional**" type="UUID"
					description="The id of the budget, the budget line should be associated with." />
				<param name="activityId" multiple="false" required="conditional**" type="UUID"
					description="The id of the activity to get the budget the budget line should be associated with. If no budget exists a new one will be created." />
				<param name="orderId" multiple="false" required="conditional**" type="UUID"
					description="The id of the order to get the budget the budget line should be associated with. If no budget exists a new one will be created." />
				<param name="budgetLineTypeId" multiple="true" required="conditional*" type="UUID"
					description="The id of the budget line type, the budget line should be associated with." />
				<param name="proposalCost" multiple="true" required="false" type="float"
					description="The new proposal cost of the budget line" />
				<param name="orderCost" multiple="true" required="false" type="float"
					description="The new order cost of the budget line" />
				<param name="adjustmentCost" multiple="true" required="false" type="float"
					description="The new adjustment cost of the budget line. This can be updated even when the order/activity is approved" />
				<param name="source" multiple="false" required="false" type="text"
					description="The source of the budget line, will be set on all updated budget line(s)." />
				<param name="externalId" multiple="true" required="false" type="text"
					description="The external id of the budget line" />
			</method>
			<method type="PUT"
				description="Update one or more budget line(s), on a single budget. If no budget exists a new one will be created. The number of each parameter must match. *(activityId, orderId or budgetId is required)">
				<param name="id" multiple="true" required="true" type="UUID"
					description="Id of the budget line to edit." />
				<param name="budgetId" multiple="false" required="conditional*" type="UUID"
					description="The id of the budget, the budget line should be associated with." />
				<param name="activityId" multiple="false" required="conditional*" type="UUID"
					description="The id of the activity to get the budget the budget line should be associated with. If no budget exists a new one will be created." />
				<param name="orderId" multiple="false" required="conditional*" type="UUID"
					description="The id of the order to get the budget the budget line should be associated with. If no budget exists a new one will be created." />
				<param name="budgetLineTypeId" multiple="true" required="true" type="UUID"
					description="The id of the budget line type, the budget line should be associated with." />
				<param name="proposalCost" multiple="true" required="false" type="float"
					description="The new proposal cost of the budget line" />
				<param name="orderCost" multiple="true" required="false" type="float"
					description="The new order cost of the budget line" />
				<param name="adjustmentCost" multiple="true" required="false" type="float"
					description="The new adjustment cost of the budget line" />
				<param name="source" multiple="false" required="false" type="text"
					description="The source of the budget line, will be set on all updated budget line(s)." />
				<param name="externalId" multiple="true" required="false" type="text"
					description="The external id of the budget line" />
			</method>
			<method type="POST"
				description="Create one or more budget line(s), on a single budget. The number of each parameter must match. *(activityId, orderId or budgetId is required).">
				<param name="budgetId" multiple="false" required="conditional*" type="UUID"
					description="The id of the budget, the budget line should be associated with." />
				<param name="orderId" multiple="false" required="conditional*" type="UUID"
					description="The id of the order to get the budget the budget line should be associated with. If no budget exists on the order a new one will be created." />
				<param name="budgetLineTypeId" multiple="true" required="true" type="UUID"
					description="The id of the budget line type, the budget line should be associated with." />
				<param name="proposalCost" multiple="true" required="false" type="float"
					description="The proposal cost of the budget line. If no parameter is provided cost is 0." />
				<param name="orderCost" multiple="true" required="false" type="float"
					description="The order cost of the budget line. If no parameter is provided, cost is 0." />
				<param name="adjustmentCost" multiple="true" required="false" type="float"
					description="The adjustment cost of the budget line. If no parameter is provided cost is 0." />
				<param name="source" multiple="false" required="false" type="text"
					description="The source of the budget line, will be set on all created budget line(s)" />
				<param name="externalId" multiple="true" required="false" type="text"
					description="The external id of the budget line" />
			</method>
		</operationunit>
		<operationunit name="BudgetLineType" url="BudgetLineType">
			<description>Expense lines can be assigned a budget line type
				categorizing allowing grouping of
				expenses to a specific type.</description>
			<method type="DELETE" description="Delete a budget line type">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the budget line type to delete." />
			</method>
			<method type="GET" description="Get budget line types">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Id of the budget line type to return. All budget line types are retrieved if budget line type id parameter is left empty." />
				<return name="BudgetLineType" type="BudgetLineType"
					description="List of budget line types with the specified ids or all budget line types if no id is specified." />
			</method>
			<method type="PUT" description="Update a budget line type">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the budget line type to edit." />
				<param name="name" multiple="false" required="false" type="text"
					description="New name of the budget line type." />
				<param name="number" multiple="false" required="false" type="int"
					description="New number of the budget line type. Has to be unique." />
				<param name="description" multiple="false" required="false" type="text"
					description="New description of the budget line type." />
				<param name="time" multiple="false" required="false" type="boolean"
					description="True if budget line type is by default used for registering time." />
				<param name="externalId" multiple="false" required="false" type="text"
					description="The external id of the budget line type, if imported from external system." />
				<return name="entityid" type="UUID"
					description="The id of the updated budget line type." />
			</method>
			<method type="POST" description="Create a budget line type">
				<param name="name" multiple="false" required="true" type="text"
					description="Name of the budget line type to create." />
				<param name="description" multiple="false" required="false" type="text"
					description="Description of the budget line type." />
				<param name="number" multiple="false" required="false" type="int"
					description="New number of the budget line type. Has to be unique." />
				<param name="time" multiple="false" required="false" type="boolean"
					description="True if budget line type is by default used for registering time." />
				<param name="externalId" multiple="false" required="false" type="text"
					description="The external id of the budget line type, if imported from external system." />
				<return name="entityid" type="UUID"
					description="The id of the created budget line type." />
			</method>
		</operationunit>
		<operationunit name="CalculationLine" url="CalculationLine">
			<description>Calculation lines contain information about materials on a specific order that is
				not yet approved (with state "proposalDraft", "proposal" or "orderDraft")</description>
			<method type="DELETE" description="Delete a specified calculation line">
				<param name="id" description="The id of the line to delete" multiple="false"
					required="true" type="UUID" />
				<param name="orderId" description="The id of the order the line belongs to"
					multiple="false" required="true" type="UUID" />
			</method>
			<method type="GET" description="Get a list of calculation lines specified by order id">
				<param name="orderId" multiple="false" required="conditional*" type="UUID"
					description="Id of the order containing the lines to return." />
				<param name="activityId" multiple="false" required="conditional*" type="UUID"
					description="Id of the activity containing the lines to return." />
				<return name="calculationlines" type="CalculationLine"
					description="List of calculation lines found" />
			</method>
			<method type="PUT" description="Update an existing calculation line.">
				<param type="UUID" name="id" description="Id of the line" required="true"
					multiple="false" />
				<param type="text" name="description" description="Description of the line"
					required="true" multiple="false" />
				<param type="UUID" name="materialid" description="Id of the material used"
					required="false" multiple="false" />
				<param type="text" name="itemNo" description="The number of the material"
					required="false" multiple="false" />
				<param type="float" name="quantity" description="The quantity of the calculation"
					required="true" multiple="false" />
				<param type="float" name="unitCost" description="The unit cost of the calculation"
					required="false" multiple="false" />
				<param type="float" name="unitPrice" description="The unit price to charge the client"
					required="false" multiple="false" />
				<param type="float" name="unitListPrice"
					description="The unit list price of the calculation line. If unit price is not specified it will be calculated from this."
					required="false" multiple="false" />
				<param type="float" name="discountPercentage" description="The discount in percentage"
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT in percentage. If this is not specified the line will get a VAT from its material or order. If there is an active accounting system enabled, the supported VAT rates depends on that system"
					required="false" multiple="false" />
				<param type="UUID" name="budgetLineTypeId" description="Id of the budget line type used"
					required="false" multiple="false" />
				<param type="text" name="deductionWorkType"
					description="The work type of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					required="false" multiple="false">
					<option type="text" name="CONSTRUCTION"
						description="Bygg - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK"
						description="GlasPlatarbete - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK"
						description="MarkDraneringarbete - Only for deduction type ROT" />
					<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING"
						description="MalningTapetsering - Only for deduction type ROT" />
					<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
					<option type="text" name="CONSTRUCTION50"
						description="Bygg with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY50"
						description="El with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK50"
						description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK50"
						description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="MASONRY50"
						description="Murning with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING50"
						description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="HVAC50"
						description="Vvs with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="CLEANING"
						description="Stadning - Only for deduction type RUT" />
					<option type="text" name="TEXTILECLOTHING"
						description="KladOchTextilvard - Only for deduction type RUT" />
					<option type="text" name="SNOWPLOWING"
						description="Snoskottning - Only for deduction type RUT" />
					<option type="text" name="GARDENING"
						description="Tradgardsarbete - Only for deduction type RUT" />
					<option type="text" name="BABYSITTING"
						description="Barnpassning - Only for deduction type RUT" />
					<option type="text" name="OTHERCARE"
						description="Personligomsorg - Only for deduction type RUT" />
					<option type="text" name="MOVINGSERVICES"
						description="Flyttjanster - Only for deduction type RUT" />
					<option type="text" name="ITSERVICES"
						description="ItTjanster - Only for deduction type RUT" />
					<option type="text" name="MAJORAPPLIANCEREPAIR"
						description="ReparationAvVitvaror - Only for deduction type RUT" />
					<option type="text" name="FURNISHING"
						description="Moblering - Only for deduction type RUT" />
					<option type="text" name="HOMEMAINTENANCE"
						description="TillsynAvBostad - Only for deduction type RUT" />
					<option type="text" name="TRANSPORTATIONSERVICES"
						description="TransportTillForsaljning - Only for deduction type RUT" />
					<option type="text" name="WASHINGANDCAREOFCLOTHING"
						description="TvattVidTvattinrattning - Only for deduction type RUT" />
					<option type="text" name="SOLARCELLS"
						description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
					<option type="text" name="SOLARCELLS15"
						description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
					<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
						description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
					<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
						description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
					<option type="text" name="OTHERCOSTS" description="For all deduction types" />
					<option type="text" name="EXCLUDE"
						description="Excludes this line from the export - For all deduction types" />
				</param>
				<param type="float" name="deductable"
					description="The deductable hours of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					multiple="false" />
				<param type="boolean" name="deductionIsTime" required="false" multiple="false"
					description="If the tax deduction line is time related. Only used for orders with ROT/RUT/GRÖN tax deduction" />
			</method>
			<method type="POST"
				description="Create one calculation line. *(orderId or activityId is required. If both are given activityId will be used and the orderId will be ignored.)">
				<param type="UUID" name="activityId"
					description="The id of the additional work the line belongs to" required="conditional*"
					multiple="false" />
				<param type="UUID" name="orderId" description="The id of the order the line belongs to"
					required="conditional*" multiple="false" />
				<param type="text" name="description" description="Description of the line"
					required="true" multiple="false" />
				<param type="UUID" name="materialid" description="Id of the material used"
					required="false" multiple="false" />
				<param type="text" name="itemNo"
					description="The number of the material. If no materialid is specified, the material will be looked up and the id of the material assigned to the CalculationLine. If material is found, then prices of the material will be set on the CalculationLine unless they are specifies as parameters."
					required="false" multiple="false" />
				<param type="float" name="quantity" description="The quantity of the calculation"
					required="true" multiple="false" />
				<param type="float" name="unitCost" description="The unit cost of the calculation"
					required="false" multiple="false" />
				<param type="float" name="unitPrice"
					description="The unit price to charge the client. If not specified, then price of material provided will be assigned to the line."
					required="false" multiple="false" />
				<param type="float" name="unitListPrice"
					description="The unit list price of the calculation line. If unit price is not specified it will be calculated from this."
					required="false" multiple="false" />
				<param type="float" name="discountPercentage" description="The discount in percentage"
					required="false" multiple="false" />
				<param type="UUID" name="vatCodeId"
					description="The id of the VAT code which contains the VAT percentage. If this or the vatPercentage is not specified the line will get a VAT from the VAT hierarchy."
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT in percentage. If this or the vatCodeId is not specified the line will get a VAT from the VAT hierarchy. If there is an active accounting system enabled, the supported VAT rates depends on that system. Deprecated since 2025/03/14. Use vatCodeId instead"
					required="false" multiple="false" />
				<param type="UUID" name="budgetLineTypeId" description="Id of the budget line type used"
					required="false" multiple="false" />
				<param type="text" name="deductionWorkType"
					description="The work type of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					required="false" multiple="false">
					<option type="text" name="CONSTRUCTION"
						description="Bygg - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK"
						description="GlasPlatarbete - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK"
						description="MarkDraneringarbete - Only for deduction type ROT" />
					<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING"
						description="MalningTapetsering - Only for deduction type ROT" />
					<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
					<option type="text" name="CONSTRUCTION50"
						description="Bygg with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY50"
						description="El with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK50"
						description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK50"
						description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="MASONRY50"
						description="Murning with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING50"
						description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="HVAC50"
						description="Vvs with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="CLEANING"
						description="Stadning - Only for deduction type RUT" />
					<option type="text" name="TEXTILECLOTHING"
						description="KladOchTextilvard - Only for deduction type RUT" />
					<option type="text" name="SNOWPLOWING"
						description="Snoskottning - Only for deduction type RUT" />
					<option type="text" name="GARDENING"
						description="Tradgardsarbete - Only for deduction type RUT" />
					<option type="text" name="BABYSITTING"
						description="Barnpassning - Only for deduction type RUT" />
					<option type="text" name="OTHERCARE"
						description="Personligomsorg - Only for deduction type RUT" />
					<option type="text" name="MOVINGSERVICES"
						description="Flyttjanster - Only for deduction type RUT" />
					<option type="text" name="ITSERVICES"
						description="ItTjanster - Only for deduction type RUT" />
					<option type="text" name="MAJORAPPLIANCEREPAIR"
						description="ReparationAvVitvaror - Only for deduction type RUT" />
					<option type="text" name="FURNISHING"
						description="Moblering - Only for deduction type RUT" />
					<option type="text" name="HOMEMAINTENANCE"
						description="TillsynAvBostad - Only for deduction type RUT" />
					<option type="text" name="TRANSPORTATIONSERVICES"
						description="TransportTillForsaljning - Only for deduction type RUT" />
					<option type="text" name="WASHINGANDCAREOFCLOTHING"
						description="TvattVidTvattinrattning - Only for deduction type RUT" />
					<option type="text" name="SOLARCELLS"
						description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
					<option type="text" name="SOLARCELLS15"
						description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
					<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
						description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
					<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
						description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
					<option type="text" name="OTHERCOSTS" description="For all deduction types" />
					<option type="text" name="EXCLUDE"
						description="Excludes this line from the export - For all deduction types" />
				</param>
				<param type="float" name="deductable"
					description="The deductable hours of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					multiple="false" />
				<param type="boolean" name="deductionIsTime" required="false" multiple="false"
					description="If the tax deduction line is time related. Only used for orders with ROT/RUT/GRÖN tax deduction" />
			</method>
		</operationunit>
		<operationunit name="Client" url="Client">
			<description>Client represents the legal entity (company, person,
				organisation etc.) and is the
				receiver of services and materials used
				in orders and the invoicing there of.</description>
			<method type="DELETE" description="Delete a specified client">
				<param name="id" description="The id of the client to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="GET" description="Return a list of clients based on ids or all clients">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the clients to return. If id is specified other parameters are ignored" />
				<param name="clientNumber" multiple="true" required="false" type="int"
					description="Client number of the clients to return" />
				<param type="boolean" name="includeDeleted" required="false" multiple="false"
					description="If set to true both active and deleted clients will be returned. Ignored if id-parameter is specified" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return clients updated after this time. Ignored if id-parameter or clientNumber-parameter is specified" />
				<include name="addresses" description="Include the client's addresses" />
				<include name="taxDeductionInfo" description="Include the client's tax deduction info" />
				<return name="clients" type="Client" description="List of clients found" />
			</method>
			<method type="PUT" description="Update an existing client">
				<param type="UUID" name="id" description="Id of the client" required="true"
					multiple="false" />
				<param type="text" name="name" description="Name of the client" required="true"
					multiple="false" />
				<param type="text" name="description" description="Description of the client"
					required="false" multiple="false" />
				<param type="text" name="cvr"
					description="The client's company registration number or organisation number" required="false"
					multiple="false" />
				<param type="text" name="clientNumber" description="The client's number" required="false"
					multiple="false" />
				<param type="int" name="netPaymentDays"
					description="The number of days the client have to pay invoices if different from default"
					required="false" multiple="false" />
				<param type="boolean" name="runningMonth"
					description="True if client has until end of month plus netPaymentDays before payments are due"
					required="false" multiple="false" />
				<param type="float" name="clientPriceFactor"
					description="The default factor to apply to sales prices if different from default"
					required="false" multiple="false" />
				<param type="text" name="vatRegNo" description="VAT registration number of the client"
					required="false" multiple="false" />
			</method>
			<method type="POST" description="Create a new client">
				<param type="text" name="name" description="Name of the client" required="true"
					multiple="false" />
				<param type="text" name="description" description="Description of the client"
					required="false" multiple="false" />
				<param type="text" name="cvr"
					description="The client's company registration number or organisation number" required="false"
					multiple="false" />
				<param type="int" name="clientNumber" description="The client's number" required="false"
					multiple="false" />
				<param type="int" name="netPaymentDays"
					description="The number of days the client have to pay invoices if different from default"
					required="false" multiple="false" />
				<param type="boolean" name="runningMonth"
					description="True if client has until end of month plus netPaymentDays before payments are due"
					required="false" multiple="false" />
				<param type="float" name="clientPriceFactor"
					description="The default factor to apply to sales prices if different from default"
					required="false" multiple="false" />
				<param type="text" name="vatRegNo" description="VAT registration number of the client"
					required="false" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="Department" url="Department">
			<description>An order can be assigned to a department instead of
				selecting individuals.</description>
			<method type="GET" description="Get departments">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Id of the department to return. All departments are retrieved if department id field is empty" />
				<return name="Department" type="Department"
					description="List of departments with the specified ids or all departments if no id is given." />
			</method>
		</operationunit>
		<operationunit name="DocumentTemplate" url="DocumentTemplate">
			<description>Document template is used as reusable template for order
				description, emails and
				other.</description>
			<method type="GET"
				description="Return a list of document templates, if none of the parameters is provided all templates are returned">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the document template to return" />
				<param name="type" multiple="false" required="false" type="text"
					description="Type of the document template">
					<option type="text" name="PROPOSAL" description="Template for proposal" />
					<option type="text" name="ORDER" description="Template for order" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Template for service agreement" />
					<option type="text" name="MAIL" description="Template for the email" />
				</param>
				<param name="subType"
					description="Subtype of the template (*required only if templateType is MAIL)"
					multiple="false" required="true*" type="text">
					<option type="text" name="PROPOSAL" description="Mail template for proposal" />
					<option type="text" name="ORDER" description="Mail template for order" />
					<option type="text" name="DOCUMENTATION" description="Mail template for documentation" />
					<option type="text" name="QA" description="Mail template for quality assurance" />
					<option type="text" name="INVOICE" description="Mail template for an invoice" />
					<option type="text" name="REMINDER" description="Mail template for reminder" />
					<option type="text" name="CREDITNOTE" description="Mail template for credit note" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Mail template for service agreement" />
				</param>
				<param name="defaultOnly" multiple="false" required="false" type="boolean"
					description="When true, it returns only default template" />
			</method>
			<method type="POST" description="Create new document template">
				<param name="defaultTemplate"
					description="Mark this template as default, if other template already is set to be default setting will overwrite old default template"
					multiple="false" required="false" type="boolean" />
				<param name="templateName" description="Name of the template" multiple="false"
					required="true" type="text" />
				<param name="templateText" description="Contents of the template" multiple="false"
					required="true" type="text" />
				<param name="templateType" description="Type of the template" multiple="false"
					required="true" type="text">
					<option type="text" name="PROPOSAL" description="Template for proposal" />
					<option type="text" name="ORDER" description="Template for order" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Template for service agreement" />
					<option type="text" name="MAIL" description="Template for the email" />
				</param>
				<param name="templateSubType"
					description="Subtype of the template (*required only if templateType is MAIL)"
					multiple="false" required="true*" type="text">
					<option type="text" name="PROPOSAL" description="Mail template for quotation" />
					<option type="text" name="ORDER" description="Mail template for order" />
					<option type="text" name="DOCUMENTATION" description="Mail template for documentation" />
					<option type="text" name="QA" description="Mail template for quality assurance" />
					<option type="text" name="INVOICE" description="Mail template for an invoice" />
					<option type="text" name="REMINDER" description="Mail template for reminder" />
					<option type="text" name="CREDITNOTE" description="Mail template for credit note" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Mail template for service agreement" />
				</param>
			</method>
			<method type="PUT" description="Update an existing document template">
				<param name="id" description="The id of the document template to update" multiple="false"
					required="true" type="UUID" />
				<param name="defaultTemplate"
					description="Mark this template as default, if other template already is set to be default setting will overwrite old default template"
					multiple="false" required="false" type="boolean" />
				<param name="templateName" description="Name of the template" multiple="false"
					required="true" type="text" />
				<param name="templateText" description="Contents of the template" multiple="false"
					required="true" type="text" />
				<param name="templateType" description="Type of the template" multiple="false"
					required="true" type="text">
					<option type="text" name="PROPOSAL" description="Template for proposal" />
					<option type="text" name="ORDER" description="Template for order" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Template for service agreement" />
					<option type="text" name="MAIL" description="Template for the email" />
				</param>
				<param name="templateSubType"
					description="Subtype of the template (*required only if templateType is MAIL)"
					multiple="false" required="true*" type="text">
					<option type="text" name="PROPOSAL" description="Mail template for proposal" />
					<option type="text" name="ORDER" description="Mail template for order" />
					<option type="text" name="DOCUMENTATION" description="Mail template for documentation" />
					<option type="text" name="QA" description="Mail template for quality assurance" />
					<option type="text" name="INVOICE" description="Mail template for an invoice" />
					<option type="text" name="REMINDER" description="Mail template for reminder" />
					<option type="text" name="CREDITNOTE" description="Mail template for credit note" />
					<option type="text" name="SERVICEAGREEMENT"
						description="Mail template for service agreement" />
				</param>
			</method>
			<method type="DELETE" description="Deletes document template with provided id">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Ids of the document template to delete" />
			</method>
		</operationunit>
		<operationunit name="DocumentTemplateDefault" url="DocumentTemplate/Default">
			<description>Marks document template as default</description>
			<method type="POST" description="Set given document template as default">
				<param name="id"
					description="Mark this template as default, if other template already is set to be default setting will overwrite old default template"
					multiple="false" required="true" type="UUID" />
			</method>
		</operationunit>
		<operationunit name="ExpenseLine" url="ExpenseLine">
			<description>Expense lines contain information about materials and time spent on a specific
				order.</description>
			<method type="DELETE" description="Delete a specified expense line">
				<param name="id" description="The id of the line to delete" multiple="false"
					required="true" type="UUID" />
				<param name="orderId" description="The id of the order the line belongs to"
					multiple="false" required="true" type="UUID" />
			</method>
			<method type="GET" description="Get a list of expense lines specified by order id">
				<param name="orderId" multiple="false" required="true" type="UUID"
					description="Id of the order containing the lines to return." />
				<param name="createdAfter" multiple="false" required="false" type="datetime"
					description="Only return expense lines created from this time onwards." />
				<param name="createdBefore" multiple="false" required="false" type="datetime"
					description="Only return expense lines created up to and including this time." />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return expense lines updated from this time onwards." />
				<param name="updatedBefore" multiple="false" required="false" type="datetime"
					description="Only return expense lines updated up to and including this time." />
				<param name="registrationDateAfter" multiple="false" required="false" type="datetime"
					description="Only return expense lines registered from this time onwards." />
				<param name="registrationDateBefore" multiple="false" required="false" type="datetime"
					description="Only return expense lines registered up to and including this time." />
				<include name="material" description="Include the material" />
				<return name="expenselines" type="ExpenseLine" description="List of expense lines found" />
			</method>
			<method type="PATCH"
				description="Update a single property existing expense line. Can be used to update exportedDate for closed and rejected orders">
				<param type="UUID" name="id" description="Id of the line" required="true" multiple="true" />
				<param type="datetime" name="exportedDate"
					description="The time on which the line was exported" required="false" multiple="true" />
			</method>
			<method type="PUT" description="Update an existing expense line">
				<param type="UUID" name="id" description="Id of the line" required="true"
					multiple="false" />
				<param type="UUID" name="orderId" description="The id of the order the line belongs to"
					multiple="false" required="true" />
				<param type="text" name="description" description="Description of the line"
					required="true" multiple="false" />
				<param type="UUID" name="materialid" description="Id of the material used"
					required="false" multiple="false" />
				<param type="text" name="itemNo" description="The number of the material"
					required="false" multiple="false" />
				<param type="float" name="quantity" description="The quantity of the expense"
					required="true" multiple="false" />
				<param type="float" name="unitCost" description="The unit cost of the expense"
					required="false" multiple="false" />
				<param type="float" name="unitPrice" description="The unit price to charge the client"
					required="false" multiple="false" />
				<param type="float" name="unitListPrice"
					description="The unit list price of the expense line. If unit price is not specified it will be calculated from this."
					required="false" multiple="true" />
				<param type="float" name="discountPercentage" description="The discount in percentage"
					required="false" multiple="false" />
				<param type="UUID" name="budgetLineTypeId" description="Id of the budget line type used"
					required="false" multiple="false" />
				<param type="date" name="registrationDate"
					description="The date that the registration of line belongs to e.g. date of the time registration or supplier invoice date. This date must be later than the expense lock date in the company settings."
					required="false" multiple="false" />
				<param type="datetime" name="exportedDate"
					description="The time on which the line was exported" required="false" multiple="false" />
			</method>
			<method type="POST"
				description="Create one or more new expense lines. When creating multiple expense lines by specifying multiple parameters, the number parameters must be same for all.">
				<param type="UUID" name="orderId" description="The id of the order the line belongs to"
					multiple="false" required="true" />
				<param type="UUID" name="activityId"
					description="The id of the Activity the line belongs to" multiple="false" required="false" />
				<param type="text" name="description" description="Description of the line"
					required="true" multiple="true" />
				<param type="UUID" name="materialid" description="Id of the material used"
					required="false" multiple="true" />
				<param type="text" name="itemNo" description="The number of the material"
					required="false" multiple="true" />
				<param type="text" name="ean" description="The GLN number of the material"
					required="false" multiple="true" />
				<param type="float" name="quantity" description="The quantity of the expense"
					required="true" multiple="true" />
				<param type="float" name="unitCost" description="The unit cost of the expense"
					required="false" multiple="true" />
				<param type="float" name="unitPrice" description="The unit price to charge the client"
					required="false" multiple="true" />
				<param type="float" name="unitListPrice"
					description="The unit list price of the expense line. If unit price is not specified it will be calculated from this."
					required="false" multiple="true" />
				<param type="float" name="discountPercentage" description="The discount in percentage"
					required="false" multiple="true" />
				<param type="text" name="externalDocumentUrl" required="false" multiple="true"
					description="URL to the external document" />
				<param type="text" name="externalId" required="false" multiple="true"
					description="Id for the external system" />
				<param type="UUID" name="budgetLineTypeId" description="Id of the budget line type used"
					required="false" multiple="false" />
				<param type="date" name="registrationDate"
					description="The date that the registration of line belongs to e.g. date of the time registration or supplier invoice date. This date must be later than the expense lock date in the company settings."
					required="false" multiple="true" />
				<param type="datetime" name="exportedDate"
					description="The time on which the line should be marked as exported" required="false"
					multiple="false" />
			</method>
		</operationunit>
		<operationunit name="File" url="File">
			<description>Files can be uploaded to an
				order/activity/client/installation (one of either
				order/client/installation/activity-Id is required)</description>
			<method type="POST"
				description="Upload files as form submission with a description. File POST data must be encoded as multipart/form-data">
				<param name="orderId"
					description="The id of the order the files should be uploaded to (one of either order/client/installation/activity-Id is required)"
					multiple="false" required="conditional" type="UUID" />
				<param name="clientId"
					description="The id of the client the files should be uploaded to (one of either order/client/installation/activity-Id is required)"
					multiple="false" required="conditional" type="UUID" />
				<param name="installationId"
					description="The id of the installation the files should be uploaded to (one of either order/client/installation/activity-Id is required)"
					multiple="false" required="conditional" type="UUID" />
				<param name="activityId"
					description="The id of the Activity the files should be uploaded to (one of either order/client/installation/activity-Id is required)"
					multiple="false" required="conditional" type="UUID" />
				<param name="restrictedFile"
					description="If true marks the files as only visible with the invoicing role. Default false"
					multiple="false" required="false" type="boolean" />
				<param name="folderTag" description="The folder in which the files should be uploaded"
					multiple="false" required="false" type="text" />
				<param name="file1"
					description="The file being submitted. If each file is being submitted with its own name, then the file's own name will be used, otherwise the name provided with the name parameter will be used. If you application does not support submitting multiple file parameters with same name, you can append a running number to this parameter e.g. file1, file2, file3..."
					multiple="true" required="true" type="file" />
				<param name="name" description="The name of the files" multiple="false" required="false"
					type="text" />
				<param name="description" description="The description of the files" multiple="false"
					required="false" type="text" />
			</method>
			<method type="GET"
				description="Get list of file metadata specified by: *One of either id, orderId, clientId, installationId or activityId is required">
				<param name="id" description="The id of the file." multiple="true"
					required="conditional*" type="UUID" />
				<param name="orderId" description="The id of the order." multiple="false"
					required="conditional*" type="UUID" />
				<param name="clientId" description="The id of the client" multiple="false"
					required="conditional*" type="UUID" />
				<param name="installationId" description="The id of the installation" multiple="false"
					required="conditional*" type="UUID" />
				<param name="activityId" description="The id of the Activity" multiple="false"
					required="conditional*" type="UUID" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return files updated after this time." />
				<return name="files" type="File" description="List of files found." />
			</method>
		</operationunit>
		<operationunit name="FileDownload" url="File/Download" description="Download files">
			<method type="GET" description="Download files">
				<param name="id" description="The id of the file" multiple="false" required="true"
					type="UUID" />
				<param name="type"
					description="The type of entity of the file. Possible values are: 'timesheetDayEntry' and 'file', default is 'file'."
					multiple="false" required="false" type="text" />
				<param name="thumbnail"
					description="Option to download the thumbnail of a file (if possible)" multiple="false"
					required="false" type="boolean" />
			</method>
		</operationunit>
		<operationunit name="GpsDevice" url="GpsDevice">
			<description>The GPS device that is used to record the TripEvents
				taken by a user</description>
			<method type="POST" description="Create new gpsDevice">
				<param type="UUID" name="userId"
					description="The id of the user(s) this gpsDevice will be saved under" required="false"
					multiple="true" />
				<param type="text" name="description" description="description of the gpsDevice"
					required="true" multiple="false" />
				<param type="text" name="deviceType"
					description="The type of the device. Valid types are 'PHONE', 'TABLET' and 'VEHICLE'"
					required="true" multiple="false">
					<option type="text" name="PHONE" description="PHONE" />
					<option type="text" name="TABLET" description="TABLET" />
					<option type="text" name="VEHICLE" description="VEHICLE" />
				</param>
				<param type="text" name="model" description="The model of the GPS device"
					required="false" multiple="false" />
			</method>
			<method type="PATCH" description="Update gpsDevice data">
				<param type="UUID" name="id" description="The id of the gpsDevice" required="true"
					multiple="false" />
				<param type="UUID" name="userId"
					description="The id of the user(s) this gpsDevice will be saved under. Specify parameter value 'null' to remove all users from device"
					required="false" multiple="true" />
				<param type="text" name="description" description="description of the GpsDevice"
					required="false" multiple="false" />
				<param type="text" name="deviceType"
					description="The type of the device. Valid types are 'PHONE', 'TABLET' and 'VEHICLE'"
					required="false" multiple="false">
					<option type="text" name="PHONE" description="PHONE" />
					<option type="text" name="TABLET" description="TABLET" />
					<option type="text" name="VEHICLE" description="VEHICLE" />
				</param>
				<param type="text" name="model" description="The model of the GPS device"
					required="false" multiple="false" />
			</method>
			<method type="GET" description="Get GPS devices">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Id of the gpsDevices to return. All gpsDevices are retrieved if gpsDevice ids field is empty" />
			</method>
			<method type="DELETE" description="Delete gpsDevice">
				<param type="UUID" name="id" description="The id of the gpsDevice" required="true"
					multiple="false" />
			</method>
		</operationunit>
		<operationunit name="Installation" url="Installation">
			<description>Installation entity represents information about
				installation details used in
				connection to service agreements.</description>
			<method type="DELETE" description="Delete a specified installation">
				<param name="id" description="The id of the installation to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="POST" description="Create new installation">
				<param name="clientId" description="Id of a client to which installation belongs"
					multiple="false" required="true" type="UUID" />
				<param name="installationAddressId"
					description="Id of an installation address to which installation belongs" multiple="false"
					required="true" type="UUID" />
				<param name="installationDate" description="Date of the installation" multiple="false"
					required="false" type="date" />
				<param name="installationSerialNo" description="Serial number of the installation"
					multiple="false" required="false" type="text" />
				<param name="installationModel"
					description="Model of the equipment used on the installation" multiple="false"
					required="false" type="text" />
				<param name="installationTypeName" description="Type of the installation"
					multiple="false" required="false" type="text" />
				<param name="installationDescription"
					description="A textual description of the installation" multiple="false" required="false"
					type="text" />
				<param name="number"
					description="Internal serial number of the installation, for sorting, identifying it and integrations. Must be unique. The next number in line will be given if not designated."
					multiple="false" required="false" type="number" />
				<param name="name" description="A textual name of the installation" multiple="false"
					required="false" type="text" />
				<param name="placement" description="A textual placement of the installation"
					multiple="false" required="false" type="text" />
			</method>
			<method type="PUT" description="Update installation">
				<param name="id" description="Id of the installation" multiple="false" required="true"
					type="UUID" />
				<param name="clientId" description="Id of a client to which installation belongs"
					multiple="false" required="true" type="UUID" />
				<param name="installationAddressId"
					description="Id of an installation address to which installation belongs" multiple="false"
					required="true" type="UUID" />
				<param name="installationDate" description="Date of the installation" multiple="false"
					required="false" type="date" />
				<param name="installationSerialNo" description="Serial number of the installation"
					multiple="false" required="false" type="text" />
				<param name="installationModel"
					description="Model of the equipment used on the installation" multiple="false"
					required="false" type="text" />
				<param name="installationTypeName" description="Type of the installation"
					multiple="false" required="false" type="text" />
				<param name="installationDescription"
					description="A textual description of the installation" multiple="false" required="false"
					type="text" />
				<param name="number"
					description="Internal serial number of the installation, for sorting, identifying it and integrations. Must be unique."
					multiple="false" required="false" type="number" />
				<param name="name" description="A textual name of the installation" multiple="false"
					required="false" type="text" />
				<param name="placement" description="A textual placement of the installation"
					multiple="false" required="false" type="text" />
			</method>
			<method type="GET" description="Retrieve specific installation(s).">
				<param name="id" description="Id of the installation" multiple="true" type="UUID" />
				<param name="number" description="Internal serial number of the installation"
					multiple="true" type="number" />
				<param name="clientId"
					description="Installations belonging to client(s) by id(s) specified" multiple="true"
					type="UUID" />
			</method>
		</operationunit>
		<operationunit name="Invoice" url="Invoice">
			<description>Invoices represents information about the intended
				financial transaction associated
				to an order. Invoices with negative
				amounts should be regarded as credit notes.</description>
			<method type="DELETE"
				description="Delete a specified Invoice. Delete fails if invoice has been approved">
				<param name="id" description="The id of the Invoice to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="GET"
				description="Return a list of invoices based on ids or all open invoices">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the invoices to return" />
				<param name="orderId" multiple="false" required="false" type="UUID"
					description="Id of an order to find invoices for" />
				<param name="approvalDateFrom" multiple="false" required="false" type="datetime"
					description="Find invoices approved after or on this timestamp" />
				<param name="approvalDateTo" multiple="false" required="false" type="datetime"
					description="Find invoices approved before or on this timestamp" />
				<param name="notExported" multiple="false" required="false" type="boolean"
					description="Find all invoices that are not exported. approvalDateFrom and/or approvalDateTo can be used to get all invoices not exported within that period." />
				<include name="address"
					description="Include the billing address of the invoice and customer" />
				<include name="contactAddress" description="Include the contact address of the invoice" />
				<include name="deliveryAddress"
					description="Include the delivery address of the invoice" />
				<include name="client" description="Include the client of the invoice" />
				<include name="invoiceLines"
					description="Include the individual lines of the invoice with prices, descriptions etc." />
				<include name="invoiceLedgerEntries"
					description="Include the payments, settlements and other such of the invoice" />
				<include name="invoiceReminders"
					description="Include the payment reminders, notices and collection notices of the invoice." />
				<include name="taxDeductionInfo" description="Include the invoice's tax deduction info" />
				<include name="totalPriceExcludeVat"
					description="Include the total price excluding any VAT" />
				<include name="totalPriceIncludeVat"
					description="Include the total price including VAT" />
				<return name="invoices" type="Invoice" description="List of invoices found" />
			</method>
			<method type="PUT" description="Update an existing invoice">
				<param type="UUID" name="id" description="Id of the invoice" required="true"
					multiple="false" />
				<param type="text" name="name" description="Name (heading) of the invoice"
					required="false" multiple="false" />
				<param type="text" name="description" description="Description of the invoice"
					required="false" multiple="false" />
				<param type="datetime" name="exportedDate"
					description="The date this invoice has been exported. This value cannot be changed once it is set and can only be set on an approved invoice. Invoice id is required to set exportedDate"
					required="false" multiple="false" />
			</method>
			<method type="POST" description="Create a new invoice">
				<param type="text" name="name" description="Name (heading) of the invoice"
					required="false" multiple="false" />
				<param type="text" name="description" description="Description of the invoice"
					required="false" multiple="false" />
				<param type="UUID" name="orderId" description="The order the invoice belongs to"
					required="true" multiple="false" />
			</method>
			<operation name="Approve" description="" url="Invoice/Approve">
				<method type="POST" description="Approves and locks an invoice">
					<param type="UUID" name="id" description="The id of the invoice to approve"
						required="true" multiple="false" />
					<param type="date" name="invoiceDate"
						description="The invoice date of invoice to approve. If not specified the default value will be current date"
						required="false" multiple="false" />
					<param type="date" name="dueDate"
						description="The due date of invoice to approve. If not specified the default value will be calculated from the invoice date based on the client's payment terms"
						required="false" multiple="false" />
					<param type="boolean" name="allowAnyInvoiceDate"
						description="If not true invoiceDate and dueDate can only be within 12 months from current date"
						required="false" multiple="false" />
				</method>
			</operation>
			<operation name="Export" description="" url="Invoice/Export">
				<method type="POST"
					description="InvoiceExport exports the approved invoice to the accounting system.">
					<param type="UUID" name="id" description="The id of the invoice to export"
						required="true" multiple="false" />
					<!-- Invoice reminders can't be approved from the api so don't expose reminder here -->
					<!-- <param type="UUID" name="invoiceReminderId" description="Id of the invoice reminder to export" 
						required="false" multiple="false" /> -->
					<param type="boolean" name="reexport"
						description="True if invoice should be reexported if already exported" required="false"
						multiple="false" />
				</method>
			</operation>
			<operation name="PendingNote" description="" url="Invoice/PendingNote">
				<method type="POST" description="Adds, updates og removes the pending date and pending note of an Invoice">
					<param name="id" required="true" multiple="false" description="The id of the Invoice"
						type="UUID" />
					<param name="pendingDate" required="false" multiple="false"
						description="The pending date to set on the invoice. Leave out or blank for no pending date" type="date" />
					<param name="pendingNote" required="false" multiple="false"
						description="The pending note of maximum 255 charecters to set on the invoice. Leave out or blank for no pending note" type="text" />
					<param name="clearPendingInfoOnStateChange" required="false" multiple="false"
						description="If set to true it indicates that the pending note should be removed when the invoice chages state" type="boolean" />
				</method>
			</operation>
			<operation name="PDF" description="" url="Invoice/PDF">
				<method type="GET"
					description="Returns a representation of an invoice or invoice reminder in PDF-format. The response is returned with the content type of application/pdf with content disposition as attachment. *(Either id or reminderId is required.)">
					<param name="id" multiple="false" required="conditional*" type="UUID"
						description="Id of the invoice to return as PDF document" />
					<param name="reminderId" multiple="false" required="conditional*" type="UUID"
						description="Id of the invoice reminder to return as PDF document" />
					<return name="N/A" type="application/pdf"
						description="PDF representation of the invoice or invoice reminder specified" />
				</method>
			</operation>
		</operationunit>
		<operationunit name="InvoiceLedgerEntry" url="InvoiceLedgerEntry">
			<description>Invoice ledger entries are the individual payments
				associated with an invoice</description>
			<method type="GET"
				description="Get a list of invoice ledger entries specified by ids or invoice id">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the invoice ledger entries to return. Id or invoiceId must be provided" />
				<param name="invoiceId" multiple="false" required="false" type="UUID"
					description="Id of the invoice containing the entries to return. Id or invoiceId must be provided" />
				<return name="invoiceledgerentries" type="InvoiceLedgerEntry"
					description="List of invoice ledger entries found" />
			</method>
			<method type="POST" description="Create a new invoice ledger entry">
				<param type="UUID" name="invoiceId"
					description="Id of the invoice containing the entry. A client or invoice must be provided"
					required="false" multiple="false" />
				<param type="UUID" name="clientId"
					description="Id of the client containing the entry. A client or invoice must be provided"
					required="false" multiple="false" />
				<param type="text" name="remark" description="The description of the paid amount"
					required="true" multiple="false" />
				<param type="float" name="amount" description="The amount paid" required="true"
					multiple="false" />
				<param type="date" name="balanceDate" description="The date of the balance change"
					required="true" multiple="false" />
				<param type="boolean" name="distributeToUnpaid"
					description="Only used with client entries. If true, the amount is distributed to the oldest unpaid invoices"
					required="false" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="InvoiceLine" url="InvoiceLine">
			<description>Invoice lines are the individual lines associated with an invoice</description>
			<method type="DELETE"
				description="Delete a specified invoice line. Delete fails if invoice has been approved">
				<param name="id" description="The id of the line to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="GET"
				description="Get a list of invoice lines specified by ids or invoice id">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the invoice lines to return. Id or invoice Id must be provided" />
				<param name="invoiceId" multiple="false" required="false" type="UUID"
					description="Id of the invoice containing the lines to return. Id or invoice Id must be provided" />
				<return name="invoicelines" type="InvoiceLine" description="List of invoice lines found" />
			</method>
			<method type="PUT" description="Update an existing invoice line">
				<param type="UUID" name="id" description="Id of the invoice line" required="true"
					multiple="false" />
				<param type="text" name="description" description="The description of the invoiced item"
					required="true" multiple="false" />
				<param type="float" name="unitPrice" description="The unit price of the invoiced item"
					required="false" multiple="false" />
				<param type="float" name="unitCost"
					description="The cost price for each unit if applicable" required="false" multiple="false" />
				<param type="float" name="unitListPrice"
					description="The list price for each unit if applicable" required="false" multiple="false" />
				<param type="float" name="quantity" description="The quantity of the invoiced item"
					required="false" multiple="false" />
				<param type="int" name="lineNumber"
					description="The position of the invoice line relative to other invoice lines"
					required="false" multiple="false" />
				<param type="UUID" name="vatCodeId"
					description="The id of the VAT code which contains the VAT percentage. If this or the vatPercentage is not specified the line will get a VAT from the VAT hierarchy."
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage for this line. If this or the vatCodeId is not specified the line will get a VAT from the VAT hierarchy. Deprecated since 2025/03/14. Use vatCodeId instead"
					required="false" multiple="false" />
				<param type="float" name="discount"
					description="Discount percentage for the current line" required="false" multiple="false" />
				<param type="text" name="deductionWorkType"
					description="The work type of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					required="false" multiple="false">
					<option type="text" name="CONSTRUCTION"
						description="Bygg - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK"
						description="GlasPlatarbete - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK"
						description="MarkDraneringarbete - Only for deduction type ROT" />
					<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING"
						description="MalningTapetsering - Only for deduction type ROT" />
					<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
					<option type="text" name="CONSTRUCTION50"
						description="Bygg with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY50"
						description="El with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK50"
						description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK50"
						description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="MASONRY50"
						description="Murning with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING50"
						description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="HVAC50"
						description="Vvs with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="CLEANING"
						description="Stadning - Only for deduction type RUT" />
					<option type="text" name="TEXTILECLOTHING"
						description="KladOchTextilvard - Only for deduction type RUT" />
					<option type="text" name="SNOWPLOWING"
						description="Snoskottning - Only for deduction type RUT" />
					<option type="text" name="GARDENING"
						description="Tradgardsarbete - Only for deduction type RUT" />
					<option type="text" name="BABYSITTING"
						description="Barnpassning - Only for deduction type RUT" />
					<option type="text" name="OTHERCARE"
						description="Personligomsorg - Only for deduction type RUT" />
					<option type="text" name="MOVINGSERVICES"
						description="Flyttjanster - Only for deduction type RUT" />
					<option type="text" name="ITSERVICES"
						description="ItTjanster - Only for deduction type RUT" />
					<option type="text" name="MAJORAPPLIANCEREPAIR"
						description="ReparationAvVitvaror - Only for deduction type RUT" />
					<option type="text" name="FURNISHING"
						description="Moblering - Only for deduction type RUT" />
					<option type="text" name="HOMEMAINTENANCE"
						description="TillsynAvBostad - Only for deduction type RUT" />
					<option type="text" name="TRANSPORTATIONSERVICES"
						description="TransportTillForsaljning - Only for deduction type RUT" />
					<option type="text" name="WASHINGANDCAREOFCLOTHING"
						description="TvattVidTvattinrattning - Only for deduction type RUT" />
					<option type="text" name="SOLARCELLS"
						description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
					<option type="text" name="SOLARCELLS15"
						description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
					<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
						description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
					<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
						description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
					<option type="text" name="OTHERCOSTS" description="For all deduction types" />
					<option type="text" name="EXCLUDE"
						description="Excludes this line from the export - For all deduction types" />
				</param>
				<param type="float" name="deductable"
					description="The deductable hours of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					multiple="false" />
				<param type="boolean" name="deductionIsTime" required="false" multiple="false"
					description="If the tax deduction line is time related. Only used for orders with ROT/RUT/GRÖN tax deduction" />
			</method>
			<method type="POST" description="Create a new invoice line">
				<param type="UUID" name="invoiceId" description="Id of the invoice containing the line"
					required="true" multiple="false" />
				<param type="text" name="description" description="The description of the invoiced item"
					required="true" multiple="false" />
				<param type="float" name="unitPrice" description="The unit price of the invoiced item"
					required="false" multiple="false" />
				<param type="float" name="unitCost"
					description="The cost price for each unit if applicable" required="false" multiple="false" />
				<param type="float" name="unitListPrice"
					description="The list price for each unit if applicable" required="false" multiple="false" />
				<param type="float" name="quantity" description="The quantity of the invoiced item"
					required="false" multiple="false" />
				<param type="int" name="lineNumber"
					description="The position of the invoice line relative to other invoice lines"
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage for this line. If this is not specified the line will get a VAT from its material or invoice"
					required="false" multiple="false" />
				<param type="float" name="discount"
					description="Discount percentage for the current line" required="false" multiple="false" />
				<param type="text" name="deductionWorkType"
					description="The work type of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction"
					required="false" multiple="false">
					<option type="text" name="CONSTRUCTION"
						description="Bygg - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK"
						description="GlasPlatarbete - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK"
						description="MarkDraneringarbete - Only for deduction type ROT" />
					<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING"
						description="MalningTapetsering - Only for deduction type ROT" />
					<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
					<option type="text" name="CONSTRUCTION50"
						description="Bygg with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY50"
						description="El with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK50"
						description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK50"
						description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="MASONRY50"
						description="Murning with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING50"
						description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="HVAC50"
						description="Vvs with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="CLEANING"
						description="Stadning - Only for deduction type RUT" />
					<option type="text" name="TEXTILECLOTHING"
						description="KladOchTextilvard - Only for deduction type RUT" />
					<option type="text" name="SNOWPLOWING"
						description="Snoskottning - Only for deduction type RUT" />
					<option type="text" name="GARDENING"
						description="Tradgardsarbete - Only for deduction type RUT" />
					<option type="text" name="BABYSITTING"
						description="Barnpassning - Only for deduction type RUT" />
					<option type="text" name="OTHERCARE"
						description="Personligomsorg - Only for deduction type RUT" />
					<option type="text" name="MOVINGSERVICES"
						description="Flyttjanster - Only for deduction type RUT" />
					<option type="text" name="ITSERVICES"
						description="ItTjanster - Only for deduction type RUT" />
					<option type="text" name="MAJORAPPLIANCEREPAIR"
						description="ReparationAvVitvaror - Only for deduction type RUT" />
					<option type="text" name="FURNISHING"
						description="Moblering - Only for deduction type RUT" />
					<option type="text" name="HOMEMAINTENANCE"
						description="TillsynAvBostad - Only for deduction type RUT" />
					<option type="text" name="TRANSPORTATIONSERVICES"
						description="TransportTillForsaljning - Only for deduction type RUT" />
					<option type="text" name="WASHINGANDCAREOFCLOTHING"
						description="TvattVidTvattinrattning - Only for deduction type RUT" />
					<option type="text" name="SOLARCELLS"
						description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
					<option type="text" name="SOLARCELLS15"
						description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
					<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
						description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
					<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
						description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
					<option type="text" name="OTHERCOSTS" description="For all deduction types" />
					<option type="text" name="EXCLUDE"
						description="Excludes this line from the export - For all deduction types" />
				</param>
				<param type="float" name="deductable"
					description="The deductable hours of the tax deduction line. Only used for orders with ROT/RUT/GRÖN tax deduction. Defaults to the quantity on the line"
					multiple="false" />
				<param type="boolean" name="deductionIsTime" required="false" multiple="false"
					description="If the tax deduction line is time related. Only used for orders with ROT/RUT/GRÖN tax deduction" />
			</method>
		</operationunit>
		<operationunit name="Material" url="Material">
			<description>Materials, represents a specific material available from
				a wholesaler or created by
				yourself.</description>
			<method type="GET"
				description="Return a list of materials with the specific material number">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Return the materials with the specified ids. If parameter is specified other filter parameters will be ignored." />
				<param name="ownMaterials" multiple="false" required="false" type="text"
					description="If true, only own materials will be returned. Own materials are materials the customer has setup themselves and are not wholesaler materials. They are usually used for time registration purposes. If parameter is not specified, it defaults to false." />
				<param name="search" multiple="false" required="false" type="text"
					description="A search string provided for searching only in own materials. Will search in the fields material number or material description." />
				<param name="materialNo" multiple="false" required="false" type="text"
					description="The material number to search for. If ownMaterial=false and left blank then no materials will be returned." />
				<return name="materials" type="Material" description="List of matching materials found" />
			</method>
			<method type="POST" description="Create a new customer Material">
				<param name="description" multiple="false" required="true" type="text"
					description="The description of the Material appearing when searched for as well as on CalculationLines, ExpenseLines and InvoiceLines." />
				<param name="materialNo" multiple="false" required="true" type="text"
					description="A unique number of the Matrial. We recommend using digits only." />
				<param name="cost" multiple="false" required="true" type="float"
					description="The default cost of one unit of the Material." />
				<param name="price" multiple="false" required="true" type="float"
					description="The default sales price per unit for the Material." />
				<param name="workTimeMaterial" multiple="false" required="false" type="boolean"
					description="Indicates if the Matrial is to be used for time registration or not." />
			</method>
			<method type="PUT"
				description="Update fields on an existing customer Material. Updating of wholesaler materials is not supported.">
				<param name="id" multiple="false" required="true" type="UUID"
					description="The id of the Material to update." />
				<param name="description" multiple="false" required="true" type="text"
					description="The description of the Material appearing when searched for as well as on CalculationLines, ExpenseLines and InvoiceLines." />
				<param name="materialNo" multiple="false" required="true" type="text"
					description="A unique number of the Matrial. We recommend using digits only." />
				<param name="cost" multiple="false" required="true" type="float"
					description="The default cost of one unit of the Material." />
				<param name="price" multiple="false" required="true" type="float"
					description="The default sales price per unit for the Material." />
				<param name="workTimeMaterial" multiple="false" required="false" type="boolean"
					description="Indicates if the Matrial is to be used for time registration or not." />
			</method>
		</operationunit>
		<operationunit name="Note" url="Note">
			<description>Notes represents a collection of extra information
				relevant to an Order</description>
			<method type="DELETE" description="Sets a note to be deleted">
				<param name="id" multiple="false" required="true" type="UUID"
					description="The id of the note to delete" />
			</method>
			<method type="GET"
				description="Get a list of note(s) specified by either activityId, orderId or id. You have to choose one of either activityId, orderId or id.">
				<param name="id" required="conditional" multiple="true"
					description="The ids of the note(s) to retrieve" type="UUID" />
				<param name="orderId" multiple="false" required="conditional" type="UUID"
					description="Id of the order" />
				<param name="activityId" multiple="false" required="conditional" type="UUID"
					description="Id of the activity" />
				<return name="notes"
					description="List of note(s) matching the id(s), orderId or activityId" type="Note" />
			</method>
			<method type="POST" description="Create a new note">
				<param name="noteType" required="true" multiple="false" description="The type of note"
					type="text">
					<option type="text" name="ORDER_NOTE" description="The note is related to an order" />
					<option type="text" name="ACTIVITY_NOTE"
						description="The note is related to an activity" />
					<option type="text" name="CLIENT_NOTE" description="The note is related to a client" />
					<option type="text" name="INSTALLATION_NOTE"
						description="The note is related to an installation" />
				</param>
				<param name="noteDescription" multiple="false" required="true" type="text" description="" />
				<param name="parentId" multiple="false" required="true" type="UUID"
					description="The id of the related parent eg. the order id or activity id" />
				<param name="restrictedNote" multiple="false" required="false" type="text"
					description="If true, the note is hidden for users without the invoicing role. Requires the invoicing role to be set" />
			</method>
			<method type="PUT" description="Update an existing note">
				<param name="id" multiple="false" required="true" type="UUID"
					description="The id of the note" />
				<param name="noteDescription" multiple="false" required="true" type="text"
					description="The description of the note" />
				<param name="restrictedNote" multiple="false" required="false" type="text"
					description="If true, the note is hidden for users without the invoicing role. Requires the invoicing role to be set" />
			</method>
		</operationunit>
		<operationunit name="Order" url="Order">
			<description>Order is the entity that represents the order in its
				entire lifespan from proposal
				to archive. The purpose is to collect
				all information related to expected work and actual work.
				The
				invoiceable amount is accessible through the Invoice entity
				associated with the Order.
			</description>
			<method type="GET"
				description="Get a list of orders specified by ids or assigned to current user">
				<param name="id" required="false" multiple="true"
					description="The ids of orders to retrieve" type="UUID" />
				<param name="orderNumber" multiple="true" required="false" type="int"
					description="Number of the order to return" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return orders updated after this time." />
				<param name="state" multiple="false" required="false" type="string"
					description="Status of the orders to return. If left blank, closed and rejected order will not be returned.">
					<option type="text" name="proposalDraft" description="Proposal drafts" />
					<option type="text" name="proposal" description="Proposal and Proposal drafts" />
					<option type="text" name="orderDraft" description="Order drafts" />
					<option type="text" name="new" description="New orders" />
					<option type="text" name="started" description="Started orders" />
					<option type="text" name="delayed" description="Postponed/delayed orders" />
					<option type="text" name="completed" description="Completed orders" />
					<option type="text" name="closed" description="Closed orders" />
					<option type="text" name="rejected" description="Rejected orders" />
				</param>
				<param name="forAllUsers" multiple="false" required="false" type="boolean"
					description="Return orders for all users. If request does NOT have Administrator scope/role the parameter value will always be considered false." />
				<param name="priceBasis" multiple="true" required="false" type="string"
					description="Only return orders with a specific price basis.">
					<option type="text" name="CALCULATION"
						description="Orders priced after the calculation" />
					<option type="text" name="EXPENSELINES" description="Orders priced after the expenses" />
					<option type="text" name="FIXEDPRICE" description="Orders with a fixed price amount" />
					<option type="text" name="ENTERPRISE"
						description="Orders priced after the enterprise progress" />
				</param>
				<include name="addresses"
					description="Include contact, billing and delivery address for the order" />
				<include name="client" description="Include the order's client" />
				<include name="employees" description="Order employees &amp; responsible" />
				<include name="department" description="Department handling the order" />
				<include name="taxDeductionInfo" description="Include the order's tax deduction info" />
				<return name="orders"
					description="List of orders matching the ids or assigned to current user" type="Order" />
				<example>
					<request />
					<response />
				</example>
			</method>
			<method type="PUT" description="Update an order">
				<param type="UUID" name="id" description="Id of the order" required="true"
					multiple="false" />
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="description" description="Work description" required="true"
					multiple="false" />
				<param type="UUID" name="clientId" description="Id of the client" required="true"
					multiple="false" />
				<param type="UUID" name="orderTypeId" description="Id of the order type" required="true"
					multiple="false" />
				<param type="UUID" name="contactAddressId" description="The id of the contact address"
					required="true" multiple="false" />
				<param type="UUID" name="billingAddressId" description="The id of the billing address"
					required="false" multiple="false" />
				<param type="UUID" name="deliveryAddressId" description="The id of the delivery address"
					required="false" multiple="false" />
				<param type="date" name="startDate"
					description="The date the work on the order should start" required="false" multiple="false" />
				<param type="time" name="startTime"
					description="The time of day the work on the order should start" required="false"
					multiple="false" />
				<param type="date" name="endDate"
					description="The date the work on the order should be finished" required="false"
					multiple="false" />
				<param type="time" name="endTime"
					description="The time of day the work on the order should be finished" required="false"
					multiple="false" />
				<param type="date" name="expirationDate"
					description="The date the proposal expires. Only affects orders in proposal phase"
					required="false" multiple="false" />
				<param type="float" name="price"
					description="The price of the order. Only applicable if fixed price" required="false"
					multiple="false" />
				<param type="boolean" name="proposal"
					description="True if the order is in proposal phase" required="false" multiple="false" />
				<param type="boolean" name="quote" description="True if the proposal is a quote"
					required="false" multiple="false" />
				<param type="text" name="proposalText"
					description="HTML formatted text to send in the proposal" required="false" multiple="false" />
				<param type="text" name="confirmationText"
					description="HTML formatted text to send in the order confirmation" required="false"
					multiple="false" />
				<param type="text" name="reqno" description="The requisition number" required="false"
					multiple="false" />
				<param type="text" name="theirref" description="The client's reference" required="false"
					multiple="false" />
				<param type="boolean" name="assignCurrentUser"
					description="True if the current user should be assigned to the order" required="false"
					multiple="false" />
				<param type="boolean" name="addBudget"
					description="True if a budget should be added to the order. Only affects orders with no budget"
					required="false" multiple="false" />
				<param type="int" name="orderNumber"
					description="Give the order a specific number. The number must not be in use" required="false"
					multiple="false" />
				<param type="UUID" name="userId"
					description="If specified, the provided list of users will be assigned to the order. Any previously assigned users not in the list will be removed. If parameter is not specified, the users will remain unchanged. If parameter is left blank, then users will be removed."
					required="false" multiple="true" />
				<param type="UUID" name="installationId"
					description="Assign an installation to the order" required="false" multiple="true" />
				<param type="UUID" name="responsibleId"
					description="Assign a responsible user to the order" required="false" multiple="false" />
				<param type="text" name="priceBasis"
					description="Assign a price basis to order. (Default is EXPENSELINES)" required="false"
					multiple="false">
					<option name="EXPENSELINES"
						description="The registered time and materials on the order will be invoiced." />
					<option name="FIXEDPRICE" description="The fixed price on the order will be invoiced." />
					<option name="CALCULATION"
						description="The created calculation lines on the order will be invoiced." />
				</param>
				<param type="text" name="resetInvoices"
					description="Reset all open invoice drafts. This is required if changing priceBasis while there are open invoice drafts"
					required="false" multiple="false">
					<option name="RESET" description="Resets invoice drafts to default state" />
					<option name="LEAVE" description="Leave invoice drafts in current state" />
				</param>
			</method>
			<method type="POST" description="Create a new order">
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="description" description="Work description" required="true"
					multiple="false" />
				<param type="UUID" name="clientId" description="Id of the client" required="true"
					multiple="false" />
				<param type="UUID" name="orderTypeId" description="Id of the order type" required="true"
					multiple="false" />
				<param type="UUID" name="departmentId"
					description="The id of the department, can be set to mandatory in company settings. Default can be specified in orderType."
					required="false" multiple="false" />
				<param type="UUID" name="contactAddressId" description="The id of the contact address"
					required="true" multiple="false" />
				<param type="UUID" name="billingAddressId" description="The id of the billing address"
					required="false" multiple="false" />
				<param type="UUID" name="deliveryAddressId" description="The id of the delivery address"
					required="false" multiple="false" />
				<param type="text" name="cvrNumber"
					description="The company registration number or organisation number to use for billing"
					required="false" multiple="false" />
				<param type="date" name="startDate"
					description="The date the work on the order should start" required="false" multiple="false" />
				<param type="time" name="startTime"
					description="The time of day the work on the order should start" required="false"
					multiple="false" />
				<param type="date" name="endDate"
					description="The date the work on the order should be finished" required="false"
					multiple="false" />
				<param type="time" name="endTime"
					description="The time of day the work on the order should be finished" required="false"
					multiple="false" />
				<param type="date" name="expirationDate"
					description="The date the proposal expires. Only affects orders in proposal phase"
					required="false" multiple="false" />
				<param type="float" name="price"
					description="The price of the order. Only applicable if fixed price" required="false"
					multiple="false" />
				<param type="boolean" name="proposal"
					description="True if the order is in proposal phase" required="false" multiple="false" />
				<param type="boolean" name="quote" description="True if the proposal is a quote"
					required="false" multiple="false" />
				<param type="text" name="proposalText"
					description="HTML formatted text to send in the proposal" required="false" multiple="false" />
				<param type="text" name="confirmationText"
					description="HTML formatted text to send in the order confirmation" required="false"
					multiple="false" />
				<param type="text" name="reqno" description="The requisition number" required="false"
					multiple="false" />
				<param type="text" name="theirref" description="The client's reference" required="false"
					multiple="false" />
				<param type="boolean" name="assignCurrentUser"
					description="True if the current user should be assigned to the order" required="false"
					multiple="false" />
				<param type="boolean" name="addBudget"
					description="True if a budget should be added to the order." required="false" multiple="false" />
				<param type="int" name="orderNumber"
					description="Give the order a specific number. The number must not be in use" required="false"
					multiple="false" />
				<param type="UUID" name="userId"
					description="If specified, the provided list of users will be assigned to the order. If not specified the user(s) from the orderType will be assigned. If parameter is left blank, then no users will be added."
					required="false" multiple="true" />
				<param type="UUID" name="installationId"
					description="Assign an installation to the order" required="false" multiple="true" />
				<param type="UUID" name="responsibleId"
					description="Assign a responsible user to the order" required="false" multiple="false" />
				<param type="text" name="priceBasis"
					description="Assign a price basis to order. (Default is EXPENSELINES)" required="false"
					multiple="false">
					<option name="EXPENSELINES"
						description="The registered time and materials on the order will be invoiced." />
					<option name="FIXEDPRICE" description="The fixed price on the order will be invoiced." />
					<option name="CALCULATION"
						description="The created calculation lines on the order will be invoiced." />
				</param>
			</method>
			<method type="DELETE" description="Delete/reject a specified order">
				<param name="id" description="The id of the order to delete" multiple="false"
					required="true" type="UUID" />
				<param name="comment" description="A comment describing why it was deleted"
					multiple="false" required="false" type="UUID" />
			</method>
			<operation name="Approve" description="" url="Order/Approve">
				<method type="POST" description="Approve a specified order">
					<param name="id" required="true" multiple="false"
						description="The id of the order to approve" type="UUID" />
					<param name="comment" required="false" multiple="false"
						description="Optional comment to add to the log" type="text" />
					<param name="proposal" required="false" multiple="false"
						description="Optional parameter to just approve a proposal" type="boolean" />
				</method>
			</operation>
			<operation name="PendingNote" description="" url="Order/PendingNote">
				<method type="POST" description="Adds, updates og removes the pending date and pending note of an Order">
					<param name="id" required="true" multiple="false" description="The id of the order"
						type="UUID" />
					<param name="pendingDate" required="false" multiple="false"
						description="The pending date to set on the order. Leave out or blank for no pending date" type="date" />
					<param name="pendingNote" required="false" multiple="false"
						description="The pending note of maximum 255 charecters to set on the order. Leave out or blank for no pending note" type="text" />
					<param name="clearPendingInfoOnStateChange" required="false" multiple="false"
						description="If set to true it indicates that the pending note should be removed when the order chages state" type="boolean" />
				</method>
			</operation>
			<operation name="User" description="" url="Order/User">
				<method type="POST" description="Add users to specified order">
					<param name="orderId" required="true" multiple="false" description="The id of the order"
						type="UUID" />
					<param name="userId" required="false" multiple="true"
						description="The users to add to the order" type="UUID" />
				</method>
			</operation>
			<operation name="User" description="" url="Order/User">
				<method type="DELETE" description="Remove users from specified order">
					<param name="orderId" required="true" multiple="false" description="The id of the order"
						type="UUID" />
					<param name="userId" required="false" multiple="true"
						description="The users to remove from the order" type="UUID" />
				</method>
			</operation>
			<operation name="State" description="" url="Order/State">
				<method type="POST"
					description="Used to change the state of a specified order. To approve an order draft, use the Order/Approve endpoint instead.">
					<param name="id" required="true" multiple="false"
						description="The id of the order to change the state of" type="UUID" />
					<param type="text" name="state" description="The state to change the order to"
						required="true" multiple="false">
						<option type="text" name="NOT_APPROVED" description="Set the order back to draft" />
						<option type="text" name="NEW" description="Set the order as newly approved" />
						<option type="text" name="STARTED" description="Set the order as ongoing/started" />
						<option type="text" name="DELAYED"
							description="Set the order as pending further action" />
						<option type="text" name="COMPLETED" description="Set the order as completed" />
						<option type="text" name="CLOSED" description="Set the order as closed" />
						<option type="text" name="REJECTED" description="Set the order as rejected" />
					</param>
					<param name="comment" required="conditional" multiple="false"
						description="This is used in cases where an order is returned back to previous state and an explanation is needed for why the order was returned"
						type="text" />
					<param name="closedDate" required="false" multiple="false"
						description="Optional date for when the order was closed, if not specified the current date will be used instead"
						type="datetime" />
					<param name="pendingDate" required="false" multiple="false"
						description="Optional date to give if new state is DELAYED and you want to give a pending until date"
						type="datetime" />
				</method>
			</operation>
			<operation name="Installation" description="" url="Order/Installations/Add">
				<method type="PUT" description="Add installations to specified order">
					<param name="orderId" required="true" multiple="false" description="The id of the order"
						type="UUID" />
					<param name="installationId" required="true" multiple="true"
						description="The installations to add to the order" type="UUID" />
				</method>
			</operation>
			<operation name="Installation" description="" url="Order/Installations/Remove">
				<method type="PUT" description="Remove installations from specified order">
					<param name="orderId" required="true" multiple="false" description="The id of the order"
						type="UUID" />
					<param name="installationId" required="true" multiple="true"
						description="The installations to remove from the order" type="UUID" />
				</method>
			</operation>
		</operationunit>
		<operationunit name="OrderType" url="OrderType">
			<description>Order types are associated with orders and specifies the
				default settings regarding
				quality assurance document etc.</description>
			<method type="DELETE"
				description="Delete a specified order type. Delete will mark the order type invalid for future use but will not remove it from the data store">
				<param name="id" description="The id of the order type to delete" multiple="false"
					required="true" type="UUID" />
			</method>
			<method type="GET" description="Return a list of order types based on ids or all">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the order types to return" />
				<return name="ordertypes" type="OrderType" description="List of order types found" />
			</method>
			<method type="PATCH"
				description="Updates an existing order type with parameters specified. If a parameter is not specified the current field value will not be changed">
				<param name="id" description="The id of the order type to update" multiple="false"
					required="true" type="UUID" />
				<param type="text" name="name"
					description="A descriptive name of the order type. Duplicate names are not permitted."
					required="false" multiple="false" />
				<param type="text" name="colorCode"
					description="The hexadecimal color code for the color of the order type in the UI e.g. #6699CC"
					required="false" multiple="false" />
				<param type="UUID" name="departmentId"
					description="The id of the default department to which the order type is assigned"
					required="false" multiple="false" />
				<param type="text" name="description"
					description="A longer descriptive text of the order type" required="false" multiple="false" />
				<param type="text" name="materialNo"
					description="Material numbers to assign to order. Number of materialNo arguments must be equal to number of materialQuantity arguments"
					required="false" multiple="true" />
				<param type="float" name="materialQuantity"
					description="Material quantity to assign to order. Number of materialQuantity arguments must be equal to number of materialNo arguments"
					required="false" multiple="false" />
				<param type="float" name="price"
					description="The default fixed price for orders created with the order type. If null order is created as bill of material"
					required="false" multiple="false" />
				<param type="UUID" name="qADocId"
					description="The id quality assurance documents to be assigned to order type" required="false"
					multiple="true" />
				<param type="text" name="repetitionEra"
					description="Repetition era for the order type. Possible values are: DAY, MONTH, YEAR"
					required="false" multiple="false" />
				<param type="float" name="repetitionOccurrence"
					description="Number of eras the need to pass for repetition. e.g., 0.5 twice every era, 1 once every era, 2 every second era, 3 every third era"
					required="false" multiple="false" />
				<param type="UUID" name="responsibleId"
					description="The id of the user assigned as the default responsible of the order type"
					required="false" multiple="false" />
				<param type="UUID" name="userId"
					description="The id of users which are assigned by default on orders with the order type"
					required="false" multiple="true" />
				<param type="UUID" name="vatCodeId"
					description="The id of the VAT code which contains the VAT percentage. The VAT percentage used on orders if the client on the order does not have a VAT percentage"
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage used on orders if the client on the order does not have a VAT percentage. Deprecated since 2025/03/14. Use vatCodeId instead"
					required="false" multiple="false" />
			</method>
			<method type="POST" description="Creates a new order type with parameters specified.">
				<param type="text" name="name"
					description="A descriptive name of the order type. Duplicate names are not permitted."
					required="true" multiple="false" />
				<param type="text" name="colorCode"
					description="The hexadecimal color code for the color of the order type in the UI e.g. #6699CC"
					required="false" multiple="false" />
				<param type="UUID" name="departmentId"
					description="The id of the default department to which the order type is assigned"
					required="false" multiple="false" />
				<param type="text" name="description"
					description="A longer descriptive text of the order type" required="false" multiple="false" />
				<param type="text" name="materialNo"
					description="Material numbers to assign to order. Number of materialNo arguments must be equal to number of materialQuantity arguments"
					required="false" multiple="true" />
				<param type="float" name="materialQuantity"
					description="Material quantity to assign to order. Number of materialQuantity arguments must be equal to number of materialNo arguments"
					required="false" multiple="false" />
				<param type="float" name="price"
					description="The default fixed price for orders created with the order type. If null order is created as bill of material"
					required="false" multiple="false" />
				<param type="UUID" name="qADocId"
					description="The id quality assurance documents to be assigned to order type" required="false"
					multiple="true" />
				<param type="text" name="repetitionEra"
					description="Repetition era for the order type. Possible values are: DAY, MONTH, YEAR"
					required="false" multiple="false" />
				<param type="float" name="repetitionOccurrence"
					description="Number of eras that need to pass for repetition. e.g., 0.5 twice every era, 1 once every era, 2 every second era, 3 every third era"
					required="false" multiple="false" />
				<param type="UUID" name="responsibleId"
					description="The id of the user assigned as the default responsible of the order type"
					required="false" multiple="false" />
				<param type="UUID" name="userId"
					description="The id of users which are assigned by default on orders with the order type"
					required="false" multiple="true" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage used on orders if the client on the order does not have a VAT percentage"
					required="false" multiple="false" />
			</method>
			<method type="PUT"
				description="Updates an existing order type with parameters specified. If a parameter is not specified the value will be set to null.">
				<param name="id" description="The id of the order type to update" multiple="false"
					required="true" type="UUID" />
				<param type="text" name="name"
					description="A descriptive name of the order type. Duplicate names are not permitted."
					required="true" multiple="false" />
				<param type="text" name="colorCode"
					description="The hexadecimal color code for the color of the order type in the UI e.g. #6699CC"
					required="false" multiple="false" />
				<param type="UUID" name="departmentId"
					description="The id of the default department to which the order type is assigned"
					required="false" multiple="false" />
				<param type="text" name="description"
					description="A longer descriptive text of the order type" required="false" multiple="false" />
				<param type="text" name="materialNo"
					description="Material numbers to assign to order. Number of materialNo arguments must be equal to number of materialQuantity arguments"
					required="false" multiple="true" />
				<param type="float" name="materialQuantity"
					description="Material quantity to assign to order. Number of materialQuantity arguments must be equal to number of materialNo arguments"
					required="false" multiple="false" />
				<param type="float" name="price"
					description="The default fixed price for orders created with the order type. If null order is created as bill of material"
					required="false" multiple="false" />
				<param type="UUID" name="qADocId"
					description="The id quality assurance documents to be assigned to order type" required="false"
					multiple="true" />
				<param type="text" name="repetitionEra"
					description="Repetition era for the order type. Possible values are: DAY, MONTH, YEAR"
					required="false" multiple="false" />
				<param type="float" name="repetitionOccurrence"
					description="Number of eras that need to pass for repetition. e.g., 0.5 twice every era, 1 once every era, 2 every second era, 3 every third era"
					required="false" multiple="false" />
				<param type="UUID" name="responsibleId"
					description="The id of the user assigned as the default responsible of the order type"
					required="false" multiple="false" />
				<param type="UUID" name="userId"
					description="The id of users which are assigned by default on orders with the order type"
					required="false" multiple="true" />
				<param type="UUID" name="vatCodeId"
					description="The id of the VAT code which contains the VAT percentage. The VAT percentage used on orders if the client on the order does not have a VAT percentage"
					required="false" multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage used on orders if the client on the order does not have a VAT percentage. Deprecated since 2025/03/14. Use vatCodeId instead"
					required="false" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="QADocTemplate" url="QADocTemplate">
			<description>QADocTemplate is a template document for quality
				assurance.</description>
			<method type="POST" description="Create a new template">
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="description" description="QADoc Template description"
					multiple="false" />
				<param type="int" name="version" description="QADoc Template version" multiple="false" />
				<param type="text" name="templateProvider" description="QADoc Template provider"
					multiple="false" />
			</method>
			<method type="PUT" description="Update an existing template">
				<param type="UUID" name="id" description="id of the QADoc Template" required="true"
					multiple="false" />
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="description" description="QADoc Template description"
					multiple="false" />
				<param type="text" name="version" description="QADoc Template version" multiple="false" />
				<param type="text" name="templateProvider" description="QADoc Template provider"
					multiple="false" />
			</method>
		</operationunit>
		<operationunit name="QADocTemplateField" url="QADocTemplateField">
			<description>QADocTemplateField is a field, part of a section,
				included into template document
				for quality assurance.</description>
			<method type="POST" description="Create a new template field">
				<param type="UUID" name="templateId"
					description="id of the QADoc Template section which the field is associated with"
					required="true" multiple="false" />
				<param type="text" name="field" description="QADoc Template field name" required="true"
					multiple="false" />
				<param type="text" name="label" description="QADoc Template field label" multiple="false" />
				<param type="text" name="sublabel" description="QADoc Template field sublabel"
					multiple="false" />
				<param type="int" name="fieldNumber" description="QADoc Template field number"
					multiple="false" />
				<param type="text" name="fieldType" description="The type of the field" multiple="false">
					<option type="text" name="text" description="Text field" />
					<option type="text" name="radio" description="Radio buttons field" />
					<option type="text" name="textArea" description="Text area field" />
					<option type="text" name="checkBox" description="Check box field" />
				</param>
				<param type="text" name="fieldUnit" description="Name of a unit of the field"
					multiple="false" />
				<param type="text" name="fieldGroup" description="Common group for relevant fields"
					multiple="false" />
				<param type="boolean" name="inline" description="Indicate if the field is inline"
					multiple="false" />
				<param type="boolean" name="extendable" description="Indicate if the field is extendable"
					multiple="false" />
				<param type="int" name="fieldWidth" description="Width of the field" multiple="false" />
				<param type="int" name="labelWidth" description="Width of a label" multiple="false" />
			</method>
			<method type="PUT" description="Update an existing template">
				<param type="UUID" name="Id" description="id of the QADoc Template field" required="true"
					multiple="false" />
				<param type="text" name="field" description="QADoc Template field name" required="true"
					multiple="false" />
				<param type="text" name="label" description="QADoc Template field label" multiple="false" />
				<param type="text" name="sublabel" description="QADoc Template field sublabel"
					multiple="false" />
				<param type="int" name="fieldNumber" description="QADoc Template field number"
					multiple="false" />
				<param type="text" name="fieldType" description="The type of the field" multiple="false">
					<option type="text" name="text" description="Text field" />
					<option type="text" name="radio" description="Radio buttons field" />
					<option type="text" name="textArea" description="Text area field" />
					<option type="text" name="checkBox" description="Check box field" />
				</param>
				<param type="text" name="fieldUnit" description="Name of a unit of the field"
					multiple="false" />
				<param type="text" name="fieldGroup" description="Common group for relevant fields"
					multiple="false" />
				<param type="boolean" name="inline" description="Indicate if the field is inline"
					multiple="false" />
				<param type="boolean" name="extendable" description="Indicate if the field is extendable"
					multiple="false" />
				<param type="int" name="fieldWidth" description="Width of the field" multiple="false" />
				<param type="int" name="labelWidth" description="Width of a label" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="QADocTemplateSection" url="QADocTemplateSection">
			<description>QADocTemplateSection is a section, part of template
				document for quality assurance.</description>
			<method type="POST" description="Create a new template section">
				<param type="UUID" name="sectionId"
					description="id of the QADoc Template which the section is associated with" required="true"
					multiple="false" />
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="subname" description="QADoc Template section subname"
					multiple="false" />
				<param type="int" name="sectionNumber" description="QADoc Template section number"
					multiple="false" />
				<param type="text" name="tableLayout" description="QADoc Template section table layout"
					multiple="false" />
			</method>
			<method type="PUT" description="Update an existing template">
				<param type="UUID" name="id" description="id of the QADoc Template section"
					required="true" multiple="false" />
				<param type="text" name="name" description="Headline" required="true" multiple="false" />
				<param type="text" name="subname" description="QADoc Template section subname"
					multiple="false" />
				<param type="int" name="sectionNumber" description="QADoc Template section number"
					multiple="false" />
				<param type="text" name="tableLayout" description="QADoc Template section table layout"
					multiple="false" />
			</method>
		</operationunit>
		<operationunit name="ShortMaterialNo" url="ShortMaterialNo">
			<description>Short material numbering is used for allowing quick
				access to materials used most
				often. Material can be associated with
				custom number.</description>
			<method type="POST" description="Create new short number for material">
				<param type="text" name="shortNo" description="Short number to be used" required="true"
					multiple="false" />
				<param type="text" name="materialNo"
					description="Material number which should be associated with short number" required="true"
					multiple="false" />
				<param type="text" name="customDescription" description="Description used for material"
					required="false" multiple="false" />
			</method>
			<method type="PUT" description="Update short number for material">
				<param type="UUID" name="id" description="Short number id" required="true"
					multiple="false" />
				<param type="text" name="shortNo" description="Short number to be used" required="true"
					multiple="false" />
				<param type="text" name="materialNo"
					description="Material number which should be associated with short number" required="true"
					multiple="false" />
				<param type="text" name="customDescription" description="Description used for material"
					required="false" multiple="true" />
			</method>
			<method type="DELETE" description="Delete short material">
				<param type="UUID" name="id" description="Short number id" required="true"
					multiple="false" />
			</method>
			<method type="GET" description="Get short materials">
				<param type="UUID" name="id"
					description="Short number id to be returned, if not provided all short materials will be returned"
					required="false" multiple="true" />
			</method>
		</operationunit>
		<operationunit name="SupplierInvoice" url="SupplierInvoice">
			<description>Supplier Invoice is an invoice received from the
				supplier in OIOUBL, OIOXML or
				Svefaktura format.</description>
			<!-- This should be documented after Supplier API is implemented <method type="DELETE" description="Mark 
				supplier invoice as rejected"> <param type="UUID" name="id" description="The id of the supplier invoice 
				to mark as rejected." required="true" multiple="false" /> </method> -->
			<method type="GET" description="Return a list of invoices based on ids or all">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the invoices to return" />
				<param name="fromDate" multiple="false" required="false" type="date"
					description="Filter on date the invoice was received including the date" />
				<param name="toDate" multiple="false" required="false" type="date"
					description="Filter on date the invoice was received including the date" />
				<param name="approved" multiple="false" required="false" type="boolean"
					description="Filter by approved status" />
				<param name="exported" multiple="false" required="false" type="boolean"
					description="Filter by exported" />
				<param name="status" multiple="false" required="false" type="text"
					description="Filters by status (enum) if this is the only parameter.">
					<option type="text" name="APPROVED"
						description="EDI invoicelines added to order by the user" />
					<option type="text" name="AUTOMATICALLY_APPROVED"
						description="EDI invoicelines added to order automatically during the importing process" />
					<option type="text" name="REJECTED" description="EDI Invoice rejected by the user" />
					<option type="text" name="NOORDER" description="EDI Invoice is not related to an order" />
					<option type="text" name="PENDING"
						description="EDI invoice is not ready to be approved" />
					<option type="text" name="PARTIALLY_PROCESSED"
						description="Not all EDI invoicelines has been added to order" />
					<option type="text" name="MISSING_AGREEMENT"
						description="EDI invoice has been sent to Minuba without an active WholesaleAgreement" />
				</param>
				<include name="supplierLines" description="Include the lines of the supplier invoice" />
				<return name="supplierInvoices" type="SupplierInvoice"
					description="List of invoices found" />
			</method>
			<method type="PATCH" description="Update SupplierInvoice">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the invoice" />
				<param name="responsibleUserId" multiple="false" required="false" type="UUID"
					description="Id of the responsible user to set" />
				<param name="status" multiple="false" required="false" type="date"
					description="The textual status of the supplier invoice (Enum).">
					<option type="text" name="NEW" description="EDI invoices is missing approval" />
					<option type="text" name="APPROVED"
						description="EDI invoice lines added to order by the user" />
					<option type="text" name="AUTOMATICALLY_APPROVED"
						description="EDI invoice lines added to order automatically during the importing process" />
					<option type="text" name="REJECTED" description="EDI invoice rejected by the user" />
					<option type="text" name="NOORDER" description="EDI invoice is not related to an order" />
					<option type="text" name="PENDING"
						description="EDI invoice is not ready to be approved" />
					<option type="text" name="PARTIALLY_PROCESSED"
						description="Not all EDI invoice lines has been added to order" />
					<option type="text" name="MISSING_AGREEMENT"
						description="EDI invoice has been sent to Minuba without an active WholesaleAgreement" />
				</param>
				<param name="exportDate" multiple="false" required="false" type="date"
					description="The date of the latest export of the supplier invoice" />
				<param name="pendingDate" multiple="false" required="false" type="date"
					description="The due date set by set by the users associated with the pending note on the supplier invoice" />
				<param name="pendingNote" multiple="false" required="false" type="date"
					description="The pending note to set on the supplier invoice" />
				<param name="exchangeRate" multiple="false" required="false" type="number"
					description="The exchange rate to set on the supplier invoice. Used if the currency differ from the company settings." />
				<return name="supplierInvoices" type="SupplierInvoice"
					description="List of invoices found" />
			</method>
			<method type="DELETE" description="Rejects a SupplierInvoice">
				<param name="id" multiple="true" required="true" type="UUID"
					description="Id of the supplier invoice(s) being rejected." />
				<param name="rejectNote" multiple="false" required="false" type="String"
					description="A note to set on all rejected supplier invoices." />

			</method>
			<!-- This should be documented after Supplier API is implemented <method type="POST" description="Create 
				new supplier invoice"> <param type="UUID" name="supplierId" description="The id of the supplier this 
				invoice should be associated with" required="true" multiple="false" /> <param type="text" name="invoiceId" 
				description="The invoice number/id" required="true" multiple="false" /> <param type="date" name="invoiceDate" 
				description="The invoice date" required="true" multiple="false" /> <param type="UUID" name="responsibleId" 
				description="The user id of the responsible user" required="false" multiple="false" /> <param type="date" 
				name="dueDate" description="The invoice due date" required="false" multiple="false" /> <param type="text" 
				name="orderReferenceId" description="The order reference number/id" required="false" multiple="false" 
				/> <param type="text" name="note" description="The invoice description (max 255 characters)" required="false" 
				multiple="false" /> </method> <method type="PUT" description="Update supplier invoice"> <param type="UUID" 
				name="id" description="The id of the supplier invoice" required="true" multiple="false" /> <param type="UUID" 
				name="supplierId" description="The id of the supplier this invoice should be associated with" required="true" 
				multiple="false" /> <param type="text" name="invoiceId" description="The invoice number/id" required="true" 
				multiple="false" /> <param type="date" name="invoiceDate" description="The invoice date" required="true" 
				multiple="false" /> <param type="UUID" name="responsibleId" description="The user id of the responsible 
				user" required="false" multiple="false" /> <param type="date" name="dueDate" description="The invoice 
				due date" required="false" multiple="false" /> <param type="text" name="orderReferenceId" description="The 
				order reference number/id" required="false" multiple="false" /> <param type="text" name="note" description="The 
				invoice description (max 255 characters)" required="false" multiple="false" /> </method> -->
			<operation name="Approve" description="" url="SupplierInvoice/Approve">
				<method type="POST"
					description="SupplierInvoiceApprove approves and processes a supplier invoice by distributing lines to the received order/extra work ids. Indexes of parameters are matched, meaning lineIds index 0 is matched with parentIds and budgetLineTypeIds (if any) index 0. Charges and discounts will create seperate lines.">
					<param name="id" multiple="false" required="true" type="UUID"
						description="Id of the supplier invoice being processed." />
					<param name="lineIds" multiple="true" required="conditional" type="UUID"
						description="Ids of the supplier invoice lines being processed (if notOrderRelated is not true and supplier invoice has no orderreference, this is required)." />
					<param name="parentIds" multiple="true" required="false" type="UUID"
						description="Ids of the orders/extra works the corresponding supplier invoice line should be transferred to (null values are respected as corresponding line being not order related)." />
					<param name="budgetLineTypeIds" multiple="true" required="false" type="UUID"
						description="Ids of budgetLineTypes for the created expense line. When none are sent a lookup is made if a budgetLineType has been setup for the wholesaler. This is then set on the line if the order of the parentId contains this budgetLineType." />
					<param name="notOrderRelated" multiple="false" required="conditional" type="boolean"
						description="True if the supplier invoice and lines are not order related. Required if no lineIds are sent. When 'false' we will try to find an order from the orderreference on the supplier invoice." />
					<param name="departmentId" multiple="false" required="false" type="UUID"
						description="If notOrderRelated is true, department can be set on the supplier invoice." />
					<param name="exchangeRate" multiple="false" required="false" type="number"
						description="The exchange rate to set on the supplier invoice. Relevant if the currency differ from the company settings." />
					<param name="vatLookupSource" multiple="false" required="false" type="enum"
						description="The value for which VAT the supplier invoice should use.">
						<option type="text" name="ORDER" description="Choose to use the order's VAT for the order lines when transferred." />
						<option type="text" name="SUPPLIER_DOCUMENT" description="Choose to use the supplier line VAT for the order lines when transferred." />	
					</param>
				</method>
			</operation>
			<operation name="Export" description="" url="SupplierInvoice/Export">
				<method type="POST"
					description="SupplierInvoiceExport exports an approved supplier invoice to the bookkepping
				system.">
					<param name="id" multiple="false" required="true" type="UUID"
						description="Id of the supplier invoice to be exported" />
				</method>
			</operation>
			<operation name="File" description="" url="SupplierInvoice/File">
				<method type="GET" description="Return a file">
					<param name="id" multiple="false" required="true" type="UUID"
						description="Id of the invoice to return" />
				</method>
				<method type="POST" description="Creates a SupplierInvoice from an OIOUBL file.">
					<param name="file" multiple="false" required="true" type="OIOUBL"
						description="The file of the supplier invoice" />
					<param name="parentId" multiple="false" required="false" type="UUID"
						description="Id of the order/extra work to upload the invoice to" />
					<param name="returnAll" multiple="false" required="false" type="Boolean"
						description="If true returns all fields of the supplier invoice, otherwise only returns the id of the supplier invoice." />
				</method>
			</operation>
			<operation name="OIO" description="" url="SupplierInvoice/OIO">
				<method type="GET"
					description="SupplierInvoiceOio returns the OIO UBL file received from the supplier. Unsupported formats will result in return code 415 Unsupported Media Type. Requests for invoices with no document attached will return code 204 No Content. (Deprecated since 2024/10/10. Use SupplierInvoiceFile instead)">
					<param name="id" multiple="false" required="true" type="UUID"
						description="Id of the invoice to return" />
				</method>
			</operation>
			<operation name="PDF" description="" url="SupplierInvoice/PDF">
				<method type="GET"
					description="SupplierInvoicePdf returns a pdf file representing the PEPPOL/UBL/SVEFAK invoice or credit note received from the supplier. If the invoice contains attachments, then the attachments are appended in the returned pdf file. Manually created	invoices will return the uploaded pdf or a pdf containing the uploaded image. The following media types are	supported and returned as pdf: pdf, jpg, png, gif, bnp. Unsupported formats will result in return code 415 Unsupported Media Type. Requests for invoices with no document attached will	return code 204 No Content.">
					<param name="id" multiple="false" required="true" type="UUID"
						description="Id of the supplier invoice to return" />
					<return name="N/A" type="application/pdf"
						description="Pdf representation of the supplier invoice and attachments specified. Header response includes if supplier invoice is manually created." />
				</method>
			</operation>
		</operationunit>
		<operationunit name="Task" url="Task">
			<description>Task id(s) to be returned, if id is not provided all
				tasks will be returned.</description>
			<method type="GET" description="Return a list of tasks">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Id of the tasks to return" />
				<param type="boolean" name="allActive"
					description="If true all active tasks will be returned" required="false" multiple="false" />
				<param name="taskType" type="text" required="false" multiple="false"
					description="The type of tasks to return. Default value is WORK.">
					<option name="WORK" description="Work tasks" />
					<option name="ABSENCE" description="Absence tasks" />
				</param>
			</method>
		</operationunit>
		<operationunit name="TaxDeductionClient" url="TaxDeductionClient">
			<description>TaxDeductionClient represents the information about the
				deductable client in the
				household on a TaxDeductionInfo. A
				TaxDeductionInfo, can have multiple TaxDeductionClients</description>
			<method type="DELETE" description="Delete a TaxDeductionClient">
				<param name="id" multiple="false" required="true" type="UUID"
					description="The TaxDeductionClient id to find TaxDeductionClient from" />
			</method>
			<method type="GET" description="Return a list of tax deduction clients">
				<param name="id" multiple="true" required="conditional*" type="UUID"
					description="TaxDeductionClient ids to find TaxDeductionClients from" />
				<param name="taxDeductionInfoId" multiple="false" required="conditional*" type="UUID"
					description="The taxDeductionInfo id to find TaxDeductionClients from" />
			</method>
			<method type="PUT" description="Update a TaxDeductionClient">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the TaxDeductionClient" />
				<param name="pin" multiple="false" required="false" type="int"
					description="The pin to set on taxDeductionClient" />
				<param name="taxDeductionAmount" multiple="false" required="true" type="int"
					description="The tax deduction amount to set on taxDeductionClient" />
				<param name="clientName" multiple="false" required="true" type="text"
					description="The name of the deductable client in the household" />
			</method>
			<method type="POST" description="Create a taxDeductionClient">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the taxDeductionClient" />
				<param name="taxDeductionInfoId" multiple="false" required="true" type="UUID"
					description="Id of the TaxDeductionInfo" />
				<param name="pin" multiple="false" required="false" type="int"
					description="The pin to set on taxDeductionClient" />
				<param name="taxDeductionAmount" multiple="false" required="true" type="int"
					description="The tax deduction amount to set on taxDeductionClient" />
				<param name="clientName" multiple="false" required="true" type="text"
					description="The name of the deductable client in the household" />
			</method>
		</operationunit>
		<operationunit name="TaxDeductionInfo" url="TaxDeductionInfo">
			<description>TaxDeductionInfo represents the tax deduction
				information on an order or invoice</description>
			<method type="DELETE" description="Sets the TaxDeductionInfo as deleted">
				<param type="UUID" name="id" description="The id of the TaxDeductionInfo" required="true"
					multiple="false" />
			</method>
			<method type="GET"
				description="TaxDeductionInfo returns the deductions on the order or invoice. Either id, invoiceId or orderId is required.">
				<param name="id" multiple="false" required="conditional*" type="UUID"
					description="Id of the TaxDeductionInfo to return" />
				<param name="orderId" multiple="false" required="conditional*" type="UUID"
					description="orderId of the TaxDeductionInfo to return" />
				<param name="invoiceId" multiple="false" required="conditional*" type="UUID"
					description="invoiceId of the TaxDeductionInfo to return" />
			</method>
			<method type="PUT" description="Update a tax deduction info">
				<param type="UUID" name="id" description="The tax deduction info id" required="true"
					multiple="false" />
				<param type="date" name="exportedDate" description="The exported date to be set"
					required="false" multiple="false" />
				<param name="deductionType" required="true" multiple="false"
					description="The type of tax deduction" type="text">
					<option type="text" name="ROT" description="The tax deduction type ROT" />
					<option type="text" name="RUT" description="The tax deduction type RUT" />
					<option type="text" name="GREEN" description="The tax deduction type GREEN" />
				</param>
				<param type="text" name="externalId"
					description="The external reference of tax deduction info" required="false" multiple="false" />
				<param type="text" name="source" description="The source of tax deduction info"
					required="false" multiple="false" />
				<param type="text" name="homeownerAssociationNo"
					description="The home owner association number of tax deduction info" required="false"
					multiple="false" />
				<param type="text" name="propertyName"
					description="The property name of tax deduction info" required="false" multiple="false" />
				<param type="text" name="apartmentNo"
					description="The apartment number of tax deduction info" required="false" multiple="false" />
				<param type="float" name="defaultClientPin"
					description="The default client pin of tax deduction info" required="false" multiple="false" />
				<param type="boolean" name="updateAllOpenClientRelatedEntities"
					description="Set to true to update all quotations/orders/invoices related to the client"
					required="false" multiple="false" />
			</method>
			<method type="POST" description="Create a new tax deduction info">
				<param type="UUID" name="orderId" description="The associated order"
					required="conditional. Only one of either invoiceId or orderId can be associated with the tax deduction info"
					multiple="false" />
				<param type="UUID" name="invoiceId" description="The associated invoice"
					required="conditional. Only one of either invoiceId or orderId can be associated with the tax deduction info"
					multiple="false" />
				<param name="deductionType" required="true" multiple="false"
					description="The type of tax deduction" type="text">
					<option type="text" name="ROT" description="The tax deduction type ROT" />
					<option type="text" name="RUT" description="The tax deduction type RUT" />
					<option type="text" name="GREEN" description="The tax deduction type GREEN" />
				</param>
				<param type="UUID" name="clientId" description="The associated client" required="false"
					multiple="false" />
				<param type="text" name="externalId"
					description="The external reference of tax deduction info" required="false" multiple="false" />
				<param type="text" name="source" description="The source of tax deduction info"
					required="false" multiple="false" />
				<param type="text" name="homeownerAssociationNo"
					description="The home owner association number of tax deduction info" required="false"
					multiple="false" />
				<param type="text" name="propertyName"
					description="The property name of tax deduction info" required="false" multiple="false" />
				<param type="text" name="apartmentNo"
					description="The apartment number of tax deduction info" required="false" multiple="false" />
				<param type="float" name="defaultClientPin"
					description="The default client pin of tax deduction info" required="false" multiple="false" />
				<param type="boolean" name="updateAllOpenClientRelatedEntities"
					description="Set to true to update all quotations/orders/invoices related to the client"
					required="false" multiple="false" />
			</method>
			<operation name="Reset" description="" url="TaxDeduction/Reset">
				<method type="POST"
					description="Reset the tax deduction lines on a tax deduction info. Returning the lines, to match the invoice lines">
					<param name="id" required="true" multiple="false"
						description="The id of the tax deduction info" type="UUID" />
				</method>
			</operation>
		</operationunit>
		<operationunit name="TaxDeductionLine" url="TaxDeductionLine">
			<description>Tax deduction lines are the individual lines associated
				with a tax deduction info</description>
			<method type="GET" description="Returns the tax deduction line(s) with the given id(s)">
				<param name="id" multiple="true" required="conditional*" type="UUID"
					description="Id of the tax deduction line(s) to return. Either id or taxDeductionInfoId is required" />
				<param name="taxDeductionInfoId" multiple="false" required="conditional*" type="UUID"
					description="Tax deduction info of the tax deduction line(s) to return. Either id or taxDeductionInfoId is required" />
			</method>
			<method type="PUT" description="Update a tax deduction line">
				<param type="UUID" name="id" description="The tax deduction line id" required="true"
					multiple="false" />
				<param type="float" name="totalPriceInclVat" description="The total price including VAT."
					required="true" multiple="false" />
				<param type="text" name="workType" description="The work type of the tax deduction line"
					required="true" multiple="false">
					<option type="text" name="CONSTRUCTION"
						description="Bygg - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK"
						description="GlasPlatarbete - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK"
						description="MarkDraneringarbete - Only for deduction type ROT" />
					<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING"
						description="MalningTapetsering - Only for deduction type ROT" />
					<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
					<option type="text" name="CONSTRUCTION50"
						description="Bygg with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="ELECTRICITY50"
						description="El with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GLASSMETALWORK50"
						description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="GROUNDDRAINAGEWORK50"
						description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="MASONRY50"
						description="Murning with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="PAINTINGWALLPAPERING50"
						description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="HVAC50"
						description="Vvs with 50% reduction - Only for deduction type ROT" />
					<option type="text" name="CLEANING"
						description="Stadning - Only for deduction type RUT" />
					<option type="text" name="TEXTILECLOTHING"
						description="KladOchTextilvard - Only for deduction type RUT" />
					<option type="text" name="SNOWPLOWING"
						description="Snoskottning - Only for deduction type RUT" />
					<option type="text" name="GARDENING"
						description="Tradgardsarbete - Only for deduction type RUT" />
					<option type="text" name="BABYSITTING"
						description="Barnpassning - Only for deduction type RUT" />
					<option type="text" name="OTHERCARE"
						description="Personligomsorg - Only for deduction type RUT" />
					<option type="text" name="MOVINGSERVICES"
						description="Flyttjanster - Only for deduction type RUT" />
					<option type="text" name="ITSERVICES"
						description="ItTjanster - Only for deduction type RUT" />
					<option type="text" name="MAJORAPPLIANCEREPAIR"
						description="ReparationAvVitvaror - Only for deduction type RUT" />
					<option type="text" name="FURNISHING"
						description="Moblering - Only for deduction type RUT" />
					<option type="text" name="HOMEMAINTENANCE"
						description="TillsynAvBostad - Only for deduction type RUT" />
					<option type="text" name="TRANSPORTATIONSERVICES"
						description="TransportTillForsaljning - Only for deduction type RUT" />
					<option type="text" name="WASHINGANDCAREOFCLOTHING"
						description="TvattVidTvattinrattning - Only for deduction type RUT" />
					<option type="text" name="SOLARCELLS"
						description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
					<option type="text" name="SOLARCELLS15"
						description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
					<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
						description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
					<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
						description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
					<option type="text" name="OTHERCOSTS" description="For all deduction types" />
					<option type="text" name="EXCLUDE"
						description="Excludes this line from the export - For all deduction types" />
				</param>
				<param type="float" name="quantity"
					description="The quantity of the tax deduction line. Required if the tax deduction line is time related"
					required="conditional*" multiple="false" />
				<param type="float" name="deductable"
					description="The deductable hours of the tax deduction line. If not specified, this will be equal to the quantity. Defaults to the quantity on the line"
					multiple="false" />
				<param type="boolean" name="isTime" required="false" multiple="false"
					description="If the tax deduction line is time related" />
				<param type="text" name="description"
					description="The description of the tax deduction line" required="false" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="TaxDeductionTemplate" url="TaxDeductionTemplate">
			<description>TaxDeductionTemplate represents the template tax
				deduction information on a client,
				which is the default information
				used when creating the tax deduction information on an order
				or
				invoice.</description>
			<method type="DELETE" description="Delete a client's TaxDeductionTemplate">
				<param name="id" multiple="false" required="true" type="UUID"
					description="The TaxDeductionTemplate id to find TaxDeductionTemplate from" />
			</method>
			<method type="GET" description="Return a client's tax deduction info">
				<param name="id" multiple="false" required="conditional*" type="UUID"
					description="TaxDeductionTemplate id to find TaxDeductionTemplate from" />
				<param name="clientId" multiple="false" required="conditional*" type="UUID"
					description="The client id to find TaxDeductionTemplate from" />
			</method>
			<method type="PUT" description="Update a client specific TaxDeductionTemplate">
				<param name="id" multiple="false" required="true" type="UUID"
					description="Id of the TaxDeductionTemplate" />
				<param name="clientId" multiple="false" required="true" type="UUID"
					description="Id of the client" />
				<param name="defaultClientPin" multiple="false" required="false" type="int"
					description="Can be used as a default clientPin to set on taxDeductionClients" />
				<param name="apartmentNo" multiple="false" required="false" type="text"
					description="The number of the apartment, used for identifying the apartment where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="propertyName" multiple="false" required="false" type="text"
					description="Name of the property, used for identifying the property where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="homeownerAssociationNo" multiple="false" required="false" type="text"
					description="The identifying number of any home association, used for identifying association of the property where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="deductionType" description="The type of tax deduction" multiple="false"
					required="false" type="text">
					<option type="text" name="ROT" description="The tax deduction type ROT" />
					<option type="text" name="RUT" description="The tax deduction type RUT" />
					<option type="text" name="GREEN" description="The tax deduction type GREEN" />
				</param>
			</method>
			<method type="POST" description="Create a client specific TaxDeductionTemplate">
				<param name="clientId" multiple="false" required="true" type="UUID"
					description="Id of the client" />
				<param name="defaultClientPin" multiple="false" required="false" type="int"
					description="Can be used as a default clientPin to set on taxDeductionClients" />
				<param name="apartmentNo" multiple="false" required="false" type="text"
					description="The number of the apartment, used for identifying the apartment where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="propertyName" multiple="false" required="false" type="text"
					description="Name of the property, used for identifying the property where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="homeownerAssociationNo" multiple="false" required="false" type="text"
					description="The identifying number of any home association, used for identifying association of the property where the work was done. Optional, and only used for ROT and GREEN." />
				<param name="deductionType" description="The type of tax deduction" multiple="false"
					required="false" type="text">
					<option type="text" name="ROT" description="The tax deduction type ROT" />
					<option type="text" name="RUT" description="The tax deduction type RUT" />
					<option type="text" name="GREEN" description="The tax deduction type GREEN" />
				</param>
			</method>
		</operationunit>
		<operationunit name="TimesheetApprove" url="Timesheet/Approve">
			<description />
			<method type="GET" description="Get a list of timesheet entries">
				<param name="id" required="false" multiple="true"
					description="The ids of entries to retrieve" type="UUID" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return entries created/updated after this time." />
				<param type="text" name="type" description="The type of the approval" required="false"
					multiple="false">
					<option name="SUBMITTED" description="The approval is submitted by user" />
					<option name="APPROVED" description="The approval is approved by administrator/manager" />
					<option name="EXPORTED" description="The approval is exported by administrator/manager" />
				</param>
				<param name="userId" multiple="true" required="false" type="UUID"
					description="Find entries for specific users" />
				<return name="timesheetApprovals" description="List of approvals matching the request"
					type="TimesheetApprove" />
			</method>
			<method type="POST" description="Create a new timesheet approval">
				<param type="UUID" name="userId"
					description="The id of the user this approval belongs to" required="true" multiple="false" />
				<param type="date" name="date" description="The date of the approval" required="true"
					multiple="false" />
				<param type="text" name="type" description="The type of the approval" required="true"
					multiple="false">
					<option name="SUBMITTED" description="The approval is submitted by user" />
					<option name="APPROVED" description="The approval is approved by administrator/manager" />
					<option name="EXPORTED" description="The approval is exported by administrator/manager" />
				</param>
			</method>
			<method type="DELETE" description="Delete the latest timesheet approval of this type">
				<param type="UUID" name="userId"
					description="The id of the user this approval belongs to" required="true" multiple="false" />
				<param type="text" name="type" description="The type of the approval" required="true"
					multiple="false">
					<option name="SUBMITTED" description="The hours are submitted" />
					<option name="APPROVED" description="The hours are approved by administrator/manager" />
					<option name="EXPORTED"
						description="The approved  hours are exported by administrator/manager" />
				</param>
			</method>
		</operationunit>
		<operationunit name="TimesheetEntry" url="TimesheetEntry">
			<description />
			<method type="GET" description="Get a list of timesheet entries">
				<param name="id" required="false" multiple="true"
					description="The ids of entries to retrieve" type="UUID" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return entries created/updated after this time." />
				<param name="userId" multiple="true" required="false" type="UUID"
					description="Find entries for specific users" />
				<param name="dateFrom" multiple="false" required="false" type="datetime"
					description="Only return entries with target time on or after this date" />
				<param name="dateTo" multiple="false" required="false" type="datetime"
					description="Only return entries with target time before this date excluding the date itself" />
				<include name="additions" description="Include the add on for the entry" />
				<include name="expenseLine" description="Include the Expense Line for the entry" />
				<return name="timesheetEntries" description="List of entries matching the request"
					type="TimesheetEntry" />
			</method>
			<method type="DELETE" description="Delete a timesheet entry">
				<param type="UUID" name="id" description="The id of timesheet entry" required="true"
					multiple="false" />
			</method>
			<method type="POST"
				description="Create new timesheet entries and realise timesheet planned entries.">
				<param name="userId" multiple="false" required="true" type="UUID"
					description="The user that the timesheet entry will be added to" />
				<param type="datetime" name="startTime"
					description="The start time of the timesheet entry" required="true" multiple="false" />
				<param type="datetime" name="endTime" description="The end time of the timesheet entry"
					required="true" multiple="false" />
				<param type="boolean" name="addBreaks"
					description="Breaks will be added if the timesheet entry overlaps break time. In this case the entry will split in 2. One before break and one after"
					required="false" multiple="false" />
				<param type="UUID" name="timesheetPlannedEntryId"
					description="The id of timesheet planned entry. This will be used to realise the timesheet planned entry by creating a timesheet entry and associating it with the timesheet planned entry."
					required="false" multiple="false" />
				<param name="orderId"
					description="The id of the order the timesheet entry will be associated with" multiple="false"
					required="false" type="UUID" />
				<param name="activityId"
					description="The id of the activity the timesheet entry will be associated with"
					multiple="false" required="false" type="UUID" />
				<param name="taskId" description="The id of the task that the timesheet entry will have"
					multiple="false" required="false" type="UUID" />
				<param type="text" name="note" description="The note that the timesheet entry will have"
					required="false" multiple="false" />
				<param name="externalId" description="The id of the timesheet entry in your system"
					multiple="false" required="false" type="text" />
			</method>
		</operationunit>
		<operationunit name="TimesheetDayEntry" url="TimesheetDayEntry">
			<description />
			<method type="DELETE" description="Delete a timesheet day entry">
				<param type="UUID" name="id" description="The id of timesheet day entry" required="true"
					multiple="false" />
			</method>
			<method type="GET"
				description="Get a list of timesheet day entries. These entries are made by user registering items such as expenses, allowances, milage etc.">
				<param name="userId" multiple="true" required="false" type="UUID"
					description="Find entries for specific users" />
				<param name="dateFrom" multiple="false" required="false" type="datetime"
					description="Only return entries with target time on or after this date" />
				<param name="dateTo" multiple="false" required="false" type="datetime"
					description="Only return entries with target time before this date excluding the date itself" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return entries created/updated after this time." />
				<param type="boolean" name="includedInSalaryExport"
					description="Filter if the entries are included the salary export" required="false"
					multiple="false" />
				<include name="expenseLine" description="Include the Expense Line for the entry" />
				<return name="timesheetDayEntries" description="List of entries matching the request"
					type="TimesheetDayEntry" />
			</method>
			<method type="PATCH" description="Update timesheet day entry">
				<param type="UUID" name="id" description="The id of the tripEvent to be updated"
					required="true" multiple="false" />
				<param name="exportedDate" multiple="false" required="false" type="datetime"
					description="Set the exported date in ISO format, if param is not provided exported date will be set to null" />
			</method>
		</operationunit>
		<operationunit name="TimesheetDayType" url="TimesheetDayType">
			<method type="GET"
				description="Get a list of active timesheet day types. These entries are made by the user in the administration">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Find entries with specific id, if no id is found a list active types are returned" />
				<param type="boolean" name="includeInactive"
					description="Default value is false, if true the inactive entries are included in list"
					required="false" multiple="false" />
				<return name="timesheetDayType" description="A list of entries matching the request"
					type="timesheetDayType" />
			</method>
		</operationunit>
		<operationunit name="TimesheetPlannedEntry" url="TimesheetPlannedEntry">
			<description />
			<method type="GET" description="Get a list of planned entries.">
				<param name="id" required="false" multiple="true"
					description="The ids of entries to retrieve" type="UUID" />
				<param name="updatedAfter" multiple="false" required="false" type="datetime"
					description="Only return entries created/updated after this time." />
				<param name="userId" multiple="false" required="false" type="UUID"
					description="Find entries for specific user" />
				<param name="dateFrom" multiple="false" required="false" type="datetime"
					description="Return entries with begin time after this time" />
				<param name="dateTo" multiple="false" required="false" type="datetime"
					description="Return entries with end time after this time, excluding the date itself" />
				<return name="timesheetPlannedEntries"
					description="List of entries matching the request" type="TimesheetPlannedEntry" />
			</method>
			<method type="DELETE" description="Delete a timesheet planned entry">
				<param type="UUID" name="id" description="The id of a planned entry" required="true"
					multiple="false" />
			</method>
			<method type="POST" description="Create new timesheet planned entries">
				<param name="userId" multiple="false" required="true" type="UUID"
					description="The user that the timesheet planned entry will be added to" />
				<param type="datetime" name="startTime"
					description="The start time of the timesheet planned entry" required="true" multiple="false" />
				<param type="datetime" name="endTime"
					description="The end time of the timesheet planned entry" required="true" multiple="false" />
				<param name="orderId"
					description="The id of the order the timesheet planned entry will be associated with"
					multiple="false" required="false" type="UUID" />
				<param name="activityId"
					description="The id of the activity the timesheet planned entry will be associated with"
					multiple="false" required="false" type="UUID" />
				<param name="taskId"
					description="The id of the task that the timesheet planned entry will have" multiple="false"
					required="false" type="UUID" />
				<param type="text" name="note"
					description="The note that the timesheet planned entry will have" required="false"
					multiple="false" />
				<param name="externalId"
					description="The id of the timesheet planned entry in your system" multiple="false"
					required="false" type="text" />
			</method>
		</operationunit>
		<operationunit name="TripEvent" url="TripEvent">
			<description>TripEvent is used to show which trips a user has taken</description>
			<method type="POST" description="Create new tripEvent">
				<param type="UUID" name="userId"
					description="(deprecated since 2024/06/14. Use gpsDevice instead. Will be discarded on submission.) The id of the user this tripEvent will be saved under. If the value is null then the user Id will be retrieved from gpsDevice."
					required="false" multiple="false" />
				<param type="UUID" name="gpsDeviceId"
					description="The GPS device used during the tripEvent" required="true" multiple="false" />
				<param type="dateTime" name="startTime" description="The start time of the tripEvent"
					required="true" multiple="false" />
				<param type="text" name="startLocation" description="The address of the start location"
					required="true" multiple="false" />
				<param type="dateTime" name="endTime"
					description="The end time of the tripEvent. Used when the trip has ended" required="false"
					multiple="false" />
				<param type="text" name="endLocation"
					description="The address of the end location. Used when the trip has ended" required="false"
					multiple="false" />
				<param type="text" name="description" description="description of the tripEvent"
					required="false" multiple="false" />
				<param type="text" name="remark" description="Remarks, used for additional information"
					required="false" multiple="false" />
				<param type="float" name="tripDistance"
					description="The distance of the tripEvent in kilometers" required="false" multiple="false" />
				<param type="boolean" name="locked"
					description="If true the tripEvent will be locked and will not be editable after creation"
					required="false" multiple="false" />
			</method>
			<method type="PATCH" description="Update tripEvent">
				<param type="UUID" name="id" description="The id of the tripEvent to be updated"
					required="true" multiple="false" />
				<param type="UUID" name="userId"
					description="(deprecated since 2024/06/14. Use gpsDevice instead. Will be discarded on submission.) The id of the user this tripEvent will be saved under"
					required="false" multiple="false" />
				<param type="UUID" name="gpsDeviceId"
					description="The GPS device used during the tripEvent" required="false" multiple="false" />
				<param type="date" name="startTime" description="The start time of the tripEvent"
					required="false" multiple="false" />
				<param type="text" name="startLocation" description="The address of the start location"
					required="false" multiple="false" />
				<param type="date" name="endTime"
					description="The end time of the tripEvent. Used when the trip has ended" required="false"
					multiple="false" />
				<param type="text" name="endLocation"
					description="The address of the end location. Used when the trip has ended" required="false"
					multiple="false" />
				<param type="text" name="description" description="Description of the tripEvent"
					required="false" multiple="false" />
				<param type="text" name="remark" description="Remarks, used for additional information"
					required="false" multiple="false" />
				<param type="float" name="tripDistance"
					description="The distance of the tripEvent in kilometers" required="false" multiple="false" />
				<param type="boolean" name="locked"
					description="If true the tripEvent will be locked and will not be editable" required="false"
					multiple="false" />
			</method>
			<method type="DELETE" description="Delete tripEvent">
				<param type="UUID" name="id" description="The id of the tripEvent to be deleted"
					required="true" multiple="false" />
			</method>
			<method type="GET" description="Get tripEvents">
				<param type="UUID" name="id"
					description="If this is not null then the tripEvents with the given ids will be returned."
					required="false" multiple="true" />
				<param type="UUID" name="userId"
					description="The id of the user that the tripEvents should be retrieved for" required="false"
					multiple="false" />
				<param type="date" name="startDate"
					description="The startDate and endDate are used to get the tripEvents that are between these two dates"
					required="false" multiple="false" />
				<param type="date" name="endDate"
					description="The startDate and endDate are used to get the tripEvents that are between these two dates"
					required="false" multiple="false" />
				<return name="TripEvent" type="TripEvent"
					description="List of TripEvents for the specified user between the given start- and end date" />
			</method>
		</operationunit>
		<operationunit name="User" url="User">
			<description>Active users in the company.</description>
			<method type="PATCH" description="Update user data.">
				<param type="UUID" name="id" description="The id of the user" required="true"
					multiple="false" />
				<param type="text" name="firstname" description="The first name of the user"
					required="false" multiple="false" />
				<param type="text" name="surname" description="The surname of the user" required="false"
					multiple="false" />
				<param type="text" name="mobile" description="The user’s mobile number" required="false"
					multiple="false" />
				<param type="text" name="initials" description="The initials of the user"
					required="false" multiple="false" />
				<param type="text" name="description" description="A description of the user"
					required="false" multiple="false" />
			</method>
			<method type="POST"
				description="Create new user. Contact Minuba in order to get access to this method">
				<param type="text" name="userType" description="The type of user created" required="true"
					multiple="false">
					<option name="SUPER_USER" description="All rights and functionalities." />
					<option name="USER"
						description="Standard user. Edit work order, material registration, quality assurance, see others plan incl. resource user" />
					<option name="RESOURCE_USER"
						description="Time registration, time reports, see work orders, handle notes and documentation" />
					<option name="RESOURCE"
						description="Can not log in. For example hired installers, equipment, machines, etc. Is handled by an administrator." />
				</param>
				<param type="UUID" name="employeeType"
					description="Id of the employee type the user is created with" required="false"
					multiple="false" />
				<param type="text" name="firstname" description="The first name of the user"
					required="false" multiple="false" />
				<param type="text" name="surname" description="The surname of the user" required="false"
					multiple="false" />
				<param type="text" name="mobile" description="The user’s mobile number" required="false"
					multiple="false" />
				<param type="boolean" name="enableTimeBalance"
					description="True if timesheet balances should be calculated for the user" required="false"
					multiple="false" />
				<param type="text" name="initials" description="The initials of the user"
					required="false" multiple="false" />
				<param type="text" name="description" description="A description of the user"
					required="false" multiple="false" />
				<param type="text" name="employeeNumber" description="The employee number of the user"
					required="false" multiple="false" />
				<param type="text" name="email" description="The email address of the user"
					required="true" multiple="false" />
				<param type="text" name="role" description="The roles the user should have"
					required="false" multiple="true">
					<option name="ViewPlanning" description="The user can view the planning tab" />
					<option name="PlanOwnTime" description="The user can plan their own time" />
					<option name="HideOverview" description="The user can’t see the overview tab" />
					<option name="SeeWorkorders" description="The user can see work orders" />
					<option name="Invoicing" description="The user can invoice orders" />
					<option name="InvoiceHandler" description="The user can approve invoices" />
					<option name="Ordering" description="The user can create, approve, and reject orders" />
					<option name="Administrator" description="Administrative user" />
					<option name="TimeRegistrationHandler"
						description="The user can plan and approve other users' time" />
					<option name="Planning" description="The user can plan other users' time" />
					<option name="TimeRegistration" description="The user can register time" />
					<option name="HidePrices" description="The user can’t see prices" />
					<option name="WholesalerOrdering"
						description="The user can process wholesaler invoices and orders" />
					<option name="Enterprise"
						description="The user can create and update enterprise orders" />
					<option name="ExtraWork"
						description="The user can create, approve, and reject extra work" />
					<option name="QuotationHandler"
						description="The user can create, approve, and reject quotations, orders, and extra work" />
				</param>
				<param type="boolean" name="welcomemail"
					description="If true a welcome mail is sent to the user when on creation" required="false"
					multiple="false" />
			</method>
			<method type="PUT"
				description="Update a user. Contact Minuba in order to get access to this method">
				<param type="UUID" name="id" description="The id of the user" required="true"
					multiple="false" />
				<param type="text" name="userType" description="The type of user created" required="true"
					multiple="false">
					<option name="SUPER_USER" description="All rights and functionalities." />
					<option name="USER"
						description="Standard user. Edit work order, material registration, quality assurance, see others plan incl. resource user" />
					<option name="RESOURCE_USER"
						description="Time registration, time reports, see work orders, handle notes and documentation" />
					<option name="RESOURCE"
						description="Can not log in. For example hired installers, equipment, machines, etc. Is handled by an administrator." />
				</param>
				<param type="UUID" name="employeeType"
					description="Id of the employee type the user is created with" required="false"
					multiple="false" />
				<param type="text" name="firstname" description="The first name of the user"
					required="false" multiple="false" />
				<param type="text" name="surname" description="The surname of the user" required="false"
					multiple="false" />
				<param type="text" name="mobile" description="The user’s mobile number" required="false"
					multiple="false" />
				<param type="boolean" name="enableTimeBalance"
					description="True if timesheet balances should be calculated for the user" required="false"
					multiple="false" />
				<param type="text" name="initials" description="The initials of the user"
					required="false" multiple="false" />
				<param type="text" name="description" description="A description of the user"
					required="false" multiple="false" />
				<param type="text" name="employeeNumber" description="The employee number of the user"
					required="false" multiple="false" />
				<param type="text" name="email" description="The email address of the user"
					required="true" multiple="false" />
				<param type="text" name="role" description="The roles the user should have"
					required="false" multiple="true">
					<option name="ViewPlanning" description="The user can view the planning tab" />
					<option name="PlanOwnTime" description="The user can plan their own time" />
					<option name="HideOverview" description="The user can’t see the overview tab" />
					<option name="SeeWorkorders" description="The user can see work orders" />
					<option name="Invoicing" description="The user can invoice orders" />
					<option name="InvoiceHandler" description="The user can approve invoices" />
					<option name="Ordering" description="The user can create, approve, and reject orders" />
					<option name="Administrator" description="Administrative user" />
					<option name="TimeRegistrationHandler"
						description="The user can plan and approve other users' time" />
					<option name="Planning" description="The user can plan other users' time" />
					<option name="TimeRegistration" description="The user can register time" />
					<option name="HidePrices" description="The user can’t see prices" />
					<option name="WholesalerOrdering"
						description="The user can process wholesaler invoices and orders" />
					<option name="Enterprise"
						description="The user can create and update enterprise orders" />
					<option name="ExtraWork"
						description="The user can create, approve, and reject extra work" />
					<option name="QuotationHandler"
						description="The user can create, approve, and reject quotations, orders, and extra work" />
				</param>
			</method>
			<method type="DELETE"
				description="Delete a user. Contact Minuba in order to get access to this method">
				<param type="UUID" name="id" description="The id of the user" required="true"
					multiple="false" />
			</method>
			<method type="GET" description="Return list of users.">
				<param name="id" multiple="true" required="false" type="UUID"
					description="Ids of the users to return. If id-parameter is specified then other parameters are ignored" />
				<param name="orderId" multiple="false" required="false" type="UUID"
					description="Return all attached users to the specified order. Ignored if id-parameter is provided" />
				<param name="currentUser" multiple="false" required="false" type="boolean"
					description="Return the current user. Ignored if id- or orderId-parameters are specified" />
				<param name="userType" multiple="false" required="false" type="text"
					description="The type of user to return. Ignored if id-, orderId- or currentUser-parameters are specified">
					<option name="SUPER_USER" description="All rights and functionalities" />
					<option name="USER"
						description="Standard user. Edit work order, material registration, quality assurance, see others plan incl. resource user" />
					<option name="RESOURCE_USER"
						description="Time registration, time reports, see work orders, handle notes and documentation" />
					<option name="RESOURCE"
						description="Can not log in. For example hired installers, equipment, machines, etc. Is handled by an administrator" />
				</param>
				<param type="boolean" name="includeDeleted"
					description="If set to true both active and deleted users will be returned. This parameter will be ignored if either id- or orderId-parameters are specified"
					required="false" multiple="false" />
				<return name="users" type="User" description="List of users found" />
			</method>
		</operationunit>
		<operationunit name="VatCode" url="VatCode">
			<description>VatCode represent information about the customer's available VAT rates.</description>
			<method type="DELETE" description="Delete a VAT code.">
				<param type="UUID" name="id" description="The id of the VAT code." required="true"
					multiple="false" />
			</method>
			<method type="GET" description="Get a list of VAT codes.">
				<param type="UUID" name="id"
					description="The id of the VAT code to return. This will ignore the 'onlyActive' parameter."
					required="false" multiple="true" />
				<param type="boolean" name="onlyActive"
					description="If set to true only active VAT codes will be returned unless id(s) have been specified."
					required="false" multiple="false" />
			</method>
			<method type="PATCH" description="Update a VAT code.">
				<param type="UUID" name="id" description="The id of the VAT code." required="true"
					multiple="false" />
				<param type="text" name="name" description="The name of the VAT code." required="false"
					multiple="false" />
				<param type="boolean" name="companyDefault"
					description="If the VAT code should be set as the company's default." required="false"
					multiple="false" />
			</method>
			<method type="POST" description="Create a VAT code.">
				<param type="text" name="name" description="The name of the VAT code." required="true"
					multiple="false" />
				<param type="boolean" name="companyDefault"
					description="If the VAT code should be set as the company's default." required="false"
					multiple="false" />
				<param type="float" name="vatPercentage"
					description="The VAT percentage of the VAT code." required="true" multiple="false" />
			</method>
		</operationunit>
		<operationunit name="WholesaleAgreement" url="WholesaleAgreement">
			<description>The agreement with the wholesaler</description>
			<method type="POST" description="Create a new wholesaler agreement">
				<param type="UUID" name="wholesalerId"
					description="The id of the wholesaler to create an agreement with" required="true"
					multiple="false" />
				<param type="text" required="conditional*" multiple="false" name="agreementNumber"
					description="The agreement number that the wholesaler can use to identify the customer in documents sent by the wholesaler" />
				<param type="boolean" required="false" multiple="false" name="preferred"
					description="If the wholesaler's materials are to be shown first when searching for materials. Will not have an effect if materials also excluded" />
				<param type="boolean" required="false" multiple="false" name="exclude"
					description="If the wholesaler's materials are to be hidden when searching for materials." />
				<param type="float" required="false" multiple="false" name="profitMargin"
					description="The profit margin to calculate the sale price from when using materials from the wholesaler" />
				<param type="text" name="profitMarginBase"
					description="The method to calculate the sale price from" required="false" multiple="false">
					<option type="text" name="COST"
						description="Profit margin is calculated from the customer's cost of materials" />
					<option type="text" name="LIST"
						description="Profit margin is calculated from the wholesaler's list prices" />
				</param>
			</method>
			<method type="PUT" description="Update a wholesaler agreement">
				<param type="UUID" name="id" description="The id of the agreement"
					required="conditional*" multiple="false" />
				<param type="UUID" name="wholesalerId"
					description="The id of the wholesaler, with whom the agreement is made"
					required="conditional*" multiple="false" />
				<param type="text" required="conditional*" multiple="false" name="agreementNumber"
					description="The agreement number that the wholesaler can use to identify the customer in documents sent by the wholesaler" />
				<param type="boolean" required="false" multiple="false" name="preferred"
					description="If the wholesaler's materials are to be shown first when searching for materials. Will not have an effect if materials also excluded" />
				<param type="boolean" required="false" multiple="false" name="exclude"
					description="If the wholesaler's materials are to be hidden when searching for materials." />
				<param type="float" required="false" multiple="false" name="profitMargin"
					description="The profit margin to calculate the sale price from when using materials from the wholesaler" />
				<param type="text" name="profitMarginBase"
					description="The method to calculate the sale price from" required="false" multiple="false">
					<option type="text" name="COST"
						description="Profit margin is calculated from the customer's cost of materials" />
					<option type="text" name="LIST"
						description="Profit margin is calculated from the wholesaler's list prices" />
				</param>
			</method>
			<method type="DELETE" description="Delete a wholesaler agreement">
				<param type="UUID" name="id" description="The id of agreement" required="true"
					multiple="false" />
			</method>
		</operationunit>
	</operationunits>
	<returntypes>
		<returntype name="Activity">
			<value type="UUID" name="id" description="Id of the activity" />
			<value type="UUID" name="orderId" description="Id of the Order" />
			<value type="text" name="name" description="Headline" />
			<value type="text" name="description" description="Work description" />
			<value type="UUID" name="clientId" description="Id of the client" />
			<value type="int" name="activityNumber" description="The additional work number" />
			<value type="date" name="created" description="The date and time the activity was created" />
			<value type="date" name="updated" description="The date and time the activity was updated" />
			<value type="date" name="startDate"
				description="The date the work on the order should start" />
			<value type="date" name="endDate"
				description="The date the work on the order should be finished" />
			<value type="date" name="expiration"
				description="The date the quotation expires. Only affects activities in proposal phase" />
			<value type="float" name="price"
				description="The price of the additional work. Only applicable if fixed price" />
			<value type="boolean" name="proposal"
				description="True if the activity is in quotation phase" />
			<value type="boolean" name="quote" description="True if the quotation is a quote" />
			<value type="text" name="proposalText"
				description="HTML formatted text to send in the proposal" />
			<value type="text" name="confirmationText"
				description="HTML formatted text to send in the order confirmation" />
			<value type="text" name="reqno" description="The requisition number" />
			<value type="text" name="theirref" description="The clients reference" />
			<value type="text" name="state" description="The current state of the activity.">
				<option type="text" name="(Below are the values most commonly used in Minuba)" />
				<option type="text" name="PROPOSALDRAFT"
					description="Draft version of the proposal, not yet finalized" />
				<option type="text" name="PROPOSAL"
					description="Proposal is finalized and awaiting approval or next steps" />
				<option type="text" name="ORDERDRAFT"
					description="Draft version of the order, not yet submitted" />
				<option type="text" name="NEW" description="The activity is newly created" />
				<option type="text" name="STARTED"
					description="The activity has begun, and work is in progress" />
				<option type="text" name="DELAYED"
					description="Activity has been postponed or is running behind schedule." />
				<option type="text" name="COMPLETED"
					description="Activity is finished and all tasks are done" />
				<option type="text" name="CLOSED" description="Activity is closed" />
				<option type="text" name="REJECTED" description="Activity has been rejected" />
			</value>
			<value type="enum" name="priceBasis" description="The price basis of the activity">
				<option type="text" name="EXPENSELINES" description="Case expenses" />
				<option type="text" name="FIXEDPRICE" description="A fixed price" />
				<option type="text" name="CALCULATION" description="Order expenses" />
			</value>
			<value type="UUID" name="budgetId" description="The id of the budget" />
			<value type="UUID" name="vatCodeId"
				description="The id of the VAT code on the activity (not returned if authenticated with a user that has the HidePrices role)" />
		</returntype>
		<returntype name="Address">
			<value type="UUID" name="id" description="Id of the address" />
			<value type="text" name="name" description="Name of the address" />
			<value type="text" name="description"
				description="Description of the order. Not shown in the interface" />
			<value type="enum" name="addressType" description="The type of the address">
				<option name="CONTACT" description="The address is used as contact information" />
				<option name="BILLING" description="The address is used for billing" />
				<option name="DELIVERY"
					description="The address is used for installation/execution of orders" />
			</value>
			<value name="streetAddress" description="The street address" type="text" />
			<value type="text" name="streetAddress2"
				description="Additional street address information" />
			<value type="text" name="city" description="The city" />
			<value type="text" name="postCode" description="The postal code" />
			<value type="text" name="state" description="The state" />
			<value type="text" name="country" description="The country" />
			<value type="text" name="phone" description="Phone number" />
			<value type="text" name="cellPhone" description="Cell phone number" />
			<value type="text" name="email" description="E-mail" />
			<value type="text" name="att" description="Att" />
			<value type="text" name="EAN" description="A GLN number to use for government clients" />
			<value type="UUID" name="clientId" description="Id of the client this address belongs to" />
			<value type="datetime" name="created" description="The time the address was created" />
			<value type="datetime" name="updated" description="The time the address was last updated" />
			<value type="boolean" name="deleted"
				description="True if Address is deleted and should no longer be used." />
		</returntype>
		<returntype name="BudgetLine">
			<value type="UUID" name="id" description="Id of the budget line." />
			<value type="datetime" name="created" description="The time the budget line was created" />
			<value type="datetime" name="updated"
				description="The time the budget line was last updated" />
			<value type="float" name="proposalCost"
				description="The quotation cost set on the budget line" />
			<value type="float" name="orderCost" description="The order cost set on the budget line" />
			<value type="float" name="adjustmentCost"
				description="The adjustment cost set on the budget line" />
			<value type="float" name="expendedCost"
				description="The total expended cost of the budget line" />
			<value type="UUID" name="budgetLineType"
				description="The budget line type set on the budget line" />
		</returntype>
		<returntype name="BudgetLineType">
			<value type="UUID" name="id" description="Id of the budget line type." />
			<value type="text" name="name" description="The name of the budget line type." />
			<value type="int" name="number" description="The number of the budget line type." />
			<value type="text" name="description" description="Description of the budget line type." />
			<value type="boolean" name="deleted"
				description="True if budget line type is deleted and should no longer be used." />
			<value type="boolean" name="time"
				description="True if budget line type is by default used for registering time. If false it defaults to be used for materials." />
		</returntype>
		<returntype name="CalculationLine">
			<value type="UUID" name="id" description="Id of the calculation line" />
			<value type="text" name="description"
				description="The description of the calculation line" />
			<value type="text" name="itemNo" description="The number of the item, e.g., EAN number" />
			<value type="float" name="unitPrice" description="The unit price of the calculation line" />
			<value type="float" name="unitTax" description="The unit tax of the calculation line" />
			<value type="float" name="unitCost"
				description="The cost price for each unit if applicable" />
			<value type="float" name="unitListPrice"
				description="The list price for each unit if applicable" />
			<value type="float" name="totalPrice"
				description="The total price of the calculation (unitPrice * quantity - discount)" />
			<value type="float" name="vatPercentage"
				description="The VAT percentage of the calculation line" />
			<value type="float" name="quantity" description="The quantity of the calculation" />
			<value type="int" name="lineNumber"
				description="The position of the calculation line relative to other invoice lines" />
			<value type="float" name="discount" description="Discount percentage for the current line" />
			<value type="text" name="type" description="The type of the item">
				<option type="text" name="(Below are the values most commonly used in Minuba)" />
				<option type="text" name="worktime" description="Items used for time registration" />
				<option type="text" name="wholesaler" description="Items bought through a wholesaler" />
				<option type="text" name="aconto"
					description="For lines that are made on account (invoice line requesting downpayment)" />
				<option type="text" name="counteraconto"
					description="For lines countering previous on account lines on the final invoice or 'other'" />
			</value>
			<value type="datetime" name="updated"
				description="The time the calculation line was last updated" />
			<value type="UUID" name="budgetLineTypeId"
				description="Id of the BudgetLineType. Only applicable if budget has been enabled." />
			<value type="UUID" name="activityId" description="The activityId of the calculation line" />
			<value type="UUID" name="orderId" description="The orderId of the calculation line" />
		</returntype>
		<returntype name="Client">
			<value type="UUID" name="id" description="Id of the client" />
			<value type="text" name="name" description="Name of the client" />
			<value type="text" name="description" description="Description of the client" />
			<value type="text" name="cvr"
				description="The client's company registration number or organisation number" />
			<value type="text" name="clientNumber" description="The client's number" />
			<value type="text" name="vatPercentage" description="The VAT percentage set on the client" />
			<value type="text" name="vatIdentificationNumber"
				description="The client's VAT identification number" />
			<value type="int" name="netPaymentDays"
				description="The number of days the client have to pay invoices if different from default" />
			<value type="boolean" name="runningMonth"
				description="True if client has until end of month plus netPaymentDays before payments are due" />
			<value type="float" name="clientPriceFactor"
				description="The default factor to apply to sales prices if different from default" />
			<value type="UUID" name="lastUsedBillingAddressId"
				description="The id of the address last used for billing" />
			<value type="UUID" name="lastUsedContactAddressId"
				description="The id of the address last used for contact" />
			<value type="UUID" name="lastUsedDeliveryAddressId"
				description="The id of the address last used for delivery" />
			<value type="Address" name="addresses" list="true"
				description="A list of addresses for the client" />
			<value type="datetime" name="created" description="The time the client was created" />
			<value type="datetime" name="updated" description="The time the client was last updated" />
			<value type="boolean" name="deleted"
				description="True if client has been marked as deleted and no longer to be used" />
		</returntype>
		<returntype name="Department">
			<value type="UUID" name="id" description="Id of the department" />
			<value type="text" name="name" description="Name of the department" />
			<value type="Address" name="address" description="The address of the department" />
			<value type="UUID" name="userIds"
				description="List of ids of the users that are a part of this department" list="true" />
			<value type="float" name="profitMargin"
				description="The gain in percent of wholesaler materials" />
			<value type="enum" name="profitMarginBase"
				description="What the wholesaler materials gains will be calculated from">
				<option type="text" name="LISTPRICE" description="Apply price factor to list price" />
				<option type="text" name="COST" description="Apply price factor to cost" />
			</value>
		</returntype>
		<returntype name="ExpenseLine">
			<value type="UUID" name="id" description="Id of the expense line" />
			<value type="text" name="description" description="The description of the expense" />
			<value type="text" name="itemNo" description="The number of the item, e.g., GLN number" />
			<value type="float" name="unitPrice" description="The unit price of the expense" />
			<value type="float" name="unitTax" description="The unit tax of the expense" />
			<value type="float" name="unitCost"
				description="The cost price for each unit if applicable" />
			<value type="float" name="unitListPrice"
				description="The list price for each unit if applicable" />
			<value type="float" name="totalPrice"
				description="The total price of the expense (unitPrice * quantity - discount)" />
			<value type="float" name="quantity" description="The quantity of the expense" />
			<value type="int" name="lineNumber"
				description="The position of the expense line relative to other invoice lines" />
			<value type="float" name="discount" description="Discount percentage for the current line" />
			<value type="text" name="type" description="The type of the item">
				<option type="text" name="(Below are the values most commonly used in Minuba)" />
				<option type="text" name="worktime" description="Items used for timeregistration" />
				<option type="text" name="wholesaler" description="Items bought through a wholesaler" />
			</value>
			<value type="date" name="registrationDate" description="The date the expense was held" />
			<value type="datetime" name="created" description="The time the expense line was created" />
			<value type="datetime" name="updated"
				description="The time the expense line was last updated" />
			<value type="text" name="externalDocumentUrl" description="URL to the external document" />
			<value type="text" name="externalId" description="Id for the external system" />
			<value type="text" name="source" description="Name of the external system" />
			<value type="UUID" name="supplierInvoiceId"
				description="Id of the supplier invoice from where this line originates" />
			<value type="UUID" name="userId"
				description="Id for the user assigned to the expense line" />
			<value type="enum" name="expenseType" description="expenseType to the expense line">
				<option type="text" name="MATERIAL" description="Entered as an material line" />
				<option type="text" name="TIMESHEETENTRY" description="Created from a TimesheetEntry " />
				<option type="text" name="TIMESHEETADDITION"
					description="Created from an addition on a TimesheetEntry" />
				<option type="text" name="TIMESHEETDAYENTRY"
					description="Created from a TimesheetDayEntry" />
			</value>
			<value type="UUID" name="contraLineFor"
				description="Id of the line that was counter acted by this expense line. Only applicable if automatic creation of counter lines is enabled. Deleting lines: Counter line is marked with the source line's id when deleting. Moving lines: Counter line will have id original line as reference. Moved line will have counter line as reference." />
			<value type="UUID" name="budgetLineTypeId"
				description="Id of the BudgetLineType. Only applicable if budget has been enabled." />
			<value type="UUID" name="activityId" description="The activityId of the expense line" />
			<value type="boolean" name="aconto" description="True if line is aconto" />
			<value type="UUID" name="orderId" description="The id of the order" />
			<value type="datetime" name="exportedDate"
				description="The time the expense line was exported" />
			<value type="UUID" name="materialId" description="The id of the material" />
			<value type="datetime" name="lockedDate"
				description="The time the expense line was locked" />
		</returntype>
		<returntype name="FileDownload">
			<value type="File" name="Name of file" description="Downloads a specific file" />
		</returntype>
		<returntype name="File">
			<value type="UUID" name="id" description="Id of the file" />
			<value type="datetime" name="created" description="The time the file line was uploaded" />
			<value type="datetime" name="updated" description="The time the file was last updated" />
			<value type="text" name="name" description="The name of the file" />
			<value type="text" name="description" description="The description of the file" />
			<value type="text" name="folderTag" description="The folderTag of the file" />
			<value type="text" name="createdBy" description="The name of the user that uploaded file" />
			<value type="boolean" name="restricted" description="True if the file is restricted" />
			<value type="text" name="source" description="The source of how the file was uploaded" />
			<value type="text" name="extension" description="The file extension of the file" />
			<value type="text" name="mimeType" description="The mimeType of the file" />
			<value type="text" name="size" description="The size of the file in bytes" />
			<value type="UUID" name="orderId" description="The orderId of the file" />
			<value type="UUID" name="activityId" description="The activityId of the file" />
			<value type="UUID" name="clientId" description="The clientId of the file" />
			<value type="UUID" name="installationId" description="The installationId of the file" />
		</returntype>
		<returntype name="GpsDevice">
			<value type="UUID" name="id" description="Id of the gpsDevice" />
			<value type="text" name="fleetManagementPartner"
				description="The name of the fleet management provider" />
			<value type="text" name="description" description="Description of the gpsDevice" />
			<value type="enum" name="deviceType" description="The type of the device">
				<option type="text" name="PHONE" description="Device is a Smartphone" />
				<option type="text" name="TABLET" description="Device is a Tablet" />
				<option type="text" name="VEHICLE" description="GPS in the car" />
			</value>
			<value type="Employee" name="employee"
				description="This object contains the id of the user (deprecated since 2024/06/14. Use employees instead)" />
			<value type="Employee" name="employees"
				description="This object contains the ids of the users" list="true" />
			<value type="text" name="model" description="The model of the GPS device" />
			<value type="boolean" name="deleted"
				description="True if the device has been marked as deleted" />
		</returntype>
		<returntype name="Invoice">
			<value type="UUID" name="id" description="Id of the invoice" />
			<value type="text" name="name" description="Name (title) of the invoice" />
			<value type="text" name="description" description="Description of the invoice" />
			<value type="text" name="reqno" description="The requisition number specified on the invoice" />
			<value type="text" name="theirRef" description="The customer reference specified on the invoice" />
			<value type="float" name="totalPriceExcludeVat-sys" description="The invoice total amount excluding VAT" />
			<value type="float" name="totalPriceIncludeVat-sys" description="The invoice total amount including VAT. If invoice is issued without VAT or with full reverse charge, then totalPriceIncludeVat-sys will be equal to totalPriceExcludeVat-sys" />
			<value type="text" name="currencyStr" description="The currency used on the invoice" />
			<value type="float" name="currencyConversionRate" description="The currency conversion rate applied to the amounts totalPriceExcludeVat-sys and totalPriceIncludeVat-sys to get the amount displayed in foreign currency on the invoice" />
			<value type="boolean" name="reverseCharge" description="True if the invoice is fully issued with reverse charge" />
			<value type="int" name="invoiceNumber"
				description="The number of the invoice. Assigned when approved" />
			<value type="UUID" name="orderId" description="The order the invoice belongs to" />
			<value type="UUID" name="clientId" description="The client the invoice belongs to" />
			<value type="datetime" name="approvalDate"
				description="Date when the invoice was approved" />
			<value type="date" name="invoiceDate"
				description="Date when the invoice was sent for invoicing" />
			<value type="date" name="dueDate" description="Date when payment is due" />
			<value type="float" name="vatPercentage" description="The VAT percentage for the invoice" />
			<value type="UUID" name="vatCodeId" description="The id of the VAT code on the invoice" />
			<value type="boolean" name="paid" description="True if the invoice is paid" />
			<value type="date" name="paidDate" description="The date the invoice was paid" />
			<value type="datetime" name="exportedDate"
				description="The date the invoice has been exported to accounting system" />
			<value type="text" name="paymentTermsHTML"
				description="The payments term for the invoice formatted as Html" />
			<value type="UUID" name="addressId" description="The id of the invoices address" />
			<value type="UUID" name="creditingInvoiceId"
				description="The id of the invoice that has been reversed (credited) by this invoice" />
		</returntype>
		<returntype name="InvoiceLedgerEntry">
			<value type="UUID" name="id" description="Id of the invoice ledger entry" />
			<value type="UUID" name="invoiceId"
				description="Id of the invoice that contains the entry" />
			<value type="UUID" name="invoiceReminderId"
				description="Id of the reminder attached to the entry" />
			<value type="text" name="remark" description=" The description of the paid amount" />
			<value type="float" name="amount" description="The amount paid" />
			<value type="date" name="balanceDate" description="The date of the balance change" />
		</returntype>
		<returntype name="InvoiceLine">
			<value type="UUID" name="id" description="Id of the invoice line" />
			<value type="UUID" name="invoiceId" description="Id of the invoice that contains the line" />
			<value type="text" name="description" description="The description of the invoiced item" />
			<value type="text" name="itemNo" description="The number of the item, e.g., GLN number" />
			<value type="float" name="unitPrice" description="The unit price of the invoiced item" />
			<value type="float" name="unitTax" description="The unit tax of the invoiced item" />
			<value type="float" name="unitCost"
				description="The cost price for each unit if applicable" />
			<value type="float" name="unitListPrice"
				description="The list price for each unit if applicable" />
			<value type="float" name="totalPrice"
				description="The total price of the invoiced item (unitPrice * quantity - discount)" />
			<value type="float" name="quantity" description="The quantity of the invoiced item" />
			<value type="int" name="lineNumber"
				description="The position of the invoice line relative to other invoice lines" />
			<value type="float" name="vatPercentage"
				description="The VAT percentage for this line. If null the percentage from the invoice is used" />
			<value type="float" name="discount" description="Discount percentage for the current line" />
			<value type="enum" name="invoiceLineType"
				description="Information on how the line was generated">
				<option type="text" name="ACONTO" description="Invoice line requesting downpayment" />
				<option type="text" name="CALCULATION" description="Copied from the order's calculation" />
				<option type="text" name="COUNTER_ACONTO"
					description="For lines countering previous on account lines on the final invoice" />
				<option type="text" name="ENTERPRISE" description="For orders with enterprise" />
				<option type="text" name="ENTERPRISEACONTO"
					description="For downpayment on orders with enterprise" />
				<option type="text" name="EXPENSELINES"
					description="Copied from the order's expense lines" />
				<option type="text" name="FIXEDPRICE" description="For orders with fixed price" />
			</value>

			<value type="enum" name="category" description="The category of the line">
				<option type="text" name="WORKTIME" description="The line represents time worked" />
				<option type="text" name="WHOLESALER"
					description="The line represents a wholesaler material" />
				<option type="text" name="OTHER"
					description="The line is unknown, e.g. own material or aconto" />
			</value>
			<value type="text" name="type" description="The type of the item">
				<option type="text" name="(Below are the values most commonly used in Minuba)" />
				<option type="text" name="worktime" description="Items used for timeregistration" />
				<option type="text" name="wholesaler" description="Items bought through a wholesaler" />
				<option type="text" name="aconto"
					description="For lines that are made on account (invoice line requesting downpayment" />
				<option type="text" name="counteraconto"
					description="For lines countering previous on account lines on the final invoice" />
			</value>
			<value type="UUID" name="activityId"
				description="The activityId of the invoice line. Can be null if it comes from the order or has been added directly to the invoice" />
		</returntype>
		<returntype name="InvoiceReminder">
			<value type="UUID" name="id" description="Id of the reminder" />
			<value type="UUID" name="invoiceId" description="The invoice the reminder belongs to" />
			<value type="datetime" name="approvalDate"
				description="Date when the reminder was approved" />
			<value type="date" name="reminderDueDate"
				description="Date when the reminder is due for payment" />
		</returntype>
		<returntype name="Material">
			<value type="UUID" name="id" description="Id of the material" />
			<value type="text" name="description" description="Description of the material" />
			<value type="text" name="materialNo" description="The number of the material" />
			<value type="text" name="additionalMaterialNo"
				description="The additional number of the material, can be a industry number or other identifier chosen by the wholesaler" />
			<value type="float" name="price" description="The list price of the material" />
			<value type="float" name="customerPrice" description="Your purchase price of the material" />
			<value type="float" name="cost"
				description="The cost of the material. Only for your own materials" />
			<value type="dateTime" name="created"
				description="The date and time the material was created" />
			<value type="dateTime" name="updated"
				description="The date and time the material was last updated" />
			<value type="UUID" name="wholesalerId" description="The id of the associated wholesaler" />
			<value type="float" name="vatPercentage"
				description="The VAT percentage of the material (deprecated since 2025/05/08. Use 'vatCodeId' instead)" />
			<value type="UUID" name="vatCodeId" description="The id of the associated VAT code" />
		</returntype>
		<returntype name="Note">
			<value type="UUID" name="id" description="Id of the note" />
			<value type="dateTime" name="created" description="The date and time the note was created" />
			<value type="dateTime" name="updated"
				description="The date and time the note was last updated" />
			<value type="text" name="createdBy" description="The name of user that create the note" />
			<value type="dateTime" name="deletedDate"
				description="The date and time the note was deleted" />
			<value type="text" name="noteText" description="The description of the note" />
			<value type="boolean" name="restricted"
				description="If true, the note is hidden for users without the invoicing role" />
			<value type="UUID" name="orderId" description="The id of the associated order" />
		</returntype>
		<returntype name="Order">
			<value type="UUID" name="id" description="Id of the order" />
			<value type="dateTime" name="created"
				description="The date and time the order was created" />
			<value type="dateTime" name="updated"
				description="The date and time the order was last updated" />
			<value type="text" name="name" description="Headline" />
			<value type="text" name="description" description="Work description" />
			<value type="UUID" name="clientId" description="Id of the client" />
			<value type="Client" includable="true" name="client"
				description="The client (customer) placing the order" />
			<value type="UUID" name="orderTypeId" description="Id of the order type" />
			<value type="UUID" name="departmentId" description="The id of the department" />
			<value type="UUID" name="contactAddressId" description="The id of the contact address" />
			<value type="Address" includable="true" name="contactAddress"
				description="The address used for contacting the customer regarding the order" />
			<value type="UUID" name="billingAddressId" description="The id of the billing address" />
			<value type="Address" includable="true" name="billingAddress"
				description="The address used for invoicing the customer regarding the order" />
			<value type="UUID" name="budgetId" description="The id of the budget" />
			<value type="UUID" name="deliveryAddressId" description="The id of the delivery address" />
			<value type="Address" includable="true" name="deliveryAddress"
				description="The address where the order is executed" />
			<value type="text" name="descriptionList"
				description="A list containing the tree of descriptions of the OrderType" />
			<value type="boolean" name="overdue"
				description="If true, the order has not been started/completed in time" />
			<value type="UUID" name="responsibleUserId"
				description="Id of the responsible user on an Order" />
			<value type="int" name="orderNumber" description="The order number" />
			<value type="text" name="cvrNumber"
				description="The company registration number or organisation number to use for billing" />
			<value type="date" name="startDate"
				description="The date the work on the order should start" />
			<value type="date" name="endDate"
				description="The date the work on the order should be completed" />
			<value type="date" name="expirationDate"
				description="The date the quotation expires. Only affects orders in proposal phase" />
			<value type="float" name="price"
				description="The price of the order. Only applicable if fixed price" />
			<value type="boolean" name="proposal"
				description="True if the order is in quotation phase" />
			<value type="boolean" name="quote" description="True if the quotation is a quote" />
			<value type="text" name="proposalText"
				description="HTML formatted text to send in the quotation" />
			<value type="text" name="confirmationText"
				description="HTML formatted text to send in the order confirmation" />
			<value type="text" name="reqno" description="The requisition number" />
			<value type="text" name="theirref" description="The clients reference" />
			<value type="enum" name="state" description="The current state of the order">
				<option type="text" name="PROPOSAL_DRAFT"
					description="Draft version of the proposal, not yet finalized" />
				<option type="text" name="PROPOSAL"
					description="Proposal is finalized and awaiting approval or next steps" />
				<option type="text" name="ORDER_DRAFT"
					description="Draft version of the order, not yet submitted" />
				<option type="text" name="NEW" description="The order is newly created" />
				<option type="text" name="STARTED"
					description="The order has begun, and work is in progress" />
				<option type="text" name="DELAYED"
					description="Order has been postponed or is running behind schedule." />
				<option type="text" name="COMPLETED"
					description="Order is finished and all tasks are done" />
				<option type="text" name="CLOSED" description="Order is closed" />
				<option type="text" name="REJECTED" description="Order has been rejected" />
			</value>
			<value type="UUID" name="departmentId" description="The id of the department" />
			<value type="float" name="uninvoiced"
				description="The current uninvoiced value of the order" />
			<value type="float" name="defaultCoverage"
				description="The order's default/expected coverage degree in percent. The profit percentage of the turnover" />
			<value type="date" name="closedDate" description="The date when the order was last closed" />
			<value type="date" name="balanceUpdated"
				description="The date on which the last expense or income with financial effect on the order was registered" />
			<value type="float" name="productionStage"
				description="The current production stage of this order as provided by the user" />
			<value type="float" name="calculationCost"
				description="The total cost of the materials registered in the calculation excluding VAT" />
			<value type="float" name="calculationPrice"
				description="The total sales price of the materials registered in the calculation excluding VAT" />
			<value type="enum" name="priceBasis" description="The price basis of the order">
				<option type="text" name="EXPENSELINES" description="Case expenses" />
				<option type="text" name="FIXEDPRICE," description="A fixed price" />
				<option type="text" name="CALCULATION" description="Order expenses" />
				<option type="text" name="ENTERPRISE" description="Enterprise with proposal list" />
			</value>
			<value type="UUID" name="vatCodeId"
				description="The id of the VAT code on the order (not returned if authenticated with a user that has the HidePrices role)" />
		</returntype>
		<returntype name="OrderType">
			<value type="UUID" name="id" description="Id of the order type" />
			<value type="text" name="name" description="The name of the order type" />
			<value type="text" name="description" description="Description of the order type" />
			<value type="text" name="price"
				description="The fixed price of the order type (deprecated since 2024/11/14. Use 'fixedPrice' instead)" />
			<value type="float" name="fixedPrice" description="The fixed price of the order type" />
			<value type="UUID" name="department"
				description="The id of the department on the order type" />
			<value type="float" name="vatPercentage"
				description="The VAT percentage of the order type (deprecated since 2025/04/10. Use 'vatCodeId' instead)" />
			<value type="UUID" name="vatCodeId" description="The id of the VAT code on the order type" />
			<value type="{ materialNo: text, materialQuantity: float }" name="orderTypeMaterials"
				description="Array of the material numbers and quantities on the order type." list="true" />
			<value type="UUID" name="responsibleEmployeeId"
				description="The user id of the responsible employee on the order type" includable="true" />
			<value type="UUID" name="userIds"
				description="List of ids of the users that are assigned to the order type" includable="true"
				list="true" />
			<value type="UUID" name="qaDocIds"
				description="List of ids of the quality assurance documents that are assigned to the order type"
				includable="true" list="true" />
			<value type="float" name="defaultCoverage"
				description="The order type's default/expected coverage degree in percent. The profit percentage of the turnover" />
			<value type="text" name="colorCode"
				description="The hexadecimal color code for the color of the order type in the UI e.g. #6699CC" />
			<value type="enum" name="repetitionEra" description="Repetition era for the order type">
				<option type="text" name="DAY" description="The repetition era is based on day" />
				<option type="text" name="MONTH" description="The repetition era is based on month" />
				<option type="text" name="YEAR" description="The repetition era is based on year" />
			</value>
			<value type="float" name="repetitionOccurrence"
				description="Number of eras that need to pass for repetition. e.g., 0.5 twice every era, 1 once every era, 2 every second era, 3 every third era" />
		</returntype>
		<returntype name="ShortMaterialNo">
			<value type="UUID" name="id" description="Id of the short number" />
			<value type="text" name="description" description="The short number description" />
			<value type="text" name="price" description="The price of the material" />
			<value type="text" name="externalId" description="Id for the external system" />
			<value type="text" name="source" description="Name of the external system" />
			<value type="text" name="ShortNo" description="The short number" />
			<value type="text" name="MappedMaterialNo"
				description="The MaterialNo that this shortMaterialNo points to" />
		</returntype>
		<returntype name="SupplierLine">
			<value type="UUID" name="id" description="Id of the supplier line" />
			<value type="text" name="description" description="The description of the supplier line" />
			<value type="float" name="quantity" description="The quantity of the supplier line" />
			<value type="float" name="lineNumber" description="The line number of the supplier line" />
			<value type="text" name="itemNo" description="The item number of the supplier line" />
			<value type="float" name="unitPrice" description="The price of the supplier line" />
			<value type="float" name="unitCost" description="The cost of the supplier line" />
			<value type="float" name="unitListPrice" description="The list price of the supplier line" />
			<value type="float" name="totalPrice" description="The total price of the supplier line" />
			<value type="float" name="vatPercentage"
				description="The vat percentage of the supplier line" />
			<value type="float" name="discount" description="The discount of the supplier line" />
			<value type="text" name="documentId" description="The documentId of the supplier line" />
			<value type="text" name="contraAccount"
				description="The contra account of the supplier line" />
		</returntype>
		<returntype name="SupplierInvoice">
			<value type="UUID" name="id" description="Id of the supplier invoice" />
			<value type="text" name="invoiceNumber" description="Invoice number" />
			<value type="text" name="orderReference" description="Reference to the order" />
			<value type="UUID" name="responsibleId" description="The id of the responsible user" />
			<value type="text" name="supplier" description="Supplier's name" />
			<value type="text" name="supplierCvr"
				description="Supplier's company registration number or organisation number, chosen from a prioritized list" />
			<value type="supplierIdentifiers" name="supplierIdentifiers" list="true"
				description="Array of all supplier identifiers. Contains 'identifierType' as key and 'identifier' as value ('indentifier' and 'indentifierType' are deprecated since 2024/11/14). The supplierCvr is found from this list." />
			<value type="text" name="supplierStreetAddress"
				description="Supplier's company street address e.g. street number and street name" />
			<value type="text" name="supplierPostalZone"
				description="Supplier's company address postal zone" />
			<value type="text" name="supplierCity" description="Supplier's company address city" />
			<value type="text" name="supplierCountry" description="Supplier's company address country" />
			<value type="text" name="supplierContactPhone"
				description="Supplier's contact phone number" />
			<value type="float" name="amount" description="Invoice amount" />
			<value type="float" name="vatAmount" description="Invoice VAT amount" />
			<value type="charge" name="charges" list="true"
				description="Array of charges to the invoice. Contains 'chargeReason' and 'amount'" />
			<value type="date" name="invoiceDate" description="The invoice date" />
			<value type="date" name="originalInvoiceDate" description="The original invoice date" />
			<value type="dateTime" name="receivedDate"
				description="The date and time when the invoice was received" />
			<value type="text" name="supplierPaymentChannel"
				description="The paymentmean type specified on the invoice">
				<option type="text" name="(Below are the values most commonly used in Minuba)" />
				<option type="text" name="DK_BANK" description="Danish bank transfer" />
				<option type="text" name="DK_FIK" description="Danish OCR based payment type" />
				<option type="text" name="DK_GIRO" description="Danish OCR based payment type" />
				<option type="text" name="IBAN" description="International bank transfer" />
				<option type="text" name="SE_BANKGIRO" description="Swedish Bankgiro Account" />
				<option type="text" name="SE_PLUSGIRO" description="Swedish Plusgiro Account" />
				<option type="text" name="PAYMENT_CARD"
					description="All type of cards, visa, mastercard etc." />
				<option type="text" name="PAYMENT_SERVICE"
					description="Payment service e.g betalingsservice in dk" />
				<option type="text" name="SUPPLIER_SERVICE"
					description="Supplier service e.g leverandørservice in dk." />
			</value>
			<value type="text" name="supplierPaymentString"
				description="The paymentmean string e.g., bank account number or giro number from the invoice" />
			<value type="date" name="supplierPaymentDueDate"
				description="The date payment of the invoice is due" />
			<value type="text" name="currencyStr"
				description="The ISO 4217 currency code which is the basis of the invoice" />
			<value type="float" name="exchangeRate"
				description="The exchange rate specified to convert the invoice amount to the currency specified in Customer's setting" />
			<value type="text" name="originalCurrencyStr"
				description="Present if currency has been changed manually. The ISO 4217 currency code" />
			<value type="dateTime" name="processedDate"
				description="The date and time when the invoice was processed" />
			<value type="dateTime" name="exportDate"
				description="The date and time of the latest export of the supplier invoice" />
			<value type="text" name="orderNumber"
				description="The number of the latest Minuba order the invoice was attached to" />
			<value type="text" name="departmentName"
				description="The name of the department the associated order was attached to" />
			<value type="enum" name="status" description="The textual status of the invoice">
				<option type="text" name="null" description="EDI invoices is missing approving" />
				<option type="text" name="APPROVED"
					description="EDI invoicelines added to order by the user" />
				<option type="text" name="AUTOMATICALLY_APPROVED"
					description="EDI invoicelines added to order automatically during the importing process" />
				<option type="text" name="NOORDER" description="EDI Invoice is not related to an order" />
				<option type="text" name="PENDING" description="EDI invoice is not ready to be approved" />
				<option type="text" name="PARTIALLY_PROCESSED"
					description="Not all EDI invoicelines has been added to order" />
				<option type="text" name="MISSING_AGREEMENT"
					description="EDI invoice has been sent to Minuba without an active WholesaleAgreement" />
			</value>
			<value type="text" name="note"
				description="The note supplied to the invoice by Minuba user (deprecated since 2022-04-21. Use pendingNote instead)" />
			<value type="text" name="pendingNote"
				description="The pending note associated with the supplier invoice" />
			<value type="date" name="pendingDate"
				description="The due date set by set by the users associated with the pending note on the supplier invoice" />
			<value type="boolean" name="clearPendingInfoOnChange"
				description="If true the pending note will be cleared if the status of the supplier invoice changes" />
			<value type="text" name="externalDocumentUrl"
				description="A URL to a document reference of the supplier invoice" />
			<value type="UUID" name="wholesaleAgreementId"
				description="Id of the related wholesaler agreement" />
			<value type="text" name="wholesalerName" description="Name of the related wholesaler" />
			<value type="text" name="specificContraAccount"
				description="The contra account number specified on the supplier invoice when exporting to the bookkeeping system" />
			<value type="supplierLine" name="supplierLines" list="true"
				description="An array of supplierLines, associated with the invoice." />
		</returntype>
		<returntype name="Task">
			<value type="UUID" name="id" description="The id of the task" />
			<value type="dateTime" name="created" description="The date and time the task was created" />
			<value type="dateTime" name="updated"
				description="The date and time the task was last updated" />
			<value type="text" name="name" description="The name of the task" />
			<value type="text" name="number" description="The number of the task" />
			<value type="text" name="salaryCode" description="The salary code of the task" />
			<value type="UUID" name="materialId"
				description="The material id of the task. If the task is absence this will be null." />
			<value type="enum" name="exportAbsenceAs"
				description="The unit by which the absence task is exported">
				<option type="text" name="DAYS" description="If the absence task is exported in days" />
				<option type="text" name="HOURS" description="If the absence task is exported in hours" />
			</value>
			<value type="int" name="flextimeFactor"
				description="The flextimeFactor of the absence task, used to determine if the absence is considered time off or not. If flextimeFactor is 0 the absence is time off, if flextimeFactor is 1 the absence isn't time off. Possible values are: 0, 1, or null if the task isn't absence." />
			<value type="dateTime" name="beginDate"
				description="The date and time the task is valid from" />
			<value type="dateTime" name="endDate" description="The date and time the task is valid to" />
		</returntype>
		<returntype name="TaxDeductionClient">
			<value type="UUID" name="id" description="Id of the object itself" />
			<value type="UUID" name="taxDeductionInfoId"
				description="The associated taxDeductionInfo id" />
			<value type="int" name="pin" description="The client pin" />
			<value type="int" name="taxDeductionAmount"
				description="The tax deduction amount on the client" />
			<value type="text" name="clientName" description="The name of the client" />
		</returntype>
		<returntype name="TaxDeductionInfo">
			<value type="UUID" name="id" description="Id of the object itself" />
			<value type="UUID" name="invoiceId" description="The id of the associated invoice" />
			<value type="UUID" name="orderId" description="The id of the associated order" />
			<value type="dateTime" name="created"
				description="The date and time the tax deduction info was created" />
			<value type="dateTime" name="updated"
				description="The date and time the tax deduction info was last updated" />
			<value type="float" name="totalDeduction"
				description="The sum total deduction requested, summed up from deduction amounts from different end-customers, belonging to the same invoice. Currency formatted, use the '-sys' variant of this field to get it unformatted." />
			<value type="float" name="availableDeduction" description="The available deduction" />
			<value type="text" name="apartmentNo"
				description="The number of the apartment, used for identifying the apartment where the work was done. Optional, and only used for ROT and GREEN." />
			<value type="text" name="homeownerAssociationNo"
				description="The identifying number of any home association, used for identifying association of the property where the work was done. Optional, and only used for ROT and GREEN." />
			<value type="text" name="propertyName"
				description="Name of the property, used for identifying the property where the work was done. Optional, and only used for ROT and GREEN." />
			<value type="enum" name="deductionType"
				description="The type of deduction and work the customer has performed.">
				<option type="text" name="ROT"
					description="The customer has performed ROT deduction type" />
				<option type="text" name="RUT"
					description="The customer has performed RUT deduction type" />
				<option type="text" name="GREEN"
					description="The customer has performed GREEN deduction type" />
			</value>
			<value type="text" name="defaultClientPin" description="The client default pin" />
		</returntype>
		<returntype name="TaxDeductionLine">
			<value type="UUID" name="id" description="Id of the object itself" />
			<value type="UUID" name="taxDeductionInfoId"
				description="The id of the associated tax deduction info" />
			<value type="int" name="lineNumber"
				description="The line number of the tax deduction line" />
			<value type="text" name="description"
				description="The description of the tax deduction line" />
			<value type="float" name="quantity" description="The quantity of the tax deduction line" />
			<value type="float" name="deductable"
				description="The deductable hours of the tax deduction line" />
			<value type="boolean" name="isTime"
				description="True if the tax deduction line is time related" />
			<value type="float" name="totalPriceInclVat"
				description="The total price of the tax deduction line including VAT" />
			<value type="enum" name="workType" description="The work type of the tax deduction line.">
				<option type="text" name="CONSTRUCTION" description="Bygg - Only for deduction type ROT" />
				<option type="text" name="ELECTRICITY" description="El - Only for deduction type ROT" />
				<option type="text" name="GLASSMETALWORK"
					description="GlasPlatarbete - Only for deduction type ROT" />
				<option type="text" name="GROUNDDRAINAGEWORK"
					description="MarkDraneringarbete - Only for deduction type ROT" />
				<option type="text" name="MASONRY" description="Murning - Only for deduction type ROT" />
				<option type="text" name="PAINTINGWALLPAPERING"
					description="MalningTapetsering - Only for deduction type ROT" />
				<option type="text" name="HVAC" description="Vvs - Only for deduction type ROT" />
				<option type="text" name="CONSTRUCTION50"
					description="Bygg with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="ELECTRICITY50"
					description="El with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="GLASSMETALWORK50"
					description="GlasPlatarbete with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="GROUNDDRAINAGEWORK50"
					description="MarkDraneringarbete with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="MASONRY50"
					description="Murning with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="PAINTINGWALLPAPERING50"
					description="MalningTapetsering with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="HVAC50"
					description="Vvs with 50% reduction - Only for deduction type ROT" />
				<option type="text" name="CLEANING" description="Stadning - Only for deduction type RUT" />
				<option type="text" name="TEXTILECLOTHING"
					description="KladOchTextilvard - Only for deduction type RUT" />
				<option type="text" name="SNOWPLOWING"
					description="Snoskottning - Only for deduction type RUT" />
				<option type="text" name="GARDENING"
					description="Tradgardsarbete - Only for deduction type RUT" />
				<option type="text" name="BABYSITTING"
					description="Barnpassning - Only for deduction type RUT" />
				<option type="text" name="OTHERCARE"
					description="Personligomsorg - Only for deduction type RUT" />
				<option type="text" name="MOVINGSERVICES"
					description="Flyttjanster - Only for deduction type RUT" />
				<option type="text" name="ITSERVICES"
					description="ItTjanster - Only for deduction type RUT" />
				<option type="text" name="MAJORAPPLIANCEREPAIR"
					description="ReparationAvVitvaror - Only for deduction type RUT" />
				<option type="text" name="FURNISHING"
					description="Moblering - Only for deduction type RUT" />
				<option type="text" name="HOMEMAINTENANCE"
					description="TillsynAvBostad - Only for deduction type RUT" />
				<option type="text" name="TRANSPORTATIONSERVICES"
					description="TransportTillForsaljning - Only for deduction type RUT" />
				<option type="text" name="WASHINGANDCAREOFCLOTHING"
					description="TvattVidTvattinrattning - Only for deduction type RUT" />
				<option type="text" name="SOLARCELLS"
					description="NätanslutetSolcellssystem - Only for deduction type GREEN" />
				<option type="text" name="SOLARCELLS15"
					description="NätanslutetSolcellssystem with 15% reduction - Only for deduction type GREEN" />
				<option type="text" name="STORAGESELFPRODUCEDELECTRICITY"
					description="SystemFörLagringAvEgenproduceradElenergi - Only for deduction type GREEN" />
				<option type="text" name="CHARGINGSTATIONELECTRICVEHICLE"
					description="LaddningspunktTillElfordon - Only for deduction type GREEN" />
				<option type="text" name="OTHERCOSTS" description="For all deduction types" />
				<option type="text" name="EXCLUDE"
					description="Excluded the export - For all deduction types" />
			</value>
		</returntype>
		<returntype name="TaxDeductionTemplate">
			<value type="UUID" name="id" description="Id of the object itself" />
			<value type="enum" name="deductionType"
				description="The type of deduction and work the customer has performed">
				<option type="text" name="ROT"
					description="The customer has performed ROT deduction type" />
				<option type="text" name="RUT"
					description="The customer has performed RUT deduction type" />
				<option type="text" name="GREEN"
					description="The customer has performed GREEN deduction type" />
			</value>
			<value type="UUID" name="clientId" description="The associated client's id" />
			<value type="text" name="apartmentNo"
				description="The number of the apartment, used for identifying the apartment where the work was done. Optional, and only used for ROT and GREEN." />
			<value type="text" name="defaultClientPin" description="The client default pin" />
			<value type="text" name="homeownerAssociationNo"
				description="The identifying number of any home association, used for identifying association of the property where the work was done. Optional, and only used for ROT and GREEN." />
			<value type="text" name="propertyName"
				description="Name of the property, used for identifying the property where the work was done. Optional, and only used for ROT and GREEN." />
		</returntype>
		<returntype name="TimesheetApprove">
			<value type="UUID" name="id" description="Id of the approval" />
			<value type="enum" name="type" description="The type of the approval">
				<option name="SUBMITTED" description="The approval is submitted" />
				<option name="APPROVED" description="The approval is approved by administrator/manager" />
				<option name="EXPORTED" description="The approval is exported by administrator/manager" />
			</value>
			<value type="UUID" name="userId" description="The id of the associated user" />
			<value type="dateTime" name="approvalDateInclusive"
				description="The date the approval targets including that day" />
		</returntype>
		<returntype name="TimesheetEntry">
			<value type="UUID" name="id" description="Id of the entry" />
			<value type="UUID" name="timesheetId" description="The id of the associated timesheet" />
			<value type="UUID" name="userId" description="The id of the associated user" />
			<value type="text" name="note" description="The note for the entry" />
			<value type="dateTime" name="beginDate" description="The date and time the entry starts" />
			<value type="dateTime" name="endDate" description="The date and time the entry ends" />
			<value type="UUID" name="orderId" description="The id of the associated order" />
			<value type="UUID" name="activityId" description="The id of the associated activity" />
			<value type="text" name="registrationType" description="Type (enum) of the entry">
				<option type="text" name="WORK" description="Work time" />
				<option type="text" name="ABSENCE" description="There is no work available on the entry" />
			</value>
			<value type="text" name="worktimeCode"
				description="Work time code specified. Work time codes are defined by customer" />
			<value type="text" name="worktimeName"
				description="The name associated with the selected work time code specified. Work time names are defined by customer" />
			<value type="boolean" name="overtime"
				description="If true the entry has been marked as over time" />
			<value type="boolean" name="suggestPhoneCall"
				description="True if client should be phoned before arrival" />
			<value type="boolean" name="customerConfirmed"
				description="True if entry has been confirmed by the client" />
			<value type="TimesheetAddition" includable="true" name="additions"
				description="Displays the additions for the entry" />
			<value type="ExpenseLine" includable="true" name="expenseLine"
				description="Displays the expense line for the current entry" />
			<value type="dateTime" name="created"
				description="The date and time the entry was created" />
			<value type="dateTime" name="updated"
				description="The date and time the entry was updated" />
		</returntype>
		<returntype name="TimesheetAddition">
			<value type="UUID" name="id" description="Id of the addition" />
			<value type="text" name="name" description="The name of the addition" />
			<value type="enum" name="type" description="The type of the addition">
				<option type="text" name="PER_HOUR" description="Addition is made per hour" />
				<option type="text" name="PER_REGISTRATION"
					description="Addition is made per registration" />
			</value>
			<value type="text" name="number" description=" number/code of the addition" />
			<value type="UUID" name="materialId" description="The material id of the addition" />
			<value type="boolean" name="systemAddition"
				description="If true indicates that this addition is managed by the system not the registator" />
			<value type="boolean" name="overtime"
				description="If true this addition can only can be used for overtime registrations" />
			<value type="boolean" name="includeInSalaryExport"
				description="If true registrations with this addition is included in exports to salary systems" />
		</returntype>
		<returntype name="TimesheetDayEntry">
			<value type="UUID" name="id" description="Id of the entry" />
			<value type="UUID" name="timesheetId" description="The id of the associated timesheet" />
			<value type="text" name="title" description="The title of the associated activity" />
			<value type="boolean" name="locked" description="If true the entry has been locked" />
			<value type="text" name="note" description="The note for the entry" />
			<value type="UUID" name="caseId" description="The id of the associated case" />
			<value type="UUID" name="invoiceLineId" description="The id of the invoice lines" />
			<value type="UUID" name="userId"
				description="The id of the user to which the entry belongs" />
			<value type="text" name="caserNumber" description="The number of the associated case" />
			<value type="text" name="caserName" description="The name of the associated case" />
			<value type="text" name="activityName" description="The name of the associated activity" />
			<value type="text" name="activityNumber"
				description="The number of the associated activity" />
			<value type="UUID" name="activityId" description="The id of the associated activity" />
			<value type="dateTime" name="date" description="The date the entry" />
			<value type="UUID" name="typeId" description="The id of the associated type" />
			<value type="text" name="typeName" description="The name of the associated type" />
			<value type="text" name="typeNumber" description="The number of the associated type" />
			<value type="text" name="quantity" description="The quantity of the entry" />
			<value type="text" name="amount" description="The amount of the entry" />
			<value type="ExpenseLine" name="expenseline"
				description="This object contains the expense line of the entry" />
			<value type="dateTime" name="exportedDate" description="The exported date the entry" />
			<value type="boolean" name="fileAttachmentExists"
				description="True if the entry has a file attachment to be downloaded" />
			<value type="text" name="fileAttachmentName" description="The name of the file attachment" />
			<value type="text" name="fileAttachmentMimeType"
				description="The mime type of the file attachment" />
			<value type="enum" name="expenseType"
				description="The timesheetDayExpenseType from the type">
				<option type="text" name="SALARY" description="Employee expense paid back with salary" />
				<option type="text" name="PERSONAL"
					description="Employee expense paid back separately from salary" />
				<option type="text" name="COMPANY" description="Expense paid with company card" />
				<option type="text" name="EMPLOYEE_SELECTED"
					description="If selected, the entry decided how the payment should be refunded" />
			</value>
			<value type="enum" name="entryExpenseType"
				description="This attribute is only applicable if the expenseType is 'EMPLOYEE_SELECTED'.">
				<option type="text" name="SALARY" description="Employee expense paid back with salary" />
				<option type="text" name="PERSONAL"
					description="Employee expense paid back separately from salary" />
				<option type="text" name="COMPANY" description="Expense paid with company card" />
			</value>
			<value type="boolean" name="includedInSalaryExport"
				description="True if the entry is included in the salary export" />
		</returntype>
		<returntype name="TimesheetDayType">
			<value type="UUID" name="id" description="Id of the entry" />
			<value type="dateTime" name="created"
				description="The date and time the entry was created" />
			<value type="dateTime" name="updated"
				description="The date and time the entry was updated" />
			<value type="date" name="beginDate" description="The date when the entry starts" />
			<value type="date" name="endDate" description="The date when the entry ends" />
			<value type="text" name="name" description="The name of the entry shown to the user" />
			<value type="text" name="number" description="The number of the entry shown to the user" />
			<value type="UUID" name="materialId" description="The id of the associated material" />
			<value type="text" name="externalId" description="Id for external systems" />
			<value type="text" name="source" description="The source of the external system" />
			<value type="boolean" name="uniquePerDay"
				description="If true the entry only allows one type per day" />
			<value type="boolean" name="editableAmount"
				description="If true the entry has editable amount" />
			<value type="boolean" name="editableQuantity"
				description="If true the entry has editable quantity" />
			<value type="enum" name="documentationAttachmentLevel"
				description="Describes how the TimesheetDayType documentation level has been created">
				<option type="text" name="NO_DOCUMENTATION"
					description="Employee CANNOT attach documentation" />
				<option type="text" name="DOCUMENTATION_NOT_REQUIRED"
					description="Employee CAN attach documentation" />
				<option type="text" name="DOCUMENTATION_REQUIRED"
					description="Employee is REQUIRED to attach documentation" />
			</value>
			<value type="boolean" name="exportAttachment"
				description="If true the entry should be exported" />
			<value type="enum" name="timesheetDayExpenseType"
				description="The expense type of the entity">
				<option type="text" name="SALARY" description="Employee expense paid back with salary" />
				<option type="text" name="PERSONAL"
					description="Employee expense paid back separately from salary" />
				<option type="text" name="COMPANY" description="Expense paid with company card" />
				<option type="text" name="EMPLOYEE_SELECTED"
					description="If selected, the entry decided how the payment should be refunded" />
			</value>
		</returntype>
		<returntype name="TimesheetPlannedEntry">
			<value type="UUID" name="id" description="Id of the entry" />
			<value type="UUID" name="timesheetId" description="The id of the associated timesheet" />
			<value type="UUID" name="userId" description="The id of the associated user" />
			<value type="text" name="note" description="The note for the entry" />
			<value type="dateTime" name="beginDate" description="The date and time the entry starts" />
			<value type="dateTime" name="endDate" description="The date and time the entry ends" />
			<value type="UUID" name="orderId" description="The id of the associated order" />
			<value type="UUID" name="activityId" description="The id of the associated activity" />
			<value type="enum" name="registrationType" description="Type of the entry">
				<option type="text" name="WORK" description="Work time" />
				<option type="text" name="ABSENCE" description="There is no work available on the entry" />
			</value>
			<value type="boolean" name="overtime"
				description="If true the entry has been marked as over time" />
			<value type="boolean" name="suggestPhoneCall"
				description="True if client should be phoned before arrival" />
			<value type="boolean" name="customerConfirmed"
				description="True if entry has been confirmed by the client" />
			<value type="TimesheetAddition" includable="true" name="additions"
				description="Displays the additions for the entry" />
		</returntype>
		<returntype name="TripEvent">
			<value type="UUID" name="id" description="Id of the tripEvent" />
			<value type="text" name="fleetManagementPartner"
				description="The name of the fleet management provider" />
			<value type="Employee" name="employee"
				description="This object contains the id of the user (deprecated since 2024/06/14. See GpsDevice instead)" />
			<value type="dateTime" name="startTime" description="The start time of the tripEvent" />
			<value type="dateTime" name="endTime"
				description="The end time of the tripEvent. Used when the trip has ended" />
			<value type="text" name="startLocation" description="The address of the start location" />
			<value type="text" name="endLocation"
				description="The address of the end location. Used when the trip has ended" />
			<value type="text" name="description" description="Description of the tripEvent" />
			<value type="text" name="remark" description="Remarks, used for additional information" />
			<value type="float" name="tripDistance"
				description="The distance of the tripEvent in kilometers" />
			<value type="UUID" name="gpsDeviceId"
				description="The id of the GPS device used during the tripEvent" />
			<value type="boolean" name="locked"
				description="If true the tripEvent will be locked and will not be editable after creation" />
		</returntype>
		<returntype name="User">
			<value type="UUID" name="id" description="Id of the user" />
			<value type="UUID" name="employeeTypeId" description="Id of the user type" />
			<value type="text" name="name" description="Name of the user" />
			<value type="dateTime" name="created" description="The date and time the user was created" />
			<value type="text" name="initials" description="Employee initials" />
			<value type="text" name="employeeNumber" description="Employee number of the user" />
			<value type="text" name="email" description="Employee email" />
			<value type="text" name="cellPhone" description="Employee phone number" />
			<value type="text" name="description" description="Employee description" />
			<value type="enum" name="userType" description="The type of user">
				<option type="text" name="SUPER_USER"
					description="User type is a sort of 'pseudo' user, all roles allowed" />
				<option type="text" name="USER" description="User type is user" />
				<option type="text" name="RESOURCE_USER" description="User type is mini user" />
				<option type="text" name="RESOURCE" description="User type is resource, cannot login." />
				<option type="text" name="GO_USER" description="User type is GO user" />
			</value>
			<value type="boolean" name="deleted" description="Set to true if the User is deleted" />
		</returntype>
		<returntype name="VatCode">
			<value type="UUID" name="id" description="The id of the VAT code" />
			<value type="text" name="name" description="The name of the VAT code" />
			<value type="float" name="vatPercentage" description="The VAT percentage of the VAT code." />
			<value type="boolean" name="deleted" description="Set to true if the VAT code is deleted" />
		</returntype>
	</returntypes>
</api>