-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger-v1.json
1 lines (1 loc) · 439 KB
/
swagger-v1.json
1
{"paths":{"/api/warehouse/tenants-v4":{"get":{"summary":"Get Warehouse activation status","produces":["application/json"],"description":"Check if current tenant has activated Fortnox Warehouse.","operationId":"getTenant","responses":{"200":{"description":"Warehouse activation status for the current tenant","schema":{"$ref":"#/definitions/TenantInfo"},}},"parameters":[],"tags":["TenantResource"]}},"/api/warehouse/stockpoints-v1":{"get":{"summary":"List stock points","produces":["application/json"],"description":"List stock points, optionally include a query parameter `q` to filter on stock point code or name.\n\n Use query param `state` to filter on ACTIVE, INACTIVE or ALL (default is to include only ACTIVE stock points).\n\n Stock locations are NOT included in the response.","operationId":"getAll","responses":{"200":{"description":"A list of <code>StockPoints</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockPoint"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockPoint"}}}},"parameters":[{"name":"q","in":"query","description":"filters on stock point code or name.","required":false,"type":"string"},{"name":"state","in":"query","description":"filter on stock point state","required":false,"type":"string","enum":["ALL","ACTIVE","INACTIVE"]}],"tags":["StockPointResource"],"consumes":["application/json"]},"post":{"summary":"Create stock point","produces":["application/json"],"description":"Both <code>code</code> and <code>name</code> are mandatory.\n\n If you want to set a custom delivery address for this stock point,\n you must remember to set <code>usingCompanyAddress</code> to <code>false</code>.\n\n Returns 400 <code>alreadyexists</code> if a stock point with same code already exists.\n\n Returns 400 <code>duplicatestocklocations</code> if two or more stock locations have the same code.","operationId":"create","responses":{"200":{"description":"The created <code>StockPoint</code>.","schema":{"$ref":"#/definitions/StockPoint"},"responseSchema":{"$ref":"#/definitions/StockPoint"}}},"parameters":[{"in":"body","name":"stockPoint","description":"stock point","required":false,"schema":{"$ref":"#/definitions/StockPoint"}}],"tags":["StockPointResource"],"consumes":["application/json"]}},"/api/warehouse/stockpoints-v1/multi":{"get":{"summary":"Get stock points","produces":["application/json"],"description":"Get stock points by IDs.\n\n Use query param `state` to filter on ACTIVE, INACTIVE or ALL (default is to include ALL stock points).\n\n Stock locations are NOT included in the response.","operationId":"getMany","responses":{"200":{"description":"A list of <code>StockPoints</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockPoint"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockPoint"}}}},"parameters":[{"name":"ids","in":"query","description":"stock point ids (comma separated list of UUIDs)","required":false,"type":"array","items":{"type":"string","format":"uuid"},"collectionFormat":"multi"},{"name":"state","in":"query","description":"filter on <code>StockPointState</code>, default is to include ALL stock points.","required":false,"type":"string","enum":["ALL","ACTIVE","INACTIVE"]}],"tags":["StockPointResource"],"consumes":["application/json"]}},"/api/warehouse/stockpoints-v1/{id}/stocklocations":{"get":{"summary":"Get stock locations","produces":["application/json"],"description":"List stock locations for a specific stock point.\n\n Optionally include a query parameter `q` to filter on stock location code or name.","operationId":"getStockLocationsByAmbiguousId","responses":{"200":{"description":"A list of<code>StockLocations</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}}}},"parameters":[{"name":"id","in":"path","description":"stock point id or code","required":true,"type":"string"},{"name":"q","in":"query","description":"filters on stock location code or name.","required":false,"type":"string"}],"tags":["StockPointResource"],"consumes":["application/json"]}},"/api/warehouse/stockpoints-v1/{id}":{"get":{"summary":"Get stock point","produces":["application/json"],"description":"Get stock point by id or code.","operationId":"getByAmbiguousId","responses":{"200":{"description":"stock point","schema":{"$ref":"#/definitions/StockPoint"},"responseSchema":{"$ref":"#/definitions/StockPoint"}}},"parameters":[{"name":"id","in":"path","description":"stock point code, or stock point id","required":true,"type":"string"}],"tags":["StockPointResource"],"consumes":["application/json"]},"post":{"summary":"Append stock locations","produces":["application/json"],"description":"Add new stock locations to specific <code>StockPoint</code>.\n\n If you include an already existing stock location code, it will be ignored.","operationId":"appendStockLocations","responses":{"200":{"description":"A list of appended <code>StockLocations</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}}}},"parameters":[{"name":"id","in":"path","description":"stock point id","required":true,"type":"string","format":"uuid"},{"in":"body","name":"stockLocations","description":"A list of <code>StockLocations</code> to append.","required":false,"schema":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}}}],"tags":["StockPointResource"],"consumes":["application/json"]},"put":{"summary":"Update stock point","produces":["application/json"],"description":"Remember to supply the complete representation of stock point including stock locations.","operationId":"update","responses":{"200":{"description":"The updated <code>StockPoint</code>.","schema":{"$ref":"#/definitions/StockPoint"},"responseSchema":{"$ref":"#/definitions/StockPoint"}}},"parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"string","format":"uuid"},{"in":"body","name":"stockPoint","description":"complete representation of stock point including stock locations.","required":false,"schema":{"$ref":"#/definitions/StockPoint"}}],"tags":["StockPointResource"],"consumes":["application/json"]},"delete":{"summary":"Delete stock point","produces":["application/json"],"description":"Note that it is not allowed to delete a stock point that is in use.","operationId":"delete","responses":{"200":{"description":"The deleted <code>StockPoint</code>.","schema":{"$ref":"#/definitions/StockPoint"},"responseSchema":{"$ref":"#/definitions/StockPoint"}}},"parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"string","format":"uuid"}],"tags":["StockPointResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id}":{"get":{"summary":"Get custom outbound document","produces":["application/json"],"description":"","operationId":"get","responses":{"200":{"description":"the fetched <code>CustomOutboundDocument</code>","schema":{"$ref":"#/definitions/CustomOutboundDocument"},"responseSchema":{"$ref":"#/definitions/CustomOutboundDocument"}}},"parameters":[{"name":"type","in":"path","description":"document type","required":true,"type":"string"},{"name":"id","in":"path","description":"document id","required":true,"type":"string"}],"tags":["CustomOutboundDocumentResource"],"consumes":["application/json"]},"put":{"summary":"Save a custom outbound document","produces":["application/json"],"description":"<br>\n If type is not known, it will be registered as belonging to the OUTBOUND category.<br>\n If type is an existing custom document type of category INBOUND an error is thrown.<br>\n If type is invalid an error is thrown.<br>","operationId":"save","responses":{"200":{"description":"the stored <code>CustomOutboundDocument</code>","schema":{"$ref":"#/definitions/CustomOutboundDocument"},"responseSchema":{"$ref":"#/definitions/CustomOutboundDocument"}}},"parameters":[{"name":"type","in":"path","description":"the type of the custom outbound document, min 1 character, max 25 characters, may contain letters A-Z, digits 0-9, underscore (_), and dash (-). Always stored as upper case.","required":true,"type":"string"},{"name":"id","in":"path","description":"the id of the custom outbound document, min 1 character, max 25 characters, may only contain digits 0-9","required":true,"type":"string"},{"in":"body","name":"document","description":"the <code>CustomOutboundDocument</code> to create","required":false,"schema":{"$ref":"#/definitions/CustomOutboundDocument"}}],"tags":["CustomOutboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id}/release":{"put":{"summary":"Release custom outbound document","produces":["application/json"],"description":"","operationId":"release","responses":{"default":{"description":"no content"}},"parameters":[{"name":"type","in":"path","description":"document type","required":true,"type":"string"},{"name":"id","in":"path","description":"document id","required":true,"type":"string"}],"tags":["CustomOutboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/outbound-v1/{type}/{id}/void":{"put":{"summary":"Void custom outbound document","produces":["application/json"],"description":"","operationId":"voidDocument","responses":{"default":{"description":"no content"}},"parameters":[{"name":"type","in":"path","description":"document type","required":true,"type":"string"},{"name":"id","in":"path","description":"document id","required":true,"type":"string"},{"name":"force","in":"query","description":"true if the document should be voided even if the document has connected outbounds, defaults to false.","required":false,"type":"boolean"}],"tags":["CustomOutboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id}":{"get":{"summary":"Get custom inbound document","produces":["application/json"],"description":"","responses":{"200":{"description":"The <code>CustomInboundDocument</code>.","schema":{"$ref":"#/definitions/CustomInboundDocument"},"responseSchema":{"$ref":"#/definitions/CustomInboundDocument"}}},"operationId":"get_CustomInboundDocumentResource","parameters":[{"name":"type","in":"path","description":"Document type.","required":true,"type":"string"},{"name":"id","in":"path","description":"Document id.","required":true,"type":"string"}],"tags":["CustomInboundDocumentResource"],"consumes":["application/json"]},"put":{"summary":"Save custom inbound document","produces":["application/json"],"description":"","responses":{"200":{"description":"the stored <code>CustomInboundDocument</code>","schema":{"$ref":"#/definitions/CustomInboundDocument"},"responseSchema":{"$ref":"#/definitions/CustomInboundDocument"}}},"operationId":"save_CustomInboundDocumentResource","parameters":[{"name":"type","in":"path","description":"min 1 character, max 25 characters, may contain letters A-Z, digits 0-9, underscore (_), and dash (-), type is case-insensitive\n <blockquote><pre>\n Type is a custom name/reference of the document that will be used to reference the document type <br>\n * If type is not known, it will be registered as belonging to the INBOUND category. <br>\n * If type is an existing custom document type of category OUTBOUND an error is thrown. <br>\n * If type is invalid an error is thrown. <br>\n </pre></blockquote>","required":true,"type":"string"},{"name":"id","in":"path","description":"min 1 character, max 25 characters, may only contain digits 0-9","required":true,"type":"string"},{"in":"body","name":"document","description":"the <code>CustomInboundDocument</code> to create","required":false,"schema":{"$ref":"#/definitions/CustomInboundDocument"}}],"tags":["CustomInboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id}/release":{"put":{"summary":"Release custom inbound document","produces":["application/json"],"description":"The document will be locked and bookkept.\n The inbound deliveries will affect available stock.","responses":{"default":{"description":"no content"}},"operationId":"release_CustomInboundDocumentResource","parameters":[{"name":"type","in":"path","description":"document type","required":true,"type":"string"},{"name":"id","in":"path","description":"document id","required":true,"type":"string"}],"tags":["CustomInboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/inbound-v1/{type}/{id}/void":{"put":{"summary":"Void custom inbound document","produces":["application/json"],"description":"Voiding a document will undo the possible stock changes that the document had made,\n note that the document and the transactions created are not deleted. Some limitations apply, see below.","responses":{"default":{"description":"no content"}},"operationId":"voidDocument_CustomInboundDocumentResource","parameters":[{"name":"type","in":"path","description":"document type","required":true,"type":"string"},{"name":"id","in":"path","description":"document id","required":true,"type":"string"},{"name":"force","in":"query","description":"true if the document should be voided even if the document has connected outbounds, defaults to false.","required":false,"type":"boolean"}],"tags":["CustomInboundDocumentResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/documenttypes-v1":{"get":{"summary":"List custom document types","produces":["application/json"],"description":"","responses":{"200":{"description":"A list of <code>CustomDocumentTypes</code>","schema":{"type":"array","items":{"$ref":"#/definitions/CustomDocumentType"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/CustomDocumentType"}}}},"operationId":"getAll_CustomDocumentTypeResource","parameters":[],"tags":["CustomDocumentTypeResource"],"consumes":["application/json"]},"post":{"summary":"Create custom document type","produces":["application/json"],"description":"Create type, if it doesn't already exists. Note that new custom document types are\n created automatically when you create custom documents, so normally\n you do not need to call this method.\n\n Throws HTTP 400 <code>referenceTypeNotAllowed</code> if the name of the type is not allowed.","responses":{"200":{"description":"`1` if created, else `0` if type already exists.","schema":{"type":"integer","format":"int32"},"responseSchema":{"type":"integer","format":"int32"}}},"operationId":"create_CustomDocumentTypeResource","parameters":[{"in":"body","name":"customDocumentType","description":"The <code>CustomDocumentType</code>.","required":false,"schema":{"$ref":"#/definitions/CustomDocumentType"}}],"tags":["CustomDocumentTypeResource"],"consumes":["application/json"]}},"/api/warehouse/documentdeliveries/custom/documenttypes-v1/{type}":{"get":{"summary":"Get custom document type","produces":["application/json"],"description":"","responses":{"200":{"description":"A <code>CustomDocumentType</code>","schema":{"$ref":"#/definitions/CustomDocumentType"},"responseSchema":{"$ref":"#/definitions/CustomDocumentType"}}},"operationId":"get_CustomDocumentTypeResource","parameters":[{"name":"type","in":"path","description":"the name of the reference type","required":true,"type":"string"}],"tags":["CustomDocumentTypeResource"],"consumes":["application/json"]}},"/api/warehouse/purchaseorders-v1":{"get":{"summary":"List Purchase Orders","produces":["application/json"],"description":"<p>\n List purchase orders matching the given parameters.\n </p>\n <p>\n Sortable fields:\n <code>id</code>,\n <code>supplier_number</code>,\n <code>order_date</code>,\n <code>internal_reference</code>,\n <code>response_state</code>,\n <code>delivery_date</code>\n </p>","responses":{"200":{"description":"A list of <code>PurchaseOrders</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrder"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrder"}}}},"operationId":"getAll_PurchaseOrderResource","parameters":[{"name":"q","in":"query","description":"Include only documents where `id` or `internalReference`-field contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"supplierNumber","in":"query","description":"Include only documents with the given `supplierNumber`.","required":false,"type":"string"},{"name":"state","in":"query","description":"Include only documents with the given `purchaseOrderState`.","required":false,"type":"string","enum":["NOT_SENT","SENT","SENT_NOT_REJECTED","DELAYED","RECEIVED","VOIDED","CURRENT","ALL"]},{"name":"itemId","in":"query","description":"Include only documents with the given `itemId`.","required":false,"type":"string"},{"name":"purchaseType","in":"query","description":"Include only documents with the given `purchaseType`","required":false,"type":"string","enum":["WAREHOUSE","DROPSHIP"]},{"name":"internalReference","in":"query","description":"Include only documents where `internalReference' contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"note","in":"query","description":"Include only documents where `note`-field contains the given text (case-insensitive).","required":false,"type":"string"}],"tags":["PurchaseOrderResource"]},"post":{"summary":"Create Purchase Order","produces":["application/json"],"description":"","responses":{"200":{"description":"The created <code>PurchaseOrder</code> document.","schema":{"$ref":"#/definitions/PurchaseOrder"},"responseSchema":{"$ref":"#/definitions/PurchaseOrder"}}},"operationId":"create_PurchaseOrderResource","parameters":[{"in":"body","name":"purchaseOrder","description":"<code>PurchaseOrder</code> document.","required":false,"schema":{"$ref":"#/definitions/PurchaseOrder"}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/csv":{"get":{"summary":"Get CSV list of Purchase Orders","produces":["text/csv"],"description":"","operationId":"getCsvReport","responses":{"200":{"description":"A list of <code>PurchaseOrders</code>.","schema":{"type":"string"},"responseSchema":{"type":"string"}}},"parameters":[{"name":"q","in":"query","description":"Include only documents where `id` or `internalReference`-field contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"supplierNumber","in":"query","description":"Include only documents with the given `supplierNumber`.","required":false,"type":"string"},{"name":"state","in":"query","description":"Include only documents with the given `purchaseOrderState`.","required":false,"type":"string","enum":["NOT_SENT","SENT","SENT_NOT_REJECTED","DELAYED","RECEIVED","VOIDED","CURRENT","ALL"]},{"name":"itemId","in":"query","description":"Include only documents with the given `itemId`.","required":false,"type":"string"},{"name":"purchaseType","in":"query","description":"Include only documents with the given `purchaseType`","required":false,"type":"string","enum":["WAREHOUSE","DROPSHIP"]},{"name":"internalReference","in":"query","description":"Include only documents where `internalReference' contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"note","in":"query","description":"Include only documents where `note`-field contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"showPurchaseTypeColumn","in":"query","description":"True to include the purchase type column, default is false.","required":false,"type":"boolean"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/response":{"put":{"summary":"Update response state","produces":["application/json"],"description":"","operationId":"updateResponseState","responses":{"200":{"description":"The updated <code>PurchaseOrder</code>","schema":{"$ref":"#/definitions/PurchaseOrder"},"responseSchema":{"$ref":"#/definitions/PurchaseOrder"}}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"responseStateChange","description":"The new response state.","required":false,"schema":{"$ref":"#/definitions/ResponseStateChange"}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/complete":{"put":{"summary":"Manually complete Purchase Order","produces":["application/json"],"description":"The purchase order will be treated as fully received.\n Any remaining quantity will be ignored.","operationId":"setManuallyCompleted","responses":{"default":{"description":"Nothing."}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/dropshipcomplete":{"put":{"summary":"Manually complete dropship order","produces":["application/json"],"description":"The dropship order will be treated as fully received.\n Any remaining quantity will be ignored.","operationId":"setDropshipManuallyCompleted","responses":{"200":{"description":"<code>ReleaseParentOrder</code> status for release of parent order","schema":{"$ref":"#/definitions/ReleaseParentOrder"},"responseSchema":{"$ref":"#/definitions/ReleaseParentOrder"}}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/response":{"put":{"summary":"Update response states","produces":["application/json"],"description":"","operationId":"batchUpdateResponseState","responses":{"200":{"description":"a list of the updated <code>PurchaseOrders</code>","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrder"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrder"}}}},"parameters":[{"name":"ids","in":"query","description":"List of purchase order ids.","required":false,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"in":"body","name":"responseStateChange","description":"The new response state.","required":false,"schema":{"$ref":"#/definitions/ResponseStateChange"}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}":{"get":{"summary":"Get Purchase Order","produces":["application/json"],"description":"","responses":{"200":{"description":"The <code>PurchaseOrder</code>.","schema":{"$ref":"#/definitions/PurchaseOrder"},"responseSchema":{"$ref":"#/definitions/PurchaseOrder"}}},"operationId":"get_PurchaseOrderResource","parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"},{"name":"ignoreIncomingGoodsId","in":"query","description":"used for calculating the remaining ordered quantity. null will take the received quantity from all incoming goods","required":false,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]},"put":{"summary":"Update Purchase Order","produces":["application/json"],"description":"","responses":{"200":{"description":"The updated <code>PurchaseOrder</code>.","schema":{"$ref":"#/definitions/PurchaseOrder"},"responseSchema":{"$ref":"#/definitions/PurchaseOrder"}}},"operationId":"update_PurchaseOrderResource","parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"purchaseOrder","description":"The <code>PurchaseOrder</code> document.","required":false,"schema":{"$ref":"#/definitions/PurchaseOrder"}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/send":{"post":{"summary":"Send purchase order via email","produces":["application/json"],"description":"Sends the purchase order with the specified <code>id</code> to the recipient and sets the purchase order state to SENT","operationId":"sendPurchaseOrder","responses":{"default":{"description":"the <code>PurchaseOrder</code>"}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"settings","description":"see <code>PurchaseOrderMailSettings</code>","required":false,"schema":{"$ref":"#/definitions/PurchaseOrderMailSettings"}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/sendpurchaseorders":{"post":{"summary":"Sends multiple purchase orders via email","produces":["application/json"],"description":"","operationId":"sendPurchaseOrders","responses":{"default":{"description":"Nothing."}},"parameters":[{"in":"body","name":"purchaseOrderIds","description":"List of Purchase order ids.","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/void":{"put":{"summary":"Void Purchase Order","produces":["application/json"],"description":"","responses":{"default":{"description":"Nothing."}},"operationId":"voidDocument_PurchaseOrderResource","parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/matches":{"get":{"summary":"List matched documents","produces":["application/json"],"description":"Get a list of <code>DocumentReference</code> of linked/connected purchase orders to incoming goods and/or invoice document.","operationId":"getMatchedDocuments","responses":{"200":{"description":"list of document references","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentReference"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/DocumentReference"}}}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/purchaseorders-v1/{id}/notes":{"get":{"summary":"Get notes","produces":["application/json"],"description":"Get notes for a purchase order.","operationId":"getAttachedNotes","responses":{"200":{"description":"A list of <code>PurchaseOrderRowNotes</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRowNote"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRowNote"}}}},"parameters":[{"name":"id","in":"path","description":"Purchase order id.","required":true,"type":"integer","format":"int64"}],"tags":["PurchaseOrderResource"]}},"/api/warehouse/incominggoods-v1/{id}":{"get":{"summary":"Get Incoming Goods document","produces":["application/json"],"description":"","responses":{"200":{"description":"The <code>IncomingGoods</code> document.","schema":{"$ref":"#/definitions/IncomingGoods"},"responseSchema":{"$ref":"#/definitions/IncomingGoods"}}},"operationId":"get_IncomingGoodsResource","parameters":[{"name":"id","in":"path","description":"Incoming goods document id.","required":true,"type":"integer","format":"int64"},{"name":"ignoreSupplierInvoiceId","in":"query","description":"This Supplier Invoice id will be excluded when calculating the takenQuantity.","required":false,"type":"integer","format":"int64"}],"tags":["IncomingGoodsResource"]},"put":{"summary":"Update Incoming Goods document","produces":["application/json"],"description":"","responses":{"200":{"description":"The updated <code>IncomingGoods</code> document.","schema":{"$ref":"#/definitions/IncomingGoods"},"responseSchema":{"$ref":"#/definitions/IncomingGoods"}}},"operationId":"save_IncomingGoodsResource","parameters":[{"name":"id","in":"path","description":"Incoming goods document id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"incomingGoods","description":"The <code>IncomingGoods</code> document.","required":false,"schema":{"$ref":"#/definitions/IncomingGoods"}}],"tags":["IncomingGoodsResource"]}},"/api/warehouse/incominggoods-v1/":{"get":{"summary":"List Incoming Goods Documents","produces":["application/json"],"description":"<p>\n List incoming goods documents matching the given parameters.\n </p>\n <p>\n Sortable fields:\n <code>id</code>,\n <code>has_delivery_note</code>,\n <code>delivery_note_id</code>,\n <code>supplier_number</code>,\n <code>date</code>\n </p>","responses":{"200":{"description":"A list of <code>IncomingGoods</code> documents.","schema":{"type":"array","items":{"$ref":"#/definitions/IncomingGoodsListRow"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/IncomingGoodsListRow"}}}},"operationId":"getAll_IncomingGoodsResource","parameters":[{"name":"released","in":"query","description":"`true` to include only released documents.\n `false` to include only non-released documents.","required":false,"type":"boolean"},{"name":"completed","in":"query","description":"`true` to include only completed documents.\n `false` to include only non-completed documents.","required":false,"type":"boolean"},{"name":"voided","in":"query","description":"`true` to include only voided documents.\n `false` to include only non-voided documents.","required":false,"type":"boolean"},{"name":"supplierNumber","in":"query","description":"Include only documents with the given `supplierNumber`.","required":false,"type":"string"},{"name":"itemId","in":"query","description":"Include only documents with the given `itemId`.","required":false,"type":"string"},{"name":"note","in":"query","description":"Include only documents where `note`-field contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"deliveryNote","in":"query","description":"Include only documents where `deliveryNote`-field contains the given text (case-insensitive).","required":false,"type":"string"},{"name":"q","in":"query","description":"Include only documents where `id` or `deliveryNote`-field contains the given text (case-insensitive).","required":false,"type":"string"}],"tags":["IncomingGoodsResource"]},"post":{"summary":"Create Incoming Goods document","produces":["application/json"],"description":"","responses":{"200":{"description":"The created <code>IncomingGoods</code> document.","schema":{"$ref":"#/definitions/IncomingGoods"},"responseSchema":{"$ref":"#/definitions/IncomingGoods"}}},"operationId":"create_IncomingGoodsResource","parameters":[{"in":"body","name":"incomingGoods","description":"The <code>IncomingGoods</code> document.","required":false,"schema":{"$ref":"#/definitions/IncomingGoods"}}],"tags":["IncomingGoodsResource"]}},"/api/warehouse/incominggoods-v1/{id}/release":{"put":{"summary":"Release Incoming Goods document","produces":["application/json"],"description":"The document will be locked and bookkept.\n The inbound deliveries will affect available stock.","responses":{"default":{"description":"Nothing."}},"operationId":"release_IncomingGoodsResource","parameters":[{"name":"id","in":"path","description":"Incoming goods document id.","required":true,"type":"integer","format":"int64"}],"tags":["IncomingGoodsResource"]}},"/api/warehouse/incominggoods-v1/{id}/completed":{"put":{"summary":"Complete Incoming Goods document","produces":["application/json"],"description":"Mark a released Incoming Goods document as Completed.\n Bookkeeping will be finalized.\n A Completed Incoming Goods document cannot be matched against\n any more Supplier Invoices.","operationId":"completed","responses":{"default":{"description":"Nothing."}},"parameters":[{"name":"id","in":"path","description":"Incoming goods document id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"bookingDate","description":"Date for bookkeeping in format `\"YYYY-MM-DD\"`. Must be between document's release date (inclusive) and today's date (inclusive).","required":false,"schema":{"type":"string"}}],"tags":["IncomingGoodsResource"]}},"/api/warehouse/incominggoods-v1/{id}/void":{"put":{"summary":"Void Incoming Goods document","produces":["application/json"],"description":"Void a document.\n If an Incoming Goods document has been Completed, or matched against\n Supplier Invoice, it cannot be voided.","responses":{"default":{"description":"Nothing."}},"operationId":"voidDocument_IncomingGoodsResource","parameters":[{"name":"id","in":"path","description":"Incoming goods document id.","required":true,"type":"integer","format":"int64"}],"tags":["IncomingGoodsResource"]}},"/api/warehouse/status-v1/stockbalance":{"get":{"summary":"Get stock balance","produces":["application/json"],"description":"Get stock balance for one or more items for each stockpoint\n with (inbound- or outbound-) deliveries.\n\n Returns a list of <code>itemId</code>, <code>stockPointCode</code>,\n <code>availableStock</code>, <code>inStock</code>.\n\n (The difference between <code>availableStock</code> and <code>inStock</code>\n is the reserved amount.)","operationId":"getStockBalance","responses":{"200":{"description":"A list of <code>StockBalances</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockBalance"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockBalance"}}}},"parameters":[{"name":"itemIds","in":"query","description":"A comma-separated list of itemIds.","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockPointCodes","in":"query","description":"Optional filter on stock point codes (comma-separated).","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"tags":["StockStatusResource"]}},"/api/warehouse/stocktaking-v1":{"get":{"summary":"List stock takings","produces":["application/json"],"description":"<p>\n Sortable fields:\n <code>id</code>,\n <code>name</code>,\n <code>date</code>,\n <code>responsible</code>,\n <code>state</code>\n </p>","responses":{"200":{"description":"A list of <code>StockTakings</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockTaking"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockTaking"}}}},"operationId":"getAll_StockTakingResource","parameters":[{"name":"state","in":"query","description":"Include only stock takings with the given state.","required":false,"type":"string","enum":["all","planning","started","completed","voided"]},{"name":"itemId","in":"query","description":"Include only stock takings with the given item.","required":false,"type":"string"}],"tags":["StockTakingResource"]},"post":{"summary":"Create stock taking","produces":["application/json"],"description":"Create a new Stock Taking document.\n The only mandatory fields are <code>name</code> and <code>responsible</code>.\n <code>state</code> will be set to <code>planning</code> for a newly created document.\n\n The <code>date</code>-field is not mandatory for documents in state <code>planning</code>.\n However, when you update the state to <code>started</code> you have to provide a date.\n\n <code>name</code> is a descriptive name of the stock taking.\n\n <code>responsible</code> is the name of the responsible for the stock taking.\n\n <code>rows</code> are added after creation by using the addRows-method.\n\n <code>projectId</code> and <code>costCenterCode</code> are used for book-keeping, when the\n Stock Taking document is released.\n\n The field <code>usingStockPoints</code> is set from Warehouse system settings upon creation.\n If multiple stockpoints is used, then the rows will be per item-stockPoint-stockLocation.\n If multiple stockpoints is NOT used, then the rows will be per item-stockLocation.","responses":{"200":{"description":"the created stock taking","schema":{"$ref":"#/definitions/StockTaking"},"responseSchema":{"$ref":"#/definitions/StockTaking"}}},"operationId":"create_StockTakingResource","parameters":[{"in":"body","name":"stockTaking","description":"stock taking","required":false,"schema":{"$ref":"#/definitions/StockTaking"}}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}":{"get":{"summary":"Get Stock Taking document","produces":["application/json"],"description":"","responses":{"200":{"description":"The <code>StockTaking</code> document.","schema":{"$ref":"#/definitions/StockTaking"},"responseSchema":{"$ref":"#/definitions/StockTaking"}}},"operationId":"get_StockTakingResource","parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"}],"tags":["StockTakingResource"]},"put":{"summary":"Update a stock taking","produces":["application/json"],"description":"Updates can only be done when state is <code>planning</code> or <code>started</code>.\n\n All updatable fields (<code>date</code>, <code>name</code>, <code>responsible</code>,\n <code>state</code>, <code>sortingId</code>, <code>costCenterCode</code>, <code>projectId</code>)\n in the document head are set to supplied values.\n\n You cannot set <code>state</code> to <code>completed</code> or <code>voided</code>. Use endpoints\n release or void for this.\n\n The <code>date</code>-field is mandatory for documents in state <code>started</code>.\n\n When state is <code>started</code> you use this endpoint for setting the stock taken quantity.\n Only existing rows can be updated - no new rows will be created (use the addRows endpoint for this).\n Only the supplied rows will be updated. I.e. you don't have to send in <strong>all</strong>\n document rows - just supply the rows you want to set stockTakenQuantity for. Just make sure\n to always include all the fields from the document head as mentioned above.\n\n The mandatory fields on the (optionally supplied) rows are: <code>itemId</code>,\n <code>stockPointId</code>, <code>stockLocationId</code>.\n Fields <code>countedBy</code> and <code>stockTakenQuantity</code> are technically\n not mandatory, but will be set to null if you don't supply them.","responses":{"200":{"description":"The <code>StockTaking</code> document.","schema":{"$ref":"#/definitions/StockTaking"},"responseSchema":{"$ref":"#/definitions/StockTaking"}}},"operationId":"update_StockTakingResource","parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"stockTaking","description":"stock taking","required":false,"schema":{"$ref":"#/definitions/StockTaking"}}],"tags":["StockTakingResource"]},"delete":{"summary":"Delete Stock Taking document","produces":["application/json"],"description":"Permanently deletes a Stock Taking document and its rows.\n\n Only for documents in state <code>planning</code> and <code>started</code>.","operationId":"deleteStockTaking","responses":{"default":{"description":"Nothing."}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/release":{"put":{"summary":"Release Stock Taking document","produces":["application/json"],"description":"The document will be locked and bookkept.\n The Stock Taking document state will be set to <code>completed</code>.\n The stock amount will be adjusted according to the stock taken quantity.","responses":{"default":{"description":"Nothing."}},"operationId":"release_StockTakingResource","parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/void":{"put":{"summary":"Void Stock Taking document","produces":["application/json"],"description":"Sets the Stock Taking document state to <code>voided</code>.\n\n Only documents in state <code>planning</code> and <code>started</code>\n can be voided. A <code>completed</code> document may not be voided.","operationId":"voidStockTaking","responses":{"default":{"description":"Nothing."}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/candidates":{"get":{"summary":"Get candidate rows","produces":["application/json"],"description":"A candidate row is a combination of itemId, stockPointId and stockLocationId\n that can be added to the Stock Taking document.\n\n Rows already added to the Stock Taking are excluded from this list.","operationId":"getCandidateRows","responses":{"200":{"description":"A list of <code>StockTakingRows</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}}}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"name":"itemIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"supplierNumbers","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockPointIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockLocationIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"transactionDate","in":"query","required":false,"type":"string","format":"date"},{"name":"itemIdSearch","in":"query","required":false,"type":"string"},{"name":"itemDescriptionSearch","in":"query","required":false,"type":"string"},{"name":"excludeZeroBalanceItems","in":"query","required":false,"type":"boolean"},{"name":"includeNonInboundItems","in":"query","description":"Include items that do not exist on inbound deliveries.","required":false,"type":"boolean"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/rows":{"get":{"summary":"Get Stock Taking Rows","produces":["application/json"],"description":"","operationId":"getRows","responses":{"200":{"description":"A list of <code>StockTakingRows</code>.","schema":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}}}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"name":"itemIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"supplierNumbers","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockPointIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockLocationIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"transactionDate","in":"query","required":false,"type":"string","format":"date"},{"name":"itemIdSearch","in":"query","required":false,"type":"string"},{"name":"itemDescriptionSearch","in":"query","required":false,"type":"string"},{"name":"excludeZeroBalanceItems","in":"query","required":false,"type":"boolean"},{"name":"secondarysortby","in":"query","description":"Secondary sorting column","required":false,"type":"string"},{"name":"secondaryorder","in":"query","description":"Secondary sorting order","required":false,"type":"string"},{"name":"stateFilter","in":"query","description":"","required":false,"type":"string","enum":["all","notStockTaken","stockTakenNoDeviation","stockTakenWithDeviation"]},{"name":"startingRowNo","in":"query","description":"the row number to start the search from, used with startingItemId to jump to specific rows, can be empty","required":false,"type":"integer","format":"int32"},{"name":"startingItemId","in":"query","description":"the itemId that should be on top of the rows list (used to jump to specific row), can be empty","required":false,"type":"string"}],"tags":["StockTakingResource"]},"post":{"summary":"Add rows","produces":["application/json"],"description":"Add rows to a stock taking.\n If you add an already existing row noting happens.","operationId":"addStockTakingRows","responses":{"default":{"description":"Nothing."}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"in":"body","name":"rows","description":"A list of <code>StockTakingRows</code>.","required":false,"schema":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}}}],"tags":["StockTakingResource"]},"delete":{"summary":"Delete rows by filter","produces":["application/json"],"description":"Remove all rows matching the filter parameters from the Stock Taking document.","operationId":"deleteStockTakingRowByFilter","responses":{"200":{"description":"number of deleted rows","schema":{"type":"integer","format":"int32"},"responseSchema":{"type":"integer","format":"int32"}}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"name":"itemIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"supplierNumbers","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockPointIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockLocationIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"transactionDate","in":"query","required":false,"type":"string","format":"date"},{"name":"itemIdSearch","in":"query","required":false,"type":"string"},{"name":"itemDescriptionSearch","in":"query","required":false,"type":"string"},{"name":"excludeZeroBalanceItems","in":"query","required":false,"type":"boolean"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/addrows":{"post":{"summary":"Add rows by filter","produces":["application/json"],"description":"Add all matching candidate rows to a stock taking, as specified by filters.","operationId":"addStockTakingRowsByFilter","responses":{"200":{"description":"Number of added rows.","schema":{"type":"integer","format":"int32"},"responseSchema":{"type":"integer","format":"int32"}}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"name":"itemIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"supplierNumbers","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockPointIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stockLocationIds","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"transactionDate","in":"query","required":false,"type":"string","format":"date"},{"name":"itemIdSearch","in":"query","required":false,"type":"string"},{"name":"itemDescriptionSearch","in":"query","required":false,"type":"string"},{"name":"excludeZeroBalanceItems","in":"query","required":false,"type":"boolean"},{"name":"excludeNonInboundItems","in":"query","description":"","required":false,"type":"boolean"}],"tags":["StockTakingResource"]}},"/api/warehouse/stocktaking-v1/{id}/rows/{rowId:.*}":{"delete":{"summary":"Delete row","produces":["application/json"],"description":"Remove single row by id from the Stock Taking document.","operationId":"deleteStockTakingRow","responses":{"200":{"description":"Number of deleted rows (1)","schema":{"type":"integer","format":"int32"},"responseSchema":{"type":"integer","format":"int32"}}},"parameters":[{"name":"id","in":"path","description":"Stock Taking document id.","required":true,"type":"integer","format":"int64"},{"name":"rowId","in":"path","description":"row id","required":true,"type":"string"}],"tags":["StockTakingResource"]}},"/api/time/articles-v1":{"get":{"summary":"Get full article registrations that match filter","produces":["application/json"],"description":"<p>\n <b>Response property descriptions:</b><br/>\n <b><i>id</i></b> - The unique id of a basic common combination of article registrations. (The basic common combination means \"user/purchase date/customer/project/cost center\", which leads to a dialog with several article registrations.)<br/>\n <b><i>purchaseDate</i></b> - The date on which the article is purchased or registered for charging.<br/>\n <b><i>ownerId</i></b> - The user ID who creates the basic common combination.<br/>\n <b><i>version</i></b> - The version of the basic common combination (article dialog) being updated, which is used for handling the concurrency issue.<br/>\n <b><i>registrationType</i></b> - It is always \"ARTICLE\" for article list endpoint.<br/>\n <b>Sub-Class - ArticleRegistration:</b><br/>\n <b><i>id</i></b> - The unique id of an article registration.<br/>\n <b><i>registrationId</i></b> - The id of the basic common combination.<br/>\n <b><i>orderIndex</i></b> - the order index for the article registration in regard of the common combination.<br/>\n <b><i>ownerId</i></b> - The user ID who owns the article registration.<br/>\n <b><i>totalQuantity</i></b> - The quantity of the article.<br/>\n <b><i>unitPrice</i></b> - The unit price connected to the article registration, which might be locked on an invoice/order basis or for non-invoiceable.<br/>\n <b><i>unitCost</i></b> - The unit cost connected to the article registration, which might be locked on an invoice/order basis.<br/>\n <b><i>invoiceBasisId</i></b> - The ID of invoice/order basis which is used for creating an invoice/order.<br/>\n <b><i>nonInvoiceable</i></b> - If the article registration would be ignored for charging or not.<br/>\n <b><i>note</i></b> - The note on the article registration.<br/>\n <b><i>documentId</i></b> - The document ID which includes the article registration and is created in Invoicing application.<br/>\n <b><i>documentType</i></b> - The document type which could be \"invoice\" or \"order\".\n </p>","operationId":"list","responses":{"200":{"description":"list of article registrations <code>BaseArticleRegistration</code>","schema":{"type":"array","items":{"$ref":"#/definitions/BaseArticleRegistration"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/BaseArticleRegistration"}}}},"responsesObject":{"200":{"description":"list of article registrations <code>BaseArticleRegistration</code>","schema":{"type":"array","items":{"$ref":"#/definitions/BaseArticleRegistration"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/BaseArticleRegistration"}}}},"parameters":[{"name":"fromDate","in":"query","description":"The start date of the search span, the max of which should be 1 year to the end date (\"toDate\").\n Example: 2022-11-01","required":false,"type":"string","format":"date"},{"name":"toDate","in":"query","description":"The end date of the search span, the max of which should be 1 year back to the start date (\"fromDate\").\n Example: 2022-11-30","required":false,"type":"string","format":"date"},{"name":"customerIds","in":"query","description":"An array of customer IDs which are being used in database and in one-to-one relation with customer numbers.\n Example: 100,101,102","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"projectIds","in":"query","description":"An array of project IDs.\n Example: p1,p2,p3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"includeRegistrationsWithoutProject","in":"query","description":"If the article registration without project is included, or not.","required":false,"type":"boolean"},{"name":"itemIds","in":"query","description":"An array of article IDs.\n Example: s1,s2,s3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"costCenterIds","in":"query","description":"An array of cost center IDs.\n Example: cc1,cc2,cc3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"ownerIds","in":"query","description":"An array of user ids who own the article registrations.\n Example: 1,2,3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"invoiced","in":"query","description":"If a document is created with the article registration, or not.","required":false,"type":"boolean"},{"name":"inInvoiceBasis","in":"query","description":"If the article registration is locked on an invoice basis, or not.","required":false,"type":"boolean"},{"name":"internalArticles","in":"query","description":"If the article registration is internal, which is registered on an internal customer, or not.","required":false,"type":"boolean"},{"name":"nonInvoiceable","in":"query","description":"If the article registration has been moved to non-invoiceable, or not.","required":false,"type":"boolean"},{"name":"includeNonInvoiceablePrice","in":"query","description":"If the price of the non-invoiceable article registration is included, or not.","required":false,"type":"boolean"}],"tags":["ArticlesResource"]}},"/api/time/registrations-v2":{"get":{"summary":"Get time/absence registrations that match filter","produces":["application/json"],"description":"<p>\n <b>Response property descriptions:</b><br/>\n <b><i>id</i></b> - The unique id of the registration.<br/>\n <b><i>userId</i></b> - The user ID who owns the registration.<br/>\n <b><i>workedDate</i></b> - The date for which the registration is created.<br/>\n <b><i>workedHours</i></b> - The time spent, or the time of absence.<br/>\n <b><i>invoiceText</i></b> - The text to be included in the invoice/order basis which would be used to create an invoice/order.<br/>\n <b><i>note</i></b> - The note on the registration.<br/>\n <b><i>chargeHours</i></b> - The time to be invoiced, or 0 for the absence, or locked for non-invoiceable.<br/>\n <b><i>childId</i></b> - The child ID related to the absence registration of parental leave (FPE), which comes from Payroll application.<br/>\n <b><i>nonInvoiceable</i></b> - If the registration would be ignored for charging or not.<br/>\n <b><i>invoiceBasisId</i></b> - The ID of invoice/order basis which is used for creating an invoice/order.<br/>\n <b><i>documentId</i></b> - The document ID which includes the registration and is created in Invoicing application.<br/>\n <b><i>documentType</i></b> - The document type which could be \"invoice\" or \"order\".<br/>\n <b><i>unitCost</i></b> - The unit cost from the registration owner who takes the work.<br/>\n <b><i>unitPrice</i></b> - The unit price for the service on the registration, which comes in priority from \"invoice/order basis\", \"price group\" or \"service\".\n <p>","responses":{"200":{"description":"list of registrations <code>DetailedRegistration</code>\n <b>Note</b>: used by mobile client and in detailed chargeable units","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedRegistration"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/DetailedRegistration"}}}},"responsesObject":{"200":{"description":"list of registrations <code>DetailedRegistration</code>\n <b>Note</b>: used by mobile client and in detailed chargeable units","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedRegistration"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/DetailedRegistration"}}}},"operationId":"list_RegistrationsResource","parameters":[{"name":"fromDate","in":"query","description":"The start date of the search span, the max of which should be 1 year to the end date (\"toDate\").\n Example: 2022-11-01","required":false,"type":"string","format":"date"},{"name":"toDate","in":"query","description":"The end date of the search span, the max of which should be 1 year back to the start date (\"fromDate\").\n Example: 2022-11-30","required":false,"type":"string","format":"date"},{"name":"customerIds","in":"query","description":"An array of customer IDs which are being used in database and in one-to-one relation with customer numbers.\n Example: 100,101,102","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"projectIds","in":"query","description":"An array of project IDs.\n Example: p1,p2,p3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"serviceIds","in":"query","description":"An array of service IDs.\n Example: s1,s2,s3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"costCenterIds","in":"query","description":"An array of cost center IDs.\n Example: cc1,cc2,cc3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"regCodes","in":"query","description":"An array of registration codes.\n Example: TID,SEM,FPE","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"userIds","in":"query","description":"An array of user IDs that time/absence registrations belong to.\n Example: 1,2,3","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"includeRegistrationsWithoutProject","in":"query","description":"If the time/absence registration without project is included, or not.","required":false,"type":"boolean"},{"name":"invoiced","in":"query","description":"If a document is created with the time/absence registration, or not.","required":false,"type":"boolean"},{"name":"inInvoiceBasis","in":"query","description":"If the time/absence registration is locked on an invoice basis, or not.","required":false,"type":"boolean"},{"name":"internalTime","in":"query","description":"If the time/absence registration is internal, which is registered on an internal customer, or not.","required":false,"type":"boolean"},{"name":"nonInvoiceable","in":"query","description":"If the time/absence registration has been moved to non-invoiceable, or not.","required":false,"type":"boolean"},{"name":"includeNonInvoiceableChargeHours","in":"query","description":"If the price of the non-invoiceable time/absence registration is included, or not.","required":false,"type":"boolean"}],"tags":["RegistrationsResource"]}},"/3/absencetransactions":{"get":{"summary":"Lists all absence transactions","produces":["application/json"],"description":"Supports query-string parameters <strong>employeeid</strong> and <strong>date</strong> for filtering the result.","responses":{"200":{"description":"a list of absence transactions","schema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"}}},"responsesObject":{"200":{"description":"a list of absence transactions","schema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"}}},"operationId":"list_AbsenceTransactionsResource","parameters":[{"name":"employeeid","in":"query","description":"filter by employee id","required":false,"type":"string"},{"name":"date","in":"query","description":"filter by date","required":false,"type":"string"}],"tags":["AbsenceTransactionsResource"]},"post":{"summary":"Create a new absence transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the created absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the created absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"operationId":"create_AbsenceTransactionsResource","parameters":[{"in":"body","name":"absenceTransactionsPayload","description":"to create","required":false,"schema":{"$ref":"#/definitions/AbsenceTransactionPayload_Wrap"}}],"tags":["AbsenceTransactionsResource"]}},"/3/absencetransactions/{id}":{"get":{"summary":"Retrieve a specific absence transaction","produces":["application/json"],"description":"Retrieves a specific transaction","responses":{"200":{"description":"the absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"operationId":"get_AbsenceTransactionsResource","parameters":[{"name":"id","in":"path","description":"identifies the transaction","required":true,"type":"string","format":"uuid"}],"tags":["AbsenceTransactionsResource"]},"put":{"summary":"Update a single absence transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the updated absence transaction","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"operationId":"update_AbsenceTransactionsResource","parameters":[{"name":"id","in":"path","description":"identifies the transaction","required":true,"type":"string","format":"uuid"},{"in":"body","name":"absenceTransactionsPayload","description":"to update","required":false,"schema":{"$ref":"#/definitions/AbsenceTransactionPayload_Wrap"}}],"tags":["AbsenceTransactionsResource"]},"delete":{"summary":"Delete an absence transaction","produces":["application/json"],"description":"","operationId":"remove","responses":{"200":{"description":"empty","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"empty","schema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionSingleItem_Wrap"}}},"parameters":[{"name":"id","in":"path","description":"identifies the transaction","required":true,"type":"string","format":"uuid"}],"tags":["AbsenceTransactionsResource"]}},"/3/absencetransactions/{EmployeeId}/{Date}/{Code}":{"get":{"summary":"Retrieve absence transactions","produces":["application/json"],"description":"Retrieves a list of absence transactions for an employee on a specific date and cause code.","responses":{"200":{"description":"a list of absence transactions","schema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"}}},"responsesObject":{"200":{"description":"a list of absence transactions","schema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AbsenceTransactionListItem_Wrap"}}},"operationId":"get_AbsenceTransactionsResource_1","parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"},{"name":"Date","in":"path","description":"of the absence transaction","required":true,"type":"string","format":"date"},{"name":"Code","in":"path","description":"status code of the absence transaction","required":true,"type":"string","enum":["ASK","FPE","FRA","HAV","KOM","MIL","NAR","OS1","OS2","OS3","OS4","OS5","PAP","PEM","PER","SEM","SJK","SMB","SVE","TJL","UTB","VAB"]}],"tags":["AbsenceTransactionsResource"]}},"/3/accountcharts":{"get":{"summary":"List all account charts","produces":["application/json"],"description":"Retrieves a list of all the available account charts.","responses":{"200":{"description":"a list of account charts","schema":{"$ref":"#/definitions/AccountChart_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountChart_Wrap"}}},"responsesObject":{"200":{"description":"a list of account charts","schema":{"$ref":"#/definitions/AccountChart_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountChart_Wrap"}}},"operationId":"list_AccountChartsResource","parameters":[],"tags":["AccountChartsResource"]}},"/3/accounts/{Number}":{"get":{"summary":"Retrieve an account","produces":["application/json"],"description":"Retrieves the details of an account. You need to supply the unique account number that was returned when the account was created or retrieved from the list of accounts.","responses":{"200":{"description":"the existing account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the existing account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"operationId":"get_AccountsResource","parameters":[{"name":"Number","in":"path","description":"identifies the account","required":true,"type":"integer","format":"int32"}],"tags":["AccountsResource"]},"put":{"summary":"Update an account","produces":["application/json"],"description":"Updates the specified account with the values provided in the properties. Any property not provided will be left unchanged.\n Note that even though the account number is writeable you can´t change the number of an existing account.","responses":{"200":{"description":"the updated account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the updated account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"operationId":"update_AccountsResource","parameters":[{"name":"Number","in":"path","description":"identifies the account","required":true,"type":"integer","format":"int32"},{"name":"financialyear","in":"query","description":"financial year to update account against","required":false,"type":"integer","format":"int32"},{"in":"body","name":"accountPayload","description":"account to update","required":false,"schema":{"$ref":"#/definitions/AccountPayload_Wrap"}}],"tags":["AccountsResource"]}},"/3/accounts/":{"get":{"summary":"List all accounts","produces":["application/json"],"description":"The accounts are returned sorted by account number with the lowest number appearing first.","responses":{"200":{"description":"list of accounts","schema":{"$ref":"#/definitions/AccountListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountListItem_Wrap"}}},"responsesObject":{"200":{"description":"list of accounts","schema":{"$ref":"#/definitions/AccountListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountListItem_Wrap"}}},"operationId":"list_AccountsResource","parameters":[{"name":"lastmodified","in":"query","required":false,"type":"string"},{"name":"sru","in":"query","required":false,"type":"integer","format":"int32"},{"name":"sortby","in":"query","description":"field to sort returned list on","required":false,"type":"string","enum":["number"]}],"tags":["AccountsResource"]},"post":{"summary":"Create an account","produces":["application/json"],"description":"The created account will be returned if everything succeeded, if there was any problems an error will be returned.","responses":{"200":{"description":"the created account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"responsesObject":{"200":{"description":"the created account","schema":{"$ref":"#/definitions/AccountSingleItem_Wrap"},"responseSchema":{"$ref":"#/definitions/AccountSingleItem_Wrap"}}},"operationId":"create_AccountsResource","parameters":[{"name":"financialyear","in":"query","description":"financial year to create account against","required":false,"type":"integer","format":"int32"},{"in":"body","name":"accountPayload","description":"account to create","required":false,"schema":{"$ref":"#/definitions/AccountPayload_Wrap"}}],"tags":["AccountsResource"]}},"/3/archive/":{"get":{"summary":"Retrieve folder or file","produces":["application/json"],"description":"If no path is provided the root will be returned.\n Providing fileId will return given file from fileattachments.","operationId":"getFolder","responses":{"200":{"description":"a single folder","schema":{"$ref":"#/definitions/Folder_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_Wrap"}}},"responsesObject":{"200":{"description":"a single folder","schema":{"$ref":"#/definitions/Folder_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_Wrap"}}},"parameters":[{"name":"path","in":"query","description":"name of folder","required":false,"type":"string"},{"name":"fileid","in":"query","description":"fileId from fileattachments","required":false,"type":"string"}],"tags":["ArchiveResource"]},"post":{"summary":"Upload a file to a specific subdirectory","produces":["application/json"],"description":"If not path or folderId is provided, the file will be uploaded to the root directory.","operationId":"uploadFile","responses":{"200":{"description":"the uploaded file","schema":{"$ref":"#/definitions/Folder_FileRow_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_FileRow_Wrap"}}},"responsesObject":{"200":{"description":"the uploaded file","schema":{"$ref":"#/definitions/Folder_FileRow_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_FileRow_Wrap"}}},"parameters":[{"name":"file","in":"formData","description":"file to uplad","required":false,"type":"object"},{"name":"path","in":"query","description":"name of folder","required":false,"type":"string"},{"name":"folderid","in":"query","description":"id of folder","required":false,"type":"string"}],"tags":["ArchiveResource"],"consumes":["multipart/form-data"]},"delete":{"summary":"Remove files","produces":["application/json"],"description":"Please note that removing a folder will also resulting in removal of all the contents within!","operationId":"removeByPath","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"parameters":[{"name":"path","in":"query","description":"identifies file/folder to remove","required":false,"type":"string"}],"tags":["ArchiveResource"]}},"/3/archive/{id}":{"get":{"summary":"Retrieve a single file","produces":["*/*"],"description":"Providing fileId will return given file from fileattachments.","operationId":"getFileById","responses":{"200":{"description":"a single file","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"a single file","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"parameters":[{"name":"id","in":"path","description":"identifies the file","required":true,"type":"string"},{"name":"fileid","in":"query","description":"fileId from fileattachments","required":false,"type":"string"}],"tags":["ArchiveResource"]},"delete":{"summary":"Delete a single file","produces":["application/json"],"description":"","operationId":"removeById","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"parameters":[{"name":"id","in":"path","description":"identifies file/folder to remove","required":true,"type":"string"}],"tags":["ArchiveResource"]}},"/3/articlefileconnections/":{"get":{"summary":"Retrieve a list of article file connections","produces":["application/json"],"description":"The article file connections register can return a list of records or a single record. By specifying a FileId in the URL, a single record will be returned. Not specifying a FileId will return a list of records.","responses":{"200":{"description":"a list of article file connections.","schema":{"$ref":"#/definitions/ArticleFileConnectionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnectionListItem_Wrap"}}},"responsesObject":{"200":{"description":"a list of article file connections.","schema":{"$ref":"#/definitions/ArticleFileConnectionListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnectionListItem_Wrap"}}},"operationId":"list_ArticleFileConnectionsResource","parameters":[],"tags":["ArticleFileConnectionsResource"]},"post":{"summary":"Create an article file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the created article file connection","schema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the created article file connection","schema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"}}},"operationId":"create_ArticleFileConnectionsResource","parameters":[{"in":"body","name":"articleFileConnection","description":"to create","required":false,"schema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"}}],"tags":["ArticleFileConnectionsResource"]}},"/3/articlefileconnections/{FileId}":{"get":{"summary":"Retrieve a single article file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing article file connection","schema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the existing article file connection","schema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/ArticleFileConnection_Wrap"}}},"operationId":"get_ArticleFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the article file connection","required":true,"type":"string"}],"tags":["ArticleFileConnectionsResource"]},"delete":{"summary":"Remove an article file connection","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_ArticleFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the article file connection","required":true,"type":"string"}],"tags":["ArticleFileConnectionsResource"]}},"/3/articles/{ArticleNumber}":{"get":{"summary":"Retrieve an article","produces":["application/json"],"description":"Retrieves the details of an article. You need to supply the unique article number that was returned when the article was created or retrieved from the list of articles.","responses":{"200":{"description":"the existing article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"responsesObject":{"200":{"description":"the existing article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"operationId":"get_ArticlesResource_articles","parameters":[{"name":"ArticleNumber","in":"path","description":"identifies the article","required":true,"type":"integer","format":"int32"}],"tags":["ArticlesResource_articles"]},"put":{"summary":"Update an article","produces":["application/json"],"description":"Updates the specified article with the values provided in the properties. Any property not provided will be left unchanged.\n You need to supply the unique article number that was returned when the article was created or retrieved from the list of articles.\n Note that even though the article number is writeable you can not change the number of an existing article.","responses":{"200":{"description":"the updated article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"responsesObject":{"200":{"description":"the updated article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"operationId":"update_ArticlesResource_articles","parameters":[{"name":"ArticleNumber","in":"path","description":"identifies the article","required":true,"type":"integer","format":"int32"},{"in":"body","name":"article","description":"to update","required":false,"schema":{"$ref":"#/definitions/Article_Wrap"}}],"tags":["ArticlesResource_articles"]},"delete":{"summary":"Delete an article","produces":["application/json"],"description":"<p>Deletes the article permanently.</p>\n <p>You need to supply the unique article number that was returned when the article was created or retrieved from the list of articles.</p>","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_ArticlesResource_articles","parameters":[{"name":"ArticleNumber","in":"path","description":"identifies the article","required":true,"type":"integer","format":"int32"}],"tags":["ArticlesResource_articles"]}},"/3/articles":{"get":{"summary":"Retrieve a list of articles","produces":["application/json"],"description":"Retrieves a list of articles. The articles are returned sorted by article number with the lowest number appearing first.","responses":{"200":{"description":"list of articles","schema":{"$ref":"#/definitions/ArticleListItem_List"},"responseSchema":{"$ref":"#/definitions/ArticleListItem_List"}}},"responsesObject":{"200":{"description":"list of articles","schema":{"$ref":"#/definitions/ArticleListItem_List"},"responseSchema":{"$ref":"#/definitions/ArticleListItem_List"}}},"operationId":"list_ArticlesResource_articles","parameters":[{"name":"filter","in":"query","description":"possibility to filter supplier invoices","required":false,"type":"string","enum":["active","inactive"]}],"tags":["ArticlesResource_articles"]},"post":{"summary":"Create an article","produces":["application/json"],"description":"The created article will be returned if everything succeeded, if there was any problems an error will be returned.","responses":{"200":{"description":"the created article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"responsesObject":{"200":{"description":"the created article","schema":{"$ref":"#/definitions/Article_Wrap"},"responseSchema":{"$ref":"#/definitions/Article_Wrap"}}},"operationId":"create_ArticlesResource_articles","parameters":[{"in":"body","name":"article","description":"to create","required":false,"schema":{"$ref":"#/definitions/Article_Wrap"}}],"tags":["ArticlesResource_articles"]}},"/3/assetfileconnections":{"get":{"summary":"Retrieve a list of asset file connections","produces":["application/json"],"description":"The asset register can return a list of assets or a single asset. By specifying a FileId in the URL, a single asset will be returned. Not specifying a FileId will return a list of records.","responses":{"200":{"description":"list of asset file connections","schema":{"$ref":"#/definitions/AssetFileConnectionResponse"},"responseSchema":{"$ref":"#/definitions/AssetFileConnectionResponse"}}},"responsesObject":{"200":{"description":"list of asset file connections","schema":{"$ref":"#/definitions/AssetFileConnectionResponse"},"responseSchema":{"$ref":"#/definitions/AssetFileConnectionResponse"}}},"operationId":"getAll_AssetFileConnectionResource","parameters":[],"tags":["AssetFileConnectionResource"]},"post":{"summary":"Create an asset file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"asset file connection","schema":{"$ref":"#/definitions/AssetFileConnection"},"responseSchema":{"$ref":"#/definitions/AssetFileConnection"}}},"responsesObject":{"200":{"description":"asset file connection","schema":{"$ref":"#/definitions/AssetFileConnection"},"responseSchema":{"$ref":"#/definitions/AssetFileConnection"}}},"operationId":"create_AssetFileConnectionResource","parameters":[{"in":"body","name":"assetFileConnection","description":"asset file connection","required":false,"schema":{"$ref":"#/definitions/CreateAssetFileConnection"}}],"tags":["AssetFileConnectionResource"]}},"/3/assetfileconnections/{fileId}":{"delete":{"summary":"Remove an asset file connection","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"delete_AssetFileConnectionResource","parameters":[{"name":"fileId","in":"path","description":"fileId","required":true,"type":"string"}],"tags":["AssetFileConnectionResource"]}},"/3/assets/":{"get":{"summary":"Retrieve a list of assets","produces":["application/json"],"description":"","responses":{"200":{"description":"list of assets","schema":{"$ref":"#/definitions/ListAsset_Wrap"},"responseSchema":{"$ref":"#/definitions/ListAsset_Wrap"}}},"responsesObject":{"200":{"description":"list of assets","schema":{"$ref":"#/definitions/ListAsset_Wrap"},"responseSchema":{"$ref":"#/definitions/ListAsset_Wrap"}}},"operationId":"list_AssetsResource","parameters":[],"tags":["AssetsResource"]},"post":{"summary":"Create an Asset","produces":["application/json"],"description":"The created asset will be returned if everything succeeded, if there was any problems an error will be returned.","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"operationId":"create_AssetsResource","parameters":[{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/CreateAsset_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/{GivenNumber}":{"get":{"summary":"Retrieve a single asset","produces":["application/json"],"description":"","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"operationId":"get_AssetsResource","parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"}],"tags":["AssetsResource"]},"put":{"summary":"Change manual OB value of an Asset","produces":["application/json"],"description":"The updated asset will be returned if everything succeeded, if there was any problems an error will be returned.","operationId":"changeManualObValue","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/ManualObAsset"}}],"tags":["AssetsResource"]},"delete":{"summary":"Delete or Void an Asset","produces":["application/json"],"description":"By specifying a {GivenNumber} in the URL a single "Not active" asset or asset with a type "Not depreciable" can be deleted. By specifying a {GivenNumber} in the URL a single "Active" or "Fully depreciated" assets can be voided and in this case in request body voiddate should be provided, otherwise it will use todays date.","responses":{"default":{"description":"asset"}},"responsesObject":{"default":{"description":"asset"}},"operationId":"delete_AssetsResource","parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"request","description":"request","required":false,"schema":{"$ref":"#/definitions/Delete_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/depreciations/{ToDate}":{"get":{"summary":"Assets depreciation list","produces":["application/json"],"description":"Retrieves a list of assets to depreciate.","operationId":"getDeprecationList","responses":{"200":{"description":"list of assets","schema":{"$ref":"#/definitions/ListAsset_Wrap"},"responseSchema":{"$ref":"#/definitions/ListAsset_Wrap"}}},"responsesObject":{"200":{"description":"list of assets","schema":{"$ref":"#/definitions/ListAsset_Wrap"},"responseSchema":{"$ref":"#/definitions/ListAsset_Wrap"}}},"parameters":[{"name":"ToDate","in":"path","description":"toDate","required":true,"type":"string"}],"tags":["AssetsResource"]}},"/3/assets/writeup/{GivenNumber}":{"put":{"summary":"Write up an Asset","produces":["application/json"],"description":"The updated asset will be returned if everything succeeded, if there was any problems an error will be returned.","operationId":"writeUp","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/WriteUp_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/writedown/{GivenNumber}":{"put":{"summary":"Write down an Asset","produces":["application/json"],"description":"The updated asset will be returned if everything succeeded, if there was any problems an error will be returned.","operationId":"writeDown","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/WriteDown_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/scrap/{GivenNumber}":{"put":{"summary":"Scrap an Asset","produces":["application/json"],"description":"The updated asset will be returned if everything succeeded, if there was any problems an error will be returned.","operationId":"scrap","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/Scrap_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/sell/{GivenNumber}":{"put":{"summary":"Sell an Asset","produces":["application/json"],"description":"Partial sell or full sell of an asset.","operationId":"sell","responses":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"responsesObject":{"200":{"description":"asset","schema":{"$ref":"#/definitions/Asset_Single"},"responseSchema":{"$ref":"#/definitions/Asset_Single"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"Asset number","required":true,"type":"string"},{"in":"body","name":"asset","description":"asset","required":false,"schema":{"$ref":"#/definitions/Sell_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/depreciate":{"post":{"summary":"Perform a Depreciation of an Asset","produces":["application/json"],"description":"The created vouchers list will be returned if everything succeeded, if there was any problems an error will be returned.","operationId":"depreciate","responses":{"200":{"description":"response","schema":{"$ref":"#/definitions/DepreciationResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/DepreciationResponse_Wrap"}}},"responsesObject":{"200":{"description":"response","schema":{"$ref":"#/definitions/DepreciationResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/DepreciationResponse_Wrap"}}},"parameters":[{"in":"body","name":"body","description":"body","required":false,"schema":{"$ref":"#/definitions/Depreciation_Wrap"}}],"tags":["AssetsResource"]}},"/3/assets/types/{id}":{"get":{"summary":"Retrieve an asset type","produces":["application/json"],"description":"","responses":{"200":{"description":"asset type","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"responsesObject":{"200":{"description":"asset type","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"operationId":"get_AssetTypesResource","parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"integer","format":"int32"}],"tags":["AssetTypesResource"]},"post":{"summary":"Create an asset type","produces":["application/json"],"description":"","responses":{"200":{"description":"response","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"responsesObject":{"200":{"description":"response","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"operationId":"create_AssetTypesResource","parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"integer","format":"int32"},{"in":"body","name":"createAssetRequest","description":"request","required":false,"schema":{"$ref":"#/definitions/CreateAsset_Wrap"}}],"tags":["AssetTypesResource"]},"put":{"summary":"Update an asset type","produces":["application/json"],"description":"","responses":{"200":{"description":"response","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"responsesObject":{"200":{"description":"response","schema":{"$ref":"#/definitions/AssetType_WrapSingle"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapSingle"}}},"operationId":"update_AssetTypesResource","parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"integer","format":"int32"},{"in":"body","name":"updateAssetRequest","description":"request","required":false,"schema":{"$ref":"#/definitions/UpdateAsset_Wrap"}}],"tags":["AssetTypesResource"]},"delete":{"summary":"Delete an asset type","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"delete_AssetTypesResource","parameters":[{"name":"id","in":"path","description":"id","required":true,"type":"integer","format":"int32"}],"tags":["AssetTypesResource"]}},"/3/assets/types/":{"get":{"summary":"Retrieve a list of asset types","produces":["application/json"],"description":"","responses":{"200":{"description":"asset types","schema":{"$ref":"#/definitions/AssetType_WrapList"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapList"}}},"responsesObject":{"200":{"description":"asset types","schema":{"$ref":"#/definitions/AssetType_WrapList"},"responseSchema":{"$ref":"#/definitions/AssetType_WrapList"}}},"operationId":"getAll_AssetTypesResource","parameters":[],"tags":["AssetTypesResource"]}},"/3/attendancetransactions":{"get":{"summary":"Lists all attendance transactions","produces":["application/json"],"description":"Supports query-string parameters <strong>employeeid</strong> and <strong>date</strong> for filtering the result.","responses":{"200":{"description":"a list of attendance transactions","schema":{"$ref":"#/definitions/AttendanceTransactionListItem_List"},"responseSchema":{"$ref":"#/definitions/AttendanceTransactionListItem_List"}}},"responsesObject":{"200":{"description":"a list of attendance transactions","schema":{"$ref":"#/definitions/AttendanceTransactionListItem_List"},"responseSchema":{"$ref":"#/definitions/AttendanceTransactionListItem_List"}}},"operationId":"list_AttendanceTransactionsResource","parameters":[{"name":"employeeid","in":"query","description":"filter by employee id","required":false,"type":"string"},{"name":"date","in":"query","description":"filter by date","required":false,"type":"string"}],"tags":["AttendanceTransactionsResource"]},"post":{"summary":"Create a new attendance transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the created attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the created attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"operationId":"create_AttendanceTransactionsResource","parameters":[{"in":"body","name":"attendanceTransaction","description":"attendance transaction to create","required":false,"schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}],"tags":["AttendanceTransactionsResource"]}},"/3/attendancetransactions/{id}":{"get":{"summary":"Retrieve a specific attendance transaction","produces":["application/json"],"description":"Retrieves a specific transaction","responses":{"200":{"description":"the attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"operationId":"get_AttendanceTransactionsResource","parameters":[{"name":"id","in":"path","description":"identifies the transaction","required":true,"type":"string","format":"uuid"}],"tags":["AttendanceTransactionsResource"]},"put":{"summary":"Update a single attendance transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the updated attendance transaction","schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}},"operationId":"update_AttendanceTransactionsResource","parameters":[{"name":"id","in":"path","description":"identifies the transaction","required":true,"type":"string","format":"uuid"},{"in":"body","name":"attendanceTransaction","description":"to update","required":false,"schema":{"$ref":"#/definitions/AttendanceTransaction_Wrap"}}],"tags":["AttendanceTransactionsResource"]}},"/3/companyinformation":{"get":{"summary":"Retrieve the Company Information","produces":["application/json"],"description":"","responses":{"200":{"description":"company information","schema":{"$ref":"#/definitions/CompanyInfo_Wrap"},"responseSchema":{"$ref":"#/definitions/CompanyInfo_Wrap"}}},"responsesObject":{"200":{"description":"company information","schema":{"$ref":"#/definitions/CompanyInfo_Wrap"},"responseSchema":{"$ref":"#/definitions/CompanyInfo_Wrap"}}},"operationId":"get_CompanyInformationResource","parameters":[],"tags":["CompanyInformationResource"]}},"/3/settings/company/":{"get":{"summary":"Retrieve the company settings","produces":["application/json"],"description":"","responses":{"200":{"description":"company settings","schema":{"$ref":"#/definitions/CompanySettings_Wrap"},"responseSchema":{"$ref":"#/definitions/CompanySettings_Wrap"}}},"responsesObject":{"200":{"description":"company settings","schema":{"$ref":"#/definitions/CompanySettings_Wrap"},"responseSchema":{"$ref":"#/definitions/CompanySettings_Wrap"}}},"operationId":"get_CompanySettingsResource","parameters":[],"tags":["CompanySettingsResource"]}},"/3/contractaccruals/":{"get":{"summary":"Retrieve a list of contract accruals","produces":["application/json"],"description":"The contract accruals register can return a list of records or a single record. By specifying a DocumentNumber in the URL, a single record will be returned. Not specifying a DocumentNumber will return a list of records.","responses":{"200":{"description":"list of contract accruals","schema":{"$ref":"#/definitions/ContractAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractAccrualListItem_List"}}},"responsesObject":{"200":{"description":"list of contract accruals","schema":{"$ref":"#/definitions/ContractAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractAccrualListItem_List"}}},"operationId":"list_ContractAccrualsResource","parameters":[],"tags":["ContractAccrualsResource"]},"post":{"summary":"Create a contract accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the created contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the created contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"operationId":"create_ContractAccrualsResource","parameters":[{"in":"body","name":"contractAccrual","description":"contract accrual to create","required":false,"schema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}],"tags":["ContractAccrualsResource"]}},"/3/contractaccruals/{DocumentNumber}":{"get":{"summary":"Retrieve a single contract accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the existing contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"operationId":"get_ContractAccrualsResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract accrual","required":true,"type":"integer","format":"int32"}],"tags":["ContractAccrualsResource"]},"put":{"summary":"Update a contract accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the updated contract accrual","schema":{"$ref":"#/definitions/ContractAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}},"operationId":"update_ContractAccrualsResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract accrual","required":true,"type":"integer","format":"int32"},{"in":"body","name":"contractAccrual","description":"contract accrual to update","required":false,"schema":{"$ref":"#/definitions/ContractAccrual_Wrap"}}],"tags":["ContractAccrualsResource"]},"delete":{"summary":"Remove a contract accrual","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_ContractAccrualsResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract accrual","required":true,"type":"integer","format":"int32"}],"tags":["ContractAccrualsResource"]}},"/3/contracts/{DocumentNumber}":{"get":{"summary":"Retrieve a single contract","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"responsesObject":{"200":{"description":"the existing contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"operationId":"get_ContractsResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract","required":true,"type":"string"}],"tags":["ContractsResource"]},"put":{"summary":"Update a contract","produces":["application/json"],"description":"Note that there are two approaches for updating the rows on a contract.\n\n If RowId is not specified on any row, the rows will be mapped and updated in the order in which they are set in the array. All rows that should remain on the contract needs to be provided.\n\n If RowId is specified on one or more rows the following goes: Corresponding row with that id will be updated. The rows without RowId will be interpreted as new rows. If a row should not be updated but remain on the contract then specify only RowId like { \"RowId\": 123 }, otherwise it will be removed. Note that new RowIds are generated for all rows every time a contract is updated.","responses":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"responsesObject":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"operationId":"update_ContractsResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract","required":true,"type":"string"},{"in":"body","name":"contract","description":"contract to update","required":false,"schema":{"$ref":"#/definitions/Contract_Wrap"}}],"tags":["ContractsResource"]}},"/3/contracts/":{"get":{"summary":"Retrieve a list of contracts","produces":["application/json"],"description":"","responses":{"200":{"description":"list of contracts","schema":{"$ref":"#/definitions/ContractListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractListItem_List"}}},"responsesObject":{"200":{"description":"list of contracts","schema":{"$ref":"#/definitions/ContractListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractListItem_List"}}},"operationId":"list_ContractsResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter contracts","required":false,"type":"string","enum":["active","inactive","finished"]}],"tags":["ContractsResource"]},"post":{"summary":"Create a contract","produces":["application/json"],"description":"","responses":{"200":{"description":"the created contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"responsesObject":{"200":{"description":"the created contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"operationId":"create_ContractsResource","parameters":[{"in":"body","name":"contract","description":"contract to create","required":false,"schema":{"$ref":"#/definitions/Contract_Wrap"}}],"tags":["ContractsResource"]}},"/3/contracts/{DocumentNumber}/finish":{"put":{"summary":"Set a contract as finished","produces":["application/json"],"description":"","operationId":"finish","responses":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"responsesObject":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract","required":true,"type":"string"}],"tags":["ContractsResource"]}},"/3/contracts/{DocumentNumber}/createinvoice":{"put":{"summary":"Create invoice from contract","produces":["application/json"],"description":"","operationId":"createinvoice","responses":{"200":{"description":"created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract","required":true,"type":"string"}],"tags":["ContractsResource"]}},"/3/contracts/{DocumentNumber}/increaseinvoicecount":{"put":{"summary":"Increases the invoice count without creating an invoice","produces":["application/json"],"description":"","operationId":"increaseinvoicecount","responses":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"responsesObject":{"200":{"description":"the updated contract","schema":{"$ref":"#/definitions/Contract_Wrap"},"responseSchema":{"$ref":"#/definitions/Contract_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the contract","required":true,"type":"string"}],"tags":["ContractsResource"]}},"/3/contracttemplates/":{"get":{"summary":"Retrieve a list of contract templates","produces":["application/json"],"description":"The contract template resource can return a list of records or a single record. By specifying a TemplateNumber in the URL, a single record will be returned. Not specifying a TemplateNumber will return a list of records.","responses":{"200":{"description":"list of contract templates","schema":{"$ref":"#/definitions/ContractTemplateListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractTemplateListItem_List"}}},"responsesObject":{"200":{"description":"list of contract templates","schema":{"$ref":"#/definitions/ContractTemplateListItem_List"},"responseSchema":{"$ref":"#/definitions/ContractTemplateListItem_List"}}},"operationId":"list_ContractTemplatesResource","parameters":[],"tags":["ContractTemplatesResource"]},"post":{"summary":"Create a contract template","produces":["application/json"],"description":"","responses":{"200":{"description":"the created contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"responsesObject":{"200":{"description":"the created contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"operationId":"create_ContractTemplatesResource","parameters":[{"in":"body","name":"contractTemplate","description":"contract template to create","required":false,"schema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}],"tags":["ContractTemplatesResource"]}},"/3/contracttemplates/{TemplateNumber}":{"get":{"summary":"Retrieve a single contract template","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"responsesObject":{"200":{"description":"the existing contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"operationId":"get_ContractTemplatesResource","parameters":[{"name":"TemplateNumber","in":"path","description":"identifies the contract template","required":true,"type":"integer","format":"int32"}],"tags":["ContractTemplatesResource"]},"put":{"summary":"Update a contract template","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"responsesObject":{"200":{"description":"the updated contract template","schema":{"$ref":"#/definitions/ContractTemplate_Wrap"},"responseSchema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}},"operationId":"update_ContractTemplatesResource","parameters":[{"name":"TemplateNumber","in":"path","description":"identifies the contract template","required":true,"type":"integer","format":"int32"},{"in":"body","name":"contractTemplate","description":"contract template to update","required":false,"schema":{"$ref":"#/definitions/ContractTemplate_Wrap"}}],"tags":["ContractTemplatesResource"]}},"/3/costcenters":{"get":{"summary":"Retrieve a list of cost centers","produces":["application/json"],"description":"The cost centers register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of cost centers","schema":{"$ref":"#/definitions/CostCenter_List"},"responseSchema":{"$ref":"#/definitions/CostCenter_List"}}},"responsesObject":{"200":{"description":"a list of cost centers","schema":{"$ref":"#/definitions/CostCenter_List"},"responseSchema":{"$ref":"#/definitions/CostCenter_List"}}},"operationId":"list_CostCentersResource","parameters":[],"tags":["CostCentersResource"]},"post":{"summary":"Create a cost center","produces":["application/json"],"description":"","responses":{"200":{"description":"the created cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"responsesObject":{"200":{"description":"the created cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"operationId":"create_CostCentersResource","parameters":[{"in":"body","name":"costCenter","description":"cost center to create","required":false,"schema":{"$ref":"#/definitions/CostCenter_Wrap"}}],"tags":["CostCentersResource"]}},"/3/costcenters/{Code}":{"get":{"summary":"Retrieve a single cost center","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"responsesObject":{"200":{"description":"the existing cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"operationId":"get_CostCentersResource","parameters":[{"name":"Code","in":"path","description":"identifies the cost center","required":true,"type":"string"}],"tags":["CostCentersResource"]},"put":{"summary":"Update a cost center","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"responsesObject":{"200":{"description":"the updated cost center","schema":{"$ref":"#/definitions/CostCenter_Wrap"},"responseSchema":{"$ref":"#/definitions/CostCenter_Wrap"}}},"operationId":"update_CostCentersResource","parameters":[{"name":"Code","in":"path","description":"identifies the cost center","required":true,"type":"string"},{"in":"body","name":"costCenter","description":"cost center to update","required":false,"schema":{"$ref":"#/definitions/CostCenter_Wrap"}}],"tags":["CostCentersResource"]},"delete":{"summary":"Remove a cost center","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_CostCentersResource","parameters":[{"name":"Code","in":"path","description":"identifies the cost center to remove","required":true,"type":"string"}],"tags":["CostCentersResource"]}},"/3/currencies":{"get":{"summary":"Retrieve a list of currencies","produces":["application/json"],"description":"The currency register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of currencies","schema":{"$ref":"#/definitions/Currency_List"},"responseSchema":{"$ref":"#/definitions/Currency_List"}}},"responsesObject":{"200":{"description":"a list of currencies","schema":{"$ref":"#/definitions/Currency_List"},"responseSchema":{"$ref":"#/definitions/Currency_List"}}},"operationId":"list_CurrenciesResource","parameters":[],"tags":["CurrenciesResource"]},"post":{"summary":"Create a currency","produces":["application/json"],"description":"","responses":{"200":{"description":"the created currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"responsesObject":{"200":{"description":"the created currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"operationId":"create_CurrenciesResource","parameters":[{"in":"body","name":"currency","description":"currency to create","required":false,"schema":{"$ref":"#/definitions/Currency_Wrap"}}],"tags":["CurrenciesResource"]}},"/3/currencies/{Code}":{"get":{"summary":"Retrieve a single currency","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"responsesObject":{"200":{"description":"the existing currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"operationId":"get_CurrenciesResource","parameters":[{"name":"Code","in":"path","description":"identifies currency","required":true,"type":"string"}],"tags":["CurrenciesResource"]},"put":{"summary":"Update a currency","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"responsesObject":{"200":{"description":"the updated currency","schema":{"$ref":"#/definitions/Currency_Wrap"},"responseSchema":{"$ref":"#/definitions/Currency_Wrap"}}},"operationId":"update_CurrenciesResource","parameters":[{"name":"Code","in":"path","description":"identifies the currency","required":true,"type":"string"},{"in":"body","name":"currency","description":"to update","required":false,"schema":{"$ref":"#/definitions/Currency_Wrap"}}],"tags":["CurrenciesResource"]},"delete":{"summary":"Remove a currency","produces":["application/json"],"description":"","responses":{"default":{"description":"the deleted currency"}},"responsesObject":{"default":{"description":"the deleted currency"}},"operationId":"remove_CurrenciesResource","parameters":[{"name":"Code","in":"path","description":"identifies the currency","required":true,"type":"string"}],"tags":["CurrenciesResource"]}},"/3/customerreferences/":{"get":{"summary":"Retrieve a list of customers reference rows","produces":["application/json"],"description":"</p>","responses":{"200":{"description":"list of customers reference rows","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"responsesObject":{"200":{"description":"list of customers reference rows","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"operationId":"list_CustomerReferencesResource","parameters":[{"name":"customer","in":"query","description":"possibility to filter by customer number","required":false,"type":"string"}],"tags":["CustomerReferencesResource"]},"post":{"summary":"Create a customer reference row","produces":["application/json"],"description":"</p>\n <p>The created customer reference row will be returned if everything succeeded, if there was any problems an error will be returned.</p>","responses":{"200":{"description":"the created customer reference row","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"responsesObject":{"200":{"description":"the created customer reference row","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"operationId":"create_CustomerReferencesResource","parameters":[{"in":"body","name":"customerReferenceRow","description":"customer reference row to create","required":false,"schema":{"$ref":"#/definitions/CustomerReference_CustomerReferenceRow_Wrap"}}],"tags":["CustomerReferencesResource"]}},"/3/customerreferences/{CustomerReferenceRowId}":{"get":{"summary":"Retrieve a customer reference row","produces":["application/json"],"description":"</p>\n <p>You need to supply the unique customer reference row id that was returned when the customer reference row was created or retrieved from the list of customer reference rows.</p>","responses":{"200":{"description":"the existing customer reference row","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"responsesObject":{"200":{"description":"the existing customer reference row","schema":{"$ref":"#/definitions/CustomerReference_Wrap"},"responseSchema":{"$ref":"#/definitions/CustomerReference_Wrap"}}},"operationId":"get_CustomerReferencesResource","parameters":[{"name":"CustomerReferenceRowId","in":"path","description":"identifies the customer reference row","required":true,"type":"string"}],"tags":["CustomerReferencesResource"]},"put":{"summary":"Update a customer reference row","produces":["application/json"],"description":"</p>\n <p>The updated customer reference row will be returned if everything succeeded, if there was any problems an error will be returned.</p>\n <p>You need to supply the unique customer reference row id of the customer reference row that you want to update.</p>\n <p>Only the properties provided in the request body will be updated, properties not provided will be left unchanged.</p>\n <p>CustomerNumber cannot be changed by this request.</p>","responses":{"200":{"description":"the updated customer reference row","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"responsesObject":{"200":{"description":"the updated customer reference row","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"operationId":"update_CustomerReferencesResource","parameters":[{"name":"CustomerReferenceRowId","in":"path","description":"identifies the customer reference row","required":true,"type":"string"},{"in":"body","name":"customerReferenceRow","description":"customer reference row to update","required":false,"schema":{"$ref":"#/definitions/CustomerReference_CustomerReferenceRow_Wrap"}}],"tags":["CustomerReferencesResource"]},"delete":{"summary":"Delete a customer reference row","produces":["application/json"],"description":"</p>\n <p>Deletes the customer reference row permanently. If everything succeeded the response will be of the type 204, No content and the response body will be empty.</p>\n <p>If there was any problems an error will be returned.</p>\n <p>You need to supply the unique customer reference row id of the customer reference row that you want to delete.</p>","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_CustomerReferencesResource","parameters":[{"name":"CustomerReferenceRowId","in":"path","description":"identifies the customer reference row","required":true,"type":"string"}],"tags":["CustomerReferencesResource"]}},"/3/customers/":{"get":{"summary":"Retrieve a list of customers","produces":["application/json"],"description":"The customers are returned sorted by customer number with the lowest number appearing first.","responses":{"200":{"description":"list of customers","schema":{"$ref":"#/definitions/CustomerListItem_List"},"responseSchema":{"$ref":"#/definitions/CustomerListItem_List"}}},"responsesObject":{"200":{"description":"list of customers","schema":{"$ref":"#/definitions/CustomerListItem_List"},"responseSchema":{"$ref":"#/definitions/CustomerListItem_List"}}},"operationId":"list_CustomersResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter customers","required":false,"type":"string","enum":["active","inactive"]}],"tags":["CustomersResource"]},"post":{"summary":"Create a customer","produces":["application/json"],"description":"The created customer will be returned if everything succeeded, if there was any problems an error will be returned.","responses":{"200":{"description":"the created customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"responsesObject":{"200":{"description":"the created customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"operationId":"create_CustomersResource","parameters":[{"in":"body","name":"customer","description":"customer to create","required":false,"schema":{"$ref":"#/definitions/Customer_Wrap"}}],"tags":["CustomersResource"]}},"/3/customers/{CustomerNumber}":{"get":{"summary":"Retrieve a customer","produces":["application/json"],"description":"You need to supply the unique customer number that was returned when the customer was created or retrieved from the list of customers.","responses":{"200":{"description":"the existing customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"responsesObject":{"200":{"description":"the existing customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"operationId":"get_CustomersResource","parameters":[{"name":"CustomerNumber","in":"path","description":"identifies the customer","required":true,"type":"string"}],"tags":["CustomersResource"]},"put":{"summary":"Update a customer","produces":["application/json"],"description":"<p>The updated customer will be returned if everything succeeded, if there was any problems an error will be returned.</p>\n <p>You need to supply the unique customer number of the customer that you want to update.</p>\n <p>Only the properties provided in the request body will be updated, properties not provided will left unchanged.</p>","responses":{"200":{"description":"the updated customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"responsesObject":{"200":{"description":"the updated customer","schema":{"$ref":"#/definitions/Customer_Wrap"},"responseSchema":{"$ref":"#/definitions/Customer_Wrap"}}},"operationId":"update_CustomersResource","parameters":[{"name":"CustomerNumber","in":"path","description":"identifies the customer","required":true,"type":"string"},{"in":"body","name":"customer","description":"customer to update","required":false,"schema":{"$ref":"#/definitions/Customer_Wrap"}}],"tags":["CustomersResource"]},"delete":{"summary":"Delete a customer","produces":["application/json"],"description":"Deletes the customer permanently. If everything succeeded the response will be of the type 204 \\u2013 No content and the response body will be empty. If there was any problems an error will be returned.\n You need to supply the unique customer number of the customer that you want to delete.","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_CustomersResource","parameters":[{"name":"CustomerNumber","in":"path","description":"identifies the customer","required":true,"type":"string"}],"tags":["CustomersResource"]}},"/3/employees/":{"get":{"summary":"Retrieve a list of employees","produces":["application/json"],"description":"ScheduleId, MonthlySalary and HourlyPay reflect current values, all\n ScheduleIds are returned in DatedSchedules and all MonthlySalary and\n HourlyPay pairs are returned in DatedWages.","responses":{"200":{"description":"list of employees","schema":{"$ref":"#/definitions/EmployeeListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/EmployeeListItem_Wrap"}}},"responsesObject":{"200":{"description":"list of employees","schema":{"$ref":"#/definitions/EmployeeListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/EmployeeListItem_Wrap"}}},"operationId":"list_EmployeesResource","parameters":[],"tags":["EmployeesResource"]},"post":{"summary":"Create a new employee","produces":["application/json"],"description":"EmployeeId is optional. If not supplied the program will generate a unique id.\n\n Only one of DatedSchedules and ScheduleId may be supplied. If DatedSchedules are supplied\n it must have one and only one record where FirstDay = '1970-01-01'.\n All FirstDay values must greater or equal to '1970-01-01' and unique.\n\n If DatedWages is supplied neither MonthlySalary nor HourlyPay may be supplied. If\n MonthlySalary or HourlyPay are supplied, DatedWages may not be supplied.\n If DatedWages are supplied it must have one and only one record where FirstDay = '1970-01-01'.\n All FirstDay values must greater or equal to '1970-01-01' and unique.","responses":{"200":{"description":"the created employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"responsesObject":{"200":{"description":"the created employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"operationId":"create_EmployeesResource","parameters":[{"in":"body","name":"employee","description":"employee to create","required":false,"schema":{"$ref":"#/definitions/Employee_Wrap"}}],"tags":["EmployeesResource"]}},"/3/employees/{EmployeeId}":{"get":{"summary":"Retrieve a specific employee","produces":["application/json"],"description":"ScheduleId, MonthlySalary and HourlyPay reflect current values, all\n ScheduleIds are returned in DatedSchedules and all MonthlySalary and\n HourlyPay pairs are returned in DatedWages.","responses":{"200":{"description":"the existing employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"responsesObject":{"200":{"description":"the existing employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"operationId":"get_EmployeesResource","parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"}],"tags":["EmployeesResource"]},"put":{"summary":"Update employee","produces":["application/json"],"description":"Only one of DatedSchedules and ScheduleId may be supplied. If DatedSchedules are supplied\n it must have one and only one record where FirstDay = '1970-01-01'.\n All FirstDay values must greater or equal to '1970-01-01' and unique.\n\n If DatedWages is supplied neither MonthlySalary nor HourlyPay may be supplied. If\n MonthlySalary or HourlyPay are supplied, DatedWages may not be supplied.\n If DatedWages are supplied it must have one and only one record where FirstDay = '1970-01-01'.\n All FirstDay values must greater or equal to '1970-01-01' and unique.","responses":{"200":{"description":"the updated employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"responsesObject":{"200":{"description":"the updated employee","schema":{"$ref":"#/definitions/Employee_Wrap"},"responseSchema":{"$ref":"#/definitions/Employee_Wrap"}}},"operationId":"update_EmployeesResource","parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"},{"in":"body","name":"employee","description":"employee to update","required":false,"schema":{"$ref":"#/definitions/Employee_Wrap"}}],"tags":["EmployeesResource"]}},"/3/euvatlimitregulation/":{"get":{"summary":"Retrieve details about eu vat limit","produces":["application/json"],"description":"","responses":{"200":{"description":"eu vat limit regulation entry","schema":{"$ref":"#/definitions/EUVatLimitRegulation_Wrap"},"responseSchema":{"$ref":"#/definitions/EUVatLimitRegulation_Wrap"}}},"responsesObject":{"200":{"description":"eu vat limit regulation entry","schema":{"$ref":"#/definitions/EUVatLimitRegulation_Wrap"},"responseSchema":{"$ref":"#/definitions/EUVatLimitRegulation_Wrap"}}},"operationId":"get_EUVatLimitRegulationResource","parameters":[{"name":"year","in":"query","description":"eu vat limit regulation for year, if not provided than this will be set to current year","required":false,"type":"integer","format":"int32"}],"tags":["EUVatLimitRegulationResource"]}},"/3/expenses/":{"get":{"summary":"Retrieve expenses","produces":["application/json"],"description":"Retrieve expense codes.","responses":{"200":{"description":"expense","schema":{"$ref":"#/definitions/ExpenseListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/ExpenseListItem_Wrap"}}},"responsesObject":{"200":{"description":"expense","schema":{"$ref":"#/definitions/ExpenseListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/ExpenseListItem_Wrap"}}},"operationId":"list_ExpensesResource","parameters":[],"tags":["ExpensesResource"]},"post":{"summary":"Create an expense","produces":["application/json"],"description":"","responses":{"200":{"description":"expense","schema":{"$ref":"#/definitions/Expense_Wrap"},"responseSchema":{"$ref":"#/definitions/Expense_Wrap"}}},"responsesObject":{"200":{"description":"expense","schema":{"$ref":"#/definitions/Expense_Wrap"},"responseSchema":{"$ref":"#/definitions/Expense_Wrap"}}},"operationId":"create_ExpensesResource","parameters":[{"in":"body","name":"expense","description":"expense to create","required":false,"schema":{"$ref":"#/definitions/Expense_Wrap"}}],"tags":["ExpensesResource"]}},"/3/expenses/{ExpenseCode}":{"get":{"summary":"Retrieve an expense","produces":["application/json"],"description":"Retrieves expense information for specified expense.","responses":{"200":{"description":"list of expenses","schema":{"$ref":"#/definitions/Expense_Wrap"},"responseSchema":{"$ref":"#/definitions/Expense_Wrap"}}},"responsesObject":{"200":{"description":"list of expenses","schema":{"$ref":"#/definitions/Expense_Wrap"},"responseSchema":{"$ref":"#/definitions/Expense_Wrap"}}},"operationId":"get_ExpensesResource","parameters":[{"name":"ExpenseCode","in":"path","description":"expenseCode","required":true,"type":"string"}],"tags":["ExpensesResource"]}},"/3/noxfinansinvoices/":{"post":{"summary":"Send an invoice with Fortnox Finans","produces":["application/json"],"description":"<p>\n When sending an invoice with Fortnox Finans you will get the invoice status returned if everything succeeded,\n if there were any problems, an error will be returned.\n <p>\n Please note that it can take 1 min to several hours before you will get back status, OCR number and link to\n PDF document, meanwhile the invoice will have status UNKNOWN or NOT_AUTHORIZED.\n <p>\n Fortnox Finans is currently only accepting invoices in SEK\n <p>\n <i>Parameters in the body:</i>\n <ul>\n <li><b>InvoiceNumber</b>: the invoice number for the invoice which should be sent with Fortnox Finans</li>\n <li><b>SendMethod</b>: how to send the invoice; EMAIL, LETTER, EINVOICE or NONE</li>\n <li><b>Service</b>: which service to use; LEDGERBASE or REMINDER</li>\n </ul>\n <p>","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"operationId":"create_FinanceInvoicesResource","parameters":[{"in":"body","name":"payload","description":"The payload for sending an invoice with Fortnox Finans","required":false,"schema":{"$ref":"#/definitions/CreatePayload_Wrap"}}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}":{"get":{"summary":"Retrieve a single invoice payment","produces":["application/json"],"description":"<p>\n Retrieves the status and balance of an invoice sent to Fortnox Finans.\n You need to supply the invoice number in Fortox to retrieve the invoice.\n <p>\n <b>Note that</b> invoices sent with the old "Noxbox" platform will not have the "ServiceName"\n property in the response. This new property is added to the response if the invoice is\n sent with the new finance service.\n <p>\n Response explanation for <b>Service</b> and <b>ServiceName</b>\n <p>\n <b>Service:</b>\n <ul>\n <li><b>LEDGERBASE</b>: if the invoice is sent by using the old "Noxbox" platform, or the new finance service with the subtypes "Service Full" or "Service Light". These services are explained above in the "Fortnox Finans services" section</li>\n <li><b>REMINDER</b>: If the invoice is sent by the new finance service, with the service Reminder Service</li>\n </ul>\n <p>\n <b>ServiceName</b> (only provided for <u>new finance service</u> invoices):\n <ul>\n <li><b>SERVICE_FULL</b>: Ledgerbase service <u>with</u> automatic reminders is used</li>\n <li><b>SERVICE_LIGHT</b>: Ledgerbase service <u>without</u> automatic reminders is used.</li>\n <li><b>REMINDER_SERVICE</b>: Reminder service is used</li>\n </ul>","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"operationId":"get_FinanceInvoicesResource","parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}/stop":{"put":{"summary":"Action Stop","produces":["application/json"],"description":"<p>\n Removes the invoice from Fortnox Finans process. The invoice can still be handled manually, but no further automatic process will be applied\n <p>","operationId":"stop","responses":{"200":{"description":"The current status of the invoice","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}/pause":{"put":{"summary":"Action Pause","produces":["application/json"],"description":"<p>\n Pauses an invoice for up to 60 days. Pause means that Fortnox Finans reminder process will stop for the invoice. All invoices which have the status OPEN can be paused.\n <p>\n <i>Parameters in the body:</i>\n <ul>\n <li><b>PausedUntilDate</b>: the invoice will be paused to and including this date.</li>\n </ul>\n <p>","operationId":"pause","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"},{"in":"body","name":"payload","description":"The payload for sending an invoice with Fortnox Finans","required":false,"schema":{"$ref":"#/definitions/PausePayload_Wrap"}}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}/unpause":{"put":{"summary":"Action Unpause","produces":["application/json"],"description":"<p>\n Unpauses a paused invoice. If the invoice is manually paused, then this action will remove the pause status immediately. Invoices which are paused by the system cannot be unpaused.\n <p>\n <b>Note:</b> this action is <b>not</b> available for invoices sent by the old Noxbox platform","operationId":"unpause","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}/take-fees":{"put":{"summary":"Action Take Fees","produces":["application/json"],"description":"<p>\n If fees have been added to an invoice, e.g. reminder fees, the client can choose to pay those fees instead of letting the customer pay.\n <p>\n <b>Note:</b> this action is <b>not</b> available for invoices sent by the old Noxbox platform","operationId":"takeFees","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"}],"tags":["FinanceInvoicesResource"]}},"/3/noxfinansinvoices/{Number}/report-payment":{"put":{"summary":"Action Report Payment","produces":["application/json"],"description":"<p>\n If a customer has paid some or all of the capital on an invoice directly to the client, this can be reported\n for bookkeeping purposes and reported to Fortnox Finans to actually deduct the paid amount from the invoice.\n <p>\n <b>Note:</b> this action is <b>not</b> available for invoices sent by the old Noxbox platform\n <p>\n <i>Parameters in the body:</i>\n <ul>\n <li><b>ClientTakesFees</b>: a boolean indicating if the client should take the customer fees or not.</li>\n <li><b>BookkeepPaymentInFortnox</b>: a boolean indicating if the payment should be bookkept in Fortnox or not. Usually the payment should be bookkept.</li>\n <li><b>ReportToFinance</b>: a boolean indicating if the payment should be reported to Fortnox Finans or not. Usually the payment should be reported.</li>\n <li><b>PaymentAmount</b>: a decimal field with the amount to report.</li>\n <li><b>PaymentMethodCode</b>: a string with the method code (e.g. BG, PG or other). Could be omitted if BookkeepPaymentInFortnox is false.</li>\n <li><b>PaymentMethodAccount</b>: an integer with the account number to bookkeep the payment on (e.g. 1920 or other). Could be omitted if BookkeepPaymentInFortnox is false.</li>\n </ul>\n <p>","operationId":"reportPayment","responses":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"responsesObject":{"200":{"description":"The current status of the invoice\n <i>Response parameters:</i>\n <p>\n <ul>\n <li>@url: the URL used to retrieve the invoice status</li>\n <li>BalanceIncludeFees: the current balance of the invoice, fees included (in SEK)</li>\n <li>BalanceIncludeFeesCurrency: the current balance of the invoice, fees included, in other currency (currently only SEK is available)</li>\n <li>CurrentCapitalBalance: capital amount balance (in SEK)</li>\n <li>CurrentCapitalBalanceCurrency: capital amount balance in other currency (currently only SEK is available)</li>\n <li>InvoiceDocumentURL: URL to PDF document for invoice</li>\n <li>InvoiceNumber: invoice number in Fortnox</li>\n <li>NextEvent: the next event for the invoice</li>\n <li>NextEventDate: the date when the next event for the invoice will occur</li>\n <li>OCRNumber: the OCR number of the invoice</li>\n <li>Service: the service used for the invoice (LEDGERBASE or REMINDER)</li>\n <li>ServiceName: the detailed service name used for the invoice (SERVICE_FULL, SERVICE_LIGHT or REMINDER_SERVICE, this field is omitted if the invoice is sent with the old Noxbox service)</li>\n <li>Status: the current status of the invoice</li>\n </ul>\n <i>status</i> can be one of the following:\n <ul>\n <li>UNKNOWN: Not yet confirmed by Fortnox Finans</li>\n <li>NOT_AUTHORIZED: Factoring invoice waiting approval</li>\n <li>OPEN: invoice is open, and not fully paid yet</li>\n <li>PAUSED: invoice is paused</li>\n <li>CLOSED: invoice is closed (fully paid, credited or cancelled)</li>\n </ul>","schema":{"$ref":"#/definitions/InvoiceResponse_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceResponse_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"The Fortnox invoice number","required":true,"type":"string"},{"in":"body","name":"payload","description":"The payload for sending an invoice with Fortnox Finans","required":false,"schema":{"$ref":"#/definitions/ReportPaymentPayload"}}],"tags":["FinanceInvoicesResource"]}},"/3/financialyears":{"get":{"summary":"Retrieve a list of financial years","produces":["application/json"],"description":"Add the query param to filter on specific date.","operationId":"getByDate","responses":{"200":{"description":"the existing financial year","schema":{"$ref":"#/definitions/FinancialYear_WrapList"},"responseSchema":{"$ref":"#/definitions/FinancialYear_WrapList"}}},"responsesObject":{"200":{"description":"the existing financial year","schema":{"$ref":"#/definitions/FinancialYear_WrapList"},"responseSchema":{"$ref":"#/definitions/FinancialYear_WrapList"}}},"parameters":[{"name":"Date","in":"query","description":"date to filter on, for example 2020-06-30","required":false,"type":"string","format":"date"}],"tags":["FinancialYearsResource"]},"post":{"summary":"Create a financial year","produces":["application/json"],"description":"","responses":{"200":{"description":"the created year","schema":{"$ref":"#/definitions/FinancialYear_Wrap"},"responseSchema":{"$ref":"#/definitions/FinancialYear_Wrap"}}},"responsesObject":{"200":{"description":"the created year","schema":{"$ref":"#/definitions/FinancialYear_Wrap"},"responseSchema":{"$ref":"#/definitions/FinancialYear_Wrap"}}},"operationId":"create_FinancialYearsResource","parameters":[{"in":"body","name":"financialYear","description":"to create","required":false,"schema":{"$ref":"#/definitions/FinancialYear_Wrap"}}],"tags":["FinancialYearsResource"]}},"/3/financialyears/{Id}":{"get":{"summary":"Retrieve financial year by id","produces":["application/json"],"description":"","operationId":"getById","responses":{"200":{"description":"the existing financial year","schema":{"$ref":"#/definitions/FinancialYear_Wrap"},"responseSchema":{"$ref":"#/definitions/FinancialYear_Wrap"}}},"responsesObject":{"200":{"description":"the existing financial year","schema":{"$ref":"#/definitions/FinancialYear_Wrap"},"responseSchema":{"$ref":"#/definitions/FinancialYear_Wrap"}}},"parameters":[{"name":"Id","in":"path","description":"identifies the year","required":true,"type":"integer","format":"int32"}],"tags":["FinancialYearsResource"]}},"/3/inbox/":{"get":{"summary":"Retrieve the root folder containing files and folders","produces":["application/json"],"description":"","responses":{"200":{"description":"the root folder","schema":{"$ref":"#/definitions/Folder_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_Wrap"}}},"responsesObject":{"200":{"description":"the root folder","schema":{"$ref":"#/definitions/Folder_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_Wrap"}}},"operationId":"get_InboxResource","parameters":[],"tags":["InboxResource"]},"post":{"summary":"Upload a file","produces":["application/json"],"description":"Upload a file to a specific subdirectory.","operationId":"upload","responses":{"200":{"description":"file file","schema":{"$ref":"#/definitions/Folder_FileRow_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_FileRow_Wrap"}}},"responsesObject":{"200":{"description":"file file","schema":{"$ref":"#/definitions/Folder_FileRow_Wrap"},"responseSchema":{"$ref":"#/definitions/Folder_FileRow_Wrap"}}},"parameters":[{"name":"file","in":"formData","description":"file","required":false,"type":"object"},{"name":"folderId","in":"query","description":"folder id","required":false,"type":"string"},{"name":"path","in":"query","description":"path","required":false,"type":"string"}],"tags":["InboxResource"],"consumes":["multipart/form-data"]}},"/3/inbox/{Id}":{"get":{"summary":"Retrieve a single file","produces":["*/*"],"description":"","responses":{"200":{"description":"a single file","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"a single file","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"operationId":"getFileById_InboxResource","parameters":[{"name":"Id","in":"path","description":"identifies the folder","required":true,"type":"string"}],"tags":["InboxResource"]},"delete":{"summary":"Remove a file or folder","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_InboxResource","parameters":[{"name":"Id","in":"path","description":"identifies the file to remove","required":true,"type":"string"}],"tags":["InboxResource"]}},"/3/invoiceaccruals/":{"get":{"summary":"Retrieve a list of invoice accruals","produces":["application/json"],"description":"The invoice accruals register can return a list of records or a single record. By specifying a InvoiceNumber in the URL, a single record will be returned. Not specifying a InvoiceNumber will return a list of records.","responses":{"200":{"description":"list of invoice accruals","schema":{"$ref":"#/definitions/InvoiceAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrualListItem_List"}}},"responsesObject":{"200":{"description":"list of invoice accruals","schema":{"$ref":"#/definitions/InvoiceAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrualListItem_List"}}},"operationId":"list_InvoiceAccrualsResource","parameters":[],"tags":["InvoiceAccrualsResource"]},"post":{"summary":"Create an invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the created invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the created invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"operationId":"create_InvoiceAccrualsResource","parameters":[{"in":"body","name":"invoiceAccrual","description":"invoice accrual to create","required":false,"schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}],"tags":["InvoiceAccrualsResource"]}},"/3/invoiceaccruals/{InvoiceNumber}":{"get":{"summary":"Retrieve a single invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the existing invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"operationId":"get_InvoiceAccrualsResource","parameters":[{"name":"InvoiceNumber","in":"path","description":"identifies the invoice accrual","required":true,"type":"integer","format":"int32"}],"tags":["InvoiceAccrualsResource"]},"put":{"summary":"Update an invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice accrual","schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}},"operationId":"update_InvoiceAccrualsResource","parameters":[{"name":"InvoiceNumber","in":"path","description":"identifies the invoice accrual","required":true,"type":"integer","format":"int32"},{"in":"body","name":"invoiceAccrual","description":"invoice accrual to update","required":false,"schema":{"$ref":"#/definitions/InvoiceAccrual_Wrap"}}],"tags":["InvoiceAccrualsResource"]},"delete":{"summary":"Remove an invoice accrual","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_InvoiceAccrualsResource","parameters":[{"name":"InvoiceNumber","in":"path","description":"identifies the invoice accrual","required":true,"type":"integer","format":"int32"}],"tags":["InvoiceAccrualsResource"]}},"/3/invoicepayments/":{"get":{"summary":"Retrieve a list of invoice payments","produces":["application/json"],"description":"","responses":{"200":{"description":"list of invoice payments","schema":{"$ref":"#/definitions/InvoicePaymentListItem_List"},"responseSchema":{"$ref":"#/definitions/InvoicePaymentListItem_List"}}},"responsesObject":{"200":{"description":"list of invoice payments","schema":{"$ref":"#/definitions/InvoicePaymentListItem_List"},"responseSchema":{"$ref":"#/definitions/InvoicePaymentListItem_List"}}},"operationId":"list_InvoicePaymentsResource","parameters":[],"tags":["InvoicePaymentsResource"]},"post":{"summary":"Create an invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the created invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the created invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"operationId":"create_InvoicePaymentsResource","parameters":[{"in":"body","name":"invoicePayment","description":"invoice payment to create","required":false,"schema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}],"tags":["InvoicePaymentsResource"]}},"/3/invoicepayments/{Number}":{"get":{"summary":"Retrieve a single invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the existing invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"operationId":"get_InvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the invoice payment","required":true,"type":"string"}],"tags":["InvoicePaymentsResource"]},"put":{"summary":"Update an invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"operationId":"update_InvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the invoice payment","required":true,"type":"string"},{"in":"body","name":"invoicePayment","description":"invoice payment to update","required":false,"schema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}],"tags":["InvoicePaymentsResource"]},"delete":{"summary":"Remove an invoice payment","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_InvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the invoice payment","required":true,"type":"string"}],"tags":["InvoicePaymentsResource"]}},"/3/invoicepayments/{Number}/bookkeep":{"put":{"summary":"Bookkeep an invoice payment","produces":["application/json"],"description":"","operationId":"bookkeep","responses":{"200":{"description":"the updated invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice payment","schema":{"$ref":"#/definitions/InvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}},"parameters":[{"name":"Number","in":"path","description":"identifies the invoice payment","required":true,"type":"string"},{"in":"body","name":"invoicePayment","description":"invoice payment to update","required":false,"schema":{"$ref":"#/definitions/InvoicePayment_Wrap"}}],"tags":["InvoicePaymentsResource"]}},"/3/invoices/{DocumentNumber}":{"get":{"summary":"Retrieve a single invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the existing invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"operationId":"get_InvoicesResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]},"put":{"summary":"Update an invoice","produces":["application/json"],"description":"Note that there are two approaches for updating the rows on an invoice.\n\n If RowId is not specified on any row, the rows will be mapped and updated in the order in which they are set in the array. All rows that should remain on the invoice needs to be provided.\n\n If RowId is specified on one or more rows the following goes: Corresponding row with that id will be updated. The rows without RowId will be interpreted as new rows. If a row should not be updated but remain on the invoice then specify only RowId like { \"RowId\": 123 }, otherwise it will be removed. Note that new RowIds are generated for all rows every time an invoice is updated.\n\n Note: The <b>EuQuarterlyReport</b> property will become obsolete at 2021-12-01.\n This property is currently used by the <b>Quarterly</b> report as one of the conditions that determine if an invoice\n should be included in the report or not.\n A new version of the <b>Quarterly</b> report is released at 2021-12-01. In the new report, this property will not be\n used when determining if an invoice should be included in the report or not, with one exception: if the invoice\n is created before 2021-12-01, and this property is false, the invoice will be excluded from the report.\n For invoices created 2021-12-01 and later, this property will have no effect.","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"operationId":"update_InvoicesResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"},{"in":"body","name":"invoicePayload","description":"payload","required":false,"schema":{"$ref":"#/definitions/InvoicePayload_Wrap"}}],"tags":["InvoicesResource"]}},"/3/invoices":{"get":{"summary":"Retrieve a list of invoices","produces":["application/json"],"description":"","responses":{"200":{"description":"list of invoices","schema":{"$ref":"#/definitions/InvoiceListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceListItem_Wrap"}}},"responsesObject":{"200":{"description":"list of invoices","schema":{"$ref":"#/definitions/InvoiceListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/InvoiceListItem_Wrap"}}},"operationId":"list_InvoicesResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter invoices","required":false,"type":"string","enum":["cancelled","fullypaid","unpaid","unpaidoverdue","unbooked"]},{"name":"costcenter","in":"query","required":false,"type":"string"},{"name":"customername","in":"query","required":false,"type":"string"},{"name":"customernumber","in":"query","required":false,"type":"string"},{"name":"label","in":"query","required":false,"type":"string"},{"name":"documentnumber","in":"query","required":false,"type":"string"},{"name":"fromdate","in":"query","required":false,"type":"string"},{"name":"todate","in":"query","required":false,"type":"string"},{"name":"fromfinalpaydate","in":"query","required":false,"type":"string"},{"name":"tofinalpaydate","in":"query","required":false,"type":"string"},{"name":"lastmodified","in":"query","required":false,"type":"string"},{"name":"notcompleted","in":"query","required":false,"type":"string"},{"name":"ocr","in":"query","required":false,"type":"string"},{"name":"ourreference","in":"query","required":false,"type":"string"},{"name":"project","in":"query","required":false,"type":"string"},{"name":"sent","in":"query","required":false,"type":"string"},{"name":"externalinvoicereference1","in":"query","required":false,"type":"string"},{"name":"externalinvoicereference2","in":"query","required":false,"type":"string"},{"name":"yourreference","in":"query","required":false,"type":"string"},{"name":"invoicetype","in":"query","required":false,"type":"string"},{"name":"articlenumber","in":"query","required":false,"type":"string"},{"name":"articledescription","in":"query","required":false,"type":"string"},{"name":"currency","in":"query","required":false,"type":"string"},{"name":"accountnumberfrom","in":"query","required":false,"type":"string"},{"name":"accountnumberto","in":"query","required":false,"type":"string"},{"name":"yourordernumber","in":"query","required":false,"type":"string"},{"name":"credit","in":"query","required":false,"type":"string"},{"name":"sortby","in":"query","description":"field to sort returned list on","required":false,"type":"string","enum":["customername","customernumber","documentnumber","invoicedate","ocr","total"]}],"tags":["InvoicesResource"]},"post":{"summary":"Create an invoice","produces":["application/json"],"description":"An endpoint for creating an invoice. While it is possible to create an invoice without rows, we encourage you to add them if you can.\n Omitted values in the payload will be supplied by Predefined values which can be edited in the Fortnox account settings.\n Note that Predefined values will always be overwritten by values provided through the API.\n\n Should you have EasyVat enabled, it is mandatory to provide an account in the request should you use a custom VAT rate.\n\n This endpoint can produce errors, some of which may only be relevant for EasyVat. Refer to the table below.\n <table>\n <caption>Errors that can be raised by this endpoint.</caption>\n \t\t<tr>\n \t\t\t<th>Error Code</th>\n \t\t\t<th>HTTP Code</th>\n \t\t\t<th>Description</th>\n \t\t\t<th>Solution</th>\n \t\t</tr>\n \t\t<tr>\n \t\t\t<td>2004167</td>\n \t\t\t<td>400</td>\n \t\t\t<td>An account must be provided when using a custom VAT rate and EasyVat has been enabled.</td>\n \t\t\t<td>Supply each row which has a custom VAT rate with an account.</td>\n \t\t</tr>\n </table>\n\n Note: The <b>EuQuarterlyReport</b> property will become obsolete at 2021-12-01.\n This property is currently used by the <b>Quarterly</b> report as one of the conditions that determine if an invoice\n should be included in the report or not.\n A new version of the <b>Quarterly</b> report is released at 2021-12-01. In the new report, this property will not be\n used when determining if an invoice should be included in the report or not, with one exception: if the invoice\n is created before 2021-12-01, and this property is false, the invoice will be excluded from the report.\n For invoices created 2021-12-01 and later, this property will have no effect.","responses":{"200":{"description":"the created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"operationId":"create_InvoicesResource","parameters":[{"in":"body","name":"invoicePayload","description":"payload","required":false,"schema":{"$ref":"#/definitions/InvoicePayload_Wrap"}}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/bookkeep":{"put":{"summary":"Bookkeep an invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"operationId":"bookkeep_InvoicesResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/cancel":{"put":{"summary":"Cancel an invoice","produces":["application/json"],"description":"","operationId":"cancel","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/credit":{"put":{"summary":"Credit an invoice","produces":["application/json"],"description":"The created credit invoice will be referenced in the property CreditInvoiceReference.","operationId":"credit","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/externalprint":{"put":{"summary":"Set an invoice as sent","produces":["application/json"],"description":"Use this endpoint to set invoice as sent, without generating an invoice.","operationId":"externalPrint","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/warehouseready":{"put":{"summary":"Set an invoice as done","produces":["application/json"],"description":"Used for marking a document as ready in the warehouse module. DeliveryState needs to be set to "delivery".","operationId":"warehouseReady","responses":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/print":{"get":{"summary":"Print an invoice","produces":["application/pdf"],"description":"","operationId":"print","responses":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/email":{"get":{"summary":"Send an invoice as email","produces":["application/json"],"description":"You can use the properties in the EmailInformation to customize the e-mail message on each invoice.","operationId":"email","responses":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/printreminder":{"get":{"summary":"Print an invoice as reminder","produces":["application/pdf"],"description":"","operationId":"printReminder","responses":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/preview":{"get":{"summary":"Preview an invoice","produces":["application/pdf"],"description":"The difference between this and the print-endpoint is that property Sent is not set to TRUE.","operationId":"preview","responses":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the invoice as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/eprint":{"get":{"summary":"Send an invoice as e-print","produces":["application/json"],"description":"","operationId":"ePrint","responses":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/invoices/{DocumentNumber}/einvoice":{"get":{"summary":"Send an invoice as e-invoice","produces":["application/json"],"description":"","operationId":"eInvoice","responses":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"sent invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the invoice","required":true,"type":"string"}],"tags":["InvoicesResource"]}},"/3/labels":{"get":{"summary":"Retrieve a list of labels","produces":["application/json"],"description":"","responses":{"200":{"description":"list of labels","schema":{"$ref":"#/definitions/Label_List"},"responseSchema":{"$ref":"#/definitions/Label_List"}}},"responsesObject":{"200":{"description":"list of labels","schema":{"$ref":"#/definitions/Label_List"},"responseSchema":{"$ref":"#/definitions/Label_List"}}},"operationId":"list_LabelsResource","parameters":[],"tags":["LabelsResource"]},"post":{"summary":"Create a label","produces":["application/json"],"description":"The created label will be returned if everything succeeded, if there was any problems an error will be returned.","responses":{"200":{"description":"the created label","schema":{"$ref":"#/definitions/Label_Wrap"},"responseSchema":{"$ref":"#/definitions/Label_Wrap"}}},"responsesObject":{"200":{"description":"the created label","schema":{"$ref":"#/definitions/Label_Wrap"},"responseSchema":{"$ref":"#/definitions/Label_Wrap"}}},"operationId":"create_LabelsResource","parameters":[{"in":"body","name":"label","description":"to create","required":false,"schema":{"$ref":"#/definitions/Label_Wrap"}}],"tags":["LabelsResource"]}},"/3/labels/{Id}":{"put":{"summary":"Update a label","produces":["application/json"],"description":"Updates the specified label with the values provided in the properties. Any property not provided will be left unchanged.","responses":{"200":{"description":"the updated label","schema":{"$ref":"#/definitions/Label_Wrap"},"responseSchema":{"$ref":"#/definitions/Label_Wrap"}}},"responsesObject":{"200":{"description":"the updated label","schema":{"$ref":"#/definitions/Label_Wrap"},"responseSchema":{"$ref":"#/definitions/Label_Wrap"}}},"operationId":"update_LabelsResource","parameters":[{"name":"Id","in":"path","description":"identifies the label","required":true,"type":"integer","format":"int32"},{"in":"body","name":"label","description":"to update","required":false,"schema":{"$ref":"#/definitions/Label_Wrap"}}],"tags":["LabelsResource"]},"delete":{"summary":"Delete a label","produces":["application/json"],"description":"Deletes the label and its connection to documents permanently.\n You need to supply the unique label id that was returned when the label was created or retrieved from the list of labels.","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_LabelsResource","parameters":[{"name":"Id","in":"path","description":"identifies the label","required":true,"type":"integer","format":"int32"}],"tags":["LabelsResource"]}},"/3/settings/lockedperiod/":{"get":{"summary":"Retrieve the locked period","produces":["application/json"],"description":"If no date is returned, no period is locked.","responses":{"200":{"description":"the locked period","schema":{"$ref":"#/definitions/LockedPeriod_Wrap"},"responseSchema":{"$ref":"#/definitions/LockedPeriod_Wrap"}}},"responsesObject":{"200":{"description":"the locked period","schema":{"$ref":"#/definitions/LockedPeriod_Wrap"},"responseSchema":{"$ref":"#/definitions/LockedPeriod_Wrap"}}},"operationId":"get_LockedPeriodResource","parameters":[],"tags":["LockedPeriodResource"]}},"/3/me":{"get":{"summary":"Retrieve user information\n Use this endpoint to retrieve user information related to the used access token","produces":["application/json"],"description":"","responses":{"200":{"description":"user information","schema":{"$ref":"#/definitions/Me_Wrap"},"responseSchema":{"$ref":"#/definitions/Me_Wrap"}}},"responsesObject":{"200":{"description":"user information","schema":{"$ref":"#/definitions/Me_Wrap"},"responseSchema":{"$ref":"#/definitions/Me_Wrap"}}},"operationId":"get_MeResource","parameters":[],"tags":["MeResource"]}},"/3/modesofpayments":{"get":{"summary":"Retrieve a list of modes of payments","produces":["application/json"],"description":"The modes of payments register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of modes of payments.","schema":{"$ref":"#/definitions/ModeOfPayment_List"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_List"}}},"responsesObject":{"200":{"description":"a list of modes of payments.","schema":{"$ref":"#/definitions/ModeOfPayment_List"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_List"}}},"operationId":"list_ModesOfPaymentsResource","parameters":[],"tags":["ModesOfPaymentsResource"]},"post":{"summary":"Create a mode of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the created mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the created mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"operationId":"create_ModesOfPaymentsResource","parameters":[{"in":"body","name":"modeOfPayment","description":"to create","required":false,"schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}],"tags":["ModesOfPaymentsResource"]}},"/3/modesofpayments/{Code}":{"get":{"summary":"Retrieve a single mode of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the existing mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"operationId":"get_ModesOfPaymentsResource","parameters":[{"name":"Code","in":"path","description":"identifies the mode of payment","required":true,"type":"string"}],"tags":["ModesOfPaymentsResource"]},"put":{"summary":"Update a mode of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated mode of payment","schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}},"operationId":"update_ModesOfPaymentsResource","parameters":[{"name":"Code","in":"path","description":"identifies the mode of payment","required":true,"type":"string"},{"in":"body","name":"unit","description":"mode of payment to update","required":false,"schema":{"$ref":"#/definitions/ModeOfPayment_Wrap"}}],"tags":["ModesOfPaymentsResource"]}},"/3/offers/":{"get":{"summary":"Retrieve a list of offers","produces":["application/json"],"description":"","responses":{"200":{"description":"list of offers","schema":{"$ref":"#/definitions/OfferListItem_List"},"responseSchema":{"$ref":"#/definitions/OfferListItem_List"}}},"responsesObject":{"200":{"description":"list of offers","schema":{"$ref":"#/definitions/OfferListItem_List"},"responseSchema":{"$ref":"#/definitions/OfferListItem_List"}}},"operationId":"list_OffersResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter offers","required":false,"type":"string","enum":["cancelled","expired","ordercreated","ordernotcreated"]}],"tags":["OffersResource"]},"post":{"summary":"Create an offer","produces":["application/json"],"description":"An endpoint for creating an offer.\n\n Should you have EasyVat enabled, it is mandatory to provide an account in the request should you use a custom VAT rate.\n\n This endpoint can produce errors, some of which may only be relevant for EasyVat. Refer to the table below.\n <table>\n <caption>Errors that can be raised by this endpoint.</caption>\n \t\t<tr>\n \t\t\t<th>Error Code</th>\n \t\t\t<th>HTTP Code</th>\n \t\t\t<th>Description</th>\n \t\t\t<th>Solution</th>\n \t\t</tr>\n \t\t<tr>\n \t\t\t<td>2004167</td>\n \t\t\t<td>400</td>\n \t\t\t<td>An account must be provided when using a custom VAT rate and EasyVat has been enabled.</td>\n \t\t\t<td>Supply each row which has a custom VAT rate with an account.</td>\n \t\t</tr>\n </table>","responses":{"200":{"description":"the created offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the created offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"operationId":"create_OffersResource","parameters":[{"in":"body","name":"offer","description":"to create","required":false,"schema":{"$ref":"#/definitions/Offer_Wrap"}}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}":{"get":{"summary":"Retrieve a single offer","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the existing offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"operationId":"get_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]},"put":{"summary":"Update an offer","produces":["application/json"],"description":"Note that there are two approaches for updating the rows on an offer.\n\n If RowId is not specified on any row, the rows will be mapped and updated in the order in which they are set in the array. All rows that should remain on the offer needs to be provided.\n\n If RowId is specified on one or more rows the following goes: Corresponding row with that id will be updated. The rows without RowId will be interpreted as new rows. If a row should not be updated but remain on the offer then specify only RowId like { \"RowId\": 123 }, otherwise it will be removed. Note that new RowIds are generated for all rows every time an offer is updated.","responses":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"operationId":"update_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"},{"in":"body","name":"offer","description":"to update","required":false,"schema":{"$ref":"#/definitions/Offer_Wrap"}}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/print":{"get":{"summary":"Print given offer","produces":["application/pdf"],"description":"","responses":{"200":{"description":"the existing offer","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the existing offer","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"operationId":"print_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/email":{"get":{"summary":"Send given offer as email","produces":["application/json"],"description":"You can use the properties in the EmailInformation to customize the e-mail message on each offer.","responses":{"200":{"description":"the existing offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the existing offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"operationId":"email_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/preview":{"get":{"summary":"Preview given offer","produces":["application/pdf"],"description":"The difference between this and the print-endpoint is that property Sent is not set to TRUE.","responses":{"200":{"description":"the existing offer","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the existing offer","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"operationId":"preview_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/createorder":{"put":{"summary":"Create order out of given offer","produces":["application/json"],"description":"","operationId":"createorder","responses":{"200":{"description":"the created order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the created order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/cancel":{"put":{"summary":"Cancels given offer","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"operationId":"cancel_OffersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/offers/{DocumentNumber}/externalprint":{"put":{"summary":"Set given offer as sent","produces":["application/json"],"description":"Use this endpoint to set offer as sent, without generating an offer.","operationId":"externalprint","responses":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"responsesObject":{"200":{"description":"the updated offer","schema":{"$ref":"#/definitions/Offer_Wrap"},"responseSchema":{"$ref":"#/definitions/Offer_Wrap"}}},"parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OffersResource"]}},"/3/orders/":{"get":{"summary":"Retrieve a list of orders","produces":["application/json"],"description":"","responses":{"200":{"description":"list of orders","schema":{"$ref":"#/definitions/OrderListItem_List"},"responseSchema":{"$ref":"#/definitions/OrderListItem_List"}}},"responsesObject":{"200":{"description":"list of orders","schema":{"$ref":"#/definitions/OrderListItem_List"},"responseSchema":{"$ref":"#/definitions/OrderListItem_List"}}},"operationId":"list_OrdersResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter orders","required":false,"type":"string","enum":["cancelled","expired","invoicecreated","invoicenotcreated"]}],"tags":["OrdersResource"]},"post":{"summary":"Create a new order","produces":["application/json"],"description":"An endpoint for creating an order.\n\n Should you have EasyVat enabled, it is mandatory to provide an account in the request should you use a custom VAT rate.\n\n This endpoint can produce errors, some of which may only be relevant for EasyVat. Refer to the table below.\n <table>\n <caption>Errors that can be raised by this endpoint.</caption>\n \t\t<tr>\n \t\t\t<th>Error Code</th>\n \t\t\t<th>HTTP Code</th>\n \t\t\t<th>Description</th>\n \t\t\t<th>Solution</th>\n \t\t</tr>\n \t\t<tr>\n \t\t\t<td>2004167</td>\n \t\t\t<td>400</td>\n \t\t\t<td>An account must be provided when using a custom VAT rate and EasyVat has been enabled.</td>\n \t\t\t<td>Supply each row which has a custom VAT rate with an account.</td>\n \t\t</tr>\n </table>","responses":{"200":{"description":"the created order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the created order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"create_OrdersResource","parameters":[{"in":"body","name":"order","description":"order to create","required":false,"schema":{"$ref":"#/definitions/Order_Wrap"}}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}":{"get":{"summary":"Retrieve a single order","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the existing order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"get_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]},"put":{"summary":"Update an order","produces":["application/json"],"description":"Note that there are two approaches for updating the rows on an order.\n\n If RowId is not specified on any row, the rows will be mapped and updated in the order in which they are set in the array. All rows that should remain on the order needs to be provided.\n\n If RowId is specified on one or more rows the following goes: Corresponding row with that id will be updated. The rows without RowId will be interpreted as new rows. If a row should not be updated but remain on the order then specify only RowId like { \"RowId\": 123 }, otherwise it will be removed. Note that new RowIds are generated for all rows every time an order is updated.","responses":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"update_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"},{"in":"body","name":"order","description":"order to update","required":false,"schema":{"$ref":"#/definitions/Order_Wrap"}}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/print":{"get":{"summary":"Print given order","produces":["application/pdf"],"description":"","responses":{"200":{"description":"the given order as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the given order as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"operationId":"print_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/email":{"get":{"summary":"Send given order as email","produces":["application/json"],"description":"You can use the properties in the EmailInformation to customize the e-mail message on each order.","responses":{"200":{"description":"the existing order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the existing order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"email_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/preview":{"get":{"summary":"Preview given offer","produces":["application/pdf"],"description":"The difference between this and the print-endpoint is that property Sent is not set to TRUE.","responses":{"200":{"description":"the given order as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"responsesObject":{"200":{"description":"the given order as PDF","schema":{"type":"string","format":"byte"},"responseSchema":{"type":"string","format":"byte"}}},"operationId":"preview_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the offer","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/createinvoice":{"put":{"summary":"Create invoice out of given order","produces":["application/json"],"description":"","responses":{"200":{"description":"the created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"responsesObject":{"200":{"description":"the created invoice","schema":{"$ref":"#/definitions/Invoice_Wrap"},"responseSchema":{"$ref":"#/definitions/Invoice_Wrap"}}},"operationId":"createinvoice_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/cancel":{"put":{"summary":"Cancels given order","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"cancel_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/orders/{DocumentNumber}/externalprint":{"put":{"summary":"Set given order as sent","produces":["application/json"],"description":"Use this endpoint to set order as sent, without generating an order.","responses":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"responsesObject":{"200":{"description":"the updated order","schema":{"$ref":"#/definitions/Order_Wrap"},"responseSchema":{"$ref":"#/definitions/Order_Wrap"}}},"operationId":"externalprint_OrdersResource","parameters":[{"name":"DocumentNumber","in":"path","description":"identifies the order","required":true,"type":"string"}],"tags":["OrdersResource"]}},"/3/predefinedaccounts/":{"get":{"summary":"Retrieve a list of all predefined accounts","produces":["application/json"],"description":"","responses":{"200":{"description":"list of predefined accounts","schema":{"$ref":"#/definitions/PredefinedAccount_List"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_List"}}},"responsesObject":{"200":{"description":"list of predefined accounts","schema":{"$ref":"#/definitions/PredefinedAccount_List"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_List"}}},"operationId":"list_PredefinedAccountsResource","parameters":[],"tags":["PredefinedAccountsResource"]}},"/3/predefinedaccounts/{name}":{"get":{"summary":"Retrieve information for a specific account type","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing predefined account","schema":{"$ref":"#/definitions/PredefinedAccount_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_Wrap"}}},"responsesObject":{"200":{"description":"the existing predefined account","schema":{"$ref":"#/definitions/PredefinedAccount_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_Wrap"}}},"operationId":"get_PredefinedAccountsResource","parameters":[{"name":"name","in":"path","description":"identifies the predefined account","required":true,"type":"string"}],"tags":["PredefinedAccountsResource"]},"put":{"summary":"Update a Predefined Account","produces":["application/json"],"description":"An endpoint for updating a Predefined Account. Predefined Accounts are identified by their <em>name</em>-field, and as such must be unique.\n Some Predefined Accounts distinguish between Goods and Services.\n In this case, the former retains the original name whereas the latter ends with a 2. Such as <em>SALES</em> and <em>SALES2</em>.\n Accounts are chosen from the Account Registry, and if you have EasyVat enabled then the new EasyVat Predefined Accounts (<em>SALES_25_SE</em>, etc.) have certain restrictions on the accounts that can be selected.\n Refer to the table below.\n\n <table>\n <caption>Account restrictions when EasyVat has been enabled.</caption>\n <tr>\n <th>Name</th>\n <th>VAT Code</th>\n <th>Restrictions</th>\n </tr>\n <tr>\n <td>SALES_25_SE</td>\n <td>MP1</td>\n <td>Must have a compatible VAT Code.</td>\n </tr>\n <tr>\n <td>SALES_12_SE</td>\n <td>MP2</td>\n <td>Must have a compatible VAT Code.</td>\n </tr>\n <tr>\n <td>SALES_6_SE</td>\n <td>MP3</td>\n <td>Must have a compatible VAT Code.</td>\n </tr>\n <tr>\n <td>SALES_0_SE</td>\n <td>MF</td>\n <td>Must have a compatible VAT Code.</td>\n </tr>\n </table>\n\n This endpoint can produce errors, some of which may only be relevant for EasyVat. Refer to the table below.\n <table>\n <caption>Errors that can be raised by this endpoint.</caption>\n <tr>\n <th>Error Code</th>\n <th>HTTP Code</th>\n <th>Description</th>\n <th>Solution</th>\n </tr>\n <tr>\n <td>2001265</td>\n <td>400</td>\n <td>The provided account is invalid. It either has not been provided, does not exist, or is inactive.</td>\n <td>Verify that an account has been provided and that it exists and is active.</td>\n </tr>\n <tr>\n <td>2002462</td>\n <td>400</td>\n <td>The account is not in a valid format.</td>\n <td>Verify that the format of the account is correct. It has to consist of 4 digits.</td>\n </tr>\n <tr>\n <td>2000729</td>\n <td>400</td>\n <td>A Predefined Account has not been provided.</td>\n <td>Verify that a valid Predefined Account has been provided as a PATH-parameter.</td>\n </tr>\n <tr>\n <td>2004052</td>\n <td>400</td>\n <td>The provided account has an incompatible VAT Code. Only applies if EasyVat has been enabled.</td>\n <td>Verify that the provided account has a VAT Code that is compatible with the selected Predefined Account. Refer to the table above for more information about compatibility.</td>\n </tr>\n </table>\n\n If you have activated EasyVat, you can read more about how to use the new Predefined Accounts with your documents in their respective api documentation.","responses":{"200":{"description":"the updated predefined account","schema":{"$ref":"#/definitions/PredefinedAccount_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_Wrap"}}},"responsesObject":{"200":{"description":"the updated predefined account","schema":{"$ref":"#/definitions/PredefinedAccount_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedAccount_Wrap"}}},"operationId":"update_PredefinedAccountsResource","parameters":[{"name":"name","in":"path","description":"identifies the predefined account","required":true,"type":"string"},{"in":"body","name":"predefinedAccount","description":"predefined account to update","required":false,"schema":{"$ref":"#/definitions/PredefinedAccount_Wrap"}}],"tags":["PredefinedAccountsResource"]}},"/3/predefinedvoucherseries/":{"get":{"summary":"Retrieve a list of predefined voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"a list of predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_List"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_List"}}},"responsesObject":{"200":{"description":"a list of predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_List"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_List"}}},"operationId":"list_PredefinedVoucherSeriesResource","parameters":[],"tags":["PredefinedVoucherSeriesResource"]}},"/3/predefinedvoucherseries/{Name}":{"get":{"summary":"Retrieve a specific predefined voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"a list of predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"}}},"responsesObject":{"200":{"description":"a list of predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"}}},"operationId":"get_PredefinedVoucherSeriesResource","parameters":[{"name":"Name","in":"path","description":"identifies the predefined voucher series","required":true,"type":"string"}],"tags":["PredefinedVoucherSeriesResource"]},"put":{"summary":"Update a predefined voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"}}},"responsesObject":{"200":{"description":"the updated predefined voucher series","schema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"}}},"operationId":"update_PredefinedVoucherSeriesResource","parameters":[{"name":"Name","in":"path","description":"identifies the predefined voucher series","required":true,"type":"string"},{"in":"body","name":"predefinedVoucherSeries","description":"predefined voucher series to update","required":false,"schema":{"$ref":"#/definitions/PredefinedVoucherSeries_Wrap"}}],"tags":["PredefinedVoucherSeriesResource"]}},"/3/pricelists":{"get":{"summary":"Retrieve a list of price lists","produces":["application/json"],"description":"The price lists register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"all price lists","schema":{"$ref":"#/definitions/PriceList_List"},"responseSchema":{"$ref":"#/definitions/PriceList_List"}}},"responsesObject":{"200":{"description":"all price lists","schema":{"$ref":"#/definitions/PriceList_List"},"responseSchema":{"$ref":"#/definitions/PriceList_List"}}},"operationId":"list_PriceListsResource","parameters":[],"tags":["PriceListsResource"]},"post":{"summary":"Create a price list","produces":["application/json"],"description":"","responses":{"200":{"description":"the created price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"responsesObject":{"200":{"description":"the created price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"operationId":"create_PriceListsResource","parameters":[{"in":"body","name":"priceList","description":"to create","required":false,"schema":{"$ref":"#/definitions/PriceList_Wrap"}}],"tags":["PriceListsResource"]}},"/3/pricelists/{Code}":{"get":{"summary":"Retrieve a single price list","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"responsesObject":{"200":{"description":"the existing price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"operationId":"get_PriceListsResource","parameters":[{"name":"Code","in":"path","description":"identifies the price list","required":true,"type":"string"}],"tags":["PriceListsResource"]},"put":{"summary":"Update a price list","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"responsesObject":{"200":{"description":"the updated price list","schema":{"$ref":"#/definitions/PriceList_Wrap"},"responseSchema":{"$ref":"#/definitions/PriceList_Wrap"}}},"operationId":"update_PriceListsResource","parameters":[{"name":"Code","in":"path","description":"identifies the price list","required":true,"type":"string"},{"in":"body","name":"priceList","description":"price list to update","required":false,"schema":{"$ref":"#/definitions/PriceList_Wrap"}}],"tags":["PriceListsResource"]}},"/3/prices/{PriceList}/{ArticleNumber}/{FromQuantity}":{"get":{"summary":"Retrieve a price for a specified article","produces":["application/json"],"description":"","responses":{"200":{"description":"the price for a specified article","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"responsesObject":{"200":{"description":"the price for a specified article","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"operationId":"get_PricesResource","parameters":[{"name":"PriceList","in":"path","description":"identifies the price list","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article","required":true,"type":"string"},{"name":"FromQuantity","in":"path","description":"identifies from quantity","required":true,"type":"number","format":"double"}],"tags":["PricesResource"]},"put":{"summary":"Update a price","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"responsesObject":{"200":{"description":"the updated price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"operationId":"update_PricesResource","parameters":[{"name":"PriceList","in":"path","description":"identifies the price list","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article number","required":true,"type":"string"},{"name":"FromQuantity","in":"path","description":"identifies the from quantity","required":true,"type":"number","format":"double"},{"in":"body","name":"price","description":"price to update","required":false,"schema":{"$ref":"#/definitions/Price_Wrap"}}],"tags":["PricesResource"]},"delete":{"summary":"Delete a single price","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_PricesResource","parameters":[{"name":"PriceList","in":"path","description":"identifies the price list","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article number","required":true,"type":"string"},{"name":"FromQuantity","in":"path","description":"identifies the from quantity","required":true,"type":"number","format":"double"}],"tags":["PricesResource"]}},"/3/prices/sublist/{PriceList}/{ArticleNumber}":{"get":{"summary":"Retrieve a list of articles with all their prices in the specified price list","produces":["application/json"],"description":"The list contains a slimmer version of the prices. To get a full entity, use the GET with a price list, article number and from quantity.","responses":{"200":{"description":"list of prices","schema":{"$ref":"#/definitions/PriceListItem_List"},"responseSchema":{"$ref":"#/definitions/PriceListItem_List"}}},"responsesObject":{"200":{"description":"list of prices","schema":{"$ref":"#/definitions/PriceListItem_List"},"responseSchema":{"$ref":"#/definitions/PriceListItem_List"}}},"operationId":"list_PricesResource","parameters":[{"name":"PriceList","in":"path","description":"identifies the price list of the prices","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article number of the prices","required":true,"type":"string"}],"tags":["PricesResource"]}},"/3/prices/{PriceList}/{ArticleNumber}":{"get":{"summary":"Retrieve the first price for the specified article","produces":["application/json"],"description":"","operationId":"getFirstPrice","responses":{"200":{"description":"the first price for the specified article","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"responsesObject":{"200":{"description":"the first price for the specified article","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"parameters":[{"name":"PriceList","in":"path","description":"identifies the price list","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article","required":true,"type":"string"}],"tags":["PricesResource"]},"put":{"summary":"Update the first price in the specified article","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"responsesObject":{"200":{"description":"the updated price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"operationId":"update_PricesResource_1","parameters":[{"name":"PriceList","in":"path","description":"identifies the price list","required":true,"type":"string"},{"name":"ArticleNumber","in":"path","description":"identifies the article number","required":true,"type":"string"},{"in":"body","name":"price","description":"price to update","required":false,"schema":{"$ref":"#/definitions/Price_Wrap"}}],"tags":["PricesResource"]}},"/3/prices/":{"post":{"summary":"Create a price","produces":["application/json"],"description":"","responses":{"200":{"description":"the created price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"responsesObject":{"200":{"description":"the created price","schema":{"$ref":"#/definitions/Price_Wrap"},"responseSchema":{"$ref":"#/definitions/Price_Wrap"}}},"operationId":"create_PricesResource","parameters":[{"in":"body","name":"price","description":"price to create","required":false,"schema":{"$ref":"#/definitions/Price_Wrap"}}],"tags":["PricesResource"]}},"/3/printtemplates":{"get":{"summary":"Retrieve a list of print templates","produces":["application/json"],"description":"","responses":{"200":{"description":"a list of print templates.","schema":{"$ref":"#/definitions/PrintTemplate_List"},"responseSchema":{"$ref":"#/definitions/PrintTemplate_List"}}},"responsesObject":{"200":{"description":"a list of print templates.","schema":{"$ref":"#/definitions/PrintTemplate_List"},"responseSchema":{"$ref":"#/definitions/PrintTemplate_List"}}},"operationId":"list_PrintTemplatesResource","parameters":[],"tags":["PrintTemplatesResource"]}},"/3/projects/{ProjectNumber}":{"get":{"summary":"Retrieve a single project","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"responsesObject":{"200":{"description":"the existing project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"operationId":"get_ProjectsResource","parameters":[{"name":"ProjectNumber","in":"path","description":"identifies the project","required":true,"type":"integer","format":"int32"}],"tags":["ProjectsResource"]},"put":{"summary":"Update a project","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"responsesObject":{"200":{"description":"the updated project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"operationId":"update_ProjectsResource","parameters":[{"name":"ProjectNumber","in":"path","description":"identifies the project","required":true,"type":"integer","format":"int32"},{"in":"body","name":"project","description":"to update","required":false,"schema":{"$ref":"#/definitions/Project_Wrap"}}],"tags":["ProjectsResource"]},"delete":{"summary":"Remove a project","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_ProjectsResource","parameters":[{"name":"ProjectNumber","in":"path","description":"identifies the project","required":true,"type":"integer","format":"int32"}],"tags":["ProjectsResource"]}},"/3/projects":{"get":{"summary":"Retrieve a list of projects","produces":["application/json"],"description":"The project register can return a list of records or a single record. By specifying a ProjectNumber in the URL, a single record will be returned. If no ProjectNumber is provided, a list of records will be returned.","responses":{"200":{"description":"list of projects","schema":{"$ref":"#/definitions/ProjectListItem_List"},"responseSchema":{"$ref":"#/definitions/ProjectListItem_List"}}},"responsesObject":{"200":{"description":"list of projects","schema":{"$ref":"#/definitions/ProjectListItem_List"},"responseSchema":{"$ref":"#/definitions/ProjectListItem_List"}}},"operationId":"list_ProjectsResource","parameters":[],"tags":["ProjectsResource"]},"post":{"summary":"Create a project","produces":["application/json"],"description":"","responses":{"200":{"description":"the created project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"responsesObject":{"200":{"description":"the created project","schema":{"$ref":"#/definitions/Project_Wrap"},"responseSchema":{"$ref":"#/definitions/Project_Wrap"}}},"operationId":"create_ProjectsResource","parameters":[{"in":"body","name":"project","description":"to create","required":false,"schema":{"$ref":"#/definitions/Project_Wrap"}}],"tags":["ProjectsResource"]}},"/3/salarytransactions":{"get":{"summary":"List all salary transactions for all employees","produces":["application/json"],"description":"Supports query-string parameters <b>employeeid</b> and <b>date</b> for filtering the result.","responses":{"200":{"description":"list of salary transactions","schema":{"$ref":"#/definitions/SalaryTransactionListItem_List"},"responseSchema":{"$ref":"#/definitions/SalaryTransactionListItem_List"}}},"responsesObject":{"200":{"description":"list of salary transactions","schema":{"$ref":"#/definitions/SalaryTransactionListItem_List"},"responseSchema":{"$ref":"#/definitions/SalaryTransactionListItem_List"}}},"operationId":"list_SalaryTransactionsResource","parameters":[{"name":"employeeId","in":"query","description":"filter on employeeId","required":false,"type":"string"},{"name":"date","in":"query","description":"filter on date","required":false,"type":"string","format":"date"}],"tags":["SalaryTransactionsResource"]},"post":{"summary":"Create a new salary transaction for an employee","produces":["application/json"],"description":"","responses":{"200":{"description":"the created salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the created salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"operationId":"create_SalaryTransactionsResource","parameters":[{"in":"body","name":"salaryTransaction","description":"to create","required":false,"schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}],"tags":["SalaryTransactionsResource"]}},"/3/salarytransactions/{SalaryRow}":{"get":{"summary":"Retrieve a single salary transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the existing salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"operationId":"get_SalaryTransactionsResource","parameters":[{"name":"SalaryRow","in":"path","description":"identifies the salary transaction","required":true,"type":"integer","format":"int32"}],"tags":["SalaryTransactionsResource"]},"put":{"summary":"Update a salary transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the updated salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"operationId":"update_SalaryTransactionsResource","parameters":[{"name":"SalaryRow","in":"path","description":"identifies the salary transaction","required":true,"type":"integer","format":"int32"},{"in":"body","name":"salaryTransaction","description":"to update","required":false,"schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}],"tags":["SalaryTransactionsResource"]},"delete":{"summary":"Delete a single salary transaction","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"responsesObject":{"200":{"description":"the existing salary transaction","schema":{"$ref":"#/definitions/SalaryTransaction_Wrap"},"responseSchema":{"$ref":"#/definitions/SalaryTransaction_Wrap"}}},"operationId":"delete_SalaryTransactionsResource","parameters":[{"name":"SalaryRow","in":"path","description":"identifies the salary transaction","required":true,"type":"integer","format":"int32"}],"tags":["SalaryTransactionsResource"]}},"/3/scheduletimes/{EmployeeId}/{Date}":{"get":{"summary":"Retrieve a specific schedule time","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"responsesObject":{"200":{"description":"the existing schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"operationId":"get_ScheduleTimesResource","parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"},{"name":"Date","in":"path","description":"identifies the date","required":true,"type":"string","format":"date"}],"tags":["ScheduleTimesResource"]},"put":{"summary":"Update a schedule time","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"responsesObject":{"200":{"description":"the updated schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"operationId":"update_ScheduleTimesResource","parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"},{"name":"Date","in":"path","description":"identifies the date","required":true,"type":"string","format":"date"},{"in":"body","name":"scheduleTime","description":"to update","required":false,"schema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}],"tags":["ScheduleTimesResource"]}},"/3/scheduletimes/{EmployeeId}/{Date}/resetday":{"put":{"summary":"Reset schedule time","produces":["application/json"],"description":"","operationId":"reset","responses":{"200":{"description":"the reset schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"responsesObject":{"200":{"description":"the reset schedule time","schema":{"$ref":"#/definitions/ScheduleTime_Wrap"},"responseSchema":{"$ref":"#/definitions/ScheduleTime_Wrap"}}},"parameters":[{"name":"EmployeeId","in":"path","description":"identifies the employee","required":true,"type":"string"},{"name":"Date","in":"path","description":"identifies the date","required":true,"type":"string","format":"date"}],"tags":["ScheduleTimesResource"]}},"/3/sie/{Type}":{"get":{"summary":"Retrieve a SIE file","produces":["application/json"],"description":"Retrieves a SIE file as streamed content","responses":{"default":{"description":"SIE file"}},"responsesObject":{"default":{"description":"SIE file"}},"operationId":"get_SieResource","parameters":[{"name":"Type","in":"path","description":"type","required":true,"type":"string"},{"name":"financialYear","in":"query","description":"financialYear","required":false,"type":"integer","format":"int32"}],"tags":["SieResource"]}},"/3/supplierinvoiceaccruals/":{"get":{"summary":"Retrieve a list of supplier invoice accruals","produces":["application/json"],"description":"The supplier invoice accruals register can return a list of records or a single record. By specifying a SupplierInvoiceNumber in the URL, a single record will be returned. Not specifying a SupplierInvoiceNumber will return a list of records.","responses":{"200":{"description":"list of supplier invoice accruals","schema":{"$ref":"#/definitions/SupplierInvoiceAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrualListItem_List"}}},"responsesObject":{"200":{"description":"list of supplier invoice accruals","schema":{"$ref":"#/definitions/SupplierInvoiceAccrualListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrualListItem_List"}}},"operationId":"list_SupplierInvoiceAccrualsResource","parameters":[],"tags":["SupplierInvoiceAccrualsResource"]},"post":{"summary":"Create a supplier invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the created supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the created supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"operationId":"create_SupplierInvoiceAccrualsResource","parameters":[{"in":"body","name":"supplierInvoiceAccrual","description":"to create","required":false,"schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}],"tags":["SupplierInvoiceAccrualsResource"]}},"/3/supplierinvoiceaccruals/{SupplierInvoiceNumber}":{"get":{"summary":"Retrieve a single supplier invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the existing supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"operationId":"get_SupplierInvoiceAccrualsResource","parameters":[{"name":"SupplierInvoiceNumber","in":"path","description":"identifies the supplier invoice accrual","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoiceAccrualsResource"]},"put":{"summary":"Update a supplier invoice accrual","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice accrual","schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}},"operationId":"update_SupplierInvoiceAccrualsResource","parameters":[{"name":"SupplierInvoiceNumber","in":"path","description":"identifies the supplier invoice accrual","required":true,"type":"integer","format":"int32"},{"in":"body","name":"supplierInvoiceAccrual","description":"to update","required":false,"schema":{"$ref":"#/definitions/SupplierInvoiceAccrual_Wrap"}}],"tags":["SupplierInvoiceAccrualsResource"]},"delete":{"summary":"Remove a supplier invoice accrual","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_SupplierInvoiceAccrualsResource","parameters":[{"name":"SupplierInvoiceNumber","in":"path","description":"identifies the supplier invoice accrual","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoiceAccrualsResource"]}},"/3/supplierinvoiceexternalurlconnections/{Id}":{"get":{"summary":"Retrieve a single supplier invoice external URL connection","produces":["application/json"],"description":"","responses":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"responsesObject":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"operationId":"get_SupplierInvoiceExternalUrlConnectionsResource","parameters":[{"name":"Id","in":"path","description":"id","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoiceExternalUrlConnectionsResource"]},"put":{"summary":"Update a supplier invoice external URL connection","produces":["application/json"],"description":"","responses":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"responsesObject":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"operationId":"update_SupplierInvoiceExternalUrlConnectionsResource","parameters":[{"name":"Id","in":"path","description":"id","required":true,"type":"integer","format":"int32"},{"in":"body","name":"request","description":"request","required":false,"schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnectionUpdate"}}],"tags":["SupplierInvoiceExternalUrlConnectionsResource"]},"delete":{"summary":"Remove a supplier invoice external URL connection","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"delete_SupplierInvoiceExternalUrlConnectionsResource","parameters":[{"name":"Id","in":"path","description":"id","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoiceExternalUrlConnectionsResource"]}},"/3/supplierinvoiceexternalurlconnections":{"post":{"summary":"Create a supplier invoice external URL connection","produces":["application/json"],"description":"","responses":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"responsesObject":{"200":{"description":"supplier invoice external url connection","schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection_Single"}}},"operationId":"create_SupplierInvoiceExternalUrlConnectionsResource","parameters":[{"in":"body","name":"request","description":"request","required":false,"schema":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnectionUpdate"}}],"tags":["SupplierInvoiceExternalUrlConnectionsResource"]}},"/3/supplierinvoicefileconnections/":{"get":{"summary":"Retrieve a list of supplier invoice file connections","produces":["application/json"],"description":"The supplier invoice file connections register can return a list of records or a single record. By specifying a FileId in the URL, a single record will be returned. Not specifying a FileId will return a list of records.","responses":{"200":{"description":"list of file connections","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_List"}}},"responsesObject":{"200":{"description":"list of file connections","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_List"}}},"operationId":"list_SupplierInvoiceFileConnectionsResource","parameters":[],"tags":["SupplierInvoiceFileConnectionsResource"]},"post":{"summary":"Create an supplier invoice file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the created supplier invoice file connection","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the created supplier invoice file connection","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"}}},"operationId":"create_SupplierInvoiceFileConnectionsResource","parameters":[{"in":"body","name":"fileConnection","description":"supplier invoice file connection to create","required":false,"schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"}}],"tags":["SupplierInvoiceFileConnectionsResource"]}},"/3/supplierinvoicefileconnections/{FileId}":{"get":{"summary":"Retrieve a single supplier invoice file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing file connection","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the existing file connection","schema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceFileConnection_Wrap"}}},"operationId":"get_SupplierInvoiceFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the file connection","required":true,"type":"string"}],"tags":["SupplierInvoiceFileConnectionsResource"]},"delete":{"summary":"Remove an supplier invoice file connection","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_SupplierInvoiceFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the supplier invoice file connection","required":true,"type":"string"}],"tags":["SupplierInvoiceFileConnectionsResource"]}},"/3/supplierinvoicepayments/":{"get":{"summary":"Retrieve a list of supplier invoice payments","produces":["application/json"],"description":"","responses":{"200":{"description":"list of supplier invoice payments","schema":{"$ref":"#/definitions/SupplierInvoicePaymentListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePaymentListItem_List"}}},"responsesObject":{"200":{"description":"list of supplier invoice payments","schema":{"$ref":"#/definitions/SupplierInvoicePaymentListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePaymentListItem_List"}}},"operationId":"list_SupplierInvoicePaymentsResource","parameters":[],"tags":["SupplierInvoicePaymentsResource"]},"post":{"summary":"Create a supplier invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the created supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the created supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"operationId":"create_SupplierInvoicePaymentsResource","parameters":[{"in":"body","name":"supplierInvoicePayment","description":"to create","required":false,"schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}],"tags":["SupplierInvoicePaymentsResource"]}},"/3/supplierinvoicepayments/{Number}":{"get":{"summary":"Retrieve a single supplier invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the existing supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"operationId":"get_SupplierInvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the supplier invoice payment","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicePaymentsResource"]},"put":{"summary":"Update a supplier invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"operationId":"update_SupplierInvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the supplier invoice payment","required":true,"type":"integer","format":"int32"},{"in":"body","name":"supplierInvoicePayment","description":"to update","required":false,"schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}],"tags":["SupplierInvoicePaymentsResource"]},"delete":{"summary":"Remove a supplier invoice payment","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_SupplierInvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the supplier invoice payment","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicePaymentsResource"]}},"/3/supplierinvoicepayments/{Number}/bookkeep":{"put":{"summary":"Bookkeep a supplier invoice payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice payment","schema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoicePayment_Wrap"}}},"operationId":"bookkeep_SupplierInvoicePaymentsResource","parameters":[{"name":"Number","in":"path","description":"identifies the supplier invoice payment","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicePaymentsResource"]}},"/3/supplierinvoices/":{"get":{"summary":"Retrieve a list of supplier invoices","produces":["application/json"],"description":"","responses":{"200":{"description":"list of supplier invoices","schema":{"$ref":"#/definitions/SupplierInvoiceListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceListItem_Wrap"}}},"responsesObject":{"200":{"description":"list of supplier invoices","schema":{"$ref":"#/definitions/SupplierInvoiceListItem_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoiceListItem_Wrap"}}},"operationId":"list_SupplierInvoicesResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter supplier invoices","required":false,"type":"string","enum":["cancelled","fullypaid","unpaid","unpaidoverdue","unbooked","pendingpayment","authorizepending"]}],"tags":["SupplierInvoicesResource"]},"post":{"summary":"Create a supplier invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the created supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the created supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"create_SupplierInvoicesResource","parameters":[{"in":"body","name":"supplierInvoice","description":"supplier invoice to create","required":false,"schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}":{"get":{"summary":"Retrieve a single supplier invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the existing supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"get_SupplierInvoicesResource","parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]},"put":{"summary":"Update a supplier invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"update_SupplierInvoicesResource","parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"},{"in":"body","name":"supplierInvoice","description":"supplier invoice to update","required":false,"schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}/bookkeep":{"put":{"summary":"Bookkeep given supplier invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"bookkeep_SupplierInvoicesResource","parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}/cancel":{"put":{"summary":"Cancels given supplier invoice","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"cancel_SupplierInvoicesResource","parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}/credit":{"put":{"summary":"Credit given supplier invoice","produces":["application/json"],"description":"The created credit invoice will be referenced in the property CreditReference.","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"operationId":"credit_SupplierInvoicesResource","parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}/approvalpayment":{"put":{"summary":"Approval of payment of given supplier invoice","produces":["application/json"],"description":"","operationId":"approvalpayment","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]}},"/3/supplierinvoices/{GivenNumber}/approvalbookkeep":{"put":{"summary":"Approval of bookkeep of given supplier invoice","produces":["application/json"],"description":"","operationId":"approvalbookkeep","responses":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier invoice","schema":{"$ref":"#/definitions/SupplierInvoice_Wrap"},"responseSchema":{"$ref":"#/definitions/SupplierInvoice_Wrap"}}},"parameters":[{"name":"GivenNumber","in":"path","description":"identifies the invoice","required":true,"type":"integer","format":"int32"}],"tags":["SupplierInvoicesResource"]}},"/3/suppliers":{"get":{"summary":"Retrieve a list of suppliers","produces":["application/json"],"description":"The supplier register can return a list of records or a single record. By specifying a SupplierNumber in the URL, a single record will be returned. Not specifying a SupplierNumber will return a list of records.","responses":{"200":{"description":"list of suppliers","schema":{"$ref":"#/definitions/SupplierListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierListItem_List"}}},"responsesObject":{"200":{"description":"list of suppliers","schema":{"$ref":"#/definitions/SupplierListItem_List"},"responseSchema":{"$ref":"#/definitions/SupplierListItem_List"}}},"operationId":"list_SuppliersResource","parameters":[],"tags":["SuppliersResource"]},"post":{"summary":"Create a supplier","produces":["application/json"],"description":"","responses":{"200":{"description":"the created supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"responsesObject":{"200":{"description":"the created supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"operationId":"create_SuppliersResource","parameters":[{"in":"body","name":"supplier","description":"to create","required":false,"schema":{"$ref":"#/definitions/Supplier_Wrap"}}],"tags":["SuppliersResource"]}},"/3/suppliers/{SupplierNumber}":{"get":{"summary":"Retrieve a single supplier","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"responsesObject":{"200":{"description":"the existing supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"operationId":"get_SuppliersResource","parameters":[{"name":"SupplierNumber","in":"path","description":"identifies the supplier","required":true,"type":"string"}],"tags":["SuppliersResource"]},"put":{"summary":"Update a supplier","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"responsesObject":{"200":{"description":"the updated supplier","schema":{"$ref":"#/definitions/Supplier_Wrap"},"responseSchema":{"$ref":"#/definitions/Supplier_Wrap"}}},"operationId":"update_SuppliersResource","parameters":[{"name":"SupplierNumber","in":"path","description":"identifies the supplier","required":true,"type":"string"},{"in":"body","name":"supplier","description":"to update","required":false,"schema":{"$ref":"#/definitions/Supplier_Wrap"}}],"tags":["SuppliersResource"]}},"/3/taxreductions":{"get":{"summary":"Retrieve a list of tax reductions","produces":["application/json"],"description":"","responses":{"200":{"description":"a list of tax reductions.","schema":{"$ref":"#/definitions/TaxReductionListItem_List"},"responseSchema":{"$ref":"#/definitions/TaxReductionListItem_List"}}},"responsesObject":{"200":{"description":"a list of tax reductions.","schema":{"$ref":"#/definitions/TaxReductionListItem_List"},"responseSchema":{"$ref":"#/definitions/TaxReductionListItem_List"}}},"operationId":"list_TaxReductionsResource","parameters":[{"name":"filter","in":"query","description":"possibility to filter tax reductions","required":false,"type":"string","enum":["invoices","orders","offers"]}],"tags":["TaxReductionsResource"]},"post":{"summary":"Create a Tax Reduction","produces":["application/json"],"description":"Note that different types of tax reduction, i.e. ROT, RUT, or Green Technology, applications work differently.\n When creating an application for Green Technology, the field <em>TaxReductionAmounts</em> becomes mandatory as\n it is used to determine how much of the asked amount is intended for which type of work. Similarly, the <em>AskedAmount</em>\n field of the <em>TaxReduction</em> becomes optional, as it will always be considered to be equal to the sum of the <em>TaxReductionAmounts</em>.\n\n For the other types, ROT and RUT, this field is not required and should be omitted.\n\n Unlike earlier iterations of this endpoint, specifying the type of reduction for the provided <em>TaxReduction</em> (e.g. ROT, RUT, or Green)\n is not necessary as this value will always be equal to the type set on the provided document instead.\n\n This endpoint can raise a variety of validation errors, some of which are only relevant for Green Technology applications.\n Those errors will always return an HTTP Code of 400 and include, but are not limited to, those shown below:\n\n <table>\n <caption>Errors that can be raised by this endpoint.</caption>\n <tr>\n <th>Error Code</th>\n <th>Types</th>\n <th>Description</th>\n <th>Solution</th>\n </tr>\n <tr>\n <td>2000600</td>\n <td>ROT, RUT, GREEN</td>\n <td>The provided Social Security Number is already in use for this document.</td>\n <td>Verify that the Social Security Number is different from any other applicants already added.</td>\n </tr>\n <tr>\n <td>2004217, 2004218</td>\n <td>ROT, RUT, GREEN</td>\n <td>The total asked amount of the application is either in an invalid format or is negative.</td>\n <td>Verify that the <em>AskedAmount</em>-field is a positive number (0 is valid for Green Technology) and that it is an integer.</td>\n </tr>\n <tr>\n <td>2004209</td>\n <td>GREEN</td>\n <td>The <em>WorkType</em>-field contains a work type that is not valid for the given type of reduction.</td>\n <td>Ensure that the <em>WorkType</em> contains a valid type of work for Green Technology.</td>\n </tr>\n <tr>\n <td>2004263</td>\n <td>GREEN</td>\n <td>The <em>TaxReductionAmounts</em>-field is missing for a Green Technology application.</td>\n <td>Ensure that the field is included, that it is an array, and that each contained object denotes a specific type's asked amount.</td>\n </tr>\n <tr>\n <td>2004262</td>\n <td>GREEN</td>\n <td>There are more than one object denoting the asked amount for the same type in the <em>TaxReductionAmounts</em>-field.</td>\n <td>Ensure that there is only one object denoting the asked amount per type contained in the array.</td>\n </tr>\n </table>","responses":{"200":{"description":"the created tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"responsesObject":{"200":{"description":"the created tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"operationId":"create_TaxReductionsResource","parameters":[{"in":"body","name":"taxReduction","description":"to create","required":false,"schema":{"$ref":"#/definitions/TaxReduction_Wrap"}}],"tags":["TaxReductionsResource"]}},"/3/taxreductions/{Id}":{"get":{"summary":"Retrieve a single tax reduction","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"responsesObject":{"200":{"description":"the existing tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"operationId":"get_TaxReductionsResource","parameters":[{"name":"Id","in":"path","description":"identifies the tax reduction","required":true,"type":"integer","format":"int32"}],"tags":["TaxReductionsResource"]},"put":{"summary":"Update a tax reduction","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"responsesObject":{"200":{"description":"the updated tax reduction","schema":{"$ref":"#/definitions/TaxReduction_Wrap"},"responseSchema":{"$ref":"#/definitions/TaxReduction_Wrap"}}},"operationId":"update_TaxReductionsResource","parameters":[{"name":"Id","in":"path","description":"identifies the tax reduction","required":true,"type":"integer","format":"int32"},{"in":"body","name":"taxReduction","description":"to update","required":false,"schema":{"$ref":"#/definitions/TaxReduction_Wrap"}}],"tags":["TaxReductionsResource"]},"delete":{"summary":"Remove a tax reduction","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_TaxReductionsResource","parameters":[{"name":"Id","in":"path","description":"identifies the tax reduction","required":true,"type":"integer","format":"int32"}],"tags":["TaxReductionsResource"]}},"/3/termsofdeliveries":{"get":{"summary":"Retrieve a list of terms of deliveries","produces":["application/json"],"description":"The terms of deliveries register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of terms of deliveries","schema":{"$ref":"#/definitions/TermsOfDelivery_List"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_List"}}},"responsesObject":{"200":{"description":"a list of terms of deliveries","schema":{"$ref":"#/definitions/TermsOfDelivery_List"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_List"}}},"operationId":"list_TermsOfDeliveriesResource","parameters":[],"tags":["TermsOfDeliveriesResource"]},"post":{"summary":"Create a terms of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the created term of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the created term of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"operationId":"create_TermsOfDeliveriesResource","parameters":[{"in":"body","name":"termOfDelivery","description":"to create","required":false,"schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}],"tags":["TermsOfDeliveriesResource"]}},"/3/termsofdeliveries/{Code}":{"get":{"summary":"Retrieve a single terms of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing terms of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the existing terms of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"operationId":"get_TermsOfDeliveriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the terms of delivery","required":true,"type":"string"}],"tags":["TermsOfDeliveriesResource"]},"put":{"summary":"Update a terms of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated terms of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the updated terms of delivery","schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}},"operationId":"update_TermsOfDeliveriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the terms of delivery","required":true,"type":"string"},{"in":"body","name":"termsOfDelivery","description":"to update","required":false,"schema":{"$ref":"#/definitions/TermsOfDelivery_Wrap"}}],"tags":["TermsOfDeliveriesResource"]}},"/3/termsofpayments":{"get":{"summary":"Retrieve a list of all terms of payments","produces":["application/json"],"description":"","responses":{"200":{"description":"a list of terms of payments","schema":{"$ref":"#/definitions/TermsOfPayment_List"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_List"}}},"responsesObject":{"200":{"description":"a list of terms of payments","schema":{"$ref":"#/definitions/TermsOfPayment_List"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_List"}}},"operationId":"list_TermsOfPaymentsResource","parameters":[],"tags":["TermsOfPaymentsResource"]},"post":{"summary":"Create a term of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the created terms of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the created terms of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"operationId":"create_TermsOfPaymentsResource","parameters":[{"in":"body","name":"termsOfPayment","description":"to create","required":false,"schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}],"tags":["TermsOfPaymentsResource"]}},"/3/termsofpayments/{Code}":{"get":{"summary":"Retrieve a single terms of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing terms of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the existing terms of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"operationId":"get_TermsOfPaymentsResource","parameters":[{"name":"Code","in":"path","description":"identifies the terms of payment","required":true,"type":"string"}],"tags":["TermsOfPaymentsResource"]},"put":{"summary":"Update a term of payment","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated term of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"responsesObject":{"200":{"description":"the updated term of payment","schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"},"responseSchema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}},"operationId":"update_TermsOfPaymentsResource","parameters":[{"name":"Code","in":"path","description":"identifies the term of payment","required":true,"type":"string"},{"in":"body","name":"termOfPayment","description":"term of payment to update","required":false,"schema":{"$ref":"#/definitions/TermsOfPayment_Wrap"}}],"tags":["TermsOfPaymentsResource"]},"delete":{"summary":"Remove a term of payment","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_TermsOfPaymentsResource","parameters":[{"name":"Code","in":"path","description":"identifies the terms of payment","required":true,"type":"string"}],"tags":["TermsOfPaymentsResource"]}},"/3/emailsenders/":{"get":{"summary":"Retrieve a list of all trusted and rejected senders","produces":["application/json"],"description":"","responses":{"200":{"description":"all trusted and rejected email senders","schema":{"$ref":"#/definitions/TrustedEmailSender_Wrap"},"responseSchema":{"$ref":"#/definitions/TrustedEmailSender_Wrap"}}},"responsesObject":{"200":{"description":"all trusted and rejected email senders","schema":{"$ref":"#/definitions/TrustedEmailSender_Wrap"},"responseSchema":{"$ref":"#/definitions/TrustedEmailSender_Wrap"}}},"operationId":"get_TrustedEmailSendersResource","parameters":[],"tags":["TrustedEmailSendersResource"]}},"/3/emailsenders/trusted":{"post":{"summary":"Add a new email address as trusted","produces":["application/json"],"description":"","responses":{"200":{"description":"the created trusted email sender","schema":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender_Wrap"},"responseSchema":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender_Wrap"}}},"responsesObject":{"200":{"description":"the created trusted email sender","schema":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender_Wrap"},"responseSchema":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender_Wrap"}}},"operationId":"create_TrustedEmailSendersResource","parameters":[{"in":"body","name":"trustedEmailSender","description":"trusted email sender to create","required":false,"schema":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender_Wrap"}}],"tags":["TrustedEmailSendersResource"]}},"/3/emailsenders/trusted/{Id}":{"delete":{"summary":"Delete an email address from the trusted senders list","produces":["application/json"],"description":"Provide an id matching an email to delete.","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_TrustedEmailSendersResource","parameters":[{"name":"Id","in":"path","description":"identifies the trusted email sender to delete","required":true,"type":"integer","format":"int32"}],"tags":["TrustedEmailSendersResource"]}},"/3/units":{"get":{"summary":"Retrieve a list of units","produces":["application/json"],"description":"The units register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of units.","schema":{"$ref":"#/definitions/Unit_List"},"responseSchema":{"$ref":"#/definitions/Unit_List"}}},"responsesObject":{"200":{"description":"a list of units.","schema":{"$ref":"#/definitions/Unit_List"},"responseSchema":{"$ref":"#/definitions/Unit_List"}}},"operationId":"list_UnitsResource","parameters":[],"tags":["UnitsResource"]},"post":{"summary":"Create a unit","produces":["application/json"],"description":"","responses":{"200":{"description":"the created unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"responsesObject":{"200":{"description":"the created unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"operationId":"create_UnitsResource","parameters":[{"in":"body","name":"unit","description":"to create","required":false,"schema":{"$ref":"#/definitions/Unit_Wrap"}}],"tags":["UnitsResource"]}},"/3/units/{Code}":{"get":{"summary":"Retrieve a single unit","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"responsesObject":{"200":{"description":"the existing unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"operationId":"get_UnitsResource","parameters":[{"name":"Code","in":"path","description":"identifies the unit","required":true,"type":"string"}],"tags":["UnitsResource"]},"put":{"summary":"Update a unit","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"responsesObject":{"200":{"description":"the updated unit","schema":{"$ref":"#/definitions/Unit_Wrap"},"responseSchema":{"$ref":"#/definitions/Unit_Wrap"}}},"operationId":"update_UnitsResource","parameters":[{"name":"Code","in":"path","description":"identifies the unit","required":true,"type":"string"},{"in":"body","name":"unit","description":"unit to update","required":false,"schema":{"$ref":"#/definitions/Unit_Wrap"}}],"tags":["UnitsResource"]},"delete":{"summary":"Remove a unit","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_UnitsResource","parameters":[{"name":"Code","in":"path","description":"identifies the unit","required":true,"type":"string"}],"tags":["UnitsResource"]}},"/3/vacationdebtbasis/{Year}/{Month}":{"get":{"summary":"Retrieve a specific vacation debt basis for a posted voucher","produces":["application/json"],"description":"","responses":{"200":{"description":"a created and posted vacation debt basis up until last day of month in year","schema":{"$ref":"#/definitions/VacationDebtBasis_Wrap"},"responseSchema":{"$ref":"#/definitions/VacationDebtBasis_Wrap"}}},"responsesObject":{"200":{"description":"a created and posted vacation debt basis up until last day of month in year","schema":{"$ref":"#/definitions/VacationDebtBasis_Wrap"},"responseSchema":{"$ref":"#/definitions/VacationDebtBasis_Wrap"}}},"operationId":"get_VacationDebtBasisResource","parameters":[{"name":"Year","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"Month","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"tags":["VacationDebtBasisResource"]}},"/3/voucherfileconnections/":{"get":{"summary":"Retrieve a list of voucher file connections","produces":["application/json"],"description":"The voucher file connections register can return a list of records or a single record. By specifying a FileId in the URL, a single record will be returned. Not specifying a FileId will return a list of records.","responses":{"200":{"description":"a list of voucher file connections.","schema":{"$ref":"#/definitions/VoucherFileConnection_List"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_List"}}},"responsesObject":{"200":{"description":"a list of voucher file connections.","schema":{"$ref":"#/definitions/VoucherFileConnection_List"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_List"}}},"operationId":"list_VoucherFileConnectionsResource","parameters":[],"tags":["VoucherFileConnectionsResource"]},"post":{"summary":"Create a voucher file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the created voucher file connection","schema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the created voucher file connection","schema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"}}},"operationId":"create_VoucherFileConnectionsResource","parameters":[{"in":"body","name":"voucherFileConnection","description":"to create","required":false,"schema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"}}],"tags":["VoucherFileConnectionsResource"]}},"/3/voucherfileconnections/{FileId}":{"get":{"summary":"Retrieve a single voucher file connection","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing voucher file connection","schema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"}}},"responsesObject":{"200":{"description":"the existing voucher file connection","schema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherFileConnection_Wrap"}}},"operationId":"get_VoucherFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the voucher file connection","required":true,"type":"string"}],"tags":["VoucherFileConnectionsResource"]},"delete":{"summary":"Remove a voucher file connection","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_VoucherFileConnectionsResource","parameters":[{"name":"FileId","in":"path","description":"identifies the voucher file connection","required":true,"type":"string"}],"tags":["VoucherFileConnectionsResource"]}},"/3/vouchers/{VoucherSeries}/{VoucherNumber}":{"get":{"summary":"Retrieve a specific voucher","produces":["application/json"],"description":"","responses":{"200":{"description":"a single voucher","schema":{"$ref":"#/definitions/Voucher_Wrap"},"responseSchema":{"$ref":"#/definitions/Voucher_Wrap"}}},"responsesObject":{"200":{"description":"a single voucher","schema":{"$ref":"#/definitions/Voucher_Wrap"},"responseSchema":{"$ref":"#/definitions/Voucher_Wrap"}}},"operationId":"get_VouchersResource","parameters":[{"name":"VoucherSeries","in":"path","description":"identifies the voucher series","required":true,"type":"string"},{"name":"VoucherNumber","in":"path","description":"identifies the voucher number","required":true,"type":"integer","format":"int32"},{"name":"financialyear","in":"query","description":"filter on financial year","required":false,"type":"integer","format":"int32"}],"tags":["VouchersResource"]}},"/3/vouchers/":{"get":{"summary":"Retrieve all vouchers","produces":["application/json"],"description":"Note that vouchers have two keys, one for voucher series and one for voucher number. The financial year is also specified for each voucher, this is due to the same voucher series and number is used each year.\n To get a unique voucher you need the voucher series, the voucher number and the financial year. These properties will always be returned where ever vouchers is used.","responses":{"200":{"description":"list of vouchers","schema":{"$ref":"#/definitions/VoucherListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherListItem_List"}}},"responsesObject":{"200":{"description":"list of vouchers","schema":{"$ref":"#/definitions/VoucherListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherListItem_List"}}},"operationId":"list_VouchersResource","parameters":[{"name":"financialyear","in":"query","description":"filter on financial year","required":false,"type":"integer","format":"int32"}],"tags":["VouchersResource"]},"post":{"summary":"Create a voucher","produces":["application/json"],"description":"The created voucher will be returned if everything succeeded, if there was any problems an error will be returned.\n If no query param is used the voucher will be created in the preselected financial year. Go to the financialyears endpoint to read on how to retreive the Financial year id.","responses":{"200":{"description":"the created voucher","schema":{"$ref":"#/definitions/Voucher_Wrap"},"responseSchema":{"$ref":"#/definitions/Voucher_Wrap"}}},"responsesObject":{"200":{"description":"the created voucher","schema":{"$ref":"#/definitions/Voucher_Wrap"},"responseSchema":{"$ref":"#/definitions/Voucher_Wrap"}}},"operationId":"create_VouchersResource","parameters":[{"in":"body","name":"voucher","description":"voucher to create","required":false,"schema":{"$ref":"#/definitions/Voucher_Wrap"}},{"name":"financialyear","in":"query","description":"Financial year id, used to determine which financial year the voucher is created in","required":false,"type":"integer","format":"int32"}],"tags":["VouchersResource"]}},"/3/vouchers/sublist/{VoucherSeries}":{"get":{"summary":"Retrieve a list of vouchers for a specific series","produces":["application/json"],"description":"","operationId":"listSeries","responses":{"200":{"description":"list of vouchers","schema":{"$ref":"#/definitions/VoucherListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherListItem_List"}}},"responsesObject":{"200":{"description":"list of vouchers","schema":{"$ref":"#/definitions/VoucherListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherListItem_List"}}},"parameters":[{"name":"VoucherSeries","in":"path","description":"identifies the voucher series","required":true,"type":"string"},{"name":"financialyear","in":"query","description":"filter on financial year","required":false,"type":"integer","format":"int32"}],"tags":["VouchersResource"]}},"/3/voucherseries":{"get":{"summary":"Retrieve a list of voucher series","produces":["application/json"],"description":"The voucher series register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of voucher series.","schema":{"$ref":"#/definitions/VoucherSeriesListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherSeriesListItem_List"}}},"responsesObject":{"200":{"description":"a list of voucher series.","schema":{"$ref":"#/definitions/VoucherSeriesListItem_List"},"responseSchema":{"$ref":"#/definitions/VoucherSeriesListItem_List"}}},"operationId":"list_VoucherSeriesResource","parameters":[],"tags":["VoucherSeriesResource"]},"post":{"summary":"Create a voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"the created voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"responsesObject":{"200":{"description":"the created voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"operationId":"create_VoucherSeriesResource","parameters":[{"in":"body","name":"voucherSeries","description":"to create","required":false,"schema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}],"tags":["VoucherSeriesResource"]}},"/3/voucherseries/{Code}":{"get":{"summary":"Retrieve a single voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"responsesObject":{"200":{"description":"the existing voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"operationId":"get_VoucherSeriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the voucher series","required":true,"type":"string"}],"tags":["VoucherSeriesResource"]},"put":{"summary":"Update a voucher series","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"responsesObject":{"200":{"description":"the updated voucher series","schema":{"$ref":"#/definitions/VoucherSeries_Wrap"},"responseSchema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}},"operationId":"update_VoucherSeriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the voucher series","required":true,"type":"string"},{"in":"body","name":"voucherSeries","description":"to update","required":false,"schema":{"$ref":"#/definitions/VoucherSeries_Wrap"}}],"tags":["VoucherSeriesResource"]}},"/3/wayofdeliveries":{"get":{"summary":"Retrieve a list of way of deliveries","produces":["application/json"],"description":"The way of delivery register can return a list of records or a single record. By specifying a Code in the URL, a single record will be returned. Not specifying a Code will return a list of records.","responses":{"200":{"description":"a list of way of deliveries","schema":{"$ref":"#/definitions/WayOfDelivery_List"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_List"}}},"responsesObject":{"200":{"description":"a list of way of deliveries","schema":{"$ref":"#/definitions/WayOfDelivery_List"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_List"}}},"operationId":"list_WayOfDeliveriesResource","parameters":[],"tags":["WayOfDeliveriesResource"]},"post":{"summary":"Create a way of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the created way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the created way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"operationId":"create_WayOfDeliveriesResource","parameters":[{"in":"body","name":"wayOfDelivery","description":"way of delivery to create","required":false,"schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}],"tags":["WayOfDeliveriesResource"]}},"/3/wayofdeliveries/{Code}":{"get":{"summary":"Retrieve a single way of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the existing way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the existing way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"operationId":"get_WayOfDeliveriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the way of delivery","required":true,"type":"string"}],"tags":["WayOfDeliveriesResource"]},"put":{"summary":"Update a way of delivery","produces":["application/json"],"description":"","responses":{"200":{"description":"the updated way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"responsesObject":{"200":{"description":"the updated way of delivery","schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"},"responseSchema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}},"operationId":"update_WayOfDeliveriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the way of delivery","required":true,"type":"string"},{"in":"body","name":"wayOfDelivery","description":"way of delivery to update","required":false,"schema":{"$ref":"#/definitions/WayOfDelivery_Wrap"}}],"tags":["WayOfDeliveriesResource"]},"delete":{"summary":"Remove a way of delivery","produces":["application/json"],"description":"","responses":{"default":{"description":"empty"}},"responsesObject":{"default":{"description":"empty"}},"operationId":"remove_WayOfDeliveriesResource","parameters":[{"name":"Code","in":"path","description":"identifies the way of delivery","required":true,"type":"string"}],"tags":["WayOfDeliveriesResource"]}},"/api/fileattachments/attachments-v1":{"get":{"summary":"Get attached files on an entity","produces":["application/json"],"description":"","operationId":"getAttachments","responses":{"200":{"description":"A list of attachments","schema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}}}},"parameters":[{"name":"entityid","in":"query","description":"ids of the entities whose attachments should be fetched","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"entitytype","in":"query","description":"type of the entities whose attachments should be fetched","required":true,"type":"string","enum":["OF","O","F","C","LGR_IO","LGR_IG"]}],"tags":["AttachmentResource"]},"post":{"summary":"Attach files to one or more entities","produces":["application/json"],"description":"","operationId":"attach","responses":{"200":{"description":"A list of attachments","schema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}}}},"parameters":[{"in":"body","name":"attachments","description":"A list of attachments","required":false,"schema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}}}],"tags":["AttachmentResource"]}},"/api/fileattachments/attachments-v1/numberofattachments":{"get":{"summary":"List number of attachments","produces":["application/json"],"description":"","operationId":"getNumberOfAttachmentsForEntity","responses":{"200":{"description":"A list of the number of attachments on each entity","schema":{"type":"array","items":{"$ref":"#/definitions/NumberOfAttachments"}},"responseSchema":{"type":"array","items":{"$ref":"#/definitions/NumberOfAttachments"}}}},"parameters":[{"name":"entityids","in":"query","description":"ids of the entities to look for number of attachments on","required":true,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"},{"name":"entitytype","in":"query","description":"type of the entities to look for number of attachments on","required":true,"type":"string","enum":["OF","O","F","C","LGR_IO","LGR_IG"]}],"tags":["AttachmentResource"]}},"/api/fileattachments/attachments-v1/validateincludedonsend":{"post":{"summary":"Validates a list of attachments that will be included on send","produces":["application/json"],"description":"","operationId":"validateIncludedOnSend","responses":{"default":{"description":"nothing"}},"parameters":[{"in":"body","name":"attachments","description":"a list of Attachments","required":false,"schema":{"type":"array","items":{"$ref":"#/definitions/Attachment"}}}],"tags":["AttachmentResource"]}},"/api/fileattachments/attachments-v1/{attachmentId}":{"put":{"summary":"Update attachment","produces":["application/json"],"description":"","operationId":"updateAttachment","responses":{"200":{"description":"The updated attachment","schema":{"$ref":"#/definitions/Attachment"},"responseSchema":{"$ref":"#/definitions/Attachment"}}},"parameters":[{"in":"body","name":"attachment","description":"an attachment","required":false,"schema":{"$ref":"#/definitions/Attachment"}},{"name":"attachmentId","in":"path","description":"id of the attachment to be updated","required":true,"type":"string","format":"uuid"}],"tags":["AttachmentResource"]},"delete":{"summary":"Detach file","produces":["application/json"],"description":"","operationId":"detach","responses":{"default":{"description":"void"}},"parameters":[{"name":"attachmentId","in":"path","description":"id of the attachment to be detached","required":true,"type":"string","format":"uuid"}],"tags":["AttachmentResource"]}}},"x-servers":[{"description":"URL","url":"https://api.fortnox.se"}],"x-tagGroups":[{"name":"Warehouse","collapsible":true,"tags":["CustomDocumentTypeResource","CustomInboundDocumentResource","CustomOutboundDocumentResource","IncomingGoodsResource","PurchaseOrderResource","StockPointResource","StockStatusResource","StockTakingResource","TenantResource"]},{"name":"Time Reporting","collapsible":true,"tags":["ArticlesResource","RegistrationsResource"]},{"name":"Fortnox","collapsible":true,"tags":["AbsenceTransactionsResource","AccountChartsResource","AccountsResource","ArchiveResource","ArticleFileConnectionsResource","ArticlesResource_articles","AssetFileConnectionResource","AssetTypesResource","AssetsResource","AttendanceTransactionsResource","CompanyInformationResource","CompanySettingsResource","ContractAccrualsResource","ContractTemplatesResource","ContractsResource","CostCentersResource","CurrenciesResource","CustomerReferencesResource","CustomersResource","EUVatLimitRegulationResource","EmployeesResource","ExpensesResource","FinanceInvoicesResource","FinancialYearsResource","InboxResource","InvoiceAccrualsResource","InvoicePaymentsResource","InvoicesResource","LabelsResource","LockedPeriodResource","MeResource","ModesOfPaymentsResource","OffersResource","OrdersResource","PredefinedAccountsResource","PredefinedVoucherSeriesResource","PriceListsResource","PricesResource","PrintTemplatesResource","ProjectsResource","SalaryTransactionsResource","ScheduleTimesResource","SieResource","SupplierInvoiceAccrualsResource","SupplierInvoiceExternalUrlConnectionsResource","SupplierInvoiceFileConnectionsResource","SupplierInvoicePaymentsResource","SupplierInvoicesResource","SuppliersResource","TaxReductionsResource","TermsOfDeliveriesResource","TermsOfPaymentsResource","TrustedEmailSendersResource","UnitsResource","VacationDebtBasisResource","VoucherFileConnectionsResource","VoucherSeriesResource","VouchersResource","WayOfDeliveriesResource"]},{"name":"File attachments","collapsible":true,"tags":["AttachmentResource"]}],"definitions":{"Delete":{"type":"object","properties":{"Date":{"type":"string"}}},"AccountListItem_Wrap":{"type":"object","properties":{"Accounts":{"type":"array","items":{"$ref":"#/definitions/AccountListItem"}}}},"Customer":{"type":"object","required":["Name"],"properties":{"@url":{"type":"string"},"Address1":{"type":"string","minLength":1,"maxLength":1024},"Address2":{"type":"string","minLength":0,"maxLength":1024},"City":{"type":"string","minLength":0,"maxLength":1024},"Country":{"type":"string"},"Comments":{"type":"string","minLength":0,"maxLength":1024},"Currency":{"type":"string","minLength":3,"maxLength":3},"CostCenter":{"type":"string"},"CountryCode":{"type":"string","minLength":2,"maxLength":2},"Active":{"type":"boolean"},"CustomerNumber":{"type":"string","minLength":0,"maxLength":1024},"DefaultDeliveryTypes":{"$ref":"#/definitions/Customer_DefaultDeliveryTypes"},"DefaultTemplates":{"$ref":"#/definitions/Customer_DefaultTemplates"},"DeliveryAddress1":{"type":"string","minLength":0,"maxLength":1024},"DeliveryAddress2":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCity":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCountry":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCountryCode":{"type":"string","minLength":2,"maxLength":2},"DeliveryFax":{"type":"string","minLength":0,"maxLength":1024},"DeliveryName":{"type":"string","minLength":0,"maxLength":1024},"DeliveryPhone1":{"type":"string","minLength":0,"maxLength":1024},"DeliveryPhone2":{"type":"string","minLength":0,"maxLength":1024},"DeliveryZipCode":{"type":"string","minLength":0,"maxLength":10},"Email":{"type":"string","minLength":0,"maxLength":1024},"EmailInvoice":{"type":"string","minLength":0,"maxLength":1024},"EmailInvoiceBCC":{"type":"string","minLength":0,"maxLength":1024},"EmailInvoiceCC":{"type":"string","minLength":0,"maxLength":1024},"EmailOffer":{"type":"string","minLength":0,"maxLength":1024},"EmailOfferBCC":{"type":"string","minLength":0,"maxLength":1024},"EmailOfferCC":{"type":"string","minLength":0,"maxLength":1024},"EmailOrder":{"type":"string","minLength":0,"maxLength":1024},"EmailOrderBCC":{"type":"string","minLength":0,"maxLength":1024},"EmailOrderCC":{"type":"string","minLength":0,"maxLength":1024},"ExternalReference":{"type":"string","minLength":0,"maxLength":1024},"Fax":{"type":"string","minLength":0,"maxLength":1024},"GLN":{"type":"string","minLength":13,"maxLength":13},"GLNDelivery":{"type":"string","minLength":13,"maxLength":13},"InvoiceAdministrationFee":{"type":"string"},"InvoiceDiscount":{"type":"number","format":"double"},"InvoiceFreight":{"type":"string"},"InvoiceRemark":{"type":"string","minLength":0,"maxLength":1024},"Name":{"type":"string","minLength":1,"maxLength":1024},"OrganisationNumber":{"type":"string"},"OurReference":{"type":"string","minLength":0,"maxLength":50},"Phone1":{"type":"string","minLength":0,"maxLength":1024},"Phone2":{"type":"string","minLength":0,"maxLength":1024},"PriceList":{"type":"string"},"Project":{"type":"string"},"SalesAccount":{"type":"string","minLength":4,"maxLength":4},"ShowPriceVATIncluded":{"type":"boolean"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"Type":{"type":"string","enum":["PRIVATE","COMPANY"]},"VATNumber":{"type":"string"},"VATType":{"type":"string","enum":["SEVAT","SEREVERSEDVAT","EUREVERSEDVAT","EUVAT","EXPORT"]},"VisitingAddress":{"type":"string","minLength":0,"maxLength":128},"VisitingCity":{"type":"string","minLength":0,"maxLength":128},"VisitingCountry":{"type":"string","minLength":0,"maxLength":128},"VisitingCountryCode":{"type":"string","minLength":2,"maxLength":2},"VisitingZipCode":{"type":"string","minLength":0,"maxLength":10},"WayOfDelivery":{"type":"string"},"WWW":{"type":"string","minLength":0,"maxLength":128},"YourReference":{"type":"string","minLength":0,"maxLength":50},"ZipCode":{"type":"string","minLength":0,"maxLength":10}}},"TaxReductionListItem_List":{"type":"object","properties":{"TaxReductions":{"type":"array","items":{"$ref":"#/definitions/TaxReductionListItem"}}}},"ListAsset":{"type":"object","properties":{"@url":{"type":"string"},"Id":{"type":"integer","format":"int32"},"Number":{"type":"string"},"Description":{"type":"string"},"Status":{"type":"string"},"StatusId":{"type":"string"},"Type":{"type":"string"},"TypeId":{"type":"integer","format":"int32"},"AcquisitionValue":{"type":"integer","format":"int32"},"AcquisitionDate":{"type":"string"},"DepreciationFinal":{"type":"string"},"DepreciatedTo":{"type":"string"}}},"UpdateAsset_Wrap":{"type":"object","properties":{"AssetType":{"$ref":"#/definitions/UpdateAsset"}}},"SupplierInvoice_SupplierInvoiceRow":{"type":"object","properties":{"Account":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"ArticleNumber":{"type":"string"},"Code":{"type":"string","enum":["TOT","VAT","FRT","AFE","ROV","CND","CNC","PRD","PRC","SRD","SRC","PRE","GWB"]},"CostCenter":{"type":"string"},"AccountDescription":{"type":"string"},"ItemDescription":{"type":"string"},"Debit":{"type":"number","format":"double"},"DebitCurrency":{"type":"number","format":"double"},"Credit":{"type":"number","format":"double"},"CreditCurrency":{"type":"number","format":"double"},"Project":{"type":"string"},"TransactionInformation":{"type":"string","minLength":0,"maxLength":100},"Price":{"type":"number","format":"double"},"Quantity":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"Unit":{"type":"string"},"StockPointCode":{"type":"string"},"StockLocationCode":{"type":"string"}}},"SalaryTransactionListItem_List":{"type":"object","properties":{"SalaryTransactions":{"type":"array","items":{"$ref":"#/definitions/SalaryTransactionListItem"}}}},"History":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"},"Date":{"type":"string"},"EventId":{"type":"integer","format":"int32"},"Amount":{"type":"string"},"UserId":{"type":"integer","format":"int32"},"UserName":{"type":"string"},"Notes":{"type":"string"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"SupplierInvoice":{"type":"integer","format":"int32"}}},"Article_Wrap":{"type":"object","properties":{"Article":{"$ref":"#/definitions/Article"}}},"ListAsset_Wrap":{"type":"object","properties":{"Assets":{"type":"array","items":{"$ref":"#/definitions/ListAsset"}}}},"TaxReduction_Wrap":{"type":"object","required":["TaxReduction"],"properties":{"TaxReduction":{"$ref":"#/definitions/TaxReduction"}}},"UpdateAsset":{"type":"object","properties":{"Description":{"type":"string"},"Notes":{"type":"string"}}},"SupplierInvoicePaymentListItem":{"type":"object","required":["InvoiceNumber"],"properties":{"@url":{"type":"string"},"Amount":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Currency":{"type":"string","minLength":3,"maxLength":3},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"InvoiceNumber":{"type":"string"},"Number":{"type":"integer","format":"int32"},"PaymentDate":{"type":"string","format":"date"},"Source":{"type":"string","enum":["manual","direct"]},"WriteOffExist":{"type":"boolean"}}},"SupplierInvoiceListItem_Wrap":{"type":"object","properties":{"SupplierInvoices":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoiceListItem"}}}},"ContractListItem_List":{"type":"object","properties":{"Contracts":{"type":"array","items":{"$ref":"#/definitions/ContractListItem"}}}},"Currency":{"type":"object","required":["currency","rate"],"properties":{"currency":{"type":"string","minLength":3,"maxLength":3},"rate":{"type":"number","minimum":1.0E-6,"exclusiveMinimum":false},"unit":{"type":"integer","format":"int32","minimum":1}}},"Currency_Wrap":{"type":"object","required":["Currency"],"properties":{"Currency":{"$ref":"#/definitions/Currency"}}},"DocumentReference":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}},"CostCenter_Wrap":{"type":"object","properties":{"CostCenter":{"$ref":"#/definitions/CostCenter"}}},"Delete_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/Delete"}}},"InvoiceAccrual_Wrap":{"type":"object","properties":{"InvoiceAccrual":{"$ref":"#/definitions/InvoiceAccrual"}}},"MetaInformation":{"type":"object","properties":{"@TotalResources":{"type":"integer","format":"int32"},"@TotalPages":{"type":"integer","format":"int32"},"@CurrentPage":{"type":"integer","format":"int32"}}},"ContractAccrual_Wrap":{"type":"object","properties":{"ContractAccrual":{"$ref":"#/definitions/ContractAccrual"}}},"Folder_FolderRow":{"type":"object","properties":{"@url":{"type":"string"},"Id":{"type":"string"},"Name":{"type":"string"}}},"VoucherSeries":{"type":"object","required":["Code"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":10},"Description":{"type":"string","minLength":0,"maxLength":200},"Manual":{"type":"boolean"},"NextVoucherNumber":{"type":"integer","format":"int32"},"Year":{"type":"integer","format":"int32"},"Approver":{"$ref":"#/definitions/VoucherSeries_Approver"}}},"Project":{"type":"object","required":["Description"],"properties":{"@url":{"type":"string"},"Comments":{"type":"string","minLength":0,"maxLength":512},"ContactPerson":{"type":"string","minLength":0,"maxLength":50},"Description":{"type":"string","minLength":1,"maxLength":50},"EndDate":{"type":"string","format":"date"},"ProjectLeader":{"type":"string","minLength":0,"maxLength":50},"ProjectNumber":{"type":"string","minLength":0,"maxLength":20},"Status":{"type":"string","enum":["NOTSTARTED","ONGOING","COMPLETED"]},"StartDate":{"type":"string","format":"date"}}},"Depreciation":{"type":"object","properties":{"DepreciateUntil":{"type":"string"},"AssetIds":{"type":"array","items":{"type":"integer","format":"int32"}}}},"CustomerReference":{"type":"object","properties":{"CustomerReferenceRows":{"type":"array","items":{"$ref":"#/definitions/CustomerReference_CustomerReferenceRow"}}}},"SupplierInvoiceFileConnection_Wrap":{"type":"object","properties":{"SupplierInvoiceFileConnection":{"$ref":"#/definitions/SupplierInvoiceFileConnection"}}},"PurchaseOrderRowNote":{"type":"object","properties":{"note":{"type":"string"},"rowNum":{"type":"integer","format":"int64"},"purchaseOrderId":{"type":"integer","format":"int64"},"purchaseOrderRowId":{"type":"string","format":"uuid"}}},"Employee":{"type":"object","properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"PersonalIdentityNumber":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"FullName":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"PostCode":{"type":"string"},"City":{"type":"string"},"Country":{"type":"string"},"Phone1":{"type":"string"},"Phone2":{"type":"string"},"Email":{"type":"string"},"EmploymentDate":{"type":"string","format":"date"},"EmploymentForm":{"type":"string","enum":["TV","PRO","TID","SVT","VIK","PRJ","PRA","FER","SES","NEJ"]},"SalaryForm":{"type":"string","enum":["MAN","TIM"]},"JobTitle":{"type":"string","minLength":0,"maxLength":30},"PersonelType":{"type":"string","enum":["TJM","ARB"]},"ScheduleId":{"type":"string"},"ForaType":{"type":"string","enum":["A","A51","A52","A53","A54","A55","A56","A57","A58","A59","A60","A61","A62","A63","A64","A65","A66","A67","A68","A69","A70","A71","A72","A73","A74","A75","A76","A77","A78","A79","A80","A81","A82","A83","A84","A85","A86","A3","A91","A92","A93","A11","A12","A13","A14","A15","A16","A17","A18","A19","A20","A21","A22","A23","A24","A25","A26","A27","A28","A29","A30","A41","A42","A43","A44","A45","A46","A47","A48","T","T6","-"]},"MonthlySalary":{"type":"string"},"HourlyPay":{"type":"string"},"TaxAllowance":{"type":"string","enum":["HUV","EXT","TMP","STU","EJ","???"]},"TaxTable":{"type":"string"},"TaxColumn":{"type":"integer","format":"int32","minimum":1,"maximum":6},"AutoNonRecurringTax":{"type":"boolean"},"NonRecurringTax":{"type":"string"},"Inactive":{"type":"boolean"},"ClearingNo":{"type":"string"},"BankAccountNo":{"type":"string"},"EmployedTo":{"type":"string","format":"date"},"AverageWeeklyHours":{"type":"string"},"AverageHourlyWage":{"type":"string"},"DatedWages":{"type":"array","items":{"$ref":"#/definitions/Employee_DatedWage"}},"DatedSchedules":{"type":"array","items":{"$ref":"#/definitions/Employee_DatedSchedule"}}}},"PriceListItem_List":{"type":"object","properties":{"Prices":{"type":"array","items":{"$ref":"#/definitions/PriceListItem"}}}},"PredefinedVoucherSeries":{"type":"object","required":["VoucherSeries"],"properties":{"@url":{"type":"string"},"Name":{"type":"string"},"VoucherSeries":{"type":"string","minLength":0,"maxLength":1}}},"AbsenceTransactionPayload":{"type":"object","required":["CauseCode","Date","EmployeeId"],"properties":{"EmployeeId":{"type":"string"},"CauseCode":{"type":"string","enum":["ASK","FPE","FRA","HAV","KOM","MIL","NAR","OS1","OS2","OS3","OS4","OS5","PAP","PEM","PER","SEM","SJK","SMB","SVE","TJL","UTB","VAB"]},"Date":{"type":"string","format":"date"},"Extent":{"type":"number","format":"float"},"Hours":{"type":"number","format":"float"},"HolidayEntitling":{"type":"boolean"},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"CreateAssetFileConnection":{"type":"object","properties":{"FileId":{"type":"string"},"AssetId":{"type":"string"}}},"InvoicePaymentListItem":{"type":"object","required":["InvoiceNumber"],"properties":{"@url":{"type":"string"},"Amount":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Currency":{"type":"string","minLength":3,"maxLength":3},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"InvoiceNumber":{"type":"integer","format":"int32"},"Number":{"type":"string"},"PaymentDate":{"type":"string","format":"date"},"Source":{"type":"string"},"WriteOffExist":{"type":"boolean"}}},"OrderListItem":{"type":"object","required":["CustomerNumber"],"properties":{"@url":{"type":"string"},"Cancelled":{"type":"boolean"},"Currency":{"type":"string","minLength":0,"maxLength":3},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DeliveryDate":{"type":"string","format":"date"},"DocumentNumber":{"type":"string"},"ExternalInvoiceReference1":{"type":"string"},"ExternalInvoiceReference2":{"type":"string"},"OrderDate":{"type":"string","format":"date"},"OrderType":{"type":"string"},"Project":{"type":"string"},"Sent":{"type":"boolean"},"Total":{"type":"number","format":"double"}}},"SupplierInvoicePaymentListItem_List":{"type":"object","properties":{"SupplierInvoicePayments":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoicePaymentListItem"}}}},"TaxReductionListItem":{"type":"object","required":["CustomerName","ReferenceDocumentType","ReferenceNumber","SocialSecurityNumber"],"properties":{"@url":{"type":"string"},"ApprovedAmount":{"type":"number","format":"double"},"CustomerName":{"type":"string","minLength":1,"maxLength":2147483647},"Id":{"type":"integer","format":"int32"},"ReferenceDocumentType":{"type":"string","enum":["OFFER","ORDER","INVOICE"]},"ReferenceNumber":{"type":"integer","format":"int32"},"SocialSecurityNumber":{"type":"string","minLength":10,"maxLength":13}}},"TermsOfPayment_Wrap":{"type":"object","required":["TermsOfPayment"],"properties":{"TermsOfPayment":{"$ref":"#/definitions/TermsOfPayment"}}},"Price_Wrap":{"type":"object","properties":{"Price":{"$ref":"#/definitions/Price"}}},"CustomerListItem_List":{"type":"object","properties":{"Customers":{"type":"array","items":{"$ref":"#/definitions/CustomerListItem"}}}},"Project_Wrap":{"type":"object","properties":{"Project":{"$ref":"#/definitions/Project"}}},"Contract_Wrap":{"type":"object","properties":{"Contract":{"$ref":"#/definitions/Contract"}}},"StockTaking":{"type":"object","required":["name","responsible","state"],"properties":{"id":{"type":"integer","format":"int64"},"date":{"type":"string","format":"date"},"name":{"type":"string","minLength":1,"maxLength":50},"responsible":{"type":"string","minLength":1,"maxLength":50},"state":{"type":"string","pattern":"planning|started|completed|voided"},"rows":{"type":"array","items":{"$ref":"#/definitions/StockTakingRow"}},"sortingId":{"type":"integer","format":"int32"},"projectId":{"type":"string"},"costCenterCode":{"type":"string"},"usingStockPoints":{"type":"boolean"}}},"AssetFileConnection":{"type":"object","properties":{"@url":{"type":"string"},"FileId":{"type":"string"},"Name":{"type":"string"},"AssetId":{"type":"string"}}},"VoucherSeriesListItem_Approver":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"},"Name":{"type":"string"}}},"ArticleFileConnectionListItem_Wrap":{"type":"object","properties":{"ArticleFileConnections":{"type":"array","items":{"$ref":"#/definitions/ArticleFileConnectionListItem"}}}},"PriceListItem":{"type":"object","required":["ArticleNumber","PriceList"],"properties":{"@url":{"type":"string"},"ArticleNumber":{"type":"string"},"FromQuantity":{"type":"number","format":"double"},"PriceList":{"type":"string"},"Price":{"type":"number","format":"double"}}},"Order_Label":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"}}},"InvoiceResponse":{"type":"object","required":["@url","BalanceIncludeFees","BalanceIncludeFeesCurrency","CurrentCapitalBalance","CurrentCapitalBalanceCurrency","InvoiceNumber","NextEvent","NextEventDate","OCRNumber","Service","ServiceName","Status"],"properties":{"@url":{"type":"string"},"BalanceIncludeFees":{"type":"number","format":"float"},"BalanceIncludeFeesCurrency":{"type":"number","format":"float"},"CurrentCapitalBalance":{"type":"number","format":"float"},"CurrentCapitalBalanceCurrency":{"type":"number","format":"float"},"InvoiceDocumentURL":{"type":"string"},"InvoiceNumber":{"type":"integer","format":"int32"},"NextEvent":{"type":"string"},"NextEventDate":{"type":"string","format":"date"},"OCRNumber":{"type":"string"},"Service":{"type":"string"},"ServiceName":{"type":"string"},"Status":{"type":"string"}}},"FinancialYear_Wrap":{"type":"object","required":["FinancialYear"],"properties":{"FinancialYear":{"$ref":"#/definitions/FinancialYear"}}},"InvoicePayment":{"type":"object","required":["InvoiceNumber"],"properties":{"@url":{"type":"string"},"Amount":{"type":"number","format":"double"},"AmountCurrency":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Currency":{"type":"string","minLength":3,"maxLength":3},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"ExternalInvoiceReference1":{"type":"string"},"ExternalInvoiceReference2":{"type":"string"},"InvoiceCustomerName":{"type":"string"},"InvoiceCustomerNumber":{"type":"string"},"InvoiceNumber":{"type":"integer","format":"int32"},"InvoiceDueDate":{"type":"string","format":"date"},"InvoiceOCR":{"type":"string"},"InvoiceTotal":{"type":"string"},"ModeOfPayment":{"type":"string"},"ModeOfPaymentAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Number":{"type":"string"},"PaymentDate":{"type":"string","format":"date"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"Source":{"type":"string"},"WriteOffs":{"type":"array","items":{"$ref":"#/definitions/InvoicePayment_WriteOff"}}}},"Voucher_Wrap":{"type":"object","properties":{"Voucher":{"$ref":"#/definitions/Voucher"}}},"InvoiceResponse_Wrap":{"type":"object","properties":{"NoxFinansInvoice":{"$ref":"#/definitions/InvoiceResponse"}}},"BaseArticleRegistration":{"type":"object","required":["customer","purchaseDate"],"properties":{"id":{"type":"string","format":"uuid"},"costCenter":{"$ref":"#/definitions/TRCostCenter"},"customer":{"$ref":"#/definitions/TRCustomer"},"project":{"$ref":"#/definitions/TRProject"},"articleRegistrations":{"type":"array","items":{"$ref":"#/definitions/ArticleRegistration"}},"registeredArticle":{"$ref":"#/definitions/ArticleRegistration"},"purchaseDate":{"type":"string","format":"date"},"ownerId":{"type":"string"},"version":{"type":"integer","format":"int64"},"createdTime":{"type":"string","format":"date-time"},"registrationType":{"type":"string","enum":["WORK","ABSENCE","ARTICLE"]}}},"Me_Wrap":{"type":"object","properties":{"MeInformation":{"$ref":"#/definitions/Me"}}},"Offer_OfferRow":{"type":"object","properties":{"AccountNumber":{"type":"integer","format":"int32"},"ArticleNumber":{"type":"string"},"ContributionPercent":{"type":"string"},"ContributionValue":{"type":"string"},"CostCenter":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["AMOUNT","PERCENT"]},"HouseWork":{"type":"boolean"},"HouseWorkHoursToReport":{"type":"number","format":"double","maximum":999},"HouseWorkType":{"type":"string","enum":["CONSTRUCTION","ELECTRICITY","GLASSMETALWORK","GROUNDDRAINAGEWORK","MASONRY","PAINTINGWALLPAPERING","HVAC","CLEANING","TEXTILECLOTHING","COOKING","SNOWPLOWING","GARDENING","BABYSITTING","OTHERCARE","TUTORING","OTHERCOSTS"]},"Price":{"type":"number","format":"double"},"Project":{"type":"string"},"Quantity":{"type":"string"},"RowId":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"Unit":{"type":"string"},"VAT":{"type":"integer","format":"int32"}}},"CreatePayload":{"type":"object","required":["InvoiceNumber","SendMethod","Service"],"properties":{"InvoiceNumber":{"type":"string"},"SendMethod":{"type":"string"},"Service":{"type":"string"}}},"Scrap_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/Scrap"}}},"InvoiceListItem":{"type":"object","properties":{"@url":{"type":"string"},"Balance":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Cancelled":{"type":"boolean"},"CostCenter":{"type":"string"},"Currency":{"type":"string"},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DocumentNumber":{"type":"string"},"DueDate":{"type":"string","format":"date"},"ExternalInvoiceReference1":{"type":"string"},"ExternalInvoiceReference2":{"type":"string"},"InvoiceDate":{"type":"string","format":"date"},"InvoiceType":{"type":"string","enum":["INVOICE","AGREEMENTINVOICE","INTRESTINVOICE","SUMMARYINVOICE","CASHINVOICE"]},"NoxFinans":{"type":"boolean"},"OCR":{"type":"string"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"WayOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"Project":{"type":"string"},"Sent":{"type":"boolean"},"Total":{"type":"number","format":"double"},"FinalPayDate":{"type":"string","format":"date"}}},"TRCustomer":{"type":"object","properties":{"id":{"type":"string","minLength":0,"maxLength":40},"name":{"type":"string","minLength":0,"maxLength":255},"number":{"type":"string","minLength":0,"maxLength":1024},"active":{"type":"boolean"},"deleted":{"type":"boolean"},"priceList":{"type":"string"},"accountManager":{"type":"string"},"defaultProjectId":{"type":"string"},"isBusiness":{"type":"integer","format":"int32"},"propertyDesignation":{"type":"string"}}},"PausePayload":{"type":"object","required":["PausedUntilDate"],"properties":{"PausedUntilDate":{"type":"string","format":"date"}}},"WriteUp":{"type":"object","properties":{"Amount":{"type":"integer","format":"int32"},"Comment":{"type":"string"},"Date":{"type":"string"}}},"PrintTemplate_List":{"type":"object","properties":{"PrintTemplates":{"type":"array","items":{"$ref":"#/definitions/PrintTemplate"}}}},"ReleaseParentOrder":{"type":"object","properties":{"releasedParentOrder":{"type":"boolean"}}},"AccountChart_Wrap":{"type":"object","properties":{"AccountCharts":{"type":"array","items":{"$ref":"#/definitions/AccountChart"}}}},"StockLocation":{"type":"object","required":["code"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","minLength":1,"maxLength":20},"name":{"type":"string","minLength":0,"maxLength":25},"stockPointId":{"type":"string","format":"uuid"}}},"Label_Wrap":{"type":"object","required":["Label"],"properties":{"Label":{"$ref":"#/definitions/Label"}}},"ArticleListItem_List":{"type":"object","properties":{"Articles":{"type":"array","items":{"$ref":"#/definitions/ArticleListItem"}}}},"Label":{"type":"object","required":["Description"],"properties":{"Id":{"type":"integer","format":"int32"},"Description":{"type":"string","minLength":1,"maxLength":25}}},"AverageCost":{"type":"object","properties":{"itemId":{"type":"string"},"stockPointId":{"type":"string","format":"uuid"},"averageCostInSEK":{"type":"number"}}},"Attachment":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"entityId":{"type":"integer","format":"int64"},"entityType":{"type":"string","enum":["OF","O","F","C","LGR_IO","LGR_IG"]},"fileId":{"type":"string"},"includeOnSend":{"type":"boolean"}}},"Folder_Wrap":{"type":"object","properties":{"Folder":{"$ref":"#/definitions/Folder"}}},"SupplierInvoiceAccrualListItem_List":{"type":"object","properties":{"SupplierInvoiceAccruals":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoiceAccrualListItem"}}}},"AccountPayload_OpeningQuantities":{"type":"object","properties":{"Project":{"type":"string"},"Balance":{"type":"integer","format":"int32"}}},"EmployeeListItem":{"type":"object","properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"PersonalIdentityNumber":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"FullName":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"PostCode":{"type":"string"},"City":{"type":"string"},"Country":{"type":"string"},"Phone1":{"type":"string"},"Phone2":{"type":"string"},"Email":{"type":"string"},"EmploymentDate":{"type":"string","format":"date"},"EmploymentForm":{"type":"string","enum":["TV","PRO","TID","SVT","VIK","PRJ","PRA","FER","SES","NEJ"]},"SalaryForm":{"type":"string","enum":["MAN","TIM"]},"JobTitle":{"type":"string","minLength":0,"maxLength":30},"PersonelType":{"type":"string","enum":["TJM","ARB"]},"ScheduleId":{"type":"string"},"ForaType":{"type":"string","enum":["A","A51","A52","A53","A54","A55","A56","A57","A58","A59","A60","A61","A62","A63","A64","A65","A66","A67","A68","A69","A70","A71","A72","A73","A74","A75","A76","A77","A78","A79","A80","A81","A82","A83","A84","A85","A86","A3","A91","A92","A93","A11","A12","A13","A14","A15","A16","A17","A18","A19","A20","A21","A22","A23","A24","A25","A26","A27","A28","A29","A30","A41","A42","A43","A44","A45","A46","A47","A48","T","T6","-"]},"MonthlySalary":{"type":"string"},"HourlyPay":{"type":"string"},"TaxAllowance":{"type":"string","enum":["HUV","EXT","TMP","STU","EJ","???"]},"TaxTable":{"type":"string"},"TaxColumn":{"type":"integer","format":"int32","minimum":1,"maximum":6},"AutoNonRecurringTax":{"type":"boolean"},"NonRecurringTax":{"type":"string"},"Inactive":{"type":"boolean"},"ClearingNo":{"type":"string"},"BankAccountNo":{"type":"string"},"EmployedTo":{"type":"string","format":"date"},"AverageWeeklyHours":{"type":"string"},"AverageHourlyWage":{"type":"string"},"DatedWages":{"type":"array","items":{"$ref":"#/definitions/Employee_DatedWage"}},"DatedSchedules":{"type":"array","items":{"$ref":"#/definitions/Employee_DatedSchedule"}},"@url":{"type":"string"}}},"FinancialYear_WrapList":{"type":"object","properties":{"FinancialYears":{"type":"array","items":{"$ref":"#/definitions/FinancialYear"}}}},"ContractTemplate_InvoiceRow":{"type":"object","properties":{"AccountNumber":{"type":"integer","format":"int32"},"ArticleNumber":{"type":"string"},"CostCenter":{"type":"string"},"DeliveredQuantity":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["PERCENT","AMOUNT"]},"Price":{"type":"number","format":"double"},"Project":{"type":"string"},"Unit":{"type":"string"}}},"TrustedEmailSender":{"type":"object","properties":{"TrustedSenders":{"type":"array","items":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender"}},"RejectedSenders":{"type":"array","items":{"$ref":"#/definitions/TrustedEmailSender_RejectedSender"}}}},"TRItemPrice":{"type":"object","properties":{"list":{"type":"string"},"price":{"type":"number"}}},"ResponseStateChange":{"type":"object","properties":{"responseState":{"type":"string","enum":["NOT_SENT","SENT","ACCEPTED_WITH_REQ_DLV_DATE","ACCEPTED_WITH_CHANGED_DLV_DATE","PARTLY_ACCEPTED_WITH_REQ_DLV_DATE","PARTLY_ACCEPTED_WITH_CHANGED_DLV_DATE","REJECTED"]}}},"AccountChart":{"type":"object","properties":{"Name":{"type":"string"}}},"WriteDown":{"type":"object","properties":{"Amount":{"type":"integer","format":"int32"},"Comment":{"type":"string"},"Date":{"type":"string"}}},"ManualObAsset":{"type":"object","properties":{"Amount":{"type":"integer","format":"int32"},"Comment":{"type":"string"}}},"PredefinedAccount_Wrap":{"type":"object","required":["PreDefinedAccount"],"properties":{"PreDefinedAccount":{"$ref":"#/definitions/PredefinedAccount"}}},"TRCostCenter":{"type":"object","properties":{"id":{"type":"string","minLength":0,"maxLength":40},"name":{"type":"string","minLength":0,"maxLength":255},"active":{"type":"string"}}},"OrderListItem_List":{"type":"object","properties":{"Orders":{"type":"array","items":{"$ref":"#/definitions/OrderListItem"}}}},"ModeOfPayment_List":{"type":"object","properties":{"ModesOfPayments":{"type":"array","items":{"$ref":"#/definitions/ModeOfPayment"}}}},"CompanySettings":{"type":"object","properties":{"Address":{"type":"string"},"BG":{"type":"string"},"BIC":{"type":"string"},"BranchCode":{"type":"string"},"City":{"type":"string"},"ContactFirstName":{"type":"string"},"ContactLastName":{"type":"string"},"Country":{"type":"string"},"CountryCode":{"type":"string"},"DatabaseNumber":{"type":"string"},"Domicile":{"type":"string"},"Email":{"type":"string"},"Fax":{"type":"string"},"IBAN":{"type":"string"},"Name":{"type":"string"},"OrganizationNumber":{"type":"string"},"PG":{"type":"string"},"Phone1":{"type":"string"},"Phone2":{"type":"string"},"TaxEnabled":{"type":"boolean"},"VATNumber":{"type":"string"},"VisitAddress":{"type":"string"},"VisitCity":{"type":"string"},"VisitCountry":{"type":"string"},"VisitCountryCode":{"type":"string"},"VisitName":{"type":"string"},"VisitZipCode":{"type":"string"},"WWW":{"type":"string"},"ZipCode":{"type":"string"}}},"SupplierListItem_List":{"type":"object","properties":{"Suppliers":{"type":"array","items":{"$ref":"#/definitions/SupplierListItem"}}}},"TermsOfDelivery":{"type":"object","required":["Code","Description"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":20},"Description":{"type":"string","minLength":0,"maxLength":200},"DescriptionEnglish":{"type":"string","minLength":0,"maxLength":100}}},"SupplierInvoicePayment_WriteOff":{"type":"object","properties":{"Amount":{"type":"number","format":"double"},"AccountNumber":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"CostCenter":{"type":"string"},"Currency":{"type":"string","minLength":3,"maxLength":3},"Description":{"type":"string"},"TransactionInformation":{"type":"string"},"Project":{"type":"string"}}},"TermsOfDelivery_Wrap":{"type":"object","required":["TermsOfDelivery"],"properties":{"TermsOfDelivery":{"$ref":"#/definitions/TermsOfDelivery"}}},"Invoice_InvoiceRow":{"type":"object","properties":{"AccountNumber":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"ArticleNumber":{"type":"string"},"ContributionPercent":{"type":"string"},"ContributionValue":{"type":"string"},"CostCenter":{"type":"string"},"DeliveredQuantity":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["AMOUNT","PERCENT"]},"HouseWork":{"type":"boolean"},"HouseWorkHoursToReport":{"type":"integer","format":"int32","maximum":999},"HouseWorkType":{"type":"string","enum":["CONSTRUCTION","ELECTRICITY","GLASSMETALWORK","GROUNDDRAINAGEWORK","MASONRY","PAINTINGWALLPAPERING","HVAC","MAJORAPPLIANCEREPAIR","MOVINGSERVICES","ITSERVICES","CLEANING","TEXTILECLOTHING","SNOWPLOWING","GARDENING","BABYSITTING","OTHERCARE","OTHERCOSTS","SOLARCELLS","STORAGESELFPRODUCEDELECTRICITY","CHARGINGSTATIONELECTRICVEHICLE","HOMEMAINTENANCE","FURNISHING","TRANSPORTATIONSERVICES","WASHINGANDCAREOFCLOTHING"]},"Price":{"type":"number","format":"double"},"PriceExcludingVAT":{"type":"number","format":"double"},"Project":{"type":"string"},"RowId":{"type":"integer","format":"int32"},"StockPointCode":{"type":"string"},"Total":{"type":"number","format":"double"},"TotalExcludingVAT":{"type":"number","format":"double"},"Unit":{"type":"string"},"VAT":{"type":"integer","format":"int32"}}},"AssetType_WrapList":{"type":"object","properties":{"MetaInformation":{"$ref":"#/definitions/MetaInformation"},"Types":{"type":"array","items":{"$ref":"#/definitions/AssetType"}}}},"AccountListItem":{"type":"object","required":["Description","Number"],"properties":{"@url":{"type":"string"},"Active":{"type":"boolean"},"BalanceBroughtForward":{"type":"number","format":"double"},"CostCenter":{"type":"string"},"CostCenterSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"Description":{"type":"string","minLength":1,"maxLength":200},"Number":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Project":{"type":"string"},"ProjectSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"SRU":{"type":"integer","format":"int32"},"Year":{"type":"integer","format":"int32"},"VATCode":{"type":"string"}}},"InvoicePayment_WriteOff":{"type":"object","properties":{"Amount":{"type":"number","format":"double"},"AccountNumber":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"CostCenter":{"type":"string"},"Currency":{"type":"string","minLength":3,"maxLength":3},"Description":{"type":"string"},"TransactionInformation":{"type":"string"},"Project":{"type":"string"}}},"Offer":{"type":"object","required":["CustomerNumber"],"properties":{"@url":{"type":"string"},"@urlTaxReductionList":{"type":"string"},"AdministrationFee":{"type":"number","format":"double"},"AdministrationFeeVAT":{"type":"number","format":"double"},"Address1":{"type":"string","minLength":0,"maxLength":1024},"Address2":{"type":"string","minLength":0,"maxLength":1024},"BasisTaxReduction":{"type":"number","format":"double"},"Cancelled":{"type":"boolean"},"City":{"type":"string","minLength":0,"maxLength":1024},"Comments":{"type":"string","minLength":0,"maxLength":1024},"ContributionPercent":{"type":"number","format":"double"},"ContributionValue":{"type":"number","format":"double"},"CopyRemarks":{"type":"boolean"},"Country":{"type":"string"},"CostCenter":{"type":"string"},"Currency":{"type":"string"},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"integer","format":"int32"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DeliveryAddress1":{"type":"string","minLength":0,"maxLength":1024},"DeliveryAddress2":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCity":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCountry":{"type":"string"},"DeliveryDate":{"type":"string","format":"date"},"DeliveryName":{"type":"string","minLength":0,"maxLength":1024},"DeliveryZipCode":{"type":"string"},"DocumentNumber":{"type":"string"},"EmailInformation":{"$ref":"#/definitions/Offer_EmailInformation"},"ExpireDate":{"type":"string","format":"date"},"Freight":{"type":"number","format":"double"},"FreightVAT":{"type":"number","format":"double"},"Gross":{"type":"number","format":"double"},"HouseWork":{"type":"boolean"},"InvoiceReference":{"type":"string"},"Labels":{"type":"array","items":{"$ref":"#/definitions/Offer_Label"}},"Language":{"type":"string"},"Net":{"type":"number","format":"double"},"NotCompleted":{"type":"boolean"},"OfferDate":{"type":"string","format":"date"},"OfferRows":{"type":"array","items":{"$ref":"#/definitions/Offer_OfferRow"}},"OrderReference":{"type":"string"},"OrganisationNumber":{"type":"string"},"OurReference":{"type":"string"},"Phone1":{"type":"string"},"Phone2":{"type":"string"},"PriceList":{"type":"string"},"PrintTemplate":{"type":"string"},"Project":{"type":"string"},"Remarks":{"type":"string"},"RoundOff":{"type":"number","format":"double"},"Sent":{"type":"boolean"},"TaxReduction":{"type":"integer","format":"int32"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"Total":{"type":"number","format":"double"},"TotalToPay":{"type":"number","format":"double"},"TotalVAT":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"},"WayOfDelivery":{"type":"string"},"YourReference":{"type":"string"},"YourReferenceNumber":{"type":"string"},"ZipCode":{"type":"string"},"TaxReductionType":{"type":"string","enum":["none","rot","rut","green"]}}},"SupplierInvoiceListItem":{"type":"object","required":["SupplierNumber"],"properties":{"@url":{"type":"string"},"Balance":{"type":"string"},"Booked":{"type":"boolean"},"Cancel":{"type":"boolean"},"CostCenter":{"type":"string"},"Credit":{"type":"boolean"},"Currency":{"type":"string"},"CurrencyRate":{"type":"string"},"CurrencyUnit":{"type":"number","format":"double"},"DueDate":{"type":"string","format":"date"},"ExternalInvoiceNumber":{"type":"string"},"ExternalInvoiceSeries":{"type":"string"},"GivenNumber":{"type":"string"},"InvoiceDate":{"type":"string","format":"date"},"InvoiceNumber":{"type":"string"},"Project":{"type":"string"},"SupplierNumber":{"type":"string"},"SupplierName":{"type":"string"},"Total":{"type":"string"},"AuthorizerName":{"type":"string"},"Vouchers":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoiceListItem_Voucher"}},"FinalPayDate":{"type":"string","format":"date"}}},"CustomOutboundDocument":{"type":"object","required":["date","deliveryState","rows"],"properties":{"id":{"type":"string","minLength":1,"maxLength":25,"pattern":"^[0-9]+"},"referenceType":{"type":"string","minLength":1,"maxLength":25,"pattern":"[a-zA-Z0-9_-]+"},"date":{"type":"string","format":"date"},"note":{"type":"string","minLength":0,"maxLength":1000},"warehouseReady":{"type":"boolean"},"voided":{"type":"boolean"},"rows":{"type":"array","items":{"$ref":"#/definitions/CustomOutboundDocumentRow"}},"forcedDelivery":{"type":"boolean"},"averageCosts":{"type":"array","items":{"$ref":"#/definitions/AverageCost"}},"deliveryState":{"type":"string","enum":["registration","reservation","delivery"]}}},"StockTakingRow":{"type":"object","properties":{"id":{"type":"string"},"stockTakingId":{"type":"integer","format":"int64"},"itemId":{"type":"string"},"stockPointId":{"type":"string","format":"uuid"},"stockLocationId":{"type":"string","format":"uuid"},"countedBy":{"type":"string"},"stockTakenQuantity":{"type":"number"},"totalQuantityInStock":{"type":"number"},"currentRowNo":{"type":"integer","format":"int32"},"hasPostReleaseStockChanges":{"type":"boolean"},"stockTakingRowId":{"type":"string"}}},"VacationDebtBasis_Wrap":{"type":"object","properties":{"VacationDebtBasis":{"$ref":"#/definitions/VacationDebtBasis"}}},"VacationDebtBasis_Employee":{"type":"object","required":["EmployeeId"],"properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"EmployeeName":{"type":"string"},"DaysEarned":{"type":"number","format":"double"},"WageEarned":{"type":"number","format":"double"},"VariableEarned":{"type":"number","format":"double"},"DebtEarned":{"type":"number","format":"double"},"DaysUnused":{"type":"number","format":"double"},"WageUnused":{"type":"number","format":"double"},"VariableUnused":{"type":"number","format":"double"},"DebtUnused":{"type":"number","format":"double"},"DaysSaved":{"type":"number","format":"double"},"WageSaved":{"type":"number","format":"double"},"DebtSaved":{"type":"number","format":"double"},"DebtAdvance":{"type":"number","format":"double"},"TotalDebtEmployee":{"type":"number","format":"double"},"TotalDebtEmployerContribution":{"type":"number","format":"double"}}},"Customer_DefaultTemplates":{"type":"object","properties":{"CashInvoice":{"type":"string"},"Invoice":{"type":"string"},"Offer":{"type":"string"},"Order":{"type":"string"}}},"DepreciationResponse":{"type":"object","properties":{"@url":{"type":"string"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"FinancialYear":{"type":"integer","format":"int32"}}},"ModeOfPayment_Wrap":{"type":"object","required":["ModeOfPayment"],"properties":{"ModeOfPayment":{"$ref":"#/definitions/ModeOfPayment"}}},"SupplierInvoiceExternalURLConnection":{"type":"object","properties":{"Url":{"type":"string"},"Id":{"type":"integer","format":"int32"},"SupplierInvoiceNumber":{"type":"integer","format":"int32"},"ExternalUrlConnection":{"type":"string"}}},"AttendanceTransaction_Wrap":{"type":"object","properties":{"AttendanceTransaction":{"$ref":"#/definitions/AttendanceTransaction"}}},"Voucher_VoucherRow":{"type":"object","required":["Account"],"properties":{"Account":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"CostCenter":{"type":"string"},"Credit":{"type":"number","format":"double"},"Description":{"type":"string"},"Debit":{"type":"number","format":"double"},"Project":{"type":"string"},"Removed":{"type":"boolean"},"TransactionInformation":{"type":"string","minLength":0,"maxLength":100},"Quantity":{"type":"number","format":"double"}}},"VoucherListItem_List":{"type":"object","properties":{"Vouchers":{"type":"array","items":{"$ref":"#/definitions/VoucherListItem"}}}},"Invoice_EmailInformation":{"type":"object","properties":{"EmailAddressFrom":{"type":"string"},"EmailAddressTo":{"type":"string"},"EmailAddressCC":{"type":"string"},"EmailAddressBCC":{"type":"string"},"EmailSubject":{"type":"string","minLength":0,"maxLength":100},"EmailBody":{"type":"string","minLength":0,"maxLength":20000}}},"AccountSingleItem_OpeningQuantities":{"type":"object","properties":{"Project":{"type":"string"},"Balance":{"type":"integer","format":"int32"}}},"PredefinedAccount_List":{"type":"object","properties":{"PreDefinedAccounts":{"type":"array","items":{"$ref":"#/definitions/PredefinedAccount"}}}},"PurchaseOrderMailSettings":{"type":"object","required":["body","receiver","replyTo","subject"],"properties":{"receiver":{"type":"string"},"receiverCopy":{"type":"string"},"receiverSecretCopy":{"type":"string"},"subject":{"type":"string"},"body":{"type":"string"},"bodyAsHtml":{"type":"string"},"replyTo":{"type":"string"},"senderName":{"type":"string"}}},"InvoicePayment_Wrap":{"type":"object","properties":{"InvoicePayment":{"$ref":"#/definitions/InvoicePayment"}}},"WayOfDelivery":{"type":"object","required":["Code"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":50},"Description":{"type":"string","minLength":0,"maxLength":100},"DescriptionEnglish":{"type":"string","minLength":0,"maxLength":100}}},"InvoiceAccrual_InvoiceAccrualRow":{"type":"object","properties":{"Account":{"type":"integer","format":"int32"},"CostCenter":{"type":"string"},"Credit":{"type":"number","format":"double"},"Debit":{"type":"number","format":"double"},"Project":{"type":"string"},"TransactionInformation":{"type":"string"}}},"Employee_DatedSchedule":{"type":"object","required":["EmployeeId","FirstDay"],"properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"FirstDay":{"type":"string","format":"date"},"ScheduleId":{"type":"string"}}},"EUVatLimitRegulation_Wrap":{"type":"object","properties":{"EUVatLimitRegulation":{"$ref":"#/definitions/EUVatLimitRegulation"}}},"SupplierInvoice":{"type":"object","required":["SupplierNumber"],"properties":{"@url":{"type":"string"},"AdministrationFee":{"type":"string"},"Balance":{"type":"string"},"Booked":{"type":"boolean"},"Cancelled":{"type":"boolean"},"Comments":{"type":"string","minLength":0,"maxLength":1000},"CostCenter":{"type":"string"},"Credit":{"type":"boolean"},"CreditReference":{"type":"integer","format":"int32"},"Currency":{"type":"string"},"CurrencyRate":{"type":"string"},"CurrencyUnit":{"type":"number","format":"double"},"DisablePaymentFile":{"type":"boolean"},"DueDate":{"type":"string","format":"date"},"ExternalInvoiceNumber":{"type":"string"},"ExternalInvoiceSeries":{"type":"string"},"Freight":{"type":"string"},"GivenNumber":{"type":"string"},"InvoiceDate":{"type":"string","format":"date"},"InvoiceNumber":{"type":"string","minLength":0,"maxLength":64},"OCR":{"type":"string"},"OurReference":{"type":"string","minLength":0,"maxLength":50},"PaymentPending":{"type":"boolean"},"Project":{"type":"string"},"RoundOffValue":{"type":"string"},"SupplierInvoiceRows":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoice_SupplierInvoiceRow"}},"SupplierNumber":{"type":"string"},"SupplierName":{"type":"string"},"Total":{"type":"string"},"VAT":{"type":"string"},"YourReference":{"type":"string","minLength":0,"maxLength":50},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"VATType":{"type":"string","enum":["NORMAL","EUINTERNAL","REVERSE"]},"SalesType":{"type":"string","enum":["STOCK","SERVICE"]},"AccountingMethod":{"type":"string","enum":["ACCRUAL","CASH"]},"Vouchers":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoice_Voucher"}},"FinalPayDate":{"type":"string","format":"date"}}},"CustomerReference_Wrap":{"type":"object","properties":{"CustomerReference":{"$ref":"#/definitions/CustomerReference"}}},"Offer_Label":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"}}},"ReportPaymentPayload":{"type":"object","required":["BookkeepPaymentInFortnox","ClientTakesFees","PaymentAmount","PaymentMethodAccount","PaymentMethodCode","ReportToFinance"],"properties":{"ClientTakesFees":{"type":"boolean"},"BookkeepPaymentInFortnox":{"type":"boolean"},"ReportToFinance":{"type":"boolean"},"PaymentAmount":{"type":"number","format":"float"},"PaymentMethodCode":{"type":"string"},"PaymentMethodAccount":{"type":"string"}}},"VoucherFileConnection":{"type":"object","required":["FileId","VoucherNumber","VoucherSeries"],"properties":{"@url":{"type":"string"},"FileId":{"type":"string"},"VoucherDescription":{"type":"string"},"VoucherNumber":{"type":"string"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"}}},"Employee_DatedWage":{"type":"object","required":["EmployeeId","FirstDay"],"properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"FirstDay":{"type":"string","format":"date"},"MonthlySalary":{"type":"string"},"HourlyPay":{"type":"string"}}},"Offer_Wrap":{"type":"object","properties":{"Offer":{"$ref":"#/definitions/Offer"}}},"ArticleListItem":{"type":"object","required":["Description"],"properties":{"@url":{"type":"string"},"ArticleNumber":{"type":"string","minLength":0,"maxLength":50},"Description":{"type":"string","minLength":1,"maxLength":200},"DisposableQuantity":{"type":"string"},"EAN":{"type":"string","minLength":0,"maxLength":30},"Housework":{"type":"boolean"},"PurchasePrice":{"type":"string"},"SalesPrice":{"type":"string"},"QuantityInStock":{"type":"number","format":"double"},"ReservedQuantity":{"type":"string"},"StockPlace":{"type":"string","minLength":0,"maxLength":100},"StockValue":{"type":"string"},"Unit":{"type":"string"},"VAT":{"type":"string"},"WebshopArticle":{"type":"boolean"}}},"AccountPayload":{"type":"object","required":["Description","Number"],"properties":{"Active":{"type":"boolean"},"BalanceBroughtForward":{"type":"number","format":"double"},"CostCenter":{"type":"string"},"CostCenterSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"Description":{"type":"string","minLength":1,"maxLength":200},"Number":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Project":{"type":"string"},"ProjectSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"SRU":{"type":"integer","format":"int32"},"TransactionInformation":{"type":"string"},"TransactionInformationSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"VATCode":{"type":"string"},"OpeningQuantities":{"type":"array","items":{"$ref":"#/definitions/AccountPayload_OpeningQuantities"}}}},"SupplierInvoiceExternalURLConnectionUpdate":{"type":"object","properties":{"SupplierInvoiceNumber":{"type":"integer","format":"int32"},"ExternalURLConnection":{"type":"string"}}},"InvoicePayload_InvoiceRow":{"type":"object","properties":{"AccountNumber":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"ArticleNumber":{"type":"string"},"CostCenter":{"type":"string"},"DeliveredQuantity":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["AMOUNT","PERCENT"]},"HouseWork":{"type":"boolean"},"HouseWorkHoursToReport":{"type":"integer","format":"int32","maximum":999},"HouseWorkType":{"type":"string","enum":["CONSTRUCTION","ELECTRICITY","GLASSMETALWORK","GROUNDDRAINAGEWORK","MASONRY","PAINTINGWALLPAPERING","HVAC","MAJORAPPLIANCEREPAIR","MOVINGSERVICES","ITSERVICES","CLEANING","TEXTILECLOTHING","SNOWPLOWING","GARDENING","BABYSITTING","OTHERCARE","OTHERCOSTS","SOLARCELLS","STORAGESELFPRODUCEDELECTRICITY","CHARGINGSTATIONELECTRICVEHICLE","HOMEMAINTENANCE","FURNISHING","TRANSPORTATIONSERVICES","WASHINGANDCAREOFCLOTHING"]},"Price":{"type":"number","format":"double"},"Project":{"type":"string"},"RowId":{"type":"integer","format":"int32"},"StockPointCode":{"type":"string"},"Unit":{"type":"string"},"VAT":{"type":"integer","format":"int32"}}},"InvoiceAccrual":{"type":"object","required":["AccrualAccount","Description","EndDate","InvoiceAccrualRows","InvoiceNumber","RevenueAccount","StartDate","Total"],"properties":{"@url":{"type":"string"},"AccrualAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Description":{"type":"string"},"EndDate":{"type":"string","format":"date"},"InvoiceAccrualRows":{"type":"array","items":{"$ref":"#/definitions/InvoiceAccrual_InvoiceAccrualRow"},"maxItems":2147483647,"minItems":2},"InvoiceNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY","1_MONTHS","2_MONTHS","3_MONTHS","6_MONTHS","12_MONTHS"]},"RevenueAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"StartDate":{"type":"string","format":"date"},"Times":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"}}},"WriteDown_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/WriteDown"}}},"VoucherSeriesListItem":{"type":"object","required":["Code"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":10},"Description":{"type":"string","minLength":0,"maxLength":200},"Manual":{"type":"boolean"},"Year":{"type":"integer","format":"int32"},"Approver":{"$ref":"#/definitions/VoucherSeriesListItem_Approver"}}},"SupplierListItem":{"type":"object","required":["Name"],"properties":{"@url":{"type":"string"},"Active":{"type":"boolean"},"Address1":{"type":"string"},"Address2":{"type":"string"},"BankAccountNumber":{"type":"string"},"BG":{"type":"string"},"BIC":{"type":"string"},"City":{"type":"string","minLength":0,"maxLength":1024},"CostCenter":{"type":"string"},"CountryCode":{"type":"string","minLength":0,"maxLength":2},"Currency":{"type":"string","minLength":0,"maxLength":3},"DisablePaymentFile":{"type":"boolean"},"Email":{"type":"string"},"IBAN":{"type":"string"},"Name":{"type":"string","minLength":1,"maxLength":1024},"OrganisationNumber":{"type":"string"},"PG":{"type":"string"},"Phone":{"type":"string"},"PreDefinedAccount":{"type":"string","minLength":4,"maxLength":4},"Project":{"type":"string"},"SupplierNumber":{"type":"string"},"TermsOfPayment":{"type":"string"},"ZipCode":{"type":"string"}}},"SupplierInvoice_Voucher":{"type":"object","properties":{"Number":{"type":"integer","format":"int32"},"Year":{"type":"integer","format":"int32"},"Series":{"type":"string"},"ReferenceType":{"type":"string"}}},"VacationDebtBasis":{"type":"object","required":["Month","Year"],"properties":{"Year":{"type":"integer","format":"int32"},"Month":{"type":"integer","format":"int32"},"LastDay":{"type":"string","format":"date"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"Employees":{"type":"array","items":{"$ref":"#/definitions/VacationDebtBasis_Employee"}}}},"SupplierInvoiceListItem_Voucher":{"type":"object","properties":{"Number":{"type":"integer","format":"int32"},"Year":{"type":"integer","format":"int32"},"Series":{"type":"string"},"ReferenceType":{"type":"string"}}},"OfferListItem":{"type":"object","required":["CustomerNumber"],"properties":{"@url":{"type":"string"},"Cancelled":{"type":"boolean"},"Currency":{"type":"string"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DocumentNumber":{"type":"string"},"OfferDate":{"type":"string","format":"date"},"Project":{"type":"string"},"Sent":{"type":"boolean"},"Total":{"type":"number","format":"double"}}},"Depreciation_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/Depreciation"}}},"Order_Wrap":{"type":"object","properties":{"Order":{"$ref":"#/definitions/Order"}}},"Invoice":{"type":"object","required":["CustomerNumber"],"properties":{"@url":{"type":"string"},"@urlTaxReductionList":{"type":"string"},"AdministrationFee":{"type":"number","format":"double"},"AdministrationFeeVAT":{"type":"number","format":"double"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Balance":{"type":"number","format":"double"},"BasisTaxReduction":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Cancelled":{"type":"boolean"},"City":{"type":"string","minLength":0,"maxLength":1024},"Comments":{"type":"string","minLength":0,"maxLength":1024},"ContractReference":{"type":"integer","format":"int32"},"ContributionPercent":{"type":"number","format":"double"},"ContributionValue":{"type":"number","format":"double"},"Country":{"type":"string"},"CostCenter":{"type":"string"},"Credit":{"type":"string"},"CreditInvoiceReference":{"type":"string"},"Currency":{"type":"string"},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"integer","format":"int32"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DeliveryAddress1":{"type":"string","minLength":0,"maxLength":1024},"DeliveryAddress2":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCity":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCountry":{"type":"string"},"DeliveryDate":{"type":"string","format":"date"},"DeliveryName":{"type":"string","minLength":0,"maxLength":1024},"DeliveryZipCode":{"type":"string","minLength":0,"maxLength":1024},"DocumentNumber":{"type":"string"},"DueDate":{"type":"string","format":"date"},"EDIInformation":{"$ref":"#/definitions/Invoice_EDIInformation"},"EmailInformation":{"$ref":"#/definitions/Invoice_EmailInformation"},"EUQuarterlyReport":{"type":"boolean"},"ExternalInvoiceReference1":{"type":"string","minLength":0,"maxLength":80},"ExternalInvoiceReference2":{"type":"string","minLength":0,"maxLength":80},"Freight":{"type":"number","format":"double"},"FreightVAT":{"type":"number","format":"double"},"Gross":{"type":"number","format":"double"},"HouseWork":{"type":"boolean"},"InvoiceDate":{"type":"string","format":"date"},"InvoicePeriodStart":{"type":"string","format":"date"},"InvoicePeriodEnd":{"type":"string","format":"date"},"InvoicePeriodReference":{"type":"string"},"InvoiceRows":{"type":"array","items":{"$ref":"#/definitions/Invoice_InvoiceRow"}},"InvoiceType":{"type":"string","enum":["INVOICE","AGREEMENTINVOICE","INTRESTINVOICE","SUMMARYINVOICE","CASHINVOICE"]},"Labels":{"type":"array","items":{"$ref":"#/definitions/Invoice_Label"}},"Language":{"type":"string","enum":["SV","EN"]},"LastRemindDate":{"type":"string","format":"date"},"Net":{"type":"number","format":"double"},"NotCompleted":{"type":"boolean"},"NoxFinans":{"type":"boolean"},"OCR":{"type":"string"},"OfferReference":{"type":"string"},"OrderReference":{"type":"string"},"OrganisationNumber":{"type":"string"},"OurReference":{"type":"string","minLength":0,"maxLength":50},"PaymentWay":{"type":"string","enum":["CASH","CARD","AG"]},"Phone1":{"type":"string","minLength":0,"maxLength":1024},"Phone2":{"type":"string","minLength":0,"maxLength":1024},"PriceList":{"type":"string"},"PrintTemplate":{"type":"string"},"Project":{"type":"string"},"WarehouseReady":{"type":"boolean"},"OutboundDate":{"type":"string","format":"date"},"Remarks":{"type":"string","minLength":0,"maxLength":1024},"Reminders":{"type":"integer","format":"int32"},"RoundOff":{"type":"number","format":"double"},"Sent":{"type":"boolean"},"TaxReduction":{"type":"integer","format":"int32"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"TimeBasisReference":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"TotalToPay":{"type":"number","format":"double"},"TotalVAT":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"WayOfDelivery":{"type":"string"},"YourOrderNumber":{"type":"string","minLength":0,"maxLength":75},"YourReference":{"type":"string","minLength":0,"maxLength":50},"ZipCode":{"type":"string","minLength":0,"maxLength":1024},"AccountingMethod":{"type":"string","enum":["ACCRUAL","CASH"]},"TaxReductionType":{"type":"string","enum":["none","rot","rut","green"]},"FinalPayDate":{"type":"string","format":"date"}}},"RegistrationCode":{"type":"object","required":["code","type"],"properties":{"code":{"type":"string","minLength":3,"maxLength":3},"name":{"type":"string"},"priceMultiplier":{"type":"number","format":"float"},"costMultiplier":{"type":"number","format":"float"},"type":{"type":"string","enum":["WORK","ABSENCE"]},"active":{"type":"boolean"},"id":{"type":"string"}}},"Order_EmailInformation":{"type":"object","properties":{"EmailAddressFrom":{"type":"string"},"EmailAddressTo":{"type":"string"},"EmailAddressCC":{"type":"string"},"EmailAddressBCC":{"type":"string"},"EmailSubject":{"type":"string"},"EmailBody":{"type":"string"}}},"AbsenceTransactionSingleItem_Wrap":{"type":"object","properties":{"AbsenceTransaction":{"$ref":"#/definitions/AbsenceTransactionSingleItem"}}},"Supplier_Wrap":{"type":"object","properties":{"Supplier":{"$ref":"#/definitions/Supplier"}}},"CustomOutboundDocumentRow":{"type":"object","required":["itemId","quantity"],"properties":{"rowId":{"type":"integer","format":"int64","minimum":1},"itemId":{"type":"string","minLength":1,"maxLength":50},"reservedQuantity":{"type":"number"},"deliveredQuantity":{"type":"number"},"stockPointId":{"type":"string","format":"uuid"},"stockLocationId":{"type":"string","format":"uuid"},"costCenterCode":{"type":"string","minLength":1,"maxLength":25},"projectId":{"type":"string","minLength":1,"maxLength":25},"itemDescription":{"type":"string","minLength":0,"maxLength":200},"itemUnit":{"type":"string","minLength":0,"maxLength":50},"forcedQuantity":{"type":"number"},"quantity":{"type":"number"}}},"AccountPayload_Wrap":{"type":"object","properties":{"Account":{"$ref":"#/definitions/AccountPayload"}}},"EUVatLimitRegulation":{"type":"object","properties":{"TotalExclVat":{"type":"number","format":"double"},"IsOverLimit":{"type":"boolean"},"Limit":{"type":"integer","format":"int32"},"Year":{"type":"string"}}},"ContractListItem":{"type":"object","required":["CustomerNumber","PeriodEnd"],"properties":{"@url":{"type":"string"},"Continuous":{"type":"boolean"},"ContractLength":{"type":"integer","format":"int32"},"Currency":{"type":"string"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DocumentNumber":{"type":"string"},"Invoiceinterval":{"type":"integer","format":"int32"},"InvoicesRemaining":{"type":"integer","format":"int32"},"LastInvoiceDate":{"type":"string"},"PeriodStart":{"type":"string","format":"date"},"PeriodEnd":{"type":"string","format":"date"},"Status":{"type":"string"},"TemplateNumber":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"}}},"ArticleFileConnection":{"type":"object","required":["ArticleNumber","FileId"],"properties":{"@url":{"type":"string"},"FileId":{"type":"string"},"ArticleNumber":{"type":"string"}}},"FinancialYear":{"type":"object","required":["FromDate","ToDate"],"properties":{"@url":{"type":"string"},"Id":{"type":"integer","format":"int32"},"FromDate":{"type":"string","format":"date"},"ToDate":{"type":"string","format":"date"},"AccountingMethod":{"type":"string","enum":["ACCRUAL","CASH"]},"accountCharts":{"type":"string"}}},"AssetFileConnectionResponse":{"type":"object","properties":{"AssetFileConnections":{"type":"array","items":{"$ref":"#/definitions/AssetFileConnection"}},"MetaInformation":{"$ref":"#/definitions/MetaInformation"}}},"Expense":{"type":"object","required":["Account","Code","Text"],"properties":{"Code":{"type":"string"},"Text":{"type":"string"},"Account":{"type":"integer","format":"int32"}}},"CustomerReference_CustomerReferenceRow":{"type":"object","properties":{"Reference":{"type":"string"},"CustomerNumber":{"type":"string"},"Id":{"type":"integer","format":"int32"}}},"SupplierInvoiceAccrual_Wrap":{"type":"object","required":["SupplierInvoiceAccrual"],"properties":{"SupplierInvoiceAccrual":{"$ref":"#/definitions/SupplierInvoiceAccrual"}}},"Asset":{"type":"object","properties":{"@url":{"type":"string"},"Id":{"type":"integer","format":"int32"},"Number":{"type":"string"},"Description":{"type":"string"},"Status":{"type":"string"},"StatusId":{"type":"string"},"CostCenter":{"type":"string"},"Project":{"type":"string"},"Type":{"type":"string"},"TypeId":{"type":"integer","format":"int32"},"DepreciationMethod":{"type":"integer","format":"int32"},"AcquisitionValue":{"type":"integer","format":"int32"},"DepreciateToResidualValue":{"type":"integer","format":"int32"},"AcquisitionDate":{"type":"string"},"AcquisitionStart":{"type":"string"},"DepreciationFinal":{"type":"string"},"DepreciatedTo":{"type":"string"},"ManualOb":{"type":"integer","format":"int32"},"Notes":{"type":"string"},"Reference":{"type":"string"},"Brand":{"type":"string"},"InsuredNumber":{"type":"string"},"InsuredWith":{"type":"string"},"Group":{"type":"string"},"Room":{"type":"string"},"Placement":{"type":"string"},"Department":{"type":"string"},"History":{"type":"array","items":{"$ref":"#/definitions/History"}}}},"Unit_Wrap":{"type":"object","required":["Unit"],"properties":{"Unit":{"$ref":"#/definitions/Unit"}}},"Customer_DefaultDeliveryTypes":{"type":"object","properties":{"Invoice":{"type":"string","enum":["PRINT","EMAIL","PRINTSERVICE"]},"Order":{"type":"string","enum":["PRINT","EMAIL","PRINTSERVICE"]},"Offer":{"type":"string","enum":["PRINT","EMAIL","PRINTSERVICE"]}}},"PriceList_Wrap":{"type":"object","required":["PriceList"],"properties":{"PriceList":{"$ref":"#/definitions/PriceList"}}},"Label_List":{"type":"object","properties":{"Labels":{"type":"array","items":{"$ref":"#/definitions/Label"}}}},"AttendanceTransactionListItem_List":{"type":"object","properties":{"AttendanceTransactions":{"type":"array","items":{"$ref":"#/definitions/AttendanceTransactionListItem"}}}},"ScheduleTime_Wrap":{"type":"object","properties":{"ScheduleTime":{"$ref":"#/definitions/ScheduleTime"}}},"CompanySettings_Wrap":{"type":"object","properties":{"CompanySettings":{"$ref":"#/definitions/CompanySettings"}}},"Expense_Wrap":{"type":"object","properties":{"Expense":{"$ref":"#/definitions/Expense"}}},"PredefinedAccount":{"type":"object","required":["Account"],"properties":{"@url":{"type":"string"},"Name":{"type":"string"},"Account":{"type":"integer","format":"int32","minimum":1000,"maximum":9999}}},"ScheduleTime":{"type":"object","properties":{"EmployeeId":{"type":"string"},"Date":{"type":"string","format":"date"},"ScheduleId":{"type":"string"},"Hours":{"type":"string"},"IWH1":{"type":"string"},"IWH2":{"type":"string"},"IWH3":{"type":"string"},"IWH4":{"type":"string"},"IWH5":{"type":"string"}}},"AttendanceTransaction":{"type":"object","required":["CauseCode","Date","EmployeeId"],"properties":{"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"CauseCode":{"type":"string","minLength":3,"maxLength":3,"enum":["ARB","BE2","BER","FLX","HLG","JO2","JOR","MER","OB1","OB2","OB3","OB4","OB5","OK0","OK1","OK2","OK3","OK4","OK5","OT1","OT2","OT3","OT4","OT5","RES","TID"]},"Date":{"type":"string","format":"date"},"Hours":{"type":"string"},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"SupplierInvoiceAccrualListItem":{"type":"object","required":["Period"],"properties":{"@url":{"type":"string"},"Description":{"type":"string"},"SupplierInvoiceNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY","1_MONTHS","2_MONTHS","3_MONTHS","6_MONTHS","12_MONTHS"]}}},"SupplierInvoice_Wrap":{"type":"object","properties":{"SupplierInvoice":{"$ref":"#/definitions/SupplierInvoice"}}},"Contract":{"type":"object","required":["CustomerNumber","InvoiceRows","PeriodEnd"],"properties":{"@url":{"type":"string"},"@urlTaxReductionList":{"type":"string"},"Active":{"type":"boolean"},"AdministrationFee":{"type":"number","format":"double"},"BasisTaxReduction":{"type":"number","format":"double"},"Comments":{"type":"string","minLength":0,"maxLength":1024},"Continuous":{"type":"boolean"},"ContractDate":{"type":"string","format":"date"},"ContractLength":{"type":"integer","format":"int32"},"ContributionPercent":{"type":"number","format":"double"},"ContributionValue":{"type":"number","format":"double"},"CostCenter":{"type":"string"},"Currency":{"type":"string"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DocumentNumber":{"type":"string"},"EmailInformation":{"$ref":"#/definitions/Contract_EmailInformation"},"ExternalInvoiceReference1":{"type":"string"},"ExternalInvoiceReference2":{"type":"string"},"Freight":{"type":"number","format":"double"},"Gross":{"type":"number","format":"double"},"HouseWork":{"type":"boolean"},"InvoiceDiscount":{"type":"number","format":"double"},"InvoiceInterval":{"type":"integer","format":"int32"},"InvoicesRemaining":{"type":"string"},"InvoiceRows":{"type":"array","items":{"$ref":"#/definitions/Contract_InvoiceRow"}},"Language":{"type":"string","enum":["SV","EN"]},"LastInvoiceDate":{"type":"string"},"Net":{"type":"number","format":"double"},"OurReference":{"type":"string","minLength":0,"maxLength":25},"PeriodEnd":{"type":"string","format":"date"},"PeriodStart":{"type":"string","format":"date"},"PriceList":{"type":"string"},"PrintTemplate":{"type":"string"},"Project":{"type":"string"},"Remarks":{"type":"string","minLength":0,"maxLength":1024},"RoundOff":{"type":"number","format":"double"},"TaxReduction":{"type":"number","format":"double"},"TemplateName":{"type":"string"},"TemplateNumber":{"type":"integer","format":"int32"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"Total":{"type":"number","format":"double"},"TotalToPay":{"type":"number","format":"double"},"TotalVAT":{"type":"number","format":"double"},"VatIncluded":{"type":"boolean"},"WayOfDelivery":{"type":"string"},"YourOrderNumber":{"type":"string","minLength":0,"maxLength":75},"YourReference":{"type":"string"},"TaxReductionType":{"type":"string","enum":["none","rot","rut","green"]}}},"OfferListItem_List":{"type":"object","properties":{"Offers":{"type":"array","items":{"$ref":"#/definitions/OfferListItem"}}}},"InvoiceAccrualListItem":{"type":"object","required":["Description","InvoiceNumber"],"properties":{"@url":{"type":"string"},"Description":{"type":"string"},"InvoiceNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY","1_MONTHS","2_MONTHS","3_MONTHS","6_MONTHS","12_MONTHS"]}}},"SalaryTransaction_Wrap":{"type":"object","required":["SalaryTransaction"],"properties":{"SalaryTransaction":{"$ref":"#/definitions/SalaryTransaction"}}},"Unit_List":{"type":"object","properties":{"Units":{"type":"array","items":{"$ref":"#/definitions/Unit"}}}},"SupplierInvoicePayment_Wrap":{"type":"object","properties":{"SupplierInvoicePayment":{"$ref":"#/definitions/SupplierInvoicePayment"}}},"ModeOfPayment":{"type":"object","required":["AccountNumber"],"properties":{"@url":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"AccountNumber":{"type":"string","minLength":4,"maxLength":4}}},"Article":{"type":"object","required":["Description"],"properties":{"@url":{"type":"string"},"ArticleNumber":{"type":"string","minLength":0,"maxLength":50},"Bulky":{"type":"boolean"},"ConstructionAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"Depth":{"type":"integer","format":"int32","minimum":0,"maximum":999999999},"Description":{"type":"string","minLength":1,"maxLength":200},"DisposableQuantity":{"type":"number","format":"double"},"EAN":{"type":"string","minLength":0,"maxLength":30},"EUAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"EUVATAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"ExportAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"Height":{"type":"integer","format":"int32","minimum":0,"maximum":999999999},"Housework":{"type":"boolean"},"HouseworkType":{"type":"string","enum":["CONSTRUCTION","ELECTRICITY","GLASSMETALWORK","GROUNDDRAINAGEWORK","MASONRY","PAINTINGWALLPAPERING","HVAC","CLEANING","TEXTILECLOTHING","COOKING","SNOWPLOWING","GARDENING","BABYSITTING","OTHERCARE","TUTORING","OTHERCOSTS"]},"Active":{"type":"boolean"},"Manufacturer":{"type":"string","minLength":0,"maxLength":50},"ManufacturerArticleNumber":{"type":"string","minLength":0,"maxLength":50},"Note":{"type":"string","minLength":0,"maxLength":10000},"PurchaseAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"PurchasePrice":{"type":"number","format":"double"},"QuantityInStock":{"type":"number","format":"double"},"ReservedQuantity":{"type":"number","format":"double"},"SalesAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":99999},"StockGoods":{"type":"boolean"},"StockPlace":{"type":"string","minLength":0,"maxLength":100},"StockValue":{"type":"number","format":"double"},"StockWarning":{"type":"number","format":"double"},"SupplierName":{"type":"string"},"SupplierNumber":{"type":"string"},"Type":{"type":"string","enum":["STOCK","SERVICE"]},"Unit":{"type":"string"},"VAT":{"type":"number","format":"double"},"WebshopArticle":{"type":"boolean"},"Weight":{"type":"integer","format":"int32","minimum":0,"maximum":999999999},"Width":{"type":"integer","format":"int32","minimum":0,"maximum":999999999},"Expired":{"type":"boolean"},"SalesPrice":{"type":"number","format":"double"},"CostCalculationMethod":{"type":"string"},"StockAccount":{"type":"integer","format":"int32"},"StockChangeAccount":{"type":"integer","format":"int32"},"DirectCost":{"type":"number","format":"double"},"FreightCost":{"type":"number","format":"double"},"OtherCost":{"type":"number","format":"double"},"DefaultStockPoint":{"type":"string"},"DefaultStockLocation":{"type":"string"}}},"TaxReduction":{"type":"object","required":["AskedAmount","CustomerName","ReferenceDocumentType","ReferenceNumber","SocialSecurityNumber"],"properties":{"@url":{"type":"string"},"ApprovedAmount":{"type":"number","format":"double"},"AskedAmount":{"type":"number","format":"double","minimum":1},"BilledAmount":{"type":"number","format":"double"},"CustomerName":{"type":"string","minLength":1,"maxLength":2147483647},"Id":{"type":"integer","format":"int32"},"PropertyDesignation":{"type":"string"},"ReferenceDocumentType":{"type":"string","enum":["OFFER","ORDER","INVOICE"]},"ReferenceNumber":{"type":"string"},"RequestSent":{"type":"boolean"},"ResidenceAssociationOrganisationNumber":{"type":"string"},"SocialSecurityNumber":{"type":"string","minLength":10,"maxLength":13},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"TaxReductionAmounts":{"type":"array","items":{"$ref":"#/definitions/TaxReduction_TaxReductionAmount"}}}},"Folder_FileRow_Wrap":{"type":"object","properties":{"File":{"$ref":"#/definitions/Folder_FileRow"}}},"IncomingGoodsListRow":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"hasDeliveryNote":{"type":"boolean"},"deliveryNoteId":{"type":"string"},"supplierNumber":{"type":"string"},"date":{"type":"string","format":"date"},"note":{"type":"string"},"voided":{"type":"boolean"},"completed":{"type":"boolean"},"released":{"type":"boolean"},"stockPointId":{"type":"string","format":"uuid"},"supplierName":{"type":"string"},"unmatchedValue":{"type":"number"}}},"Invoice_Label":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"}}},"SupplierInvoicePayment":{"type":"object","required":["InvoiceNumber"],"properties":{"@url":{"type":"string"},"Amount":{"type":"number","format":"double"},"AmountCurrency":{"type":"number","format":"double"},"Booked":{"type":"boolean"},"Currency":{"type":"string","minLength":3,"maxLength":3},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"Information":{"type":"string"},"InvoiceNumber":{"type":"string"},"InvoiceDueDate":{"type":"string","format":"date"},"InvoiceOCR":{"type":"string"},"InvoiceSupplierName":{"type":"string"},"InvoiceSupplierNumber":{"type":"string"},"InvoiceTotal":{"type":"string"},"ModeOfPayment":{"type":"string"},"Number":{"type":"integer","format":"int32"},"PaymentDate":{"type":"string","format":"date"},"Source":{"type":"string","enum":["manual","direct"]},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"VoucherYear":{"type":"integer","format":"int32"},"WriteOffs":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoicePayment_WriteOff"}}}},"TRItem":{"type":"object","properties":{"id":{"type":"string","minLength":0,"maxLength":40},"description":{"type":"string","minLength":0,"maxLength":255},"active":{"type":"boolean"},"purchasePrice":{"type":"number"},"salesPrices":{"type":"array","items":{"$ref":"#/definitions/TRItemPrice"}},"type":{"type":"string","enum":["SERVICE","STOCK"]},"unit":{"type":"string"},"isStock":{"type":"boolean"}}},"Folder":{"type":"object","properties":{"@url":{"type":"string"},"Email":{"type":"string"},"Files":{"type":"array","items":{"$ref":"#/definitions/Folder_FileRow"}},"Folders":{"type":"array","items":{"$ref":"#/definitions/Folder_FolderRow"}},"Id":{"type":"string"},"Name":{"type":"string"}}},"Order_OrderRow":{"type":"object","properties":{"AccountNumber":{"type":"integer","format":"int32"},"ArticleNumber":{"type":"string"},"ContributionPercent":{"type":"string"},"ContributionValue":{"type":"string"},"CostCenter":{"type":"string"},"DeliveredQuantity":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["AMOUNT","PERCENT"]},"HouseWork":{"type":"boolean"},"HouseWorkHoursToReport":{"type":"integer","format":"int32"},"HouseWorkType":{"type":"string","enum":["CONSTRUCTION","ELECTRICITY","GLASSMETALWORK","GROUNDDRAINAGEWORK","MASONRY","PAINTINGWALLPAPERING","MOVINGSERVICES","ITSERVICES","CLEANING","TEXTILECLOTHING","SNOWPLOWING","GARDENING","BABYSITTING","OTHERCARE","OTHERCOSTS"]},"OrderedQuantity":{"type":"string"},"Price":{"type":"number","format":"double"},"Project":{"type":"string"},"ReservedQuantity":{"type":"string"},"RowId":{"type":"integer","format":"int32"},"StockPointCode":{"type":"string"},"StockPointId":{"type":"string"},"Total":{"type":"number","format":"double"},"Unit":{"type":"string"},"VAT":{"type":"number","format":"double"}}},"TermsOfDelivery_List":{"type":"object","properties":{"TermsOfDeliveries":{"type":"array","items":{"$ref":"#/definitions/TermsOfDelivery"}}}},"VoucherSeriesListItem_List":{"type":"object","properties":{"VoucherSeriesCollection":{"type":"array","items":{"$ref":"#/definitions/VoucherSeriesListItem"}}}},"WayOfDelivery_Wrap":{"type":"object","properties":{"WayOfDelivery":{"$ref":"#/definitions/WayOfDelivery"}}},"Sell":{"type":"object","properties":{"Percentage":{"type":"integer","format":"int32"},"Price":{"type":"integer","format":"int32"},"Comment":{"type":"string"},"Date":{"type":"string"}}},"CompanyInfo_Wrap":{"type":"object","properties":{"CompanyInformation":{"$ref":"#/definitions/CompanyInfo"}}},"Supplier":{"type":"object","required":["Name"],"properties":{"@url":{"type":"string"},"Active":{"type":"boolean"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Bank":{"type":"string"},"BankAccountNumber":{"type":"string"},"BG":{"type":"string"},"BIC":{"type":"string"},"BranchCode":{"type":"string"},"City":{"type":"string","minLength":0,"maxLength":1024},"ClearingNumber":{"type":"string"},"Comments":{"type":"string","minLength":0,"maxLength":1024},"CostCenter":{"type":"string"},"Country":{"type":"string"},"CountryCode":{"type":"string","minLength":0,"maxLength":2},"Currency":{"type":"string","minLength":0,"maxLength":3},"DisablePaymentFile":{"type":"boolean"},"Email":{"type":"string"},"Fax":{"type":"string"},"IBAN":{"type":"string"},"Name":{"type":"string","minLength":1,"maxLength":1024},"OrganisationNumber":{"type":"string"},"OurReference":{"type":"string"},"OurCustomerNumber":{"type":"string"},"PG":{"type":"string"},"Phone1":{"type":"string","minLength":0,"maxLength":1024},"Phone2":{"type":"string","minLength":0,"maxLength":1024},"PreDefinedAccount":{"type":"string","minLength":4,"maxLength":4},"Project":{"type":"string"},"SupplierNumber":{"type":"string"},"TermsOfPayment":{"type":"string"},"VATNumber":{"type":"string"},"VATType":{"type":"string"},"VisitingAddress":{"type":"string"},"VisitingCity":{"type":"string"},"VisitingCountry":{"type":"string"},"VisitingCountryCode":{"type":"string"},"VisitingZipCode":{"type":"string"},"WorkPlace":{"type":"string"},"WWW":{"type":"string"},"YourReference":{"type":"string"},"ZipCode":{"type":"string"}}},"Asset_Single":{"type":"object","properties":{"Assets":{"$ref":"#/definitions/Asset"}}},"AbsenceTransactionListItem":{"type":"object","required":["CauseCode","Date","EmployeeId"],"properties":{"@url":{"type":"string"},"id":{"type":"string","format":"uuid"},"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"CauseCode":{"type":"string","minLength":3,"maxLength":3,"enum":["ASK","FPE","FRA","HAV","KOM","MIL","NAR","OS1","OS2","OS3","OS4","OS5","PAP","PEM","PER","SEM","SJK","SMB","SVE","TJL","UTB","VAB"]},"Date":{"type":"string","format":"date"},"Extent":{"type":"number","format":"float"},"Hours":{"type":"number","format":"float"},"HolidayEntitling":{"type":"boolean"},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"ExpenseListItem_Wrap":{"type":"object","properties":{"Expenses":{"type":"array","items":{"$ref":"#/definitions/ExpenseListItem"}}}},"ContractTemplate_Wrap":{"type":"object","properties":{"ContractTemplate":{"$ref":"#/definitions/ContractTemplate"}}},"CreateAsset":{"type":"object","properties":{"Number":{"type":"string"},"Description":{"type":"string"},"Notes":{"type":"string"},"Type":{"type":"integer","format":"int32"},"AccountAssetId":{"type":"integer","format":"int32"},"AccountDepreciationId":{"type":"integer","format":"int32"},"AccountValueLossId":{"type":"integer","format":"int32"}}},"PredefinedVoucherSeries_List":{"type":"object","properties":{"PreDefinedVoucherSeriesCollection":{"type":"array","items":{"$ref":"#/definitions/PredefinedVoucherSeries"}}}},"PurchaseOrderRow":{"type":"object","required":["currencyCode","itemId","orderedQuantity","remainingOrderedQuantity"],"properties":{"id":{"type":"string","format":"uuid"},"purchaseOrderId":{"type":"integer","format":"int64"},"itemId":{"type":"string","minLength":1,"maxLength":50},"orderedQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"itemDescription":{"type":"string"},"itemUnit":{"type":"string"},"rowNum":{"type":"integer","format":"int64"},"projectId":{"type":"string","minLength":0,"maxLength":25},"costCenterCode":{"type":"string","minLength":0,"maxLength":25},"remainingOrderedQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"currencyCode":{"type":"string","minLength":3,"maxLength":3},"price":{"type":"number","minimum":0,"exclusiveMinimum":false},"receivedQuantity":{"type":"number"},"backOrderQuantity":{"type":"number"},"stockPointId":{"type":"string","format":"uuid"},"stockLocationId":{"type":"string","format":"uuid"},"stockPointCode":{"type":"string"},"stockPointName":{"type":"string"},"stockLocationCode":{"type":"string"},"stockLocationName":{"type":"string"},"isStockItem":{"type":"boolean"},"notes":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRowNote"}}}},"Invoice_EDIInformation":{"type":"object","properties":{"EDIGlobalLocationNumber":{"type":"string","minLength":0,"maxLength":13},"EDIGlobalLocationNumberDelivery":{"type":"string","minLength":0,"maxLength":13},"EDIInvoiceExtra1":{"type":"string"},"EDIInvoiceExtra2":{"type":"string"},"EDIOurElectronicReference":{"type":"string"},"EDIYourElectronicReference":{"type":"string"},"EDIStatus":{"type":"string"}}},"InvoiceAccrualListItem_List":{"type":"object","properties":{"InvoiceAccruals":{"type":"array","items":{"$ref":"#/definitions/InvoiceAccrualListItem"}}}},"IncomingGoodsRow":{"type":"object","required":["backOrderQuantity","invoicedQuantity","itemId","orderedQuantity","receivedQuantity","takenQuantity"],"properties":{"itemId":{"type":"string","minLength":1,"maxLength":50},"receivedQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"backOrderQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"id":{"type":"string","format":"uuid"},"itemDescription":{"type":"string"},"stockPointId":{"type":"string","format":"uuid"},"stockPointCode":{"type":"string"},"stockPointName":{"type":"string"},"stockLocationId":{"type":"string","format":"uuid"},"stockLocationCode":{"type":"string"},"stockLocationName":{"type":"string"},"takenQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"costCenterCode":{"type":"string"},"projectId":{"type":"string"},"invoicedQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"itemUnit":{"type":"string"},"purchaseOrderId":{"type":"integer","format":"int64"},"orderedQuantity":{"type":"number","minimum":0,"exclusiveMinimum":false},"purchaseOrderRowId":{"type":"string","format":"uuid"},"rowOrder":{"type":"integer","format":"int32"},"batch":{"type":"string","minLength":0,"maxLength":50},"isStockItem":{"type":"boolean"},"remainingOrderedQuantity":{"type":"number"},"directCost":{"type":"number"}}},"ContractTemplateListItem":{"type":"object","properties":{"@url":{"type":"string"},"ContractLength":{"type":"integer","format":"int32","minimum":1,"maximum":9999},"ContractTemplate":{"type":"integer","format":"int32"},"ContractTemplateName":{"type":"string"},"InvoiceInterval":{"type":"integer","format":"int32","minimum":1,"maximum":9999}}},"Scrap":{"type":"object","properties":{"Percentage":{"type":"integer","format":"int32"},"Comment":{"type":"string"},"Date":{"type":"string"}}},"VoucherSeries_Approver":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"},"Name":{"type":"string"}}},"DepreciationResponse_Wrap":{"type":"object","properties":{"AssetsDepreciation":{"type":"array","items":{"$ref":"#/definitions/DepreciationResponse"}}}},"ContractAccrualListItem":{"type":"object","required":["Description","DocumentNumber"],"properties":{"@url":{"type":"string"},"Description":{"type":"string"},"DocumentNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY"]}}},"PurchaseOrder":{"type":"object","required":["currencyCode","currencyRate","deliveryAddress","deliveryCity","deliveryName","deliveryZipCode","orderDate","paymentTermsCode","supplierNumber"],"properties":{"deliveryDate":{"type":"string","format":"date"},"note":{"type":"string","minLength":0,"maxLength":1000},"internalReference":{"type":"string","minLength":0,"maxLength":50},"supplierName":{"type":"string","minLength":0,"maxLength":1024},"messageToSupplier":{"type":"string","minLength":0,"maxLength":1000},"id":{"type":"integer","format":"int64"},"orderDate":{"type":"string","format":"date"},"supplierNumber":{"type":"string","minLength":0,"maxLength":1024},"rows":{"type":"array","items":{"$ref":"#/definitions/PurchaseOrderRow"}},"stockPointId":{"type":"string","format":"uuid"},"deliveryName":{"type":"string","minLength":1,"maxLength":50},"deliveryAddress":{"type":"string","minLength":1,"maxLength":1024},"deliveryAddress2":{"type":"string","minLength":0,"maxLength":1024},"deliveryZipCode":{"type":"string","minLength":1,"maxLength":10},"deliveryCity":{"type":"string","minLength":1,"maxLength":50},"deliveryCountryCode":{"type":"string","minLength":0,"maxLength":3},"supplierAddress":{"type":"string","minLength":0,"maxLength":1024},"supplierAddress2":{"type":"string","minLength":0,"maxLength":1024},"supplierPostCode":{"type":"string","minLength":0,"maxLength":1024},"supplierCity":{"type":"string","minLength":0,"maxLength":1024},"supplierCountryCode":{"type":"string","minLength":0,"maxLength":3},"paymentTermsCode":{"type":"string","minLength":0,"maxLength":20},"languageCode":{"type":"string","minLength":0,"maxLength":3},"currencyCode":{"type":"string","minLength":0,"maxLength":3},"ourReference":{"type":"string","minLength":0,"maxLength":50},"yourReference":{"type":"string","minLength":0,"maxLength":50},"confirmationEmail":{"type":"string","minLength":0,"maxLength":100},"projectId":{"type":"string","minLength":0,"maxLength":25},"costCenterCode":{"type":"string","minLength":0,"maxLength":25},"stockPointCode":{"type":"string"},"totalReceivedQuantity":{"type":"number"},"voided":{"type":"boolean"},"responseState":{"type":"string","enum":["NOT_SENT","SENT","ACCEPTED_WITH_REQ_DLV_DATE","ACCEPTED_WITH_CHANGED_DLV_DATE","PARTLY_ACCEPTED_WITH_REQ_DLV_DATE","PARTLY_ACCEPTED_WITH_CHANGED_DLV_DATE","REJECTED"]},"purchaseOrderState":{"type":"string","enum":["NOT_SENT","SENT","SENT_NOT_REJECTED","DELAYED","RECEIVED","VOIDED","CURRENT","ALL"]},"supplierEmail":{"type":"string","minLength":0,"maxLength":100},"currencyRate":{"type":"number"},"currencyUnit":{"type":"integer","format":"int32","minimum":1},"orderValue":{"type":"number"},"manuallyCompleted":{"type":"boolean"},"purchaseType":{"type":"string","enum":["WAREHOUSE","DROPSHIP"]},"customerId":{"type":"string","minLength":0,"maxLength":25},"customerNumber":{"type":"string","minLength":0,"maxLength":1024},"customerName":{"type":"string","minLength":0,"maxLength":1024},"orderValueInSEK":{"type":"number"},"supplier":{"type":"string"},"translatedResponseState":{"type":"string"},"outboundDocumentReference":{"$ref":"#/definitions/DocumentReference"}}},"LockedPeriod":{"type":"object","properties":{"EndDate":{"type":"string","format":"date"}}},"TaxReduction_TaxReductionAmount":{"type":"object","required":["askedAmount","workType"],"properties":{"askedAmount":{"type":"number","format":"double","minimum":1},"workType":{"type":"string","enum":["SOLARCELLS","STORAGESELFPRODUCEDELECTRICITY","CHARGINGSTATIONELECTRICVEHICLE"]}}},"ContractTemplateListItem_List":{"type":"object","properties":{"ContractTemplates":{"type":"array","items":{"$ref":"#/definitions/ContractTemplateListItem"}}}},"CustomerReference_CustomerReferenceRow_Wrap":{"type":"object","properties":{"CustomerReferenceRow":{"$ref":"#/definitions/CustomerReference_CustomerReferenceRow"}}},"EmployeeListItem_Wrap":{"type":"object","properties":{"Employees":{"type":"array","items":{"$ref":"#/definitions/EmployeeListItem"}}}},"ProjectListItem_List":{"type":"object","properties":{"Projects":{"type":"array","items":{"$ref":"#/definitions/ProjectListItem"}}}},"ContractAccrual":{"type":"object","required":["AccrualAccount","AccrualRows","CostAccount","Description","DocumentNumber","Total"],"properties":{"@url":{"type":"string"},"AccrualAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"CostAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Description":{"type":"string"},"AccrualRows":{"type":"array","items":{"$ref":"#/definitions/ContractAccrual_AccrualRow"},"maxItems":2147483647,"minItems":2},"DocumentNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY"]},"Times":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"}}},"PredefinedVoucherSeries_Wrap":{"type":"object","properties":{"PreDefinedVoucherSeries":{"$ref":"#/definitions/PredefinedVoucherSeries"}}},"TrustedEmailSender_RejectedSender":{"type":"object","required":["Email"],"properties":{"Id":{"type":"integer","format":"int32"},"Email":{"type":"string"}}},"ProjectListItem":{"type":"object","required":["Description"],"properties":{"@url":{"type":"string"},"Description":{"type":"string","minLength":1,"maxLength":50},"EndDate":{"type":"string","format":"date"},"ProjectLeader":{"type":"string","minLength":0,"maxLength":50},"ProjectNumber":{"type":"string","minLength":0,"maxLength":20},"Status":{"type":"string","enum":["NOTSTARTED","ONGOING","COMPLETED"]},"StartDate":{"type":"string","format":"date"}}},"Unit":{"type":"object","required":["Code","Description"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":20},"Description":{"type":"string","minLength":1,"maxLength":100},"CodeEnglish":{"type":"string","minLength":0,"maxLength":100}}},"AccountSingleItem_Wrap":{"type":"object","properties":{"Account":{"$ref":"#/definitions/AccountSingleItem"}}},"Employee_Wrap":{"type":"object","properties":{"Employee":{"$ref":"#/definitions/Employee"}}},"InvoicePayload_EmailInformation":{"type":"object","properties":{"EmailAddressFrom":{"type":"string"},"EmailAddressTo":{"type":"string"},"EmailAddressCC":{"type":"string"},"EmailAddressBCC":{"type":"string"},"EmailSubject":{"type":"string","minLength":0,"maxLength":100},"EmailBody":{"type":"string","minLength":0,"maxLength":20000}}},"TermsOfPayment_List":{"type":"object","properties":{"TermsOfPayments":{"type":"array","items":{"$ref":"#/definitions/TermsOfPayment"}}}},"Offer_EmailInformation":{"type":"object","properties":{"EmailAddressFrom":{"type":"string"},"EmailAddressTo":{"type":"string"},"EmailAddressCC":{"type":"string"},"EmailAddressBCC":{"type":"string"},"EmailSubject":{"type":"string","minLength":0,"maxLength":100},"EmailBody":{"type":"string","minLength":0,"maxLength":20000}}},"TermsOfPayment":{"type":"object","required":["Code","Description"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":25},"Description":{"type":"string"}}},"StockPoint":{"type":"object","required":["code","name"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","minLength":1,"maxLength":10},"name":{"type":"string","minLength":1,"maxLength":25},"stockLocations":{"type":"array","items":{"$ref":"#/definitions/StockLocation"}},"usingCompanyAddress":{"type":"boolean"},"deliveryName":{"type":"string","minLength":0,"maxLength":50},"deliveryAddress":{"type":"string","minLength":0,"maxLength":50},"deliveryAddress2":{"type":"string","minLength":0,"maxLength":50},"deliveryZipCode":{"type":"string","minLength":0,"maxLength":10},"deliveryCity":{"type":"string","minLength":0,"maxLength":50},"deliveryPhone":{"type":"string","minLength":0,"maxLength":50},"deliveryCountryCode":{"type":"string","minLength":0,"maxLength":3},"active":{"type":"boolean"}}},"CustomDocumentType":{"type":"object","required":["category","referenceType"],"properties":{"referenceType":{"type":"string","minLength":1,"maxLength":25,"pattern":"[a-zA-Z0-9_-]+"},"category":{"type":"string","enum":["INBOUND","OUTBOUND"]}}},"SupplierInvoiceFileConnection_List":{"type":"object","properties":{"SupplierInvoiceFileConnections":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoiceFileConnection"}}}},"SupplierInvoiceExternalURLConnection_Single":{"type":"object","properties":{"SupplierInvoiceExternalURLConnection":{"$ref":"#/definitions/SupplierInvoiceExternalURLConnection"}}},"CustomInboundDocument":{"type":"object","required":["date","rows"],"properties":{"id":{"type":"string","minLength":1,"maxLength":25,"pattern":"^[0-9]+"},"type":{"type":"string","minLength":1,"maxLength":25,"pattern":"[a-zA-Z0-9_-]+"},"date":{"type":"string","format":"date"},"currency":{"$ref":"#/definitions/Currency"},"note":{"type":"string","minLength":0,"maxLength":1000},"warehouseReady":{"type":"boolean"},"voided":{"type":"boolean"},"rows":{"type":"array","items":{"$ref":"#/definitions/CustomInboundDocumentRow"}}}},"InvoicePayload":{"type":"object","required":["CustomerNumber"],"properties":{"AdministrationFee":{"type":"number","format":"double"},"Address1":{"type":"string"},"Address2":{"type":"string"},"City":{"type":"string","minLength":0,"maxLength":1024},"Comments":{"type":"string","minLength":0,"maxLength":1024},"Country":{"type":"string"},"CostCenter":{"type":"string"},"CreditInvoiceReference":{"type":"string"},"Currency":{"type":"string"},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"integer","format":"int32"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DeliveryAddress1":{"type":"string","minLength":0,"maxLength":1024},"DeliveryAddress2":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCity":{"type":"string","minLength":0,"maxLength":1024},"DeliveryCountry":{"type":"string"},"DeliveryDate":{"type":"string","format":"date"},"DeliveryName":{"type":"string","minLength":0,"maxLength":1024},"DeliveryZipCode":{"type":"string","minLength":0,"maxLength":1024},"DocumentNumber":{"type":"string"},"DueDate":{"type":"string","format":"date"},"EDIInformation":{"$ref":"#/definitions/InvoicePayload_EDIInformation"},"EmailInformation":{"$ref":"#/definitions/InvoicePayload_EmailInformation"},"EUQuarterlyReport":{"type":"boolean"},"ExternalInvoiceReference1":{"type":"string","minLength":0,"maxLength":80},"ExternalInvoiceReference2":{"type":"string","minLength":0,"maxLength":80},"Freight":{"type":"number","format":"double"},"InvoiceDate":{"type":"string","format":"date"},"InvoiceRows":{"type":"array","items":{"$ref":"#/definitions/InvoicePayload_InvoiceRow"}},"InvoiceType":{"type":"string","enum":["INVOICE","AGREEMENTINVOICE","INTRESTINVOICE","SUMMARYINVOICE","CASHINVOICE"]},"Labels":{"type":"array","items":{"$ref":"#/definitions/InvoicePayload_Label"}},"Language":{"type":"string","enum":["SV","EN"]},"NotCompleted":{"type":"boolean"},"OCR":{"type":"string"},"OurReference":{"type":"string","minLength":0,"maxLength":50},"PaymentWay":{"type":"string"},"Phone1":{"type":"string","minLength":0,"maxLength":1024},"Phone2":{"type":"string","minLength":0,"maxLength":1024},"PriceList":{"type":"string"},"PrintTemplate":{"type":"string"},"Project":{"type":"string"},"OutboundDate":{"type":"string","format":"date"},"Remarks":{"type":"string","minLength":0,"maxLength":1024},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"VATIncluded":{"type":"boolean"},"WayOfDelivery":{"type":"string"},"YourOrderNumber":{"type":"string","minLength":0,"maxLength":75},"YourReference":{"type":"string","minLength":0,"maxLength":50},"ZipCode":{"type":"string","minLength":0,"maxLength":1024},"TaxReductionType":{"type":"string","enum":["none","rot","rut","green"]}}},"AbsenceTransactionPayload_Wrap":{"type":"object","properties":{"AbsenceTransaction":{"$ref":"#/definitions/AbsenceTransactionPayload"}}},"Contract_EmailInformation":{"type":"object","properties":{"EmailAddressFrom":{"type":"string"},"EmailAddressTo":{"type":"string"},"EmailAddressCC":{"type":"string"},"EmailAddressBCC":{"type":"string"},"EmailSubject":{"type":"string"},"EmailBody":{"type":"string"}}},"CustomInboundDocumentRow":{"type":"object","required":["itemId","quantity"],"properties":{"rowId":{"type":"integer","format":"int64","minimum":1},"itemId":{"type":"string","minLength":1,"maxLength":50},"quantity":{"type":"number"},"directCost":{"type":"number"},"freightCost":{"type":"number"},"otherCost":{"type":"number"},"batch":{"type":"string","minLength":0,"maxLength":50},"stockPointId":{"type":"string","format":"uuid"},"stockLocationId":{"type":"string","format":"uuid"},"costCenterCode":{"type":"string","minLength":1,"maxLength":25},"projectId":{"type":"string","minLength":1,"maxLength":25},"itemDescription":{"type":"string","minLength":0,"maxLength":200},"itemUnit":{"type":"string","minLength":0,"maxLength":50},"stockPointCode":{"type":"string"},"stockLocationCode":{"type":"string"}}},"ArticleFileConnectionListItem":{"type":"object","required":["ArticleNumber","FileId"],"properties":{"@url":{"type":"string"},"FileId":{"type":"string"},"ArticleNumber":{"type":"string"}}},"Order":{"type":"object","required":["CustomerNumber"],"properties":{"@url":{"type":"string"},"@urlTaxReductionList":{"type":"string"},"AdministrationFee":{"type":"number","format":"double"},"AdministrationFeeVAT":{"type":"number","format":"double"},"Address1":{"type":"string"},"Address2":{"type":"string"},"BasisTaxReduction":{"type":"number","format":"double"},"Cancelled":{"type":"boolean"},"City":{"type":"string"},"Comments":{"type":"string"},"ContributionPercent":{"type":"number","format":"double"},"ContributionValue":{"type":"number","format":"double"},"CopyRemarks":{"type":"boolean"},"Country":{"type":"string"},"CostCenter":{"type":"string"},"Currency":{"type":"string","minLength":0,"maxLength":3},"CurrencyRate":{"type":"number","format":"double"},"CurrencyUnit":{"type":"number","format":"double"},"CustomerName":{"type":"string"},"CustomerNumber":{"type":"string"},"DeliveryState":{"type":"string","enum":["registration","reservation","delivery"]},"DeliveryAddress1":{"type":"string"},"DeliveryAddress2":{"type":"string"},"DeliveryCity":{"type":"string"},"DeliveryCountry":{"type":"string"},"DeliveryDate":{"type":"string","format":"date"},"DeliveryName":{"type":"string"},"DeliveryZipCode":{"type":"string"},"DocumentNumber":{"type":"string"},"EmailInformation":{"$ref":"#/definitions/Order_EmailInformation"},"ExternalInvoiceReference1":{"type":"string"},"ExternalInvoiceReference2":{"type":"string"},"Freight":{"type":"number","format":"double"},"FreightVAT":{"type":"number","format":"double"},"Gross":{"type":"number","format":"double"},"HouseWork":{"type":"boolean"},"InvoiceReference":{"type":"string"},"Labels":{"type":"array","items":{"$ref":"#/definitions/Order_Label"}},"Language":{"type":"string"},"Net":{"type":"number","format":"double"},"NotCompleted":{"type":"boolean"},"OfferReference":{"type":"string"},"OrderDate":{"type":"string","format":"date"},"OrderRows":{"type":"array","items":{"$ref":"#/definitions/Order_OrderRow"}},"OrderType":{"type":"string"},"OrganisationNumber":{"type":"string"},"OurReference":{"type":"string","minLength":0,"maxLength":50},"Phone1":{"type":"string"},"Phone2":{"type":"string"},"PriceList":{"type":"string"},"PrintTemplate":{"type":"string"},"Project":{"type":"string"},"WarehouseReady":{"type":"boolean"},"OutboundDate":{"type":"string","format":"date"},"Remarks":{"type":"string","minLength":0,"maxLength":1024},"RoundOff":{"type":"number","format":"double"},"Sent":{"type":"boolean"},"TaxReduction":{"type":"number","format":"double"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"TimeBasisReference":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"TotalToPay":{"type":"number","format":"double"},"TotalVAT":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"},"WayOfDelivery":{"type":"string"},"YourReference":{"type":"string","minLength":0,"maxLength":50},"YourOrderNumber":{"type":"string","minLength":0,"maxLength":75},"ZipCode":{"type":"string"},"StockPointCode":{"type":"string"},"StockPointId":{"type":"string"},"TaxReductionType":{"type":"string","enum":["none","rot","rut","green"]}}},"SupplierInvoiceFileConnection":{"type":"object","properties":{"@url":{"type":"string"},"FileId":{"type":"string"},"Name":{"type":"string"},"SupplierInvoiceNumber":{"type":"string"},"SupplierName":{"type":"string"}}},"StockBalance":{"type":"object","properties":{"itemId":{"type":"string"},"availableStock":{"type":"number"},"inStock":{"type":"number"},"stockPointCode":{"type":"string"}}},"TrustedEmailSender_TrustedSender_Wrap":{"type":"object","properties":{"TrustedSender":{"$ref":"#/definitions/TrustedEmailSender_TrustedSender"}}},"VoucherListItem":{"type":"object","properties":{"@url":{"type":"string"},"Comments":{"type":"string"},"Description":{"type":"string"},"ReferenceNumber":{"type":"string"},"ReferenceType":{"type":"string","enum":["INVOICE","SUPPLIERINVOICE","INVOICEPAYMENT","SUPPLIERPAYMENT","MANUAL","CASHINVOICE","ACCRUAL"]},"TransactionDate":{"type":"string","format":"date"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherSeries":{"type":"string"},"Year":{"type":"integer","format":"int32"},"ApprovalState":{"type":"integer","format":"int32"}}},"Currency_List":{"type":"object","properties":{"Currencies":{"type":"array","items":{"$ref":"#/definitions/Currency"}}}},"PrintTemplate":{"type":"object","required":["Template"],"properties":{"Template":{"type":"string"},"Name":{"type":"string","minLength":1,"maxLength":25}}},"InvoicePaymentListItem_List":{"type":"object","properties":{"InvoicePayments":{"type":"array","items":{"$ref":"#/definitions/InvoicePaymentListItem"}}}},"VoucherFileConnection_List":{"type":"object","properties":{"VoucherFileConnections":{"type":"array","items":{"$ref":"#/definitions/VoucherFileConnection"}}}},"TrustedEmailSender_Wrap":{"type":"object","properties":{"EmailSenders":{"$ref":"#/definitions/TrustedEmailSender"}}},"Price":{"type":"object","required":["ArticleNumber","PriceList"],"properties":{"@url":{"type":"string"},"ArticleNumber":{"type":"string"},"Date":{"type":"string","format":"date-time"},"FromQuantity":{"type":"number","format":"double"},"Percent":{"type":"number","format":"double"},"Price":{"type":"number","format":"double"},"PriceList":{"type":"string"}}},"CustomerListItem":{"type":"object","required":["Name"],"properties":{"@url":{"type":"string"},"Address1":{"type":"string","minLength":0,"maxLength":1024},"Address2":{"type":"string","minLength":0,"maxLength":1024},"City":{"type":"string","minLength":0,"maxLength":1024},"CustomerNumber":{"type":"string","minLength":0,"maxLength":1024},"Email":{"type":"string","minLength":0,"maxLength":1024},"Name":{"type":"string","minLength":1,"maxLength":1024},"OrganisationNumber":{"type":"string","minLength":0,"maxLength":30},"Phone":{"type":"string","minLength":0,"maxLength":1024},"ZipCode":{"type":"string","minLength":0,"maxLength":10}}},"Me":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Email":{"type":"string"},"SysAdmin":{"type":"boolean"},"Locale":{"type":"string"}}},"DetailedRegistration":{"type":"object","required":["registrationCode","workedDate"],"properties":{"id":{"type":"string","format":"uuid"},"costCenter":{"$ref":"#/definitions/TRCostCenter"},"customer":{"$ref":"#/definitions/TRCustomer"},"project":{"$ref":"#/definitions/TRProject"},"service":{"$ref":"#/definitions/TRItem"},"registrationCode":{"$ref":"#/definitions/RegistrationCode"},"workedDate":{"type":"string","format":"date"},"workedHours":{"type":"number","format":"float"},"chargeHours":{"type":"number","format":"float"},"startTime":{"type":"string","format":"date-time"},"stopTime":{"type":"string","format":"date-time"},"invoiceText":{"type":"string","minLength":0,"maxLength":1000},"note":{"type":"string","minLength":0,"maxLength":1000},"userId":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"invoiceBasisId":{"type":"integer","format":"int64"},"nonInvoiceable":{"type":"boolean"},"childId":{"type":"string","format":"uuid"},"createdTime":{"type":"string","format":"date-time"},"unitCost":{"type":"number"},"unitPrice":{"type":"number"},"documentId":{"type":"integer","format":"int64"},"documentType":{"type":"string","enum":["order","invoice"]}}},"VoucherSeries_Wrap":{"type":"object","required":["VoucherSeries"],"properties":{"VoucherSeries":{"$ref":"#/definitions/VoucherSeries"}}},"CompanyInfo":{"type":"object","properties":{"Address":{"type":"string"},"City":{"type":"string"},"CountryCode":{"type":"string"},"DatabaseNumber":{"type":"integer","format":"int32"},"CompanyName":{"type":"string"},"OrganizationNumber":{"type":"string"},"VisitAddress":{"type":"string"},"VisitCity":{"type":"string"},"VisitCountryCode":{"type":"string"},"VisitZipCode":{"type":"string"},"ZipCode":{"type":"string"}}},"SalaryTransactionListItem":{"type":"object","required":["Date","EmployeeId","SalaryCode"],"properties":{"@url":{"type":"string"},"EmployeeId":{"type":"string"},"SalaryCode":{"type":"string"},"SalaryRow":{"type":"integer","format":"int32"},"Date":{"type":"string","format":"date"},"Number":{"type":"string"},"Amount":{"type":"string"},"Total":{"type":"string"},"Expense":{"type":"string","minLength":0,"maxLength":6},"VAT":{"type":"string"},"TextRow":{"type":"string","minLength":0,"maxLength":40},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"AccountSingleItem":{"type":"object","required":["Description","Number"],"properties":{"@url":{"type":"string"},"Active":{"type":"boolean"},"BalanceBroughtForward":{"type":"number","format":"double"},"CostCenter":{"type":"string"},"CostCenterSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"Description":{"type":"string","minLength":1,"maxLength":200},"Number":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Project":{"type":"string"},"ProjectSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"SRU":{"type":"integer","format":"int32"},"Year":{"type":"integer","format":"int32"},"VATCode":{"type":"string"},"BalanceCarriedForward":{"type":"number","format":"double"},"TransactionInformation":{"type":"string"},"TransactionInformationSettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"QuantitySettings":{"type":"string","enum":["ALLOWED","MANDATORY","NOTALLOWED"]},"QuantityUnit":{"type":"string"},"OpeningQuantities":{"type":"array","items":{"$ref":"#/definitions/AccountSingleItem_OpeningQuantities"}}}},"Sell_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/Sell"}}},"AbsenceTransactionSingleItem":{"type":"object","required":["CauseCode","Date","EmployeeId"],"properties":{"@url":{"type":"string"},"id":{"type":"string","format":"uuid"},"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"CauseCode":{"type":"string","minLength":3,"maxLength":3,"enum":["ASK","FPE","FRA","HAV","KOM","MIL","NAR","OS1","OS2","OS3","OS4","OS5","PAP","PEM","PER","SEM","SJK","SMB","SVE","TJL","UTB","VAB"]},"Date":{"type":"string","format":"date"},"Extent":{"type":"number","format":"float"},"Hours":{"type":"number","format":"float"},"HolidayEntitling":{"type":"boolean"},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"ArticleFileConnection_Wrap":{"type":"object","required":["ArticleFileConnection"],"properties":{"ArticleFileConnection":{"$ref":"#/definitions/ArticleFileConnection"}}},"InvoicePayload_Wrap":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoicePayload"}}},"Contract_InvoiceRow":{"type":"object","required":["ArticleNumber","DeliveredQuantity"],"properties":{"AccountNumber":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"ArticleNumber":{"type":"string"},"ContributionPercent":{"type":"string"},"ContributionValue":{"type":"string"},"CostCenter":{"type":"string"},"DeliveredQuantity":{"type":"string"},"Description":{"type":"string"},"Discount":{"type":"number","format":"double"},"DiscountType":{"type":"string","enum":["AMOUNT","PERCENT"]},"HouseWork":{"type":"boolean"},"HouseWorkHoursToReport":{"type":"integer","format":"int32"},"HouseWorkType":{"type":"string"},"Price":{"type":"number","format":"double"},"PriceExcludingVAT":{"type":"number","format":"double"},"Project":{"type":"string"},"RowId":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"TotalExcludingVAT":{"type":"number","format":"double"},"Unit":{"type":"string"},"VAT":{"type":"number","format":"double"}}},"Customer_Wrap":{"type":"object","properties":{"Customer":{"$ref":"#/definitions/Customer"}}},"CostCenter_List":{"type":"object","properties":{"CostCenters":{"type":"array","items":{"$ref":"#/definitions/CostCenter"}}}},"TenantInfo":{"type":"object","properties":{"tenantId":{"type":"integer","format":"int64"},"activated":{"type":"boolean"}}},"Invoice_Wrap":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/Invoice"}}},"InvoicePayload_EDIInformation":{"type":"object","properties":{"EDIGlobalLocationNumber":{"type":"string","minLength":0,"maxLength":13},"EDIGlobalLocationNumberDelivery":{"type":"string","minLength":0,"maxLength":13},"EDIInvoiceExtra1":{"type":"string"},"EDIInvoiceExtra2":{"type":"string"},"EDIOurElectronicReference":{"type":"string"},"EDIYourElectronicReference":{"type":"string"}}},"PriceList_List":{"type":"object","properties":{"PriceLists":{"type":"array","items":{"$ref":"#/definitions/PriceList"}}}},"SupplierInvoiceAccrual_SupplierInvoiceAccrualRows":{"type":"object","properties":{"Account":{"type":"integer","format":"int32"},"CostCenter":{"type":"string"},"Credit":{"type":"number","format":"double"},"Debit":{"type":"number","format":"double"},"Project":{"type":"string"},"TransactionInformation":{"type":"string"}}},"CostCenter":{"type":"object","required":["Code","Description"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":6},"Description":{"type":"string","minLength":1,"maxLength":2147483647},"Note":{"type":"string"},"Active":{"type":"boolean"}}},"TrustedEmailSender_TrustedSender":{"type":"object","required":["Email"],"properties":{"Id":{"type":"integer","format":"int32"},"Email":{"type":"string"}}},"SalaryTransaction":{"type":"object","required":["Date","EmployeeId","SalaryCode"],"properties":{"EmployeeId":{"type":"string"},"SalaryCode":{"type":"string"},"SalaryRow":{"type":"integer","format":"int32"},"Date":{"type":"string","format":"date"},"Number":{"type":"string"},"Amount":{"type":"string"},"Total":{"type":"string"},"Expense":{"type":"string","minLength":0,"maxLength":6},"VAT":{"type":"string"},"TextRow":{"type":"string","minLength":0,"maxLength":40},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"NumberOfAttachments":{"type":"object","required":["entityId"],"properties":{"entityId":{"type":"integer","format":"int64"},"numberOfAttachments":{"type":"integer","format":"int64"}}},"AttendanceTransactionListItem":{"type":"object","required":["CauseCode","Date","EmployeeId"],"properties":{"@url":{"type":"string"},"id":{"type":"string","format":"uuid"},"EmployeeId":{"type":"string","minLength":1,"maxLength":15},"CauseCode":{"type":"string","minLength":3,"maxLength":3,"enum":["ARB","BE2","BER","FLX","HLG","JO2","JOR","MER","OB1","OB2","OB3","OB4","OB5","OK0","OK1","OK2","OK3","OK4","OK5","OT1","OT2","OT3","OT4","OT5","RES","TID"]},"Date":{"type":"string","format":"date"},"Hours":{"type":"string"},"CostCenter":{"type":"string"},"Project":{"type":"string"}}},"ArticleRegistration":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"totalQuantity":{"type":"number"},"unitCost":{"type":"number"},"unitPrice":{"type":"number"},"orderIndex":{"type":"integer","format":"int32"},"item":{"$ref":"#/definitions/TRItem"},"invoiceText":{"type":"string","minLength":0,"maxLength":1000},"note":{"type":"string","minLength":0,"maxLength":1000},"timeLocked":{"type":"boolean"},"invoiceBasisId":{"type":"integer","format":"int64"},"nonInvoiceable":{"type":"boolean"},"documentId":{"type":"integer","format":"int64"},"documentType":{"type":"string","enum":["order","invoice"]},"ownerId":{"type":"string"},"createdBy":{"type":"string"},"createdTime":{"type":"string","format":"date-time"}}},"ContractAccrualListItem_List":{"type":"object","properties":{"ContractAccruals":{"type":"array","items":{"$ref":"#/definitions/ContractAccrualListItem"}}}},"PriceList":{"type":"object","required":["Code","Description"],"properties":{"@url":{"type":"string"},"Code":{"type":"string","minLength":1,"maxLength":100},"Description":{"type":"string","minLength":1,"maxLength":50},"Comments":{"type":"string"},"PreSelected":{"type":"boolean"}}},"AbsenceTransactionListItem_Wrap":{"type":"object","properties":{"AbsenceTransactions":{"type":"array","items":{"$ref":"#/definitions/AbsenceTransactionListItem"}}}},"TRProject":{"type":"object","properties":{"id":{"type":"string","minLength":0,"maxLength":40},"description":{"type":"string","minLength":0,"maxLength":50},"projectLeader":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"status":{"type":"integer","format":"int32"},"orderTime":{"type":"number","format":"double"},"orderAmount":{"type":"number","format":"double"},"invoicedAmount":{"type":"number","format":"double"},"totalAmountInInvoices":{"type":"number","format":"double"}}},"SupplierInvoiceAccrual":{"type":"object","required":["AccrualAccount","CostAccount","EndDate","Period","StartDate","SupplierInvoiceAccrualRows","SupplierInvoiceNumber","Times","Total"],"properties":{"@url":{"type":"string"},"AccrualAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"CostAccount":{"type":"integer","format":"int32","minimum":1000,"maximum":9999},"Description":{"type":"string"},"EndDate":{"type":"string","format":"date"},"SupplierInvoiceNumber":{"type":"integer","format":"int32"},"Period":{"type":"string","enum":["MONTHLY","BIMONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY","1_MONTHS","2_MONTHS","3_MONTHS","6_MONTHS","12_MONTHS"]},"StartDate":{"type":"string","format":"date"},"Times":{"type":"integer","format":"int32"},"Total":{"type":"number","format":"double"},"VATIncluded":{"type":"boolean"},"SupplierInvoiceAccrualRows":{"type":"array","items":{"$ref":"#/definitions/SupplierInvoiceAccrual_SupplierInvoiceAccrualRows"},"maxItems":2147483647,"minItems":2}}},"Folder_FileRow":{"type":"object","properties":{"@url":{"type":"string"},"Comments":{"type":"string"},"Id":{"type":"string"},"Name":{"type":"string"},"Path":{"type":"string"},"Size":{"type":"integer","format":"int32"},"ArchiveFileId":{"type":"string"}}},"WriteUp_Wrap":{"type":"object","properties":{"Asset":{"$ref":"#/definitions/WriteUp"}}},"CreatePayload_Wrap":{"type":"object","properties":{"NoxFinansInvoice":{"$ref":"#/definitions/CreatePayload"}}},"PausePayload_Wrap":{"type":"object","properties":{"NoxFinansInvoice":{"$ref":"#/definitions/PausePayload"}}},"CreateAsset_Wrap":{"type":"object","properties":{"AssetType":{"$ref":"#/definitions/CreateAsset"}}},"LockedPeriod_Wrap":{"type":"object","properties":{"LockedPeriod":{"$ref":"#/definitions/LockedPeriod"}}},"Voucher":{"type":"object","required":["Description","TransactionDate","VoucherSeries","Year"],"properties":{"@url":{"type":"string"},"Comments":{"type":"string","minLength":0,"maxLength":1000},"CostCenter":{"type":"string"},"Description":{"type":"string","minLength":1,"maxLength":200},"Project":{"type":"string"},"ReferenceNumber":{"type":"string"},"ReferenceType":{"type":"string","enum":["INVOICE","SUPPLIERINVOICE","INVOICEPAYMENT","SUPPLIERPAYMENT","MANUAL","CASHINVOICE","ACCRUAL"]},"TransactionDate":{"type":"string","format":"date"},"VoucherNumber":{"type":"integer","format":"int32"},"VoucherRows":{"type":"array","items":{"$ref":"#/definitions/Voucher_VoucherRow"},"maxItems":2147483647,"minItems":2},"VoucherSeries":{"type":"string"},"Year":{"type":"integer","format":"int32"},"ApprovalState":{"type":"integer","format":"int32"}}},"ContractTemplate":{"type":"object","required":["TemplateName"],"properties":{"@url":{"type":"string"},"AdministrationFee":{"type":"number","format":"double"},"ContractLength":{"type":"integer","format":"int32","minimum":1,"maximum":9999},"Freight":{"type":"number","format":"double"},"InvoiceInterval":{"type":"integer","format":"int32","minimum":1,"maximum":9999},"InvoiceRows":{"type":"array","items":{"$ref":"#/definitions/ContractTemplate_InvoiceRow"}},"Continuous":{"type":"boolean"},"OurReference":{"type":"string","minLength":0,"maxLength":25},"PrintTemplate":{"type":"string"},"Remarks":{"type":"string","minLength":0,"maxLength":1024},"TemplateName":{"type":"string","minLength":1,"maxLength":1024},"TemplateNumber":{"type":"integer","format":"int32"},"TermsOfDelivery":{"type":"string"},"TermsOfPayment":{"type":"string"},"WayOfDelivery":{"type":"string"}}},"AssetType":{"type":"object","properties":{"@url":{"type":"string"},"Id":{"type":"integer","format":"int32"},"Number":{"type":"string"},"Description":{"type":"string"},"Notes":{"type":"string"},"Type":{"type":"integer","format":"int32"},"InUse":{"type":"boolean"},"AccountAssetId":{"type":"integer","format":"int32"},"AccountValueLossId":{"type":"integer","format":"int32"},"AccountSaleLossId":{"type":"integer","format":"int32"},"AccountSaleWinId":{"type":"integer","format":"int32"},"AccountRevaluationId":{"type":"integer","format":"int32"},"AccountWriteDownAckId":{"type":"integer","format":"int32"},"AccountWriteDownId":{"type":"integer","format":"int32"},"AccountDepreciationId":{"type":"integer","format":"int32"},"AccountAsset":{"type":"integer","format":"int32"},"AccountValueLoss":{"type":"integer","format":"int32"},"AccountSaleLoss":{"type":"integer","format":"int32"},"AccountSaleWin":{"type":"integer","format":"int32"},"AccountRevaluation":{"type":"integer","format":"int32"},"AccountWriteDownAck":{"type":"integer","format":"int32"},"AccountWriteDown":{"type":"integer","format":"int32"},"AccountDepreciation":{"type":"integer","format":"int32"}}},"WayOfDelivery_List":{"type":"object","properties":{"WayOfDeliveries":{"type":"array","items":{"$ref":"#/definitions/WayOfDelivery"}}}},"IncomingGoods":{"type":"object","required":["deliveryNoteId"],"properties":{"id":{"type":"integer","format":"int64"},"hasDeliveryNote":{"type":"boolean"},"deliveryNoteId":{"type":"string","minLength":1,"maxLength":50},"supplierNumber":{"type":"string","minLength":0,"maxLength":1024},"rows":{"type":"array","items":{"$ref":"#/definitions/IncomingGoodsRow"}},"date":{"type":"string","format":"date"},"released":{"type":"boolean"},"note":{"type":"string","minLength":0,"maxLength":1000},"completed":{"type":"boolean"},"stockPointId":{"type":"string","format":"uuid"},"stockPointCode":{"type":"string"},"stockPointName":{"type":"string"},"voided":{"type":"boolean"},"projectId":{"type":"string"},"costCenterCode":{"type":"string"},"supplierName":{"type":"string","minLength":0,"maxLength":1024}}},"InvoiceListItem_Wrap":{"type":"object","properties":{"Invoices":{"type":"array","items":{"$ref":"#/definitions/InvoiceListItem"}}}},"ExpenseListItem":{"type":"object","required":["Account","Code","Text"],"properties":{"Code":{"type":"string"},"Text":{"type":"string"},"Account":{"type":"integer","format":"int32"},"@url":{"type":"string"}}},"ContractAccrual_AccrualRow":{"type":"object","required":["Account","Credit","Debit"],"properties":{"Account":{"type":"integer","format":"int32"},"CostCenter":{"type":"string"},"Credit":{"type":"number","format":"double"},"Debit":{"type":"number","format":"double"},"Project":{"type":"string"},"TransactionInformation":{"type":"string","minLength":0,"maxLength":100}}},"InvoicePayload_Label":{"type":"object","properties":{"Id":{"type":"integer","format":"int32"}}},"VoucherFileConnection_Wrap":{"type":"object","required":["VoucherFileConnection"],"properties":{"VoucherFileConnection":{"$ref":"#/definitions/VoucherFileConnection"}}},"AssetType_WrapSingle":{"type":"object","properties":{"Type":{"$ref":"#/definitions/AssetType"}}}},"swagger":"2.0","info":{"description":"# Documentation \n\nThe Fortnox API is organized around REST. This means that we’ve designed it to have resource-oriented URLs and be as predictable as possible for you as developer.\n\nIt also means that we use HTTP status codes when something goes wrong and HTTP verbs understod by many API clients around the web.\n\nWe use a modified version of OAuth2 for authentication to offer a secure way for both you and our users to interact.\n\nThe API is generally built to support both XML and JSON but in this documentation all the examples will be in JSON.\n\nWe encourage you to read all the articles in the [general information section](https://developer.fortnox.se/general/)</a> first, before going forward and learning about the different resources.\n\nThis to ensure you get an understanding of some of the shared components of the API such as parameters and error handling.\n\n## Rate limits\n\nThe limit is 4 requests per second per access-token. This equals to a bit more than 200 requests per minute.\n\n[Read more about this here.](https://developer.fortnox.se/general/regarding-fortnox-api-rate-limits/)\n\n## Query parameters\n\nUse query parameters with the ?-character and separate parameters with the &-character. \n\n**Example:**\n GET - https://api.fortnox.se/3/invoices?accountnumberfrom=3000&accountnumberto=4000\nRead more about our parameters [here](https://developer.fortnox.se/general/parameters/)\n\n\nSearch the documentation using the search field in the top left corner."},"tags":[{"name":"ProjectsResource","x-displayName":"Projects","description":"Resource for the CRUD operations on projects"},{"name":"SupplierInvoiceAccrualsResource","x-displayName":"Supplier Invoice Accruals","description":"Resource for the CRUD operations on supplier invoice accruals"},{"name":"StockPointResource","x-displayName":"Stock Point","description":"Resource to handle <code>StockPoint</code>s."},{"name":"AssetTypesResource","x-displayName":"Asset Types","description":"Asset types resource"},{"name":"CustomerReferencesResource","x-displayName":"Customer References","description":"Customer references resource."},{"name":"FinancialYearsResource","x-displayName":"Financial Years","description":"Financial years resources"},{"name":"CustomOutboundDocumentResource","x-displayName":"Custom Outbound Document","description":"Handles Custom Outbound Documents.\n\n A Custom Outbound Document is an externally created document\n for registering outbound deliveries to warehouse."},{"name":"ContractsResource","x-displayName":"Contracts","description":"Contracts resources\n <table>\n <caption>Possible filters on Contracts endpoint</caption>\n <tr>\n\t\t<td><strong>Filter</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>active</td>\n\t\t<td>Retrieves all active contracts</td>\n </tr>\n <tr>\n\t\t<td>inactive</td>\n\t\t<td>Retrieves all inactive contracts</td>\n\t </tr>\n\t <tr>\n\t\t<td>finished</td>\n\t\t<td>Retrieves all finished contracts</td>\n </tr>\n </table>\n Possible values for filter"},{"name":"ContractTemplatesResource","x-displayName":"Contract Templates","description":"Contract templates resources"},{"name":"VoucherSeriesResource","x-displayName":"Voucher Series","description":"Voucher Series resources\n <table>\n <caption>Possible search params on Voucher Series endpoint</caption>\n <tr>\n\t\t<td><strong>Search</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>lastmodified</td>\n\t\t<td>Retrives Voucher Series modified after provided date and time</td>\n </tr>\n </table>\n\n <table>\n <caption>Possible sort params on Voucher Series endpoint</caption>\n <tr>\n\t\t<td><strong>Sort</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>code</td>\n\t\t<td>Sorts Voucher Series according to code</td>\n </tr>\n </table>"},{"name":"PrintTemplatesResource","x-displayName":"Print Templates","description":"Resource for the CRUD operations on print templates"},{"name":"TermsOfPaymentsResource","x-displayName":"Terms Of Payments","description":"Resource for the CRUD operations on terms of payments"},{"name":"CostCentersResource","x-displayName":"Cost Centers","description":"Cost centers resources\n <table>\n <caption>Possible search params on Cost Centers endpoint</caption>\n <tr>\n\t\t<td><strong>Search</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>lastmodified</td>\n\t\t<td>Retrives costcenters modified after provided date and time</td>\n </tr>\n </table>\n\n <table>\n <caption>Possible sort params on Cost Centers endpoint</caption>\n <tr>\n\t\t<td><strong>Sort</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>code</td>\n\t\t<td>Sorts cost centers according to code</td>\n </tr>\n </table>"},{"name":"VoucherFileConnectionsResource","x-displayName":"Voucher File Connections","description":"Voucher file connections resources\n <table>\n <caption>Possible search params on Voucher file connections endpoint</caption>\n <tr>\n\t\t<td><strong>Search</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>voucheryear</td>\n\t\t<td>Retrives voucher file connections by voucher year</td>\n </tr>\n <tr>\n\t\t<td>voucherdescription</td>\n\t\t<td>Retrives voucher file connections by voucher description</td>\n </tr>\n <tr>\n\t\t<td>vouchernumber</td>\n\t\t<td>Retrives voucher file connections by voucher number</td>\n </tr>\n <tr>\n\t\t<td>voucherseries</td>\n\t\t<td>Retrives voucher file connections by voucher series</td>\n </tr>\n </table>"},{"name":"SieResource","x-displayName":"Sie","description":"Filters\n <table>\n <caption>Possible filters on SIE endpoint</caption>\n <tr>\n <td>Type</td>\n <td>Description</td>\n </tr>\n <tr>\n <td>FinancialYear</td>\n <td>Retreives the SIE-files for the specific financial year</td>\n </tr>\n <tr>\n <td>Example:</td>\n <td>https://api.fortnox.se/3/sie/4?financialyear=1</td>\n </tr>\n </table>"},{"name":"TrustedEmailSendersResource","x-displayName":"Trusted Email Senders","description":"Resource for the CRUD operations on trusted email senders"},{"name":"TermsOfDeliveriesResource","x-displayName":"Terms Of Deliveries","description":"Resource for the CRUD operations on terms of deliveries"},{"name":"AbsenceTransactionsResource","x-displayName":"Absence Transactions","description":"Absence transactions resources.\n <table>\n <caption>Usable "CauseCodes"</caption>\n <tr><td><strong>Code</strong></td><td><strong>Description</strong></td></tr>\n <tr><td>ASK</td><td>Arbetsskada</td></tr>\n <tr><td>ATF</td><td>Arbetstidsförkortning</td></tr>\n <tr><td>FPE</td><td>Föräldraledig</td></tr>\n <tr><td>FRA or FR1</td><td>Frånvaro övrigt (FR1 is used in PAXml)</td></tr>\n <tr><td>HAV</td><td>Graviditetspenning</td></tr>\n <tr><td>KOM</td><td>Kompledig</td></tr>\n <tr><td>MIL</td><td>Militärtjänst (max 60 dagar)</td></tr>\n <tr><td>NAR or NÄR</td><td>Närståendevård (NÄR is used in PAXml)</td></tr>\n <tr><td>OS1</td><td>Sjuk-OB 1</td></tr>\n <tr><td>OS2</td><td>Sjuk-OB 2</td></tr>\n <tr><td>OS3</td><td>Sjuk-OB 3</td></tr>\n <tr><td>OS4</td><td>Sjuk-OB 4</td></tr>\n <tr><td>OS5</td><td>Sjuk-OB 5</td></tr>\n <tr><td>PAP</td><td>Pappadagar</td></tr>\n <tr><td>PEM</td><td>Permission</td></tr>\n <tr><td>PER</td><td>Permitterad</td></tr>\n <tr><td>SEM</td><td>Semester</td></tr>\n <tr><td>SJK</td><td>Sjukfrånvaro</td></tr>\n <tr><td>SMB</td><td>Smittbärare</td></tr>\n <tr><td>SVE</td><td>Svenska för invandrare</td></tr>\n <tr><td>TJL</td><td>Tjänstledig</td></tr>\n <tr><td>UTB or FAC</td><td>Facklig utbildning (FAC is used in PAXml)</td></tr>\n <tr><td>VAB</td><td>Vård av barn</td></tr>\n </table>"},{"name":"StockStatusResource","x-displayName":"Stock Status","description":"Handles stock status."},{"name":"CompanyInformationResource","x-displayName":"Company Information","description":"Company information resource"},{"name":"EmployeesResource","x-displayName":"Employees","description":"Employees resources"},{"name":"SupplierInvoiceExternalUrlConnectionsResource","x-displayName":"Supplier Invoice External Url Connections","description":"Supplier Invoice External URL Connections resource\n Note: Requires a supplier invoice file attachment to be visible in Fortnox GUI."},{"name":"LockedPeriodResource","x-displayName":"Locked Period","description":"Resource for CRUD operations on locked period"},{"name":"InboxResource","x-displayName":"Inbox","description":"<table>\n <caption>Note that Inbox has nine static folders in the root directory.</caption>\n <tr><td><strong>Path</strong></td><td><strong>Description</strong></td></tr>\n <tr><td>Inbox_a</td><td>Asset register</td></tr>\n <tr><td>Inbox_d</td><td>Daily takings</td></tr>\n <tr><td>Inbox_s</td><td>Supplier invoices</td></tr>\n <tr><td>Inbox_v</td><td>Vouchers</td></tr>\n <tr><td>Inbox_b</td><td>Bank files</td></tr>\n <tr><td>Inbox_l</td><td>Payroll files</td></tr>\n <tr><td>Inbox_kf</td><td>Customer invoices</td></tr>\n <tr><td>Inbox_o</td><td>Orders</td></tr>\n <tr><td>Inbox_of</td><td>Offers</td></tr>\n </table>"},{"name":"TaxReductionsResource","x-displayName":"Tax Reductions","description":"Tax reductions resources\n <table>\n <caption>Possible filters</caption>\n <tr>\n <td><strong>Filter</strong></td>\n <td><strong>Description</strong></td>\n </tr>\n <tr>\n \t\t <td>invoices</td>\n \t\t <td>Retrieves all Tax reductions for invoices</td>\n </tr>\n <tr>\n <td>orders</td>\n <td>Retrieves all Tax reductions for orders</td>\n </tr>\n \t <tr>\n \t <td>offers</td>\n \t <td>Retrieves all Tax reductions for offers</td>\n </tr>\n </table>"},{"name":"SupplierInvoicePaymentsResource","x-displayName":"Supplier Invoice Payments","description":"Supplier invoice payments resources\n <table>\n <caption>Possible search params on Supplier Invoice Payments endpoint</caption>\n <tr>\n\t\t<td><strong>Search</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>invoicenumber</td>\n\t\t<td>Retrives supplier invoice payments modified by invoicenumber</td>\n </tr>\n <tr>\n\t\t<td>lastmodified</td>\n\t\t<td>Retrives supplier invoice payments modified after provided date and time</td>\n </tr>\n </table>"},{"name":"PricesResource","x-displayName":"Prices","description":"Resource for CRUD operations on prices"},{"name":"IncomingGoodsResource","x-displayName":"Incoming Goods","description":"General resource for incoming goods."},{"name":"ArchiveResource","x-displayName":"Archive","description":"Archive resources"},{"name":"SuppliersResource","x-displayName":"Suppliers","description":"Resource for the CRUD operations on suppliers"},{"name":"AccountChartsResource","x-displayName":"Account Charts","description":"Account charts resources"},{"name":"LabelsResource","x-displayName":"Labels","description":"Labels resources"},{"name":"CustomersResource","x-displayName":"Customers","description":"Customers resources"},{"name":"CustomInboundDocumentResource","x-displayName":"Custom Inbound Document","description":"Handles Custom Inbound Documents.\n\n A Custom Inbound Document is an externally created document\n for registering inbound deliveries to warehouse."},{"name":"CurrenciesResource","x-displayName":"Currencies","description":"Currencies resources"},{"name":"InvoicesResource","x-displayName":"Invoices","description":"<table>\n <caption>Possible filters on Invoice endpoint</caption>\n <tr>\n\t\t<td><strong>Filter</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>cancelled</td>\n\t\t<td>Retrieves all invoices with the status "cancelled".</td>\n </tr>\n <tr>\n\t\t<td>fullypaid</td>\n\t\t<td>Retrieves all invoices that has been fully paid.</td>\n\t </tr>\n\t <tr>\n\t\t<td>unpaid</td>\n\t\t<td>Retrieves all invoices that is unpaid.</td>\n </tr>\n\t <tr>\n\t\t<td>unpaidoverdue</td>\n\t\t<td>Retrieves all invoices that is unpaid and overdue.</td>\n </tr>\n\t <tr>\n\t\t<td>unbooked</td>\n\t\t<td>Retrieves all invoices that is unbooked.</td>\n </tr>\n </table>"},{"name":"AttachmentResource","x-displayName":"Attachment","description":"AttachmentResource\n\n Attach/Detach files to entities.\n\n Possible 400 response error codes: no_attachment_provided, mixed_documents, wrong_file_location, wrong_file_type, could_not_retrieve_document,\n file_too_big, too_many_attachments_in_one_request, max_total_attachments_exceeded, attachment_files_max_count_exceeded,\n attachment_files_max_size_exceeded, attachment_files_max_pages_exceeded, field_not_writable, mismatch_attachment_id, missing_mandatory_field\n\n Possible 404 response error codes: file_not_found, document_not_found, attachment_not_found"},{"name":"ArticlesResource_articles","x-displayName":"Articles","description":"Articles resources"},{"name":"OffersResource","x-displayName":"Offers","description":"<table>\n <caption>Possible filters on Offers endpoint</caption>\n <tr>\n <td><strong>Filter</strong></td>\n <td><strong>Description</strong></td>\n </tr>\n <tr>\n <td>cancelled</td>\n <td>Retrieves all offers with the status "cancelled"</td>\n </tr>\n <tr>\n <td>expired</td>\n <td>Retrieves all offers that has been expired</td>\n </tr>\n <tr>\n <td>ordercreated</td>\n <td>Retrieves all offers where an order has been created</td>\n </tr>\n <tr>\n <td>ordernotcreated</td>\n <td>Retrieves all offers where an order has not been created</td>\n </tr>\n </table>"},{"name":"SupplierInvoicesResource","x-displayName":"Supplier Invoices","description":"<table>\n <caption>Possible filters on Supplier Invoice endpoint</caption>\n <tr>\n\t\t<td><strong>Filter</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>cancelled</td>\n\t\t<td>Retrieves all invoices with the status "cancelled".</td>\n </tr>\n <tr>\n\t\t<td>fullypaid</td>\n\t\t<td>Retrieves all invoices that has been fully paid.</td>\n\t </tr>\n\t <tr>\n\t\t<td>unpaid</td>\n\t\t<td>Retrieves all invoices that is unpaid.</td>\n </tr>\n\t <tr>\n\t\t<td>unpaidoverdue</td>\n\t\t<td>Retrieves all invoices that is unpaid and overdue.</td>\n </tr>\n\t <tr>\n\t\t<td>unbooked</td>\n\t\t<td>Retrieves all invoices that is unbooked.</td>\n </tr>\n\t <tr>\n\t\t<td>pendingpayment</td>\n\t\t<td>Retrieves all invoices that has PaymentPending=true and is booked.</td>\n </tr>\n\t <tr>\n\t\t<td>authorizepending</td>\n\t\t<td>Retrieves all invoices that has a waiting authorization pending.</td>\n </tr>\n </table>"},{"name":"AccountsResource","x-displayName":"Accounts","description":"Accounts resources"},{"name":"AssetFileConnectionResource","x-displayName":"Asset File Connection","description":"Asset file connections resources"},{"name":"PredefinedAccountsResource","x-displayName":"Predefined Accounts","description":"Predefined Accounts resources"},{"name":"InvoiceAccrualsResource","x-displayName":"Invoice Accruals","description":"Resource for CRUD operations on Invoice Accruals"},{"name":"OrdersResource","x-displayName":"Orders","description":"<table>\n <caption>Possible filters on Orders endpoint</caption>\n <tr>\n <td><strong>Filter</strong></td>\n <td><strong>Description</strong></td>\n </tr>\n <tr>\n <td>cancelled</td>\n <td>Retrieves all orders with the status "cancelled"</td>\n </tr>\n <tr>\n <td>expired</td>\n <td>Retrieves all orders that has been expired</td>\n </tr>\n <tr>\n <td>invoicecreated</td>\n <td>Retrieves all offers where an invoice has been created</td>\n </tr>\n <tr>\n <td>invoicenotcreated</td>\n <td>Retrieves all orders where an invoice has not been created</td>\n </tr>\n </table>\n For information about how to use filters, please read this article."},{"name":"UnitsResource","x-displayName":"Units","description":"Units resources"},{"name":"CompanySettingsResource","x-displayName":"Company Settings","description":"Company settings resource"},{"name":"EUVatLimitRegulationResource","x-displayName":"EU Vat Limit Regulation","description":"EU vat limit regulation resources"},{"name":"VacationDebtBasisResource","x-displayName":"Vacation Debt Basis","description":"Vacation Debt Basis resources"},{"name":"VouchersResource","x-displayName":"Vouchers","description":"Voucher resources\n <table>\n <caption>Possible search params on Vouchers endpoint</caption>\n <tr>\n\t\t<td><strong>Search</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>lastmodified</td>\n\t\t<td>Retrives Vouchers modified after provided date and time</td>\n </tr>\n <tr>\n\t\t<td>costcenter</td>\n\t\t<td>Retrives Vouchers by costcenter</td>\n </tr>\n <tr>\n\t\t<td>fromdate</td>\n\t\t<td>Retrives Vouchers starting from provided date</td>\n </tr>\n <tr>\n\t\t<td>todate</td>\n\t\t<td>Retrives Vouchers until provided date todate</td>\n </tr>\n <tr>\n\t\t<td>voucherseries</td>\n\t\t<td>Retrives Vouchers by Voucher Series</td>\n </tr>\n </table>\n\n <table>\n <caption>Possible sort params on Vouchers endpoint</caption>\n <tr>\n\t\t<td><strong>Sort</strong></td>\n\t\t<td><strong>Description</strong></td>\n </tr>\n <tr>\n\t\t<td>referencenumber</td>\n\t\t<td>Sorts vouchers according to referencenumber</td>\n </tr>\n <tr>\n\t\t<td>referencetype</td>\n\t\t<td>Sorts vouchers according to referencetype</td>\n </tr>\n <tr>\n\t\t<td>vouchernumber</td>\n\t\t<td>Sorts vouchers according to vouchernumber</td>\n </tr>\n <tr>\n\t\t<td>voucherseries</td>\n\t\t<td>Sorts vouchers according to voucherseries</td>\n </tr>\n </table>"},{"name":"ExpensesResource","x-displayName":"Expenses","description":"Expenses resources"},{"name":"CustomDocumentTypeResource","x-displayName":"Custom Document Type","description":"Handles types for custom documents.\n\n A custom document is identified by its type and id.\n Each type belongs to a category, either INBOUND or OUTBOUND.\n\n Note that custom document types are created automatically\n if necessary when you create custom documents.\n\n The following <code>referenceTypes</code> are not allowed for\n custom document types. Variants of these containing dashes,\n underscores, lower case, upper case etc are not allowed either.\n\n <ul>\n <li>ARTICLEPRODUCTION</li>\n <li>ARTIKELPRODUKTION</li>\n <li>CUSTOMERINVOICE</li>\n <li>CUSTOMERORDER</li>\n <li>DELIVERYNOTE</li>\n <li>FAKTURA</li>\n <li>FÖLJESEDEL</li>\n <li>INGÅENDESALDO</li>\n <li>INKÖP</li>\n <li>INKÖPSORDER</li>\n <li>INVENTERING</li>\n <li>INVENTORY</li>\n <li>INVOICE</li>\n <li>ITEMPRODUCTION</li>\n <li>KREDITFAKTURA</li>\n <li>KREDITORDER</li>\n <li>KUNDFAKTURA</li>\n <li>KUNDORDER</li>\n <li>LAGERFLYTT</li>\n <li>LEGACYINTEGRATIONIN</li>\n <li>LEGACYINTEGRATIONOUT</li>\n <li>LEVERANTÖRSFAKTURA</li>\n <li>LEVFAKTURA</li>\n <li>MANUALDELIVERY</li>\n <li>MANUALINBOUND</li>\n <li>MANUALINBOUNDDELIVERY</li>\n <li>MANUALOUTBOUND</li>\n <li>MANUALOUTBOUNDDELIVERY</li>\n <li>MANUELLINLEVERANS</li>\n <li>MANUELLLEVERANS</li>\n <li>MANUELLUTLEVERANS</li>\n <li>NEGATIVEOPENINGBALANCES</li>\n <li>NEGATIVTINGÅENDESALDO</li>\n <li>ORDER</li>\n <li>PLOCKLISTA</li>\n <li>POSITIVEOPENINGBALANCES</li>\n <li>PRODUCTION</li>\n <li>PRODUKTION</li>\n <li>PURCHASE</li>\n <li>PURCHASEORDER</li>\n <li>STOCKTAKING</li>\n <li>STOCKTAKINGDEVIATION</li>\n <li>STOCKTRANSFER</li>\n <li>SUPINVOICE</li>\n <li>SUPPLIERINVOICE</li>\n </ul>"},{"name":"InvoicePaymentsResource","x-displayName":"Invoice Payments","description":"Invoice payments resources"},{"name":"WayOfDeliveriesResource","x-displayName":"Way Of Deliveries","description":"Resource for CRUD operations on Way of Deliveries"},{"name":"PurchaseOrderResource","x-displayName":"Purchase Order","description":"Handles Purchase Orders"},{"name":"ContractAccrualsResource","x-displayName":"Contract Accruals","description":"Contract accruals resources"},{"name":"PredefinedVoucherSeriesResource","x-displayName":"Predefined Voucher Series","description":"Predefined Voucher Series resources"},{"name":"ArticlesResource","x-displayName":"Articles","description":"Provides information on the status (presence of cost/price) of articles"},{"name":"AssetsResource","x-displayName":"Assets","description":"Assets resources\n <table>\n <caption>Possible filters on Assets endpoint</caption>\n <tr>\n <td><strong>Name</strong></td>\n <td><strong>Description</strong></td>\n </tr>\n <tr>\n <td>active</td>\n <td>Retrieves all active assets</td>\n </tr>\n <tr>\n <td>inactive</td>\n <td>Retrieves all inactive assets</td>\n </tr>\n <tr>\n <td>fully_depreciated</td>\n <td>Retrieves all fully depreciated assets</td>\n </tr>\n <tr>\n <td>sold</td>\n <td>Retrieves all sold assets</td>\n </tr>\n <tr>\n <td>scrapped</td>\n <td>Retrieves all scrapped assets</td>\n </tr>\n <tr>\n <td>voided</td>\n <td>Retrieves all voided assets</td>\n </tr>\n </table>"},{"name":"PriceListsResource","x-displayName":"Price Lists","description":"Resource for CRUD operations on Pricelists"},{"name":"SupplierInvoiceFileConnectionsResource","x-displayName":"Supplier Invoice File Connections","description":"Resource for CRUD operations on Supplier invoice file connections"},{"name":"RegistrationsResource","x-displayName":"Registrations","description":"Register and manage working or absence time"},{"name":"TenantResource","x-displayName":"Tenant","description":"Return Warehouse activation status for a tenant."},{"name":"AttendanceTransactionsResource","x-displayName":"Attendance Transactions","description":"Attendance transactions resources\n <table>\n <caption>Usable "CauseCodes"</caption>\n <tr><td><strong>Code</strong></td><td><strong>Description</strong></td></tr>\n <tr><td>ARB</td><td>Timlön</td></tr>\n <tr><td>BE2</td><td>Beredskapstid 2</td></tr>\n <tr><td>BER or BE1</td><td>Beredskapstid (BE1 is used in PAXml)</td></tr>\n <tr><td>FLX</td><td>Flextid +/-</td></tr>\n <tr><td>HLG</td><td>Helglön</td></tr>\n <tr><td>JO2 or JR2</td><td>Jourtid 2 (JR2 is used in PAXml)</td></tr>\n <tr><td>JOR or JR1</td><td>Jourtid (JR1 is used in PAXml)</td></tr>\n <tr><td>MER</td><td>Mertid</td></tr>\n <tr><td>OB1</td><td>OB-ersättning 1</td></tr>\n <tr><td>OB2</td><td>OB-ersättning 2</td></tr>\n <tr><td>OB3</td><td>OB-ersättning 3</td></tr>\n <tr><td>OB4</td><td>OB-ersättning 4</td></tr>\n <tr><td>OB5</td><td>OB-ersättning 5</td></tr>\n <tr><td>OK0 or NV9</td><td>Extratid \\u2013 Komptid (NV9 is used in PAXml)</td></tr>\n <tr><td>OK1 or ÖK1</td><td>Övertid 1 \\u2013 Komptid (ÖK1 is used in PAXml)</td></tr>\n <tr><td>OK2 or ÖK2</td><td>Övertid 2 \\u2013 Komptid (ÖK2 is used in PAXml)</td></tr>\n <tr><td>OK3 or ÖK3</td><td>Övertid 3 \\u2013 Komptid (ÖK3 is used in PAXml)</td></tr>\n <tr><td>OK4 or ÖK4</td><td>Övertid 4 \\u2013 Komptid (ÖK4 is used in PAXml)</td></tr>\n <tr><td>OK5 or ÖK5</td><td>Övertid 5 \\u2013 Komptid (ÖK5 is used in PAXml)</td></tr>\n <tr><td>OT1 or ÖT1</td><td>Övertid 1 \\u2013 Betalning (ÖT1 is used in PAXml)</td></tr>\n <tr><td>OT2 or ÖT2</td><td>Övertid 2 \\u2013 Betalning (ÖT2 is used in PAXml)</td></tr>\n <tr><td>OT3 or ÖT3</td><td>Övertid 3 \\u2013 Betalning (ÖT3 is used in PAXml)</td></tr>\n <tr><td>OT4 or ÖT4</td><td>Övertid 4 \\u2013 Betalning (ÖT4 is used in PAXml)</td></tr>\n <tr><td>OT5 or ÖT5</td><td>Övertid 5 \\u2013 Betalning (ÖT5 is used in PAXml)</td></tr>\n <tr><td>RES or RE1</td><td>Restid (RE1 is used in PAXml)</td></tr>\n <tr><td>TID</td><td>Arbetstid</td></tr>\n </table>"},{"name":"ArticleFileConnectionsResource","x-displayName":"Article File Connections","description":"Article file connections resources"},{"name":"ModesOfPaymentsResource","x-displayName":"Modes Of Payments","description":"Resource for the CRUD operations on modes of payments"},{"name":"SalaryTransactionsResource","x-displayName":"Salary Transactions","description":"Salary Transaction resources<br>\n Usable SalaryCodes:<br>\n You can get a list of usable salary codes in the GUI from Register, Lönearter och koder − Lönearter by choosing one of two tables and pressing print.<br>\n Depending on which salary code table (löneartstabell) that is set in the settings (Inställningar, Lön, Avtal för arbetare/tjänsteman − Allmänt) you can choose the salary code to use from either salary code table.<br>\n Make sure to use the correct table that is used for the employee PersonelType you want to sent the salary transaction for. Some salary codes do not exist in every table."},{"name":"MeResource","x-displayName":"Me","description":"Me resource"},{"name":"StockTakingResource","x-displayName":"Stock Taking","description":"Handles stock taking.\n\n A Stock Taking document is created in state "planning".\n Rows, containing item-stockpoint-stocklocation combinations to be counted,\n are added to the Stock Taking document.\n\n When the planning is done, the Stock Taking document is updated to state "started",\n and the stock taking begins.\n\n Setting the stock taken quantity is done by updating the Stock Taking document, and supplying the\n counted rows. This can be done in "batches", i.e. not all rows needs to be updated at once.\n\n When the stock taking is done, the document is released. The release process will adjust the stock\n for the stock taking date, and prepare the warehouse bookkeeping data."},{"name":"FinanceInvoicesResource","x-displayName":"Finance Invoices","description":"Fortnox Finans Invoice resources\n <p>\n These endpoints are useful when transferring an invoice to Fortnox Finans factoring service. When Fortnox Finans has taken over the responsibility for collecting the invoice - the actual invoice, reminders, collections etc (depending on settings) are automatically sent to the customer on the selected media.\n <p>\n <b>Important before you start</b> Please note that you need to get a special sandbox instance of Fortnox to test Fortnox Finans services, if you are using a production sandbox, it will send out invoices and start the reminder process and charge you for the service.\n <p>\n <b>Also note</b> that older invoices (typically dated before 2020-04) might be handled in "Noxbox", a platform previously used for administering invoices sent using Fortnox Finans' services. If this platform has been used for an invoice, some endpoints described below will not be available. In the "Retrieve a Fortnox Finans invoice" section it’s described how to determine if the old "Noxbox" platform was used.\n <p>\n <b>Type of services</b>\n <p>\n A Fortnox user can let Fortnox Finans handle their customer ledger.\n Fortnox Finans currently offers two types of services\n <p>\n <i>Ledgerbase</i>\n <p>\n Depending on customer settings, two subtypes of the service are available:\n <ul>\n <li>Invoice service <u>with</u> automatic reminders: this means that Fortnox Finans is sending\n invoices to end-customers and handling the customer ledger with reminders and collection.\n This service is also referred to as "Service Full"</li>\n <li>Invoice service <u>without</u> automatic reminders: this means that Fortnox Finans is sending\n invoices to end-customers and handling the customer ledger. No reminders or collections\n are sent. This service is also referred to as "Service Light"</li>\n </ul>\n <i>Reminder</i>\n <p>\n <ul>\n <li>Reminder service: this means that Fortnox Finans is sending reminders and collections on\n invoices already sent from Fortnox (without any Fortnox Finans services). The invoice is\n transferred to Fortnox Finans, and from now on reminders etc will automatically be sent\n to the customer. The invoice has to be unpaid, and the due date must be passed.<br>\n An invoice sent by Ledgerbase (without automatic reminders) could be transferred to\n Reminder service.</li>\n </ul>\n <p>\n <b>Preconditions</b>\n <p>\n <i>General</i>\n <p>\n Scope of your application registered to Fortnox must contain "Invoice Noxfinans"\n Fortnox Finans services must have been activated in the client database\n <p>\n <i>Invoices</i>\n <p>\n <ul>\n <li>Invoice must have been created in Fortnox (Manually or by API)</li>\n <li>Invoice must have an open balance >0</li>\n <li>Invoice date is not allowed to be older than two years</li>\n <li>Currency of Invoice must be in SEK</li>\n <li>Invoice contains at least name, address, zip and city</li>\n <li>Invoice must contain at least one invoice record</li>\n <li>Interest invoices are not permitted to be sent to Fortnox Finans</li>\n </ul>\n <p>\n <i>Credit Invoices</i>\n <p>\n Credit Invoice in Fortnox must have a connection to a debit invoice\n Debit invoice must have a open balance >= credit invoice amount\n <p>\n <i>Authentication</i>\n <p>\n To be able to use the endpoints, valid authentication must be provided.\n These are provided by Fortnox Finans when setting up the external api connection.\n <p>\n An <b>access token</b> (in the examples below stated as my_access_token) must be provided in\n the header of the request.\n <p>\n A <b>client secret</b> (in the examples below stated as my_client_secret) must be provided in the header of the request.\n <p>\n <b>Example</b>\n <p>\n <i>Request</i><br>\n curl -X "GET" "https://api.fortnox.se/3/noxfinansinvoices/7201"<br>\n -H "Access-Token: <b>my_access_token</b>"<br>\n -H "Client-Secret: <b>my_client_secret</b>"<br>\n -H "Content-Type: application/json"<br>\n -H "Accept: application/json""},{"name":"ScheduleTimesResource","x-displayName":"Schedule Times","description":"Schedule times resources"}]}