FORMAT: 1A
HOST: https://inventory.dearsystems.com/ExternalApi/v2/
permalinks: true


# Cin7 Core Developer Portal
## API introduction
Cin7 Core Inventory API is part of Cin7 Core Inventory web application at https://inventory.dearsystems.com. 

<b>You will need to:</b>
+ Create an account there before you can use the API. 
+ Trial accounts are also allowed to access the API.

The API URL is https://inventory.dearsystems.com/externalapi/v2/. To call any API endpoint (method) you must append the endpoint name and parameters to the API URL. eg: https://inventory.dearsystems.com/externalapi/v2/me

<i>Note: The API accepts only JSON data format.</i>

Never assume that the API is actually online at any time. Always queue requests to the API so that you can retry the request in the event of a network failure: even if our server is up 24/7 forever, the network will not be. Consider what happens in the case of a network interruption, eg the cable gets cut by road workers yet again. You should always plan to add all requests to a queue so that they can be tried again in the event of any failure.

Full documentation of each endpoint is available on that endpoint's help page. This includes the operations supported and the full list of available fields with:
+ Name
+ Type 
+ Length
+ Required values

Use our API Explorer to see examples of each data object.

Cin7 Core Inventory API is a subset of the functionality available through Cin7 Core Inventory UI - check the API documentation to see if the functionality you require is available in the API.

In the event of errors, the API will return an appropriate HTML status code, and an error message. You will need to read both the status code and the error message to establish the cause. Typical error messages are shown on the API status codes page.


## Connecting to the API
To use the API you will need your Cin7 Core Account ID and API Application key. These can be created on the API setup page inside Cin7 Core Inventory application: https://inventory.dearsystems.com/ExternalAPI.

Each company that you have access to in Cin7 Core Inventory will have a different Cin7 Core Account ID. You can have multiple API Applications created on the same Cin7 Core account. This allows you to link different applications/add-ons to Cin7 Core, since API limits are applied on per API Application basis.

Your Account ID and API Application Key are equivalent to a login and password. They must be kept secret and not shared in any way.

Each request to the API must include these two values sent as HTTP headers:
+ api-auth-accountid - You must send your Account ID in this header.
+ api-auth-applicationkey - You must send API Application Key in this header.


PHP sample:

```PHP

$account_id = 'api-auth-accountid: youraccountid';
$application_key = 'api-auth-applicationkey: applicationkey';
$naked_dear_url = 'https://inventory.dearsystems.com/ExternalApi/v2/SaleList';

$data = array ('Page' => '1', 'Limit' => '100');
$data = http_build_query($data);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$naked_dear_url."?".$data); //GET API CALL
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$headers = [
"Content-type: application/json",
$account_id,
$application_key
];

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$server_output = curl_exec ($ch);
curl_close ($ch);

print $server_output ;


```

## Pagination
<h4>What is Pagination?</h4>

Pagination is the process of dividing content into discrete pages.

The benefit of pagination is that it allows for faster response times to requests against large datasets like Customers, Products and Invoices, thus providing a more responsive and flexible API for your mission-critical applications.

Cin7 Core Inventory API currently uses pagination on the following endpoints:

+ SaleList
+ PurchaseList
+ StockAdjustmentList
+ StockTakeList
+ StockTransferList
+ Product
+ Сategory

All remaining API endpoints do not support pagination.

<h4>Requesting a page</h4>

Pages are requested by adding page parameter to URL: https://inventory.dearsystems.com/ExternalApi/v2/{endpoint}?page={pagenumber}, where {endpoint} and {pagenumber} are placeholders.

For example, if you wanted to retrieve the 3rd page of 100 records from the Products endpoint we would write https://inventory.dearsystems.com/ExternalApi/v2/Product?page=3. 

<h4>Page size</h4>

The default page size is 100 records, but is configurable by adding the desired page size in the URL querystring, https://inventory.dearsystems.com/ExternalApi/v2/{endpoint}?page={pagenumber}&limit={pagesize}.

The minimum page size is 1 and the maximum page size is 1000 records.

If you want to retrieve the 5th page of 200 ProductAvailability records (ie. 1001st to 1500th record) then you would use this URL: https://inventory.dearsystems.com/ExternalApi/v2/Product?page=5&limit=200.

<h4>Pagination info</h4>

In the endpoints that support Pagination additional parameter Total is returned with every API call response to provide information regarding how many records there are overall. Below is an example of this structure in JSON for Products endpoint.

{ "Products":[{...}], "Total":41}

## API Status Codes 
|Status Code|Description|
|:-----|-----------|
|`200 OK`|Operation was successful|
|`204 No Content`|Operation was successful and there is no content to return|
|`400 Bad Request`|The request was not in a correct form, or the posted data failed a validation test. Check the error returned to see what was wrong with the request.|
|`403 Forbidden`|Method authentication failed|
|`404 Not found`|Endpoint does not exist (eg using /Products instead of /Product)|
|`405 Not allowed`|The method used is not allowed (eg PUT, DELETE)|
|`500 Internal Server Error`|The object passed to the API could not be parsed or some unexpected error occurred in Cin7 Core while processing API request|
|`429 Too Many Requests`|You reached 60 calls per minute API limit|

## Date Format
All date fields in Cin7 Core API (including parameters) are in ISO 8601 format and specifying UTC date: yyyy-MM-ddTHH:mm:ss.fff     e.g. 2012-11-14T13:28:33.363

## Previous API version
Previous API version's description is available here: http://support.dearsystems.com/solution/folders/1000134185


# Group Attribute Set

Attribute Set CRUD operations

### Available Fields for Attribute Set
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         | Yes* | Required for PUT and DELETE, Ignored for POST operations |
| `Name`  | String             | 50        | Yes     | Attribute Set name
| `Attribute#Name`  | String             | 50        | Yes* | Attribute Set attribute name. # - int(1-10). Attribute1Name is required for POST, PUT.        |
| `Attribute#Type`  | String         | 50        | Yes* | Attribute Set attribute type. # - int(1-10). Attribute1Type is required for POST, PUT. Available values are `Not used`, `Text`, `Checkbox`, `List`, `Date`, `Numeric`.            |
| `Attribute#Values`  | String          |         | Yes* | Attribute Set attribute values. Delimiter ",". # - int(1-10). Attribute1Values is required for POST, PUT.             |
| `Attributes`  | <a href="#AttributeSetLineModel"><b>[] Attribute Set Line Model</b></a>          |         |       | Array with attributes. Read-only. |

## Attribute Set [/ref/attributeset]

### GET [GET /ref/attributeset?ID={ID}&Page={Page}&Limit={Limit}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return location with the specific ID
    + Name (optional, string) ... Only return locations that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
    
            {
                "Total": 1,
                "Page": 1,
                "AttributeSetList": [
                    {
                        "ID": "0ba27d98-42ca-4bf6-9b9e-9f71538bd53d",
                        "Name": "Test set",
                        "Attribute1Name": "List attribute name",
                        "Attribute1Type": "List",
                        "Attribute1Values": "Red, Black, Blue, Aqua",
                        "Attribute2Name": "Check box attribute name",
                        "Attribute2Type": "Checkbox",
                        "Attribute2Values": "",
                        "Attribute3Name": "Text attribute name",
                        "Attribute3Type": "Text",
                        "Attribute3Values": "",
                        "Attribute4Name": "",
                        "Attribute4Type": "Not used",
                        "Attribute4Values": "",
                        "Attribute5Name": "",
                        "Attribute5Type": "Not used",
                        "Attribute5Values": "",
                        "Attribute6Name": "",
                        "Attribute6Type": "Not used",
                        "Attribute6Values": "",
                        "Attribute7Name": "",
                        "Attribute7Type": "Not used",
                        "Attribute7Values": "",
                        "Attribute8Name": "",
                        "Attribute8Type": "Not used",
                        "Attribute8Values": "",
                        "Attribute9Name": "",
                        "Attribute9Type": "Not used",
                        "Attribute9Values": "",
                        "Attribute10Name": "",
                        "Attribute10Type": "Not used",
                        "Attribute10Values": "",
                        "Attributes": [
                            {
                                "Name": "List attribute name",
                                "Type": "List",
                                "Values": "Red, Black, Blue, Aqua"
                            },
                            {
                                "Name": "Check box attribute name",
                                "Type": "Checkbox",
                                "Values": ""
                            },
                            {
                                "Name": "Text attribute name",
                                "Type": "Text",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            },
                            {
                                "Name": "",
                                "Type": "Not used",
                                "Values": ""
                            }
                        ]
                    }
                ]
            }
        

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
             {
                "Name": "Test set",
                "Attribute1Name": "List attribute name",
                "Attribute1Type": "List",
                "Attribute1Values": "Red, Black, Blue, Aqua",
                "Attribute2Name": "Check box attribute name",
                "Attribute2Type": "Checkbox",
                "Attribute2Values": "",
                "Attribute3Name": "Text attribute name",
                "Attribute3Type": "Text",
                "Attribute3Values": "",
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "0ba27d98-42ca-4bf6-9b9e-9f71538bd53d",
                "Name": "Test set",
                "Attribute1Name": "List attribute name",
                "Attribute1Type": "List",
                "Attribute1Values": "Red, Black, Blue, Aqua",
                "Attribute2Name": "Check box attribute name",
                "Attribute2Type": "Checkbox",
                "Attribute2Values": "",
                "Attribute3Name": "Text attribute name",
                "Attribute3Type": "Text",
                "Attribute3Values": "",
                "Attribute4Name": "",
                "Attribute4Type": "Not used",
                "Attribute4Values": "",
                "Attribute5Name": "",
                "Attribute5Type": "Not used",
                "Attribute5Values": "",
                "Attribute6Name": "",
                "Attribute6Type": "Not used",
                "Attribute6Values": "",
                "Attribute7Name": "",
                "Attribute7Type": "Not used",
                "Attribute7Values": "",
                "Attribute8Name": "",
                "Attribute8Type": "Not used",
                "Attribute8Values": "",
                "Attribute9Name": "",
                "Attribute9Type": "Not used",
                "Attribute9Values": "",
                "Attribute10Name": "",
                "Attribute10Type": "Not used",
                "Attribute10Values": "",
                "Attributes": [
                    {
                        "Name": "Color",
                        "Type": "List",
                        "Values": "Red, Black, Blue, Aqua"
                    },
                    {
                        "Name": "Male?",
                        "Type": "Checkbox",
                        "Values": ""
                    },
                    {
                        "Name": "Special wish",
                        "Type": "Text",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    }
                ]
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
   
             {
                "ID": "0ba27d98-42ca-4bf6-9b9e-9f71538bd53d",
                "Name": "Test set name",
                "Attribute1Name": "List attribute name",
                "Attribute1Type": "List",
                "Attribute1Values": "Red, Black, Blue, Aqua",
                "Attribute2Name": "Check box attribute name",
                "Attribute2Type": "Checkbox",
                "Attribute2Values": "",
                "Attribute3Name": "Text attribute name",
                "Attribute3Type": "Text",
                "Attribute3Values": "",
                "Attribute4Name": "Additional attribute",
                "Attribute4Type": "Text",
                "Attribute4Values": "",
                "Attribute5Name": "Hidden attribute name",
                "Attribute5Type": "Not used",
                "Attribute5Values": "",
                "Attribute6Name": "Additional attribute name 2",
                "Attribute6Type": "Checkbox",
                "Attribute6Values": "",
            }
        

+ Response 200 (application/json)
    + Body 
            
            {
                "ID": "0ba27d98-42ca-4bf6-9b9e-9f71538bd53d",
                "Name": "Test set name",
                "Attribute1Name": "List attribute name",
                "Attribute1Type": "List",
                "Attribute1Values": "Red, Black, Blue, Aqua",
                "Attribute2Name": "Check box attribute name",
                "Attribute2Type": "Checkbox",
                "Attribute2Values": "",
                "Attribute3Name": "Text attribute name",
                "Attribute3Type": "Text",
                "Attribute3Values": "",
                "Attribute4Name": "Additional attribute",
                "Attribute4Type": "Text",
                "Attribute4Values": "",
                "Attribute5Name": "Hidden attribute name",
                "Attribute5Type": "Not used",
                "Attribute5Values": "",
                "Attribute6Name": "Additional attribute name 2",
                "Attribute6Type": "Checkbox",
                "Attribute6Values": "",
                "Attribute7Name": "",
                "Attribute7Type": "Not used",
                "Attribute7Values": "",
                "Attribute8Name": "",
                "Attribute8Type": "Not used",
                "Attribute8Values": "",
                "Attribute9Name": "",
                "Attribute9Type": "Not used",
                "Attribute9Values": "",
                "Attribute10Name": "",
                "Attribute10Type": "Not used",
                "Attribute10Values": "",
                "Attributes": [
                    {
                        "Name": "Color",
                        "Type": "List",
                        "Values": "Red, Black, Blue, Aqua"
                    },
                    {
                        "Name": "Male?",
                        "Type": "Checkbox",
                        "Values": ""
                    },
                    {
                        "Name": "Special wish",
                        "Type": "Text",
                        "Values": ""
                    },
                    {
                        "Name": "Text attribute name",
                        "Type": "Text",
                        "Values": ""
                    },
                    {
                        "Name": "Hidden attribute name",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "Additional attribute name 2",
                        "Type": "Checkbox",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    },
                    {
                        "Name": "",
                        "Type": "Not used",
                        "Values": ""
                    }
                ]
            }

### DELETE [DELETE /ref/attributeset?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of Location to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


# Group Bank Accounts

Bank Accounts CRUD operations

### Available Fields for Bank Accounts
| Property           | Type     | Length | Required | Notes                 |
|:-------------------|----------|--------|----------|-----------------------|
| `AccountID`        | Guid     |        |          | Unique ID             |
| `Bank`             | String   | 512    |          | Bank name             |
| `AccountName`      | String   | 256    |          | Account name to which the Bank Account is linked |
| `AccountNumber`    | String   | 256    |          | Account number        |
| `AccountCode`      | String   | 50     |          | Account code to which the Bank Account is linked |
| `Currency`         | String   | 3      |          | Currency              |
| `StatementBalance` | Decimal  |        |          | Statement balance     |
| `BalanceInDear`    | Decimal  |        |          | Cin7 Core balance          |
| `InitialBalance`   | String   |        |          | Initial balance       |

## Bank Accounts [/ref/account/bank]

### GET [GET /ref/account/bank?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&Bank={Bank}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid    ) ... Only return accounts with the specific code
    + Name (optional, string) ... Only return accounts that start with the specific name
    + Bank (optional, string) ... Only return accounts with the specific bank

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 3,
                "Page": 1,
                "BankAccountsList": [
                    {
                        "AccountID": "d5b0294d-e931-47d4-a58c-5c9e2d7d3090",
                        "Bank": "Unknown Bank",
                        "AccountName": "EFT bank account",
                        "AccountNumber": "No Number",
                        "AccountCode": "713",
                        "Currency": "AUD",
                        "StatementBalance": 0,
                        "BalanceInDear": 0,
                        "InitialBalance": 0
                    },
                    {
                        "AccountID": "7d236236-02fa-4a03-890e-865ad34ea94c",
                        "Bank": "Unknown Bank",
                        "AccountName": "PayPal account",
                        "AccountNumber": "No Number",
                        "AccountCode": "718",
                        "Currency": "AUD",
                        "StatementBalance": 0,
                        "BalanceInDear": 0,
                        "InitialBalance": 0
                    },
                    {
                        "AccountID": "ba4fbb6c-b31a-4ccb-a95f-d289ab92f7db",
                        "Bank": "Unknown Bank",
                        "AccountName": "Visa debit card",
                        "AccountNumber": "No Number",
                        "AccountCode": "712",
                        "Currency": "AUD",
                        "StatementBalance": 0,
                        "BalanceInDear": 0,
                        "InitialBalance": 0
                    }
                ]
            }


# Group Brand

Brand CRUD operations

### Available Fields for Brand
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Required for PUT, Ignored for POST operations          |
| `Name`  | String             | 50        | Yes         |Brand name       |

## Brand [/ref/brand]
### GET [GET /ref/brand?Page={Page}&Limit={Limit}&Name={Name}]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Name (optional) ... Only return brands that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "Total": 1,
                "Page": 1,
                "BrandList": [
                    {
                        "ID": "fa528b78-d8a3-4f87-b1ac-9cea985e337d",
                        "Name": "New Brand"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
            Name : "Test new brand"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "ca585936-d523-4c40-980b-fbd0199d61fc",
                "Name": "Test new brand"
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "ca585936-d523-4c40-980b-fbd0199d61fc",
                "Name": "Test new brand 1"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "ca585936-d523-4c40-980b-fbd0199d61fc",
                "Name": "Test new brand 1"
            }

### DELETE [DELETE /ref/brand?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of Brand to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


# Group Carrier

Carrier CRUD operations

### Available Fields for Carrier
| Property      | Type      | Length    | Required  | Notes                 |
|:--------------|-----------|-----------|-----------|-----------------------|
| `CarrierID`   | Guid      |           |           | Unique Carrier ID.    |
| `Description` | String    | 256       | Yes       | Name of Carrier.      |

## Carrier [/ref/carrier]
  
### GET [GET /ref/carrier?Page={Page}&Limit={Limit}&CarrierID={CarrierID}&Description={Description}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + CarrierID (optional, Guid) ... Only return Carrier with the specific CarrierID
    + Description (optional, string) ... Only return Carriers that start with the specific Description

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "CarrierList": [
                    {
                        "CarrierID": "729cd659-c0ca-4a8a-9771-84539cd2e7e8",
                        "Description": "DEFAULT Carrier"
                    }
                ]
            }
           

 
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
            {
                "Description": "NEW Carrier"
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "CarrierList": [
                    {
                        "CarrierID": "8a5697fa-4c0b-46a5-a5bf-1864cb76623f",
                        "Description": "NEW Carrier"
                    }
                ]
            }
   

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "CarrierID": "8a5697fa-4c0b-46a5-a5bf-1864cb76623f",
                "Description": "UPDATED NEW Carrier"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "CarrierList": [
                    {
                        "CarrierID": "8a5697fa-4c0b-46a5-a5bf-1864cb76623f",
                        "Description": "UPDATED NEW Carrier"
                    }
                ]
            }

### DELETE [DELETE /ref/carrier?ID={ID}]

+ Parameters
    + ID (required, Guid) ... ID of Carrier to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


# Group Chart of Accounts

Chart of Accounts CRUD operations

### Available Fields for Chart of Accounts
| Property | Type           | Length | Required | Notes          |
|:---------|----------------|--------|----------|----------------|
| `Code`   | String         | 50     | Yes      | Unique code of Account   |
| `Name`   | String         | 256    | Yes      | Account name   |
| `Type`   | String         | 50     | Yes      | Should be one of the following values: `BANK`, `CURRLIAB`, `LIABILITY`, `TERMLIA`, `PAYGLIABILITY`, `SUPERANNUATIONLIABILITY`, `WAGESPAYABLELIABILITY` |
| `Status` | String         | 50     | Yes      | Account status |
| `Description` | String    |        |          | Account description |
| `Class`  | String         |        |          | Should be one of the following values: `ASSET`, `LIABILITY`, `EXPENSE`, `EQUITY`, `REVENUE` |
| `SystemAccount` | String  |        |          | Read-only for PUT. Should be one of the following values: `Accounts receivable`, `Accounts payable`, `Bank revaluations`, `GST / VAT`, `GST on imports`, `Historical adjustment`, `Realized currency gains`, `Retained earnings`, `Rounding`, `Tracking transfers`, `Unpaid expense claims`, `Unrealized currency gains`, `Wages payable`". For POST requests, the user may optionally provide a value for either SystemAccount or SystemAccountCode. If both fields are provided, the account code and name must correspond to the same account. |
| `SystemAccountCode` | String  |        |          | Read-only for PUT. Should be one of the following values: `BANKCURRENCYGAIN`, `CREDITORS`, `DEBTORS`, `GST`, `GSTONIMPORTS`, `HISTORICAL`, `REALISEDCURRENCYGAIN`, `RETAINEDEARNINGS`, `ROUNDING`, `TRACKINGTRANSFERS`, `UNPAIDEXPCLM`, `UNREALISEDCURRENCYGAIN`, `WAGEPAYABLES`". For POST requests, the user may optionally provide a value for either SystemAccount or SystemAccountCode. If both fields are provided, the account code and name must correspond to the same account. |
| `ForPayments` | String    |        |          | Account status |
| `DisplayName` | String    |        |          | Account display name. Read-only. |
| `OldCode`     | String    |        |          | Read-only.     |
| `Bank`        | String    |        |          | Name of the Bank. Only for PUT and POST. Required if Account `Type` is `BANK`. |
| `BankAccountNumber` | String |     |          | Bank Account Number. Only for PUT and POST. Required if Account `Type` is `BANK`. |
| `BankAccountId` | Guid    |        |          | Bank Account ID to which the Account is linked. Read-only  |
| `Currency`     | String   |        |          | Currency. Read-only.     |


## Chart of Accounts [/ref/account]

### GET [GET /ref/account?Page={Page}&Limit={Limit}&Code={Code}&Name={Name}&Type={Type}&Status={Status}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Code (optional, string) ... Only return accounts with the specific code
    + Name (optional, string) ... Only return accounts that start with the specific name
    + Type (optional, string) ... Only return accounts with the specific type
    + Status (optional, string) ... Only return accounts with the specific status

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 3,
                "Page": 1,
                "AccountsList": [
                    {
                        "Code": "800",
                        "Status": "ACTIVE",
                        "Name": "Accounts Payable",
                        "Type": "CURRLIAB",
                        "Description": "Outstanding invoices the company has received from suppliers but has not yet paid at balance date",
                        "Class": "LIABILITY",
                        "SystemAccount": "Accounts payable",
                        "SystemAccountCode": "CREDITORS",
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "800: Accounts Payable",
                        "OldCode": null
                    },
                    {
                        "Code": "610",
                        "Status": "ACTIVE",
                        "Name": "Accounts Receivable",
                        "Type": "CURRENT",
                        "Description": "Outstanding invoices the company has issued out to the client but has not yet received in cash at balance date.",
                        "Class": "ASSET",
                        "SystemAccount": "Accounts receivable",
                        "SystemAccountCode": "DEBTORS",
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "610: Accounts Receivable",
                        "OldCode": null
                    },
                    {
                        "Code": "400",
                        "Status": "ACTIVE",
                        "Name": "Advertising",
                        "Type": "EXPENSE",
                        "Description": "Expenses incurred for advertising while trying to increase sales",
                        "Class": "EXPENSE",
                        "SystemAccount": null,
                        "SystemAccountCode": null,
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "400: Advertising",
                        "OldCode": null
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Code": "001",
                "Status": "ACTIVE",
                "Name": "Accounts Payable test",
                "Type": "CURRLIAB",
                "Description": "Outstanding invoices the company has received from suppliers but has not yet paid at balance date",
                "Class": "LIABILITY",
                "SystemAccount": "Accounts payable",
                "SystemAccountCode": "CREDITORS"
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "AccountsList": [
                    {
                        "Code": "001",
                        "Status": "ACTIVE",
                        "Name": "Accounts Payable test",
                        "Type": "CURRLIAB",
                        "Description": "Outstanding invoices the company has received from suppliers but has not yet paid at balance date",
                        "Class": "LIABILITY",
                        "SystemAccount": "Accounts payable",
                        "SystemAccountCode": "CREDITORS",
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "001: Accounts Payable test",
                        "OldCode": null
                    }
                ]
            }

### PUT [PUT]
+ Updating accounts is not allowed while integration with Xero or Quickbooks enabled.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
   
            {
                "Code": "001",
                "Status": "ACTIVE",
                "Name": "Accounts Payable put test",
                "Type": "CURRLIAB",
                "Description": "Put test description",
                "Class": "LIABILITY"
            }
        

+ Response 200 (application/json)
    + Body 
            
            {
                "Total": 1,
                "Page": 1,
                "AccountsList": [
                    {
                        "Code": "001",
                        "Status": "ACTIVE",
                        "Name": "Accounts Payable put test",
                        "Type": "CURRLIAB",
                        "Description": "Put test description",
                        "Class": "LIABILITY",
                        "SystemAccount": "Accounts payable",
                        "SystemAccountCode": "CREDITORS",
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "001: Accounts Payable put test",
                        "OldCode": null
                    }
                ]
            }

### DELETE [DELETE /ref/account?Code={Code}]

+ Parameters
    + Code (required, string) ... Code of account to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }

# Group Customer

Customer CRUD operations

### Available Fields for Customer
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ID`                  | Guid      |           | Yes       | Unique Customer ID.                                           |
| `Name`                | String    | 256       | Yes       | Customer name. Must be unique.                                             |
| `DisplayName`         | String    | 256       |           | Preferred customer name. Unlike `Name`, multiple customers can use this `DisplayName`. It does not need to be unique.                                             |
| `Status`              | String    |           | Yes*      | Points that Customer is Active. Available values are `Active` and `Deprecated`. Required for POST|
| `Currency`            | String    |           | Yes       | Currency code of Customer.                                    |
| `PaymentTerm`         | String    |           | Yes       | Payment term.                                                 |
| `AccountReceivable`   | String    |           | Yes       | Account receivable code of Customer.                          |
| `RevenueAccount`      | String    |           | Yes       | Sale account code of Customer.                                |
| `TaxRule`             | String    |           | Yes       | Tax rule name.                                                |
| `PriceTier`           | String    |           |           | Price tier.                                                   |
| `Carrier`             | String    |           |           | Carrier name.                                                 |
| `SalesRepresentative` | String    |           |           | Sales representative.                                         |
| `Location`            | String    |           |           | Location.                                                     |
| `Discount`            | Int       |           |           | Discount must be between 0% and 100%.                         |
| `Comments`            | String    | 2000       |           | Comments.                                                     |
| `TaxNumber`           | Int       |           |           | Tax number.                                                   |
| `CreditLimit`         | Int       |           |           | Credit limit.                                                 |
| `Tags`                | String    |           |           | Tags string.                                                  |
| `AttributeSet`        | String    |           |           | AttributeSet name.                                            |
| `AdditionalAttribute#`| String    |           |           | Additional attribute value. # - int(1-10).                    |
| `LastModifiedOn`      | String    |           |           | Date of last modification.                                    |
| `IsOnCreditHold`      | Bool      |           |           | Is On Credit Hold.                                    |
| `LastModifiedOn`      | DateTime      |           |           | Date of last modification. UTC Time. Read-only. |
| `IsLegalEntity`      | Bool      |           |           | `true` if a customer is a Legal Entity. Default `false`.  |
| `CustomerParentID`      | Guid      |           |           | The unique Customer ID for a parent customer or `null`.  |
| `CustomerParentName`      | String      | 256          |           | Name of the parent customer.   |
| `IsBillParent`      | Bool      |           |           | Default `false`. Not available if the Parent is empty or null. If `true`, Child uses the Parent's billing address and sales history.  |
| `ProductPrices`       |<a href="#ProductPriceModel"><b>[] Product Price Model</b></a>||| Customer specific Product Prices.         |
| `Addresses`           |<a href="#SupplierAddressModel"><b>[] Customer Address Model</b></a>||| List of addresses.         |
| `Contacts`            |<a href="#SupplierContactModel"><b>[] Customer Contact Model</b></a>||| List of contacts.          |
| `ChildCustomers`            |<a href="#ChildCustomerModel"><b>[] Child Customer Model</b></a>||| Customers’s child records (available only in the responses)       |

## Customer [/customer]  
  
### GET [GET /customer?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&ModifiedSince={ModifiedSince}&IncludeDeprecated={IncludeDeprecated}&IncludeProductPrices={IncludeProductPrices}&ContactFilter={ContactFilter}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Customer with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Customers which name starts with the specific name
        + Default: null
    + ContactFilter (optional, string) ... Only return Customers which contact name starts with the specified value of contact email equals to specified value
        + Default: null
    + ModifiedSince (optional, DateTime?) ... Only return Customers modified since specified date (UTC time) in ISO 8601 format.
        + Default: null
    + IncludeDeprecated (optional, bool) ... Returns all Customers, including deprecated, if set to true. If set to false or if it is not specified then returns only active (ie. non-deprecated) Suppliers"
        + Default: false
    + IncludeProductPrices (optional, bool) ... Returns all Customers, including customer specific product prices, if set to true. If set to false or if it is not specified then no Product Prices will be returned."
        + Default: false
    

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "CustomerList": [
                   {
                        "ID": "0365e5bb-e5ea-4a45-b98b-fdc4466bdaf1",
                        "Name": "Human Test",
                        "DisplayName": "Mary Jane",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "Discount": 0,
                        "TaxRule": "BAS Excluded",
                        "Carrier": "DEFAULT Carrier",
                        "SalesRepresentative": null,
                        "Location": "Main Warehouse",
                        "Comments": "",
                        "AccountReceivable": "610",
                        "RevenueAccount": "200",
                        "PriceTier": "Tier 1",
                        "TaxNumber": "",
                        "AdditionalAttribute1": "",
                        "AdditionalAttribute2": "",
                        "AdditionalAttribute3": "",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": null,
                        "Tags": "",
                        "Status": "Active",
                        "CreditLimit": 0,
                        "IsOnCreditHold": false,
                        "IsLegalEntity": false,
                        "CustomerParentID": null,
                        "CustomerParentName": null,
                        "IsBillParent": false,
                        "LastModifiedOn": "2018-01-24T05:07:23.917Z",
                        "Addresses": [
                            {
                                "Line1": "P O Box 456",
                                "Line2": "Southbank",
                                "City": "Melbourne GPO",
                                "State": "VIC",
                                "Postcode": "3331",
                                "Country": "Uruguay",
                                "Type": "Billing",
                                "DefaultForType": true,
                                "ID": "fc8ca28e-7f91-4ac3-8fff-deb86395b494"
                            }
                        ],
                        "Contacts": [
                            {
                                "Name": "Nick Wakefield",
                                "JobTitle": null,
                                "Phone": "03 3014556",
                                "MobilePhone": null,
                                "Fax": null,
                                "Email": null,
                                "Website": null,
                                "Default": true,
                                "Comment": null,
                                "IncludeInEmail": false,
                                "MarketingConsent": 1,
                                "ID": "c650db26-2fca-4fe4-837d-ffd0f4d97200"
                            }
                        ],
                        "ChildCustomers": [
                            {
                                "CustomerID": "4f36c2a6-f736-450f-be41-28372bde80f6",
                                "CustomerName": "Child Customer"
                            }
                        ]
                    },
                    {
                        "ID": "861918cc-81f9-4701-9639-864c796561cf",
                        "Name": "Customer Test",
                        "DisplayName": "John Doe",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "Discount": 0,
                        "TaxRule": "GST Free Exports",
                        "Carrier": null,
                        "SalesRepresentative": null,
                        "Location": "Main Warehouse",
                        "Comments": null,
                        "AccountReceivable": "610",
                        "RevenueAccount": "200",
                        "PriceTier": "Tier 1",
                        "TaxNumber": null,
                        "AdditionalAttribute1": null,
                        "AdditionalAttribute2": null,
                        "AdditionalAttribute3": null,
                        "AdditionalAttribute4": null,
                        "AdditionalAttribute5": null,
                        "AdditionalAttribute6": null,
                        "AdditionalAttribute7": null,
                        "AdditionalAttribute8": null,
                        "AdditionalAttribute9": null,
                        "AdditionalAttribute10": null,
                        "AttributeSet": null,
                        "Tags": null,
                        "Status": "Active",
                        "CreditLimit": 0,
                        "IsOnCreditHold": false,
                        "IsLegalEntity": true,
                        "CustomerParentID": "ceb4ef7a-e23d-4730-8021-e807e5b76882",
                        "CustomerParentName": "Parent customer test",
                        "IsBillParent":true,
                        "LastModifiedOn": "2018-01-30T06:07:43.46Z",
                        "Addresses": [],
                        "Contacts": [
                            {
                                "Name": "Customer Test",
                                "JobTitle": null,
                                "Phone": null,
                                "MobilePhone": null,
                                "Fax": null,
                                "Email": "Customer@mail.ru",
                                "Website": null,
                                "Default": true,
                                "Comment": null,
                                "IncludeInEmail": false,
                                "MarketingConsent": 2,
                                "ID": "23ef723b-75b5-43b3-8ee7-56d193e53923"
                            }
                        ],                        
                        "ProductPrices": [
                            {
                                "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                "ProductName": "Screws Drive Cross",
                                "ProductSKU": "Screws-SKU - 002",
                                "Price": 1.1
                            }
                        ],
                        "ChildCustomers": []
                    }
                ]
            }      
          

  
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
            {
                "Name": "DIISR - Small Business Services customer",
                "DisplayName": "Mary Jane",
                "Currency": "AUD",
                "PaymentTerm": "30 days",
                "Discount": 0,
                "TaxRule": "GST Free Exports",
                "Carrier": "DEFAULT Carrier",
                "SalesRepresentative": null,
                "Location": "Main Warehouse",
                "Comments": null,
                "AccountReceivable": "610",
                "RevenueAccount": "200",
                "PriceTier": "Tier 1",
                "TaxNumber": null,
                "AdditionalAttribute1": null,
                "AdditionalAttribute2": null,
                "AdditionalAttribute3": null,
                "AdditionalAttribute4": null,
                "AdditionalAttribute5": null,
                "AdditionalAttribute6": null,
                "AdditionalAttribute7": null,
                "AdditionalAttribute8": null,
                "AdditionalAttribute9": null,
                "AdditionalAttribute10": null,
                "AttributeSet": null,
                "Tags": null,
                "Status": "Active",
                "IsOnCreditHold": true,
                "IsLegalEntity": true,
                "CustomerParentID": "ceb4ef7a-e23d-4730-8021-e807e5b76882",
                "CustomerParentName": "Parent customer test",
                "IsBillParent":true,
                "Addresses": [
                    {
                        "ID": "4bc4e423-d8af-454d-a186-4a827c15bd0b",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Line1": "L3, Southbank House",
                        "Line2": "13 Gallery Ave",
                        "City": "Melbourne",
                        "State": "VIC",
                        "Postcode": "3131",
                        "Country": "Uruguay",
                        "Type": "Business",
                        "DefaultForType": true
                    },
                    {
                        "ID": "35cec087-04da-46b5-b3c8-c3a7311f2417",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Line1": "L3, Southbank House",
                        "Line2": "13 Gallery Ave",
                        "City": "Melbourne",
                        "State": "VIC",
                        "Postcode": "3131",
                        "Country": "Uruguay",
                        "Type": "Billing",
                        "DefaultForType": true
                    }
                ],
                "Contacts": [
                    {
                        "ID": "1d62f59b-657d-423f-ad95-9ad9ec4f29a3",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Name": "Sheree Bond",
                        "JobTitle": null,
                        "Phone": "0800 4389376",
                        "MobilePhone": null,
                        "Fax": "03 4389379",
                        "Email": "accounts@diisr.govt",
                        "Website": null,
                        "Default": true,
                        "Comment": null,
                        "IncludeInEmail": false,
                        "MarketingConsent": 1,
                    }
                ]                
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "CustomerList": [
                    {
                        "ID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                        "Name": "DIISR - Small Business Services customer",
                        "DisplayName": "Mary Jane",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "Discount": 0,
                        "TaxRule": "GST Free Exports",
                        "Carrier": "DEFAULT Carrier",
                        "SalesRepresentative": null,
                        "Location": "Main Warehouse",
                        "Comments": null,
                        "AccountReceivable": "610",
                        "RevenueAccount": "200",
                        "PriceTier": "Tier 1",
                        "TaxNumber": null,
                        "AdditionalAttribute1": null,
                        "AdditionalAttribute2": null,
                        "AdditionalAttribute3": null,
                        "AdditionalAttribute4": null,
                        "AdditionalAttribute5": null,
                        "AdditionalAttribute6": null,
                        "AdditionalAttribute7": null,
                        "AdditionalAttribute8": null,
                        "AdditionalAttribute9": null,
                        "AdditionalAttribute10": null,
                        "AttributeSet": null,
                        "Tags": null,
                        "Status": "Active",
                        "IsOnCreditHold": true,
                        "IsLegalEntity": true,
                        "CustomerParentID": "ceb4ef7a-e23d-4730-8021-e807e5b76882",
                        "CustomerParentName": "Parent customer test",
                        "IsBillParent":true,
                        "LastModifiedOn": "2018-01-31T06:07:43.46Z",
                        "CreditLimit": 0
                        "Addresses": [
                            {
                                "ID": "b2e8260c-29f8-4153-b8bc-3b4932cb1e1d",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Line1": "L3, Southbank House",
                                "Line2": "13 Gallery Ave",
                                "City": "Melbourne",
                                "State": "VIC",
                                "Postcode": "3131",
                                "Country": "Uruguay",
                                "Type": "Billing",
                                "DefaultForType": true
                            },
                            {
                                "ID": "505080d3-ebad-4d03-85ae-88df19536bc9",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Line1": "L3, Southbank House",
                                "Line2": "13 Gallery Ave",
                                "City": "Melbourne",
                                "State": "VIC",
                                "Postcode": "3131",
                                "Country": "Uruguay",
                                "Type": "Business",
                                "DefaultForType": true
                            }
                        ],
                        "Contacts": [
                            {
                                "ID": "817e0314-97fc-4d3f-855b-14fbb89de2ba",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Name": "Sheree Bond",
                                "JobTitle": null,
                                "Phone": "0800 4389376",
                                "MobilePhone": null,
                                "Fax": "03 4389379",
                                "Email": "accounts@diisr.govt",
                                "Website": null,
                                "Default": true,
                                "Comment": null,
                                "IncludeInEmail": false,
                                "MarketingConsent": 1,
                            }
                        ],
                        "ChildCustomers": []
                    }
                ]
            }  
  

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "ID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                "Name": "DIISR - Small Business Services customer",
                "DisplayName": "Mary Jane",
                "Currency": "AUD",
                "PaymentTerm": "30 days",
                "Discount": 0,
                "TaxRule": "GST Free Exports",
                "Carrier": "DEFAULT Carrier",
                "SalesRepresentative": null,
                "Location": "Main Warehouse",
                "Comments": null,
                "AccountReceivable": "610",
                "RevenueAccount": "200",
                "PriceTier": "Tier 1",
                "TaxNumber": null,
                "AdditionalAttribute1": null,
                "AdditionalAttribute2": null,
                "AdditionalAttribute3": null,
                "AdditionalAttribute4": null,
                "AdditionalAttribute5": null,
                "AdditionalAttribute6": null,
                "AdditionalAttribute7": null,
                "AdditionalAttribute8": null,
                "AdditionalAttribute9": null,
                "AdditionalAttribute10": null,
                "AttributeSet": null,
                "Tags": null,
                "IsOnCreditHold": false,
                "IsLegalEntity": false,
                "CustomerParentID": null,
                "CustomerParentName": null,
                "IsBillParent":false,
                "Status": "Active",
                "Addresses": [
                    {
                        "ID": "4bc4e423-d8af-454d-a186-4a827c15bd0b",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Line1": "L3, Southbank House",
                        "Line2": "13 Gallery Ave",
                        "City": "Melbourne",
                        "State": "VIC",
                        "Postcode": "3131",
                        "Country": "Uruguay",
                        "Type": "Business",
                        "DefaultForType": true
                    },
                    {
                        "ID": "35cec087-04da-46b5-b3c8-c3a7311f2417",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Line1": "L3, Southbank House",
                        "Line2": "13 Gallery Ave",
                        "City": "Melbourne",
                        "State": "VIC",
                        "Postcode": "3131",
                        "Country": "Uruguay",
                        "Type": "Billing",
                        "DefaultForType": true
                    }
                ],
                "Contacts": [
                    {
                        "ID": "1d62f59b-657d-423f-ad95-9ad9ec4f29a3",
                        "CustomerID": "4978c3ff-4382-4045-819b-2971480ddaf1",
                        "Name": "Sheree Bond",
                        "JobTitle": null,
                        "Phone": "0800 4389376",
                        "MobilePhone": null,
                        "Fax": "03 4389379",
                        "Email": "accounts@diisr.govt",
                        "Website": null,
                        "Default": true,
                        "Comment": null,
                        "IncludeInEmail": false,
                        "MarketingConsent": 3,
                    }
                ]
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "CustomerList": [
                    {
                        "ID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                        "Name": "DIISR - Small Business Services customer",
                        "DisplayName": "Mary Jane",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "Discount": 0,
                        "TaxRule": "GST Free Exports",
                        "Carrier": "DEFAULT Carrier",
                        "SalesRepresentative": null,
                        "Location": "Main Warehouse",
                        "Comments": "",
                        "AccountReceivable": "610",
                        "RevenueAccount": "200",
                        "PriceTier": "Tier 1",
                        "TaxNumber": "",
                        "AdditionalAttribute1": "",
                        "AdditionalAttribute2": "",
                        "AdditionalAttribute3": "",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": null,
                        "Tags": "",
                        "Status": "Active",
                        "IsOnCreditHold": false,
                        "IsLegalEntity": false,
                        "CustomerParentID": null,
                        "CustomerParentName": null,
                        "IsBillParent":false,
                        "LastModifiedOn": "2018-01-31T06:20:43.46Z",
                        "CreditLimit": 0
                        "Addresses": [
                            {
                                "ID": "35cec087-04da-46b5-b3c8-c3a7311f2417",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Line1": "L3, Southbank House",
                                "Line2": "13 Gallery Ave",
                                "City": "Melbourne",
                                "State": "VIC",
                                "Postcode": "3131",
                                "Country": "Uruguay",
                                "Type": "Billing",
                                "DefaultForType": true
                            },
                            {
                                "ID": "4bc4e423-d8af-454d-a186-4a827c15bd0b",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Line1": "L3, Southbank House",
                                "Line2": "13 Gallery Ave",
                                "City": "Melbourne",
                                "State": "VIC",
                                "Postcode": "3131",
                                "Country": "Uruguay",
                                "Type": "Business",
                                "DefaultForType": true
                            }
                        ],
                        "Contacts": [
                            {
                                "ID": "1d62f59b-657d-423f-ad95-9ad9ec4f29a3",
                                "CustomerID": "7d6b441a-3067-42b1-9b81-2def95df827b",
                                "Name": "Sheree Bond",
                                "JobTitle": null,
                                "Phone": "0800 4389376",
                                "MobilePhone": null,
                                "Fax": "03 4389379",
                                "Email": "accounts@diisr.govt",
                                "Website": null,
                                "Default": true,
                                "Comment": null,
                                "IncludeInEmail": false,
                                "MarketingConsent": 3,
                            }
                        ],
                        "ChildCustomers": [
                            {
                                "CustomerID": "4f36c2a6-f736-450f-be41-28372bde80f6",
                                "CustomerName": "Child Customer"
                            }
                        ]
                    }
                ]
            }

## Customer Default Template [/ref/customer/templates]
### Available fields for Customer Default Template
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `CustomerID`  | Guid           |         |   Yes*  |  Customer ID. |
| `TemplateID`  | Guid           |         |   Yes*  | Template ID.  |

Customer Default Template CRUD Operations.

### GET [GET /ref/customer/templates?Page={Page}&Limit={Limit}&CustomerId={CustomerId}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + CustomerId (optional, Guid) ... Only return Customer Default Templates for specified CustomerId.
        + Default: null
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
              "Page": 1,
              "CustomerTemplates": [
                {
                  "CustomerID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "TemplateID": "5bafe3f7-738c-459d-9a01-6337f15decbb"
                },
                {
                  "CustomerID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "TemplateID": "0a3c1651-9ab3-495d-9d87-2cb7fa2d0f7d"
                },
                {
                  "CustomerID": "047d59f1-19dd-4bd9-9f75-5bff1431d100",
                  "TemplateID": "344eaab7-c7f5-4b1e-a7b6-d29ebf6cf7b6"
                }
              ]
            }    

### POST [POST]

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
        
            {
              "CustomerTemplates": [
                {
                  "CustomerID": "d7392f64-4d48-424c-8dfa-36f8895162ff",
                  "TemplateID": "344eaab7-c7f5-4b1e-a7b6-d29ebf6cf7b6"
                },
                {
                  "CustomerID": "d7392f64-4d48-424c-8dfa-36f8895162ff",
                  "TemplateID": "0a3c1651-9ab3-495d-9d87-2cb7fa2d0f7d"
                }
              ]
            }
        
+ Response 200 (application/json)
    + Body
    
            {
              "Page": 1,
              "CustomerTemplates": [
                {
                  "CustomerID": "d7392f64-4d48-424c-8dfa-36f8895162ff",
                  "TemplateID": "344eaab7-c7f5-4b1e-a7b6-d29ebf6cf7b6"
                },
                {
                  "CustomerID": "d7392f64-4d48-424c-8dfa-36f8895162ff",
                  "TemplateID": "0a3c1651-9ab3-495d-9d87-2cb7fa2d0f7d"
                },
                {
                  "CustomerID": "047d59f1-19dd-4bd9-9f75-5bff1431d100",
                  "TemplateID": "344eaab7-c7f5-4b1e-a7b6-d29ebf6cf7b6"
                }
              ]
            }

### DELETE [DELETE /ref/customer/templates?TemplateId={TemplateId}&CustomerId={CustomerId}]

+ Parameters
    + TemplateId (required, string) ... Provide Template ID.
    + CustomerId (required, string) ... Provide Customer ID.
    

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
              "Page": 1,
              "CustomerTemplates": [
                {
                  "CustomerID": "047d59f1-19dd-4bd9-9f75-5bff1431d100",
                  "TemplateID": "344eaab7-c7f5-4b1e-a7b6-d29ebf6cf7b6"
                }
              ]
            }

## Customer Credits [/ref/customer/credits]
### Available fields for Customer Credits
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `CreditID`  | Guid           |         |     |  Credit ID, identifier unique key.  |
| `CustomerID`  | Guid           |         |     |  Customer ID|
| `CustomerName`  | String           |         |    | Customer name.  |
| `Account`  | String           |         |    | Credit account.  |
| `Amount`  | Decimal           |         |     | Credit amount.  |
| `RemainingAmount`  | Decimal           |         |    |Credit remaining amount.  |
| `Currency`  | String           |         |    | Credit currency name.  |
| `ConvRate`  | Decimal           |         |    | Currency conversion rate.  |
| `Date`  | Date           |         |    | Date paid |
| `Description`  | String           |         |    | Credit description |



### GET [GET /ref/customer/credits?Page={Page}&Limit={Limit}&CustomerID={CustomerID}&ShowUsedCredits={ShowUsedCredits}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + CustomerID (optional, Guid) ... Only return Customer Credits for specified CustomerID.
        + Default: null
    + ShowUsedCredits (optional, Boolean) ... Return Customer Credits icluded already used.
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
              "Page": 1,
              "CustomerCredits": [
                {
                  "CreditID": "55607b9a-dc9b-4ef4-9ed3-495434e90434",
                  "CustomerID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "CustomerName": "Customer name",
                  "Account": "1200",
                  "Amount": 100,
                  "RemainingAmount": 50,
                  "Currency": "USD",
                  "ConvRate": 1,
                  "Date": "2024-01-09T00:00:00",
                  "Description": "Credit by prepayments"
                },
                {
                  "CreditID": "67607b9a-dc9b-4ef4-9ed3-495434e90489",
                  "CustomerID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "CustomerName": "Customer name",
                  "Account": "1300",
                  "Amount": 100,
                  "RemainingAmount": 0,
                  "Currency": "USD",
                  "ConvRate": 1,
                  "Date": "2024-04-09T00:00:00",
                  "Description": "Credit by prepayments"
                }
              ]
            }    
            


# Group Disassembly

## Disassembly List [/disassemblyList]
### Available fields for Disassembly List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `DisassemblyNumber`  | String           |         |          |Disassembly Number        |
| `ProductID`  | Guid           |         |          |Product ID        |
| `ProductCode`  | String           |         |          |Product Code        |
| `ProductName`  | String           |         |          |Product Name         |
| `Quantity`  | Decimal           |         |          |Quantity          |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `Date`  | DateTime           |         |          |Date         |
| `Status`  | String           |         |          |Disassembly Task Status. Available values are `DRAFT`,`WORK IN PROGRESS`,`COMPLETED`,`VOIDED`         |

### GET [GET /disassemblyList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}]

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Status (optional) ... Only return Disassembly with specified status (Default: null)
    + Search (optional) ... Only return Disassembly with search value contained in one of these fields: DisassemblyNumber, Location, Status, Name, ProductCode (Default: null)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 9,
                "Page": 1,
                "Disassemblies": [
                    {
                        "TaskID": "122df91c-1ce5-46e2-86f7-52cc14e7964b",
                        "DisassemblyNumber": "FG-00018",
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "ProductName": "Baked Bread",
                        "Quantity": 1,
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Location": "Main Warehouse",
                        "Date": "2018-01-09T00:00:00",
                        "Status": "DRAFT"
                    }
                ]
            }
            

## Disassembly [/disassembly]
### Available fields for Disassembly
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `DisassemblyNumber`  | String           |         |          |Disassembly Number        |
| `Status`  | String           |         |          |Disassembly Task Status. Available values are `DRAFT`,`WORK IN PROGRESS`,`COMPLETED`,`VOIDED`         |
| `ProductID`  | Guid           |         |          |Product ID        |
| `ProductCode`  | String           |         |          |Product Code        |
| `ProductName`  | String           |         |          |Product Name         |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `WIPAccount`  | String           |         |          |Work in Progress Account          |
| `Quantity`  | Decimal           |         |          |Quantity          |
| `AssemblyInstructionURL`  | String           |         |          |Assembly Instruction URL     |
| `PickLines`  |<a href="#DisassemblyPickLineModel"><b>[] Disassembly Pick Line Model</b></a>|         |          |        |
| `OrderLines`  |<a href="#DisassemblyOrderLineModel"><b>[] Disassembly Order Line Model</b></a>|         |          |        |
| `OrderServiceLines`  |<a href="#DisassemblyOrderServiceLineModel"><b>[] Disassembly Order Service Line Model</b></a>|         |          |        |
| `Transactions`  |<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|         |          |        |
| `Errors`  |<a href="#ErrorModel"><b>[] Error Model</b></a>|         |          |If While processing `POST` method, some errors occurred, but task was created, this property will contain array of error messages.    |

### Available fields for POST method
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Status`  | String           |         |     Yes     |Disassembly Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`.|
| `ProductID`  | Guid           |         |Yes*|Product ID. Required if `ProductCode` is empty       |
| `ProductCode`  | String           |         |Yes*|Product Code. Required if `ProductID` is empty |
| `LocationID`  | Guid           |         | Yes*         |Location ID. Required if `Location` is empty    |
| `Location`  | Decimal           |         | Yes*         |Location Name. Required if `LocationID` is empty     |
| `WIPAccount`  | String           |         |    Yes      |Work in Progress Account          |
| `Quantity`  | Decimal           |         |    Yes      |Quantity          |

### POST method Statuses meanings
| Status |Action |
|:-------|----------|
|`WORK IN PROGRESS`|New Disassembly task will be created, system will try to automatically add pick items.|
|`COMPLETED`|New Disassembly task will be created, system will try to automatically add pick items, order items, and Complete the task.|


### GET [GET /disassembly?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns detailed info of a particular Disassembly

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "38cddb52-9a81-4c07-9791-362936efa552",
                "DisassemblyNumber": "FG-00026",
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "CompletionDate": "2017-12-21T00:00:00",
                "WIPAccount": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "PickLines": [
                    {
                        "BinID": null,
                        "Bin": null,
                        "Date": "2017-12-27T00:00:00",
                        "BatchSN": "3",
                        "ExpiryDate": "2017-12-21T00:00:00",
                        "Available": 48,
                        "UnitCost": 5,
                        "Quantity": 1,
                        "TotalCost": 5
                    }
                ],
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": null,
                        "Bin": null,
                        "Unit": "Item",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Account": "715",
                        "Quantity": 1,
                        "Cost": 5
                    }
                ],
                "OrderServiceLines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Account": "416",
                        "Comments": "",
                        "Amount": 600
                    }
                ],
                "Transactions": [
                    {
                        "ID": "80b705e7-00af-4260-9dd2-22240e31ff89",
                        "EffectiveDate": "2018-01-12T00:00:00",
                        "Debit": "715",
                        "Credit": "416",
                        "Amount": 600
                    }
                ],
                "Errors": []
            }
    

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "CompletionDate": "2017-12-21T00:00:00",
                "WIPAccount": "715",
                "Quantity": 1
            }
+ Response 200 (application/json)
    + Body 
            
            {
                "TaskID": "eb366295-5342-40e6-b1bf-9e44fbc1487d",
                "DisassemblyNumber": "FG-00027",
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "CompletionDate": "2017-12-21T00:00:00",
                "WIPAccount": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "PickLines": [
                    {
                        "BinID": null,
                        "Bin": null,
                        "Date": "2017-12-27T00:00:00",
                        "BatchSN": "3",
                        "ExpiryDate": "2017-12-21T00:00:00",
                        "Available": 49,
                        "UnitCost": 5,
                        "Quantity": 1,
                        "TotalCost": 5
                    }
                ],
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": null,
                        "Bin": null,
                        "Unit": "Item",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Account": "715",
                        "Quantity": 1,
                        "Cost": 5
                    }
                ],
                "OrderServiceLines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Account": "416",
                        "Comments": "",
                        "Amount": 600
                    }
                ],
                "Transactions": [
                    {
                        "ID": "81140682-6504-4799-b54e-368d8fae2253",
                        "EffectiveDate": "2018-01-12T00:00:00",
                        "Debit": "715",
                        "Credit": "416",
                        "Amount": 600
                    }
                ],
                "Errors": []
            }
                

### Delete [DELETE /disassembly?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Disassembly to Void or Undo
    + Void (optional,boolean) ... Void or Undo Disassembly
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "eb366295-5342-40e6-b1bf-9e44fbc1487d",
                "DisassemblyNumber": "FG-00027",
                "Status": "VOIDED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "CompletionDate": "2017-12-21T00:00:00",
                "WIPAccount": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "PickLines": [],
                "OrderLines": [],
                "OrderServiceLines": [],
                "Transactions": [],
                "Errors": []
            }
    

## Disassembly Order [/disassembly/order]

### Available fields for Disassembly Order
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `Status`  | String           |         |          |Disassembly Task Status. Available values are `DRAFT`,`WORK IN PROGRESS`,`COMPLETED`,`VOIDED`. Available values for `POST` are `WORK IN PROGRESS` and `COMPLETED`.|
| `OrderLines`  |<a href="#DisassemblyOrderLineModel"><b>[] Disassembly Order Line Model</b></a>|         |        |

### GET [GET /disassembly/order?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns Order info of a particular Disassembly

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "122df91c-1ce5-46e2-86f7-52cc14e7964b",
                "Status": "COMPLETED",
                "CompletionDate": "2017-12-21T00:00:00",
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": null,
                        "Bin": null,
                        "Unit": "Item",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Account": "715",
                        "Quantity": 1,
                        "Cost": 5
                    }
                ],
                "OrderServiceLines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Account": "416",
                        "Comments": "",
                        "Amount": 600
                    }
                ]
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "122df91c-1ce5-46e2-86f7-52cc14e7964b",
                "Status": "COMPLETED",
                "CompletionDate": "2017-12-21T00:00:00",
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": null,
                        "Bin": null,
                        "Unit": "Item",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Account": "715",
                        "Quantity": 1,
                        "Cost": 5
                    }
                ],
                "OrderServiceLines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Account": "416",
                        "Comments": "Test",
                        "Amount": 600
                    }
                ]
            }
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "122df91c-1ce5-46e2-86f7-52cc14e7964b",
                "Status": "COMPLETED",
                "CompletionDate": "2017-12-21T00:00:00",
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": null,
                        "Bin": null,
                        "Unit": "Item",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Account": "715",
                        "Quantity": 1,
                        "Cost": 5
                    }
                ],
                "OrderServiceLines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Account": "416",
                        "Comments": "Test",
                        "Amount": 600
                    }
                ]
            } 


# Group Finished Goods

## Finished Goods List [/finishedGoodsList]

### Available fields for Finished Goods List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `AssemblyNumber`  | String           |         |          |Assembly Number        |
| `BatchSN`  | String           |         |          |Batch serial number       |
| `ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
| `ProductID`  | Guid           |         |          |Product ID        |
| `ProductCode`  | String           |         |          |Product Code        |
| `ProductName`  | String           |         |          |Product Name         |
| `Quantity`  | Decimal           |         |          |Quantity          |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `Date`  | DateTime           |         |          |Date         |
| `Status`  | String           |         |          |Finished Goods Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`,`VOIDED`         |
| `UnitCost`  | Decimal           |         |          |Unit Cost         |
| `Notes`  | String           |         |          |Notes        |
|`CustomField1`|String|||Value of Finished Goods additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Finished Goods additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Finished Goods additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Finished Goods additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Finished Goods additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Finished Goods additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Finished Goods additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Finished Goods additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Finished Goods additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Finished Goods additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### GET [GET /finishedGoodsList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}&SaleID={SaleID}]

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Status (optional) ... Only return Finished Goods with specified status (Default: null)
    + Search (optional) ... Only return Finished Goods with search value contained in one of these fields: AssemblyNumber, Location, Status, Name, ProductCode, BatchSN, Notes (Default: null)
    + SaleID (optional) ... Only return Finished Goods related to particular Sale

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 14,
                "Page": 1,
                "FinishedGoods": [
                    {
                        "TaskID": "c1819dba-772c-4689-8032-0ee7acb4bd66",
                        "AssemblyNumber": "FG-00001",
                        "BatchSN": "FG-00001",
                        "ExpiryDate": "2018-01-11T00:00:00",
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "ProductName": "Baked Bread",
                        "Quantity": 1,
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Location": "Main Warehouse",
                        "Date": "2018-01-03T00:00:00",
                        "Status": "COMPLETED",
                        "UnitCost": 0,
                        "Notes": "",
                        "CustomField1": "Low",
                        "CustomField2": "false",
                        "CustomField3": "test",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": ""
                    }
                ]
            }


## Finished Goods [/finishedGoods]

### Available fields for Finished Goods
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `AssemblyNumber`  | String           |         |          |Assembly Number        |
| `Status`  | String           |         |          |Finished Goods Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`,`VOIDED`         |
| `ProductID`  | Guid           |         |          |Product ID        |
| `ProductCode`  | String           |         |          |Product Code        |
| `ProductName`  | String           |         |          |Product Name         |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `BinID`  | Guid           |         |          |Bin ID    |
| `Bin`  | Decimal           |         |          |Bin Name     |
| `WIPAccount`  | String           |         |          |Work in Progress Account          |
| `WIPDate`  | DateTime           |         |          |Work in Progress Date          |
| `Account`  | String           |         |          |Finished Goods Account          |
| `Quantity`  | Decimal           |         |          |Quantity          |
| `AssemblyInstructionURL`  | String           |         |          |Assembly Instruction URL     |
| `CompletionDate`  | DateTime           |         |          |Completion Date         |
| `BatchSN`  | String           |         |          |Batch serial number       |
| `ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
| `Notes`  | String           |         |          |Notes        |
| `OrderLines`  |<a href="#FinishedGoodsOrderLineModel"><b>[] Finished Goods Order Line Model</b></a>|         |          |        |
| `PickLines`  |<a href="#FinishedGoodsPickLineModel"><b>[] Finished Goods Pick Line Model</b></a>|         |          |        |
| `Transactions`  |<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|         |          |        |
| `Errors`  |<a href="#ErrorModel"><b>[] Error Model</b></a>|         |          |If While processing `POST` method, some errors occurred, but task was created, this property will contain array of error messages.    |
|`CustomField1`|String|||Value of Finished Goods additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Finished Goods additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Finished Goods additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Finished Goods additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Finished Goods additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Finished Goods additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Finished Goods additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Finished Goods additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Finished Goods additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Finished Goods additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Available fields for POST method
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Status`  | String           |         |     Yes     |Finished Goods Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`.|
| `ProductID`  | Guid           |         |Yes*|Product ID. Required if `ProductCode` is empty       |
| `ProductCode`  | String           |         |Yes*|Product Code. Required if `ProductID` is empty |
| `LocationID`  | Guid           |         | Yes*         |Location ID. Required if `Location` is empty    |
| `Location`  | Decimal           |         | Yes*         |Location Name. Required if `LocationID` is empty     |
| `BinID`  | Guid           |         |          |Bin ID    |
| `Bin`  | Decimal           |         |          |Bin Name     |
| `WIPAccount`  | String           |         |    Yes      |Work in Progress Account          |
| `WIPDate`  | DateTime           |         |    Yes*      |Work in Progress Date. Required if `Status` is `AUTHORISED`, `IN PROGRESS` or `COMPLETED`.          |
| `Account`  | String           |         |      Yes    |Finished Goods Account          |
| `Quantity`  | Decimal           |         |    Yes      |Quantity          |
| `CompletionDate`  | DateTime           |         |   Yes       |Completion Date. Required if `Status` is `COMPLETED`         |
| `BatchSN`  | String           |         |          |Batch serial number       |
| `ExpiryDate`  | DateTime           |         |          |Batch Expiry Date. Required if Product CostingMethod is `FESN` or `FEBATCH`.          |
| `Notes`  | String           |         |          |Notes        |
|`CustomField1`|String|||Value of Finished Goods additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Finished Goods additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Finished Goods additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Finished Goods additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Finished Goods additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Finished Goods additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Finished Goods additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Finished Goods additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Finished Goods additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Finished Goods additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### POST method Statuses meanings
| Status |Action |
|:-------|----------|
|`DRAFT`|Only new Finished Goods task will be created.|
|`AUTHORISED`|New Finished Goods task will be created and system will try to automatically add order items.|
|`IN PROGRESS`|New Finished Goods task will be created, system will try to automatically add order items and Pick items.|
|`COMPLETED`|New Finished Goods task will be created, system will try to automatically add order items, Pick items and Complete the task.|

### Available fields for PUT method
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |Yes|ID of Finished Goods.     |
| `ProductID`  | Guid           |         |No|Product ID. Required if `ProductCode` is empty. Can only be changed in `DRAFT` status, otherwise ignored.       |
| `ProductCode`  | String           |         |No|Product Code. Required if `ProductID` is empty. Can only be changed in `DRAFT` status, otherwise ignored.  |
| `LocationID`  | Guid           |         | No         |Location ID. Required if `Location` is empty. Can only be changed in `DRAFT` status, otherwise ignored.      |
| `Location`  | Decimal           |         | No         |Location Name. Required if `LocationID` is empty. Can only be changed in `DRAFT` status, otherwise ignored.      |
| `BinID`  | Guid           |         |          |Bin ID. Can only be changed in `DRAFT` status, otherwise ignored.      |
| `Bin`  | Decimal           |         |          |Bin Name. Can only be changed in `DRAFT` status, otherwise ignored.       |
| `WIPAccount`  | String           |         |    No      |Work in Progress Account. Can only be changed in `DRAFT`, `AUTHORISED` statuses, otherwise ignored.           |
| `WIPDate`  | DateTime           |         |    No      |Work in Progress Date. Can only be changed in `DRAFT`, `AUTHORISED` statuses, otherwise ignored.          |
| `Account`  | String           |         |      No    |Finished Goods Account. Can only be changed in `DRAFT` status, otherwise ignored.           |
| `Quantity`  | Decimal           |         |    No      |Quantity. Can only be changed in `DRAFT`, `AUTHORISED`, `IN PROGRESS` statuses, otherwise ignored.          |
| `CompletionDate`  | DateTime           |         |   No       |Completion Date. Can only be changed in `DRAFT`, `AUTHORISED`, `IN PROGRESS` statuses, otherwise ignored.       |
| `BatchSN`  | String           |         |          |Batch serial number. Can only be changed in `DRAFT`, `AUTHORISED`, `IN PROGRESS` statuses, otherwise ignored.         |
| `ExpiryDate`  | DateTime           |         |          |Batch Expiry Date. Can only be changed in `DRAFT`, `AUTHORISED`, `IN PROGRESS` statuses, otherwise ignored.          |
| `Notes`  | String           |         |          |Notes        |
|`CustomField1`|String|||Value of Finished Goods additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Finished Goods additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Finished Goods additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Finished Goods additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Finished Goods additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Finished Goods additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Finished Goods additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Finished Goods additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Finished Goods additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Finished Goods additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|


### GET [GET /finishedGoods?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns detailed info of a particular Finished Goods

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "c1819dba-772c-4689-8032-0ee7acb4bd66",
                "AssemblyNumber": "FG-00001",
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": "e39b7ade-85c0-4425-83ee-071ca1b192e4",
                "Bin": "Test Bin",
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": "",
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": "",
                "OrderLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "ExpenseAccount": "",
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 0,
                        "TotalQuantity": 1,
                        "TotalCost": 0.5
                    }
                ],
                "PickLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 1,
                        "Unit": "Item",
                        "Cost": 0
                    }
                ],
                "Transactions": [],
                "Errors": []
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": "",
                "Bin": "",
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": "",
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": ""
            }
+ Response 200 (application/json)
    + Body 
                
            {
                "TaskID": "f1671c8c-c7ef-4529-996e-6e229d268bdc",
                "AssemblyNumber": "FG-00016",
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": null,
                "Bin": null,
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": null,
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": "",
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "ExpenseAccount": null,
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 1,
                        "TotalQuantity": 2,
                        "TotalCost": 24
                    }
                ],
                "PickLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 2,
                        "Unit": "Item",
                        "Cost": 12
                    }
                ],
                "Transactions": [],
                "Errors": []
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "6e56b9fe-4105-4c9e-8eab-170e9486000c",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": "",
                "Bin": "",
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": "",
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": ""
            }
+ Response 200 (application/json)
    + Body 
                
            {
                "TaskID": "6e56b9fe-4105-4c9e-8eab-170e9486000c",
                "AssemblyNumber": "FG-00016",
                "Status": "COMPLETED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": null,
                "Bin": null,
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": null,
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": "",
                "OrderLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "ExpenseAccount": null,
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 1,
                        "TotalQuantity": 2,
                        "TotalCost": 24
                    }
                ],
                "PickLines": [
                    {
                        "ProductID": "8879b7f5-3aa7-4c7c-ba2c-d0bcc48ba7c3",
                        "ProductCode": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 2,
                        "Unit": "Item",
                        "Cost": 12
                    }
                ],
                "Transactions": [],
                "Errors": []
            }


### Delete [DELETE /finishedGoods?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Finished Goods to Void or Undo
    + Void (optional,boolean) ... Void or Undo Finished Goods
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "f1671c8c-c7ef-4529-996e-6e229d268bdc",
                "AssemblyNumber": "FG-00016",
                "Status": "VOIDED",
                "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "ProductCode": "Bread",
                "ProductName": "Baked Bread",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "BinID": null,
                "Bin": null,
                "WIPAccount": "715",
                "WIPDate": "2018-01-03T00:00:00",
                "Account": "715",
                "Quantity": 1,
                "AssemblyInstructionURL": "",
                "CompletionDate": "2018-01-03T00:00:00",
                "BatchSN": "FG-00001",
                "ExpiryDate": "2018-01-11T00:00:00",
                "Notes": null,
                "CustomField1": "Low",
                "CustomField2": "false",
                "CustomField3": "test",
                "CustomField4": "",
                "CustomField5": "",
                "CustomField6": "",
                "CustomField7": "",
                "CustomField8": "",
                "CustomField9": "",
                "CustomField10": "",
                "OrderLines": [],
                "PickLines": [],
                "Transactions": [],
                "Errors": []
            }
            

## Finished Goods Order [/finishedGoods/order]

### Available fields for Finished Goods Order
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `Status`  | String           |         |          |Finished Goods Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`,`VOIDED`. Available values for `POST` are `DRAFT` and `AUTHORISED`.|
| `OrderLines`  |<a href="#FinishedGoodsOrderLineModel"><b>[] Finished Goods Order Line Model</b></a>|         |        |

### GET [GET /finishedGoods/order?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns Order info of a particular Finished Goods

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "c1819dba-772c-4689-8032-0ee7acb4bd66",
                "Status": "COMPLETED",
                "OrderLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "ExpenseAccount": "",
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 0,
                        "TotalQuantity": 1,
                        "TotalCost": 0.5
                    }
                ]
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "dcede9f5-58ba-4236-81fe-b3d43890b2dc",
                "Status": "AUTHORISED",
                "OrderLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "ExpenseAccount": "",
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 0,
                        "TotalQuantity": 1,
                        "TotalCost": 0.5
                    }
                ]
            }
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "dcede9f5-58ba-4236-81fe-b3d43890b2dc",
                "Status": "AUTHORISED",
                "OrderLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "ExpenseAccount": "",
                        "Quantity": 1,
                        "Unit": "",
                        "WastagePercent": 0,
                        "WastageQuantity": 0,
                        "TotalQuantity": 1,
                        "TotalCost": 0.5
                    }
                ]
            }
            

## Finished Goods Pick [/finishedGoods/pick]

### Available fields for Finished Goods Pick
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `Status`  | String           |         |          |Finished Goods Task Status. Available values are `DRAFT`,`AUTHORISED`,`IN PROGRESS`,`COMPLETED`,`VOIDED`. Available values for `POST` are `AUTHORISED`, `IN PROGRESS` and `COMPLETED`.|
| `WIPAccount`  | String           |         |          |Work in Progress Account. Read-only if current `Status` is not `AUTHORISED`|
| `WIPDate`  | DateTime           |         |          |Work in Progress Date. If `Status` is `COMPLETED` but task's `WIPDate` is empty, current date will be set. Read-only if current `Status` is not `AUTHORISED`|
| `Account`  | String           |         |          |Finished Goods Account. Read-only if current `Status` is not `AUTHORISED` or `IN PROGRESS`|
| `CompletionDate`  | DateTime           |         |   Yes       |Completion Date. If `Status` is `COMPLETED` but task's `CompletionDate` is empty, current date will be set. Read-only if current `Status` is not `AUTHORISED` or `IN PROGRESS`|
| `PickLines`  |<a href="#FinishedGoodsPickLineModel"><b>[] Finished Goods Pick Line Model</b></a>|         |          |        |

### GET [GET /finishedGoods/pick?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns Pick info of a particular Finished Goods

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "c1819dba-772c-4689-8032-0ee7acb4bd66",
                "Status": "COMPLETED",
                "WIPAccount": "715",
                "WIPDate": "2019-02-15T00:00:00",
                "Account": "714",
                "CompletionDate": "2019-02-16T00:00:00",
                "PickLines": [
                    {
                        "ProductID": "b05c1c28-a125-4178-bb1b-ba200955e9f5",
                        "ProductCode": "BOOK",
                        "Name": "Fish out of Water: Finding Your Brand",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 1,
                        "Unit": "Item",
                        "Cost": 0
                    }
                ]
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "dcede9f5-58ba-4236-81fe-b3d43890b2dc",
                "Status": "COMPLETED",
                "WIPAccount": "715",
                "WIPDate": "2019-02-15T00:00:00",
                "Account": "714",
                "CompletionDate": "2019-02-16T00:00:00",
                "PickLines": [
                    {
                        "ProductID": "e1cb8393-349d-41e6-b317-c42f21c543c6",
                        "ProductCode": "Assembly 01",
                        "Name": "Assembly name 01",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 30,
                        "Unit": "Item",
                        "Cost": 0
                    }
                ]
            }
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "dcede9f5-58ba-4236-81fe-b3d43890b2dc",
                "Status": "COMPLETED",
                "WIPAccount": "715",
                "WIPDate": "2019-02-15T00:00:00",
                "Account": "714",
                "CompletionDate": "2019-02-16T00:00:00",
                "PickLines": [
                    {
                        "ProductID": "e1cb8393-349d-41e6-b317-c42f21c543c6",
                        "ProductCode": "Assembly 01",
                        "Name": "Assembly name 01",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Quantity": 30,
                        "Unit": "Item",
                        "Cost": 9
                    }
                ]
            }


# Group Fixed Asset Type

Fixed Asset Type CRUD operations

### Available Fields for Fixed Asset Types
| Property              | Type     | Length | Required | Notes                 |
|:----------------------|----------|--------|----------|-----------------------|
| `FixedAssetTypeID`    | Guid     |        |          | Unique ID             |
| `Name`                | String   | 50     | Yes      | Fixed Asset Type name |
| `DepreciationMethod`  | String   | 255    | Yes      | Should be one of the following values: `No Depreciation`, `Straight Line`, `Declining Balance`, `Declining Balance (150%)`, `Declining Balance (200%)`, `Sum of the Years' Digits`, `Full Depreciation at Purchase` |
| `AveragingMethod`     | String   | 255    | Yes      | Should be one of the following values: `Full Month`, `Actual Days` |
| `Rate`                | Decimal  |        | Yes      | Rate (%). Unable to set if Effective Life attribute is set|
| `EffectiveLife`       | Decimal  |        | Yes      | Effective Life (Yrs). Unable to set if Rate attribute is set|
| `AssetAccountCode`    | Decimal  |        | Yes      | ChartOfAccount Code with Type == `FIXED` && Class == `ASSET` && Status == `ACTIVE` |
| `AccumulatedDepreciationAccountCode` | String || Yes | ChartOfAccount Code with Type == `FIXED` && Class == `ASSET` && Status == `ACTIVE` |
| `AssetAccountName`    | String   |        |          | `DisplayName` of the linked ChartOfAccount. Read-only. |
| `AccumulatedDepreciationAccountName` | String ||     | `DisplayName` of the linked ChartOfAccount. Read-only. |
| `DepreciationExpenseAccountName` | String   ||       | `DisplayName` of the linked ChartOfAccount. Read-only. |

## Fixed Asset Type [/ref/fixedassettype]

### GET [GET /ref/fixedassettype?Page={Page}&Limit={Limit}&ID={FixedAssetTypeID}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + FixedAssetTypeID (optional, Guid) ... Only return Fixed Asset Type with the specific ID
    + Name (optional, string) ... Only return accounts that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 3,
                "Page": 1,
                "FixedAssetTypeList": [
                    {
                        "FixedAssetTypeID": "e0d0d393-dc70-422b-b4f9-d847562b09ef",
                        "Name": "First FixedAssetType",
                        "DepreciationMethod": "No Depreciation",
                        "AveragingMethod": "Full Month",
                        "Rate": 12,
                        "EffectiveLife": null,
                        "AssetAccountCode": "710",
                        "AccumulatedDepreciationAccountCode": "710",
                        "DepreciationExpenseAccountCode": "400",
                        "AssetAccountName": "710: Office Equipment",
                        "AccumulatedDepreciationAccountName": "710: Office Equipment",
                        "DepreciationExpenseAccountName": "400: Advertising"
                    },
                    {
                        "FixedAssetTypeID": "bfd1b611-c990-452d-bfc6-66635d794634",
                        "Name": "Second FixedAssetType",
                        "DepreciationMethod": "No Depreciation",
                        "AveragingMethod": "Full Month",
                        "Rate": null,
                        "EffectiveLife": 2,
                        "AssetAccountCode": "710",
                        "AccumulatedDepreciationAccountCode": "710",
                        "DepreciationExpenseAccountCode": "400",
                        "AssetAccountName": "710: Office Equipment",
                        "AccumulatedDepreciationAccountName": "710: Office Equipment",
                        "DepreciationExpenseAccountName": "400: Advertising"
                    }
                ]
            }
   

   
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
            {
                "Name": "Third FixedAssetType",
                "DepreciationMethod": "No Depreciation",
                "AveragingMethod": "Full Month",
                "Rate": 10,
                "EffectiveLife": null,
                "AssetAccountCode": "710",
                "AccumulatedDepreciationAccountCode": "710",
                "DepreciationExpenseAccountCode": "400"
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "FixedAssetTypeList": [
                    {
                        "FixedAssetTypeID": "e410a45b-a4c1-47cb-aaad-a6714112ef56",
                        "Name": "Third FixedAssetType",
                        "DepreciationMethod": "No Depreciation",
                        "AveragingMethod": "Full Month",
                        "Rate": 10,
                        "EffectiveLife": null,
                        "AssetAccountCode": "710",
                        "AccumulatedDepreciationAccountCode": "710",
                        "DepreciationExpenseAccountCode": "400",
                        "AssetAccountName": "710: Office Equipment",
                        "AccumulatedDepreciationAccountName": "710: Office Equipment",
                        "DepreciationExpenseAccountName": "400: Advertising"
                    }
                ]
            }
 

  
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "FixedAssetTypeID": "e410a45b-a4c1-47cb-aaad-a6714112ef56",
                "Name": "Put Third FixedAssetType Test",
                "DepreciationMethod": "No Depreciation",
                "AveragingMethod": "Full Month",
                "Rate": 15,
                "EffectiveLife": null,
                "AssetAccountCode": "710",
                "AccumulatedDepreciationAccountCode": "710",
                "DepreciationExpenseAccountCode": "400"
            }
        

+ Response 200 (application/json)
    + Body 
            
            {
                "Total": 1,
                "Page": 1,
                "FixedAssetTypeList": [
                    {
                        "FixedAssetTypeID": "e410a45b-a4c1-47cb-aaad-a6714112ef56",
                        "Name": "Put Third FixedAssetType Test",
                        "DepreciationMethod": "No Depreciation",
                        "AveragingMethod": "Full Month",
                        "Rate": 15,
                        "EffectiveLife": null,
                        "AssetAccountCode": "710",
                        "AccumulatedDepreciationAccountCode": "710",
                        "DepreciationExpenseAccountCode": "400",
                        "AssetAccountName": "710: Office Equipment",
                        "AccumulatedDepreciationAccountName": "710: Office Equipment",
                        "DepreciationExpenseAccountName": "400: Advertising"
                    }
                ]
            }


# Group Inventory Write-Off

## Inventory Write-Off List [/inventoryWriteOffList]

### Available fields for Inventory Write-Off List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `InventoryWriteOffNumber`  | String           |         |          |Inventory Write-Off Number        |
| `Status`  | String           |         |          |Inventory Write-Off Task Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `Date`  | DateTime           |         |          |Date  When Task Created.  |
| `Notes`  | String           |         |          |Notes        |

### GET [GET /inventoryWriteOffList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}]

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Status (optional) ... Only return Inventory Write-Off with specified status (Default: null)
    + Search (optional) ... Only return Inventory Write-Off with search value contained in one of these fields: InventoryWriteOffNumber, Location, Status, Notes (Default: null)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 5,
                "Page": 1,
                "InventoryWriteOffs": [
                    {
                        "TaskID": "97a2a4d4-7130-4281-becc-c319f0ecf67d",
                        "InventoryWriteOffNumber": "FG-00028",
                        "Status": "DRAFT",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Location": "Main Warehouse",
                        "Date": "2018-01-12T07:29:33.457Z",
                        "Notes": "Test"
                    }
                ]
            }


## Inventory Write-Off [/inventoryWriteOff]

### Available fields for Inventory Write-Off
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `InventoryWriteOffNumber`  | String           |         |          |Inventory Write-Off Number        |
| `Status`  | String           |         |          |Inventory Write-Off Task Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `LocationID`  | Guid           |         |          |Location ID    |
| `Location`  | String           |         |          |Location Name     |
| `Account`  | String           |         |          |Expense Account         |
| `EffectiveDate`  | DateTime           |         |          |Effective Date         |
| `Notes`  | String           |         |          |Notes        |
| `Lines`  |<a href="#InventoryWriteOffLineModel"><b>[] Inventory Write-Off Line Model</b></a>|         |          |        |
| `Transactions`  |<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|         |          |        |
| `Errors`  |<a href="#ErrorModel"><b>[] Error Model</b></a>|         |          |If While processing `POST` or `PUT` method, some errors occurred, but task was created, this property will contain array of error messages.    |

### Available fields for POST/PUT method
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |     Yes*     |  Unique ID. Required for PUT.       |
| `Status`  | String           |         |      Yes    |Inventory Write-Off Task Status. Available values are `DRAFT`, `COMPLETED`         |
| `LocationID`  | Guid           |         |       Yes*   |Location ID. Required if `Location` is empty.    |
| `Location`  | Decimal           |         |          Yes*|Location Name. Required if `LocationID` is empty.     |
| `Account`  | String           |         |       Yes   |Expense Account         |
| `EffectiveDate`  | DateTime           |         |       Yes*   |Effective Date. Required if `Status` = `COMPLETED`.     |
| `Notes`  | String           |         |          |Notes        |
| `Lines`  |<a href="#InventoryWriteOffLineModel"><b>[] Inventory Write-Off Line Model</b></a>|         |          |   


### GET [GET /inventoryWriteOff?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns detailed info of a particular Inventory Write-Off

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "bf0cd3c6-a525-4105-a5a9-067bf4dbb43e",
                "InventoryWriteOffNumber": "FG-00034",
                "Status": "DRAFT",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0,
                        "TotalCost": 0
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0,
                        "TotalCost": 0
                    },
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "ProductCode": "Train-MS",
                        "Name": "Half day training - Microsoft Office",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ExpenseAccount": "404",
                        "Quantity": 1,
                        "Cost": -1,
                        "TotalCost": -1
                    }
                ],
                "Transactions": [],
                "Errors": []
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Status": "DRAFT",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "ProductCode": "Train-MS",
                        "Name": "Half day training - Microsoft Office",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ExpenseAccount": "404",
                        "Quantity": 1,
                        "Cost": -1
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": "",
                        "Quantity": 2,
                        "Cost": 24
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": null,
                        "Bin": null,
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": "",
                        "Quantity": 2,
                        "Cost": 24
                    }
                ]
            }
+ Response 200 (application/json)
    + Body 
                
            {
                "TaskID": "bf0cd3c6-a525-4105-a5a9-067bf4dbb43e",
                "InventoryWriteOffNumber": "FG-00034",
                "Status": "DRAFT",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0,
                        "TotalCost": 0
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0,
                        "TotalCost": 0
                    },
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "ProductCode": "Train-MS",
                        "Name": "Half day training - Microsoft Office",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ExpenseAccount": "404",
                        "Quantity": 1,
                        "Cost": -1,
                        "TotalCost": -1
                    }
                ],
                "Transactions": [],
                "Errors": []
            }
            
    

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "bf0cd3c6-a525-4105-a5a9-067bf4dbb43e",
                "Status": "COMPLETED",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 0
                    },
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "ProductCode": "Train-MS",
                        "Name": "Half day training - Microsoft Office",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ExpenseAccount": "404",
                        "Quantity": 1,
                        "Cost": -1
                    }
                ]
            }
+ Response 200 (application/json)
    + Body 
                
            {
                "TaskID": "bf0cd3c6-a525-4105-a5a9-067bf4dbb43e",
                "InventoryWriteOffNumber": "FG-00034",
                "Status": "COMPLETED",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 24,
                        "TotalCost": 48
                    },
                    {
                        "ProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "ProductCode": "Train-MS",
                        "Name": "Half day training - Microsoft Office",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ExpenseAccount": "404",
                        "Quantity": 1,
                        "Cost": -1,
                        "TotalCost": -1
                    },
                    {
                        "ProductID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "ProductCode": "Bread",
                        "Name": "Baked Bread",
                        "BinID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Bin": "Main Warehouse",
                        "BatchSN": "FG-00014",
                        "ExpiryDate": "2018-01-10T00:00:00",
                        "ExpenseAccount": null,
                        "Quantity": 2,
                        "Cost": 24,
                        "TotalCost": 48
                    }
                ],
                "Transactions": [
                    {
                        "ID": "49348b7f-15a1-4479-861c-9be46e2f3d44",
                        "EffectiveDate": "2018-01-12T00:00:00",
                        "Debit": "404",
                        "Credit": "715",
                        "Amount": 24
                    },
                    {
                        "ID": "01758f7f-6eee-4ded-9325-e2b375645978",
                        "EffectiveDate": "2018-01-12T00:00:00",
                        "Debit": "404",
                        "Credit": "404",
                        "Amount": -1
                    }
                ],
                "Errors": []
            }



### Delete [DELETE /inventoryWriteOff?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Inventory Write-Off to Void or Undo
    + Void (optional,boolean) ... Void or Undo Inventory Write-Off
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "bf0cd3c6-a525-4105-a5a9-067bf4dbb43e",
                "InventoryWriteOffNumber": "FG-00034",
                "Status": "VOIDED",
                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                "Location": "Main Warehouse",
                "Account": "404",
                "EffectiveDate": "2018-01-12T00:00:00",
                "Notes": "Test",
                "Lines": [],
                "Transactions": [],
                "Errors": []
            }
            

# Group Journal

## Journal [/journal]

### Available fields for Journal
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |Yes*|  Unique ID. Required for PUT       |
| `Status`  | String           |         |    Yes      |Journal Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `JournalNumber`  | String           |         |          |Journal Number. Read-only.        |
| `Currency`  | String           |         |    Yes  |Currency code.        |
| `CurrencyConversionRate` | Decimal |     |       Yes   | Conversion rate between tenant currency and `Currency` currency.|
| `EffectiveDate`  | DateTime           |         |       Yes   |Effective Date. |
| `Narration`  | String           |         |          |Narration        |
| `Notes`  | String           |         |          |Notes        |
|`Lines`|<a href="#JournalLineModel"><b>[] Journal Line Model</b></a>||||
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>||||


### GET [GET /journal?Page={Page}&Limit={Limit}&TaskID={TaskID}&Status={Status}&Search={Search}]

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + TaskID (optional) ... Returns detailed info of a particular Journal
    + Status (optional) ... "Only return Journals with specified status (Default: null)
    + Search (optional) ... Only return Journals with search value contained in one of these fields: JournalNumber, Status, Narration, Notes (Default: null)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 5,
                "Page": 1,
                "Journals": [
                    {
                        "TaskID": "1c6887f3-f7f2-4dbe-8f09-4903739f9175",
                        "Status": "COMPLETED",
                        "JournalNumber": "JR-00001",
                        "Currency": "TOP",
                        "CurrencyConversionRate": 25.2803,
                        "EffectiveDate": "2018-01-19T00:00:00",
                        "Narration": "Test",
                        "Notes": "Test 1",
                        "Lines": [
                            {
                                "Debit": "260",
                                "Credit": "270",
                                "Reference": "3",
                                "Amount": 2,
                                "BaseAmount": 50.5606
                            }
                        ],
                        "Attachments": [
                            {
                                "ID": "8a720cdd-7871-42bb-8bfe-13cf6ea162a5",
                                "ContentType": "image/jpeg",
                                "FileName": "1471081716149.jpg",
                                "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=8a720cdd-7871-42bb-8bfe-13cf6ea162a5&ContentType=image/jpeg&FileName=1471081716149.jpg"
                            }
                        ]
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Status": "DRAFT",
                "Currency": "USD",
                "CurrencyConversionRate": 50,
                "EffectiveDate": "2018-01-20T00:00:00",
                "Narration": "",
                "Notes": "",
                "Lines": [
                    {
                        "Debit": "260",
                        "Credit": "270",
                        "Reference": "3",
                        "Amount": 2,
                        "BaseAmount": 100
                    }
                ]
            }
           
+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "Journals": [
                    {
                        "TaskID": "0f3dad04-55cc-437c-87fa-b3a99445ecd4",
                        "Status": "DRAFT",
                        "JournalNumber": "JR-00006",
                        "Currency": "USD",
                        "CurrencyConversionRate": 50,
                        "EffectiveDate": "2018-01-20T00:00:00",
                        "Narration": null,
                        "Notes": null,
                        "Lines": [
                            {
                                "Debit": "260",
                                "Credit": "270",
                                "Reference": "3",
                                "Amount": 2,
                                "BaseAmount": 100
                            }
                        ],
                        "Attachments": []
                    }
                ]
            }


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "0f3dad04-55cc-437c-87fa-b3a99445ecd4",
                "Status": "COMPLETED",
                "Currency": "USD",
                "CurrencyConversionRate": 50,
                "EffectiveDate": "2018-01-20T00:00:00",
                "Narration": null,
                "Notes": null,
                "Lines": [
                    {
                        "Debit": "260",
                        "Credit": "270",
                        "Reference": "3",
                        "Amount": 2,
                        "BaseAmount": 100
                    }
                ]
            } 
            
+ Response 200 (application/json)
    + Body 
            
            {
                "Total": 1,
                "Page": 1,
                "Journals": [
                    {
                        "TaskID": "0f3dad04-55cc-437c-87fa-b3a99445ecd4",
                        "Status": "COMPLETED",
                        "JournalNumber": "JR-00006",
                        "Currency": "USD",
                        "CurrencyConversionRate": 50,
                        "EffectiveDate": "2018-01-20T00:00:00",
                        "Narration": null,
                        "Notes": null,
                        "Lines": [
                            {
                                "Debit": "260",
                                "Credit": "270",
                                "Reference": "3",
                                "Amount": 2,
                                "BaseAmount": 100
                            }
                        ],
                        "Attachments": []
                    }
                ]
            }
            

### Delete [DELETE /journal?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Jorunal to Void or Undo
    + Void (optional,boolean) ... Void or Undo Jorunal
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "Journals": [
                    {
                        "TaskID": "0f3dad04-55cc-437c-87fa-b3a99445ecd4",
                        "Status": "VOIDED",
                        "JournalNumber": "JR-00006",
                        "Currency": "USD",
                        "CurrencyConversionRate": 50,
                        "EffectiveDate": "2018-01-20T00:00:00",
                        "Narration": null,
                        "Notes": null,
                        "Lines": [],
                        "Attachments": []
                    }
                ]
            }


# Group Location

Location CRUD operations

### Available Fields for Location
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         | Yes* |   Required for PUT and DELETE, Ignored for POST operations       |
| `Name`  | String             | 50        | Yes | Location name     |
| `IsDefault`  | Bool             |         |          | Points that location is used as default       |
| `Deprecated`  | Bool             |         |          | Points that location is deprecated            |
| `Bins`  | Array          |         |          | Array (ID, Name) with related Bins            |
| `FixedAssetsLocation`  | Bool             |         |          | Points that location is used as Fixed Asset |
| `ParentID`  | Guid             |         |          | Parent ID (used for Bins) |
| `ReferenceCount`  | Int             |        |          | Reference linked to current location |
| `AddressLine1`  | String             | 50        |          | Address line |
| `AddressLine2`  | String             | 50        |          | Address line second |
| `AddressCitySuburb`  | String             | 50        |          | City suburb |
| `AddressStateProvince`  | String             | 50        |          | State province |
| `AddressZipPostCode`  | String             | 50        |          | Zip post code |
| `AddressCountry`  | String             | 50        |          | Country |
| `PickZones`  | String             | 50        |          | Pick zones |
| `IsShopfloor`  | Bool             |         |          | Points that location is shopfloor|
| `IsCoMan`  | Bool             |         |          | Points that location is location of co-manufacturer |
| `IsStaging`  | Bool             |         |          | Points that location is staging. It is used only for Bins. |

## Location [/ref/location]

### GET [GET /ref/location?ID={ID}&Page={Page}&Limit={Limit}&Deprecated={Deprecated}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return location that with the specific ID
    + Deprecated (optional, bool) ... Only return deprecated locations
    + Name (optional, string) ... Only return locations that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 4,
                "Page": 1,
                "LocationList": [
                    {
                        "ID": "aa4ab1cf-c989-45cd-8926-23d1edd6601e",
                        "Name": "Fixed asset test",
                        "IsDefault": false,
                        "IsDeprecated": false,
                        "Bins": null,
                        "FixedAssetsLocation": true,
                        "ParentID": null,
                        "ParentName": null,
                        "ReferenceCount": 0,
                        "AddressLine1": "",
                        "AddressLine2": "",
                        "AddressCitySuburb": "",
                        "AddressStateProvince": "",
                        "AddressZipPostCode": "",
                        "AddressCountry": "",
                        "PickZones": null,
                        "IsShopfloor": true,
                        "IsCoMan": false,
                        "IsStaging": false
                    },
                    {
                        "ID": "6b7f713d-aad1-4ae6-850c-2db7a0afa321",
                        "Name": "Test new location",
                        "IsDefault": true,
                        "IsDeprecated": false,
                        "FixedAssetsLocation": false,
                        "ParentID": null,
                        "Bins": [
                            {
                                "ID": "5F8EE220-DFEA-4E8D-8095-A074E44FA955",
                                "Name": "Test bin",
                                "IsDeprecated": false,
                                "IsStaging": false
                            },
                            {
                                "ID": "52DDBCF5-05AD-4DF5-B66D-F14C09823052",
                                "Name": "Test bin 2",
                                "IsDeprecated": false,
                                "IsStaging": false
                            },
                            {
                                "ID": "D88A25EF-44ED-4B9F-8FF9-DD6E66A3C7C9",
                                "Name": "Test bin post",
                                "IsDeprecated": false,
                                "IsStaging": false
                            },
                            {
                                "ID": "9361C7E0-F702-4F51-9B31-CD032ED3CE6D",
                                "Name": "Test bin post wrong ParentID",
                                "IsDeprecated": false,
                                "IsStaging": true
                            }
                        ],
                        "ParentName": null,
                        "ReferenceCount": 31,
                        "AddressLine1": "Test address line",
                        "AddressLine2": "Test address line 2",
                        "AddressCitySuburb": "Test address city",
                        "AddressStateProvince": "Test address state",
                        "AddressZipPostCode": "Test address ZIP",
                        "AddressCountry": "Test address country",
                        "PickZones": "Test pick zone,Test pick zone 2",
                        "IsShopfloor": false,
                        "IsCoMan": false,
                        "IsStaging": false
                    },
                    {
                        "ID": "5f8ee220-dfea-4e8d-8095-a074e44fa955",
                        "Name": "Test bin",
                        "IsDefault": false,
                        "IsDeprecated": false,
                        "Bins": null,
                        "FixedAssetsLocation": false,
                        "ParentID": "6b7f713d-aad1-4ae6-850c-2db7a0afa321",
                        "ParentName": "Test new location",
                        "ReferenceCount": 0,
                        "AddressLine1": "",
                        "AddressLine2": "",
                        "AddressCitySuburb": "",
                        "AddressStateProvince": "",
                        "AddressZipPostCode": "",
                        "AddressCountry": "",
                        "PickZones": null,
                        "IsShopfloor": false,
                        "IsCoMan": false,
                        "IsStaging": false
                    },
                    {
                        "ID": "52ddbcf5-05ad-4df5-b66d-f14c09823052",
                        "Name": "Test bin second",
                        "IsDefault": false,
                        "IsDeprecated": false,
                        "Bins": null,
                        "FixedAssetsLocation": false,
                        "ParentID": "6b7f713d-aad1-4ae6-850c-2db7a0afa321",
                        "ParentName": "Test new location",
                        "ReferenceCount": 0,
                        "AddressLine1": "",
                        "AddressLine2": "",
                        "AddressCitySuburb": "",
                        "AddressStateProvince": "",
                        "AddressZipPostCode": "",
                        "AddressCountry": "",
                        "PickZones": null,
                        "IsShopfloor": false,
                        "IsCoMan": false,
                        "IsStaging": false
                    }
                ]
            }

### POST [POST]
+ Bins do not support modifying. Only creation and deletion.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Name": "Test new location",
                "AddressLine1": "Test address line",
                "AddressLine2": "Test address line 2",
                "AddressCitySuburb": "Test address city",
                "AddressStateProvince": "Test address state",
                "AddressZipPostCode": "Test address ZIP",
                "AddressCountry": "Test address country",
                "IsShopfloor": false,
                "IsCoMan": false,
                "IsStaging": false
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "7e1e7cdc-eb4a-45d4-ae7f-e8999bb9dd8a",
                "Name": "Test new location",
                "IsDefault": false,
                "AllowReorder": false,
                "Bins": [],
                "PickZones": null,
                "IsDeprecated": false,
                "IsShopfloor": false,
                "IsCoMan": false,
                "IsStaging": false
            }

### PUT [PUT]
+ Bins do not support modifying. Only creation and deletion.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
            
            {
                "ID": "7e1e7cdc-eb4a-45d4-ae7f-e8999bb9dd8a",
                "Name": "Test new location edit",
                "AddressLine1": "Test address line",
                "AddressLine2": "Test address line 2",
                "AddressCitySuburb": "Test address city",
                "AddressStateProvince": "Test address state",
                "AddressZipPostCode": "Test address ZIP",
                "AddressCountry": "Test address country",
                "IsShopfloor": false,
                "IsCoMan": false
            }
        

+ Response 200 (application/json)
    + Body 
            
            {
                "ID": "7e1e7cdc-eb4a-45d4-ae7f-e8999bb9dd8a",
                "Name": "Test new location edit",
                "IsDefault": false,
                "AllowReorder": false,
                "Bins": [],
                "PickZones": null,
                "IsDeprecated": false,
                "IsShopfloor": false,
                "IsCoMan": false,
                "IsStaging": false
            }

### DELETE [DELETE /ref/location?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of Location to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }




# Group Me

## Me [/me]

### Available Fields for ME
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Company`  | String           |         |          |Your company name          |
| `Currency`  | String             |         |          |Your company base currency          |
| `TimeZone`  | String             |         |          |Time Zone where your company located          |
| `DefaultWeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DefaultDimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `LockDate`  | Date             |         |          |Financial settings option. Indicates date period start from what you can change transactional data. Formatted in Tenant date format          |
| `OpeningBalanceDate`  | Date             |         |          |Date of opening balances in the system. Formatted in Tenant date format          |
| `TaxCalculationMethod`  | String             |         | Row Total, Total    |Indicate if tax calculation should be based on Row total or (Document) Total          |
| `DefaultSaleTaxRuleId`  | Guid             |         |          |Taxation rule ID selected by default when creating new customers          |
| `DefaultSaleTaxRuleName`  | String             |         |          |Taxation rule Name selected by default when creating new customers          |
| `MaximumDecimalPlacesInQuantity`  | String             |         |          |Maximum decimal places in quantity on printable documents         |
| `ApplyCustomerDiscountsAfterOtherDiscounts`  | Bool             |         |          |In some scenarios, the seller wants to add an extra discount to the selected customers despite the fact that product related discounts are already applied         |
| `DiscountRule`  | String             |         | Discount, Price      | This will let the system process any available discount by either amending the sale price of the item or recalculating the discount % in the sale order line for the eligible item    |
| `AutomaticallyApplyDiscounts`  | Bool             |         |          |Enable this option to allow Cin7 Core to automatically apply discounts and deals on authorisation         |
|`RoundingTable`|<a href="#RoundingTableModel"><b>[] Rounding Table Model</b></a>|||The calculated price will be rounded to the specified value and adjusted as per specified rule to let you implement your special price ending/charm pricing strategy|


### Available Fields for Rounding Table Model <a name="RoundingTableModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `RangeTo`              | Decimal      |       |       |                       |
| `RoundToNearest`     | Decimal      |       | |                         |
| `AdjustmentRule`        | String        |           | N, S, A     | No Ajustment (N), Add (A), Subtract (S)                      |
| `AdjustmentValue`        | String        |           |      |                       |


### GET [GET]

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Company": "PE Vitaliy L",
                "Currency": "RUB",
                "TimeZone": "Europe/Moscow",
                "DefaultWeightUnits": "g",
                "DefaultDimensionsUnits": "cm",
                "LockDate": null,
                "OpeningBalanceDate": "2021-07-31T00:00:00",
                "TaxCalculationMethod": "Total",
                "DefaultSaleTaxRuleId": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                "DefaultSaleTaxRuleName": "Tax Exempt",
                "MaximumDecimalPlacesInQuantity": "N2",
                "ApplyCustomerDiscountsAfterOtherDiscounts": true,
                "DiscountRule": "Discount",
                "AutomaticallyApplyDiscounts": false,
                "RoundingTable": [
                    {
                        "RangeTo": 10,
                        "RoundToNearest": 0.01,
                        "AdjustmentRule": "N",
                        "AdjustmentValue": 0
                    },
                    {
                        "RangeTo": 20,
                        "RoundToNearest": 0.01,
                        "AdjustmentRule": "S",
                        "AdjustmentValue": 0
                    },
                    {
                        "RangeTo": 30,
                        "RoundToNearest": 0.01,
                        "AdjustmentRule": "A",
                        "AdjustmentValue": 0
                    }
                ]
            }
            
            

## Me Address [/me/addresses]

### Available Fields for Me Address
| Property          | Type      | Length    | Required  | Notes                 |
|:------------------|-----------|-----------|-----------|-----------------------|
| `AddressID`       | Guid      |           |           | Unique Address ID.    |
| `Line1`           | String    | 256       | Yes       | Address Line 1.       |
| `Line2`           | String    | 256       |           | Address Line 2.       |
| `CitySuburb`      | String    | 256       | Yes       | City / Suburb.        |
| `StateProvince`   | String    | 256       | Yes       | State / Province.     |
| `ZipPostCode`     | String    | 20        | Yes       | Zip / PostCode.       |
| `Country`         | String    |           | Yes       | Country name          |
| `Type`            | String    |           | Yes       | Address Type.  Should be one of the following values: `Billing`, `Business` or `Shipping`. |
| `DefaultForType`  | Bool      |           |           | Points that Address is used as default for chosen Type. `False` as default. |

  
### GET [GET /me/addresses?Page={Page}&Limit={Limit}&ID={ID}&Type={Type}&DefaultForType={DefaultForType}&Country={Country}&StateProvince={StateProvince}&CitySuburb={CitySuburb}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return MeAddress with the specific ID
    + Type (optional, string) ... Only return MeAddresses with the specific Type
    + DefaultForType (optional, bool) ... Only return MeAddresses which are marked as default for chosen Type
    + Country (optional, string) ... Only return MeAddresses with the specific Country
    + StateProvince (optional, string) ... Only return MeAddresses with the specific StateProvince
    + CitySuburb (optional, string) ... Only return MeAddresses with the specific CitySuburb

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "MeAddressesList": [
                    {
                        "AddressID": "d8309201-3498-47a2-99cd-b14786e0753b",
                        "Line1": "DEFAULT billing address",
                        "Line2": null,
                        "CitySuburb": "DEFAULT City",
                        "StateProvince": "DEFAULT State",
                        "ZipPostCode": "DEFAULT Postcode",
                        "Country": "Australia",
                        "Type": "Billing",
                        "DefaultForType": true
                    },
                    {
                        "AddressID": "94147b9b-9320-4320-95c3-effe4c3ef5f5",
                        "Line1": "DEFAULT shipping address",
                        "Line2": null,
                        "CitySuburb": "DEFAULT City",
                        "StateProvince": "DEFAULT State",
                        "ZipPostCode": "DEFAULT Postcode",
                        "Country": "Australia",
                        "Type": "Shipping",
                        "DefaultForType": true
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
               {
                    "Line1": "DEFAULT business address",
                    "Line2": null,
                    "CitySuburb": "DEFAULT City",
                    "StateProvince": "DEFAULT State",
                    "ZipPostCode": "DEFAULT Postcode",
                    "Country": "Russia",
                    "Type": "Business",
                    "DefaultForType": true
                }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "MeAddressesList": [
                    {
                        "AddressID": "ded03f44-00fc-4cbd-8b4d-c803c6252788",
                        "Line1": "DEFAULT business address",
                        "Line2": null,
                        "CitySuburb": "DEFAULT City",
                        "StateProvince": "DEFAULT State",
                        "ZipPostCode": "DEFAULT Postcode",
                        "Country": "Russia",
                        "Type": "Business",
                        "DefaultForType": true
                    }
                ]
            }
   


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "AddressID": "ded03f44-00fc-4cbd-8b4d-c803c6252788",
                "Line1": "EDITED business address",
                "Line2": null,
                "CitySuburb": "EDITED City",
                "StateProvince": "EDITED State",
                "ZipPostCode": "EDITED Postcode",
                "Country": "Russia",
                "Type": "Business",
                "DefaultForType": true
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "MeAddressesList": [
                    {
                        "AddressID": "ded03f44-00fc-4cbd-8b4d-c803c6252788",
                        "Line1": "EDITED business address",
                        "Line2": null,
                        "CitySuburb": "EDITED City",
                        "StateProvince": "EDITED State",
                        "ZipPostCode": "EDITED Postcode",
                        "Country": "Russia",
                        "Type": "Business",
                        "DefaultForType": true
                    }
                ]
            }

### DELETE [DELETE /me/addresses?ID={ID}]

+ Parameters
    + ID (required, Guid) ... ID of MeAddress to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }
            
            


## Me Contact [/me/contacts]

### Available Fields for Me Contact
| Property          | Type      | Length    | Required  | Notes                 |
|:------------------|-----------|-----------|-----------|-----------------------|
| `ContactID`       | Guid      |           |           | Unique MeContact ID.  |
| `Name`            | String    | 256       | Yes       | Name of MeContact.    |
| `Phone`           | String    | 50        |           | Phone                 |
| `Fax`             | String    | 50        |           | Fax                   |
| `Email`           | String    | 256       |           | Email                 |
| `Website`         | String    | 256       |           | Website               |
| `Comment`         | String    | 256       |           | Comment               |
| `Type`            | String    | 50        |           | MeContact Type. Should be one of the following values: `Billing`, `Business`, `Sale`, `Shipping` or `Employee`. |
| `DefaultForType`  | Bool      |           |           | Points that MeContact is used as default for chosen Type. `False` as default. |

  
### GET [GET /me/contacts?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&Type={Type}&DefaultForType={DefaultForType}&Phone={Phone}&Fax={Fax}&Email={Email}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return MeContact with the specific ID
    + Name (optional, string) ... Only return MeContact that start with the specific Name
    + Type (optional, string) ... Only return MeContact with the specific Type
    + DefaultForType (optional, bool) ... Only return MeContact which are marked as default for chosen Type
    + Phone (optional, string) ... Only return MeContact with the specific Phone
    + Fax (optional, string) ... Only return MeContact with the specific Fax
    + Email (optional, string) ... Only return MeContact with the specific Email

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "MeContactsList": [
                    {
                        "ContactID": "1a917f5a-4d68-41a0-8b07-7b26841ffb9d",
                        "Name": "DEFAULT billing contact",
                        "Phone": "12345678",
                        "Fax": null,
                        "Email": "vlad.b@dearsystems.com",
                        "Website": null,
                        "Comment": null,
                        "Type": "Billing",
                        "DefaultForType": true
                    },
                    {
                        "ContactID": "d1a6e908-2fe4-42d3-8772-daace0fe80a3",
                        "Name": "DEFAULT shipping contact",
                        "Phone": "12345678",
                        "Fax": null,
                        "Email": "vlad.b@dearsystems.com",
                        "Website": null,
                        "Comment": null,
                        "Type": "Shipping",
                        "DefaultForType": true
                    }
                ]
            }

  
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
               {
                    "Name": "DEFAULT Business contact",
                    "Phone": "12345678",
                    "Fax": null,
                    "Email": "vlad.b@dearsystems.com",
                    "Website": null,
                    "Comment": null,
                    "Type": "Business",
                    "DefaultForType": true
                }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "MeContactsList": [
                    {
                        "ContactID": "62ba5a66-9c7e-44d1-b2b7-2eb72d946e18",
                        "Name": "DEFAULT Business contact",
                        "Phone": "12345678",
                        "Fax": null,
                        "Email": "test@dearsystems.com",
                        "Website": null,
                        "Comment": null,
                        "Type": "Business",
                        "DefaultForType": true
                    }
                ]
            }
   


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "ContactID": "62ba5a66-9c7e-44d1-b2b7-2eb72d946e18",
                "Name": "DEFAULT PUT TEST Business contact",
                "Phone": "12345678",
                "Fax": null,
                "Email": "test_put@dearsystems.com",
                "Website": null,
                "Comment": null,
                "Type": "Business",
                "DefaultForType": true
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "MeContactsList": [
                    {
                        "ContactID": "62ba5a66-9c7e-44d1-b2b7-2eb72d946e18",
                        "Name": "DEFAULT PUT TEST Business contact",
                        "Phone": "12345678",
                        "Fax": null,
                        "Email": "test_put@dearsystems.com",
                        "Website": null,
                        "Comment": null,
                        "Type": "Business",
                        "CRMID": null,
                        "DefaultForType": false,
                        "ReferenceCount": 0
                    }
                ]
            }

### DELETE [DELETE /me/contacts?ID={ID}]

+ Parameters
    + ID (required, Guid) ... ID of MeContact to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }
            
            

# Group Money Task

## Money Task List [/moneyTaskList]

### Available fields for Money Task List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |          |  Unique ID.        |
| `Date`  | DateTime           |         |          |Date  of money operation.  |
| `TaskType`  | String           |         |          |Task Type. Available values are `Spend Money`, `Receive Money`, `Transfer Money`         |
| `Status`  | String           |         |          |Inventory Write-Off Task Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `SupplierCustomerName`  | String           |         |          |Customer or Supplier who recive/spend money.      |
| `SupplierID`  | Guid           |         |          |Supplier ID   |
| `CustomerID`  | Guid           |         |          |Customer ID   |
| `Reference`  | Decimal           |         |          |Custom reference    |
| `TotalAmount`  | String           |         |          |Operation total amount.     |

### GET [GET /moneyTaskList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}&TaskType={TaskType}]

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Status (optional) ... "Only return Money Task with specified status (Default: null)
    + Search (optional) ... Only return Money Task with search value contained in one of these fields: SupplierCustomerName, Reference, BankAccountCode, Memo, TotalAmount, CustomField(1-10) (Default: null)
    + TaskType (optional) ... "Only return Money Task with specified TaskType (Default: null)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 6,
                "Page": 1,
                "MoneyTasks": [
                    {
                        "TaskID": "07a2cdde-6a04-4925-be45-538e3a88dd7a",
                        "Date": "2018-01-17T00:00:00",
                        "TaskType": "Receive Money",
                        "Status": "COMPLETED",
                        "SupplierCustomerName": "",
                        "SupplierID": null,
                        "CustomerID": null,
                        "Reference": "",
                        "TotalAmount": 6
                    },
                    {
                        "TaskID": "ded51119-ec29-4fcd-b43b-4c63341f188e",
                        "Date": "2018-01-17T00:00:00",
                        "TaskType": "Spend Money",
                        "Status": "COMPLETED",
                        "SupplierCustomerName": "Bayside Wholesale",
                        "SupplierID": "af09cddc-c4b0-47b2-8755-78edac52e920",
                        "CustomerID": null,
                        "Reference": "Test 1",
                        "TotalAmount": 1.8
                    }
                ]
            }


## Money Operation [/moneyOperation]

+ This endpoint is used to work with `Receive Money` and `Spend Money` money tasks.

### Available fields for Money Task List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |Yes*|  Unique ID. Required for PUT       |
| `TaskType`  | String           |         |     Yes     |Task Type. Available values are `Spend Money`, `Receive Money`, `Transfer Money`         |
| `Status`  | String           |         |    Yes      |Money Task Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `BankAccount` | String |     |     Yes     | Bank Account Number.|
| `CurrencyConversionRate` | Decimal |     |          | Conversion rate between `BankAccount` currency and base currency. If not passed, will be calculated automatically as base currency / bank account currency.|
| `SupplierCustomerName`  | String           |         |          |Customer or Supplier who recive/spend money.      |
| `SupplierID`  | Guid           |         |          |Supplier ID. `CustomerID` and `SupplierID` are mutually exclusive.   |
| `CustomerID`  | Guid           |         |          |Customer ID. `CustomerID` and `SupplierID` are mutually exclusive.  |
| `Reference`  | String           |         |          |Custom reference    |
| `Date`  | DateTime           |         |     Yes     |Date  of money operation.  |
| `TaxInclusive`  | Boolean           |         |          |`true` if inclusive. Default false.  |
| `Note`  | String           |         |          |Custom note.  |
| `Lines`  |<a href="#MoneyTaskLineModel"><b>[] Money Task Line Model</b></a>|         |          |        |
| `Transactions`  |<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|         |          |        |
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>|||Sale Attachments|

### GET [GET /moneyOperation?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns detailed info of a particular Money Task

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "c1aa3e7b-b085-4ef1-bec0-680505f97491",
                "TaskType": "Receive Money",
                "Status": "COMPLETED",
                "BankAccount": "718",
                "CurrencyConversionRate": 1,
                "SupplierCustomer": "Bayside Club",
                "SupplierID": "71ada099-cc93-4aae-8c12-670d04587db3",
                "CustomerID": null,
                "Reference": "Test",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": true,
                "Note": "Note",
                "Lines": [
                    {
                        "Name": "Bread Test 1:Baked Bread Test 1",
                        "Comment": "",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0.18,
                        "TaxRuleName": "Tax Exempt",
                        "AccountCode": "801",
                        "Total": 2
                    }
                ],
                "Transactions": [
                    {
                        "ID": "5fae73f7-4b46-4c3d-b205-af6fe6ce17be",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "718",
                        "Credit": "801",
                        "Amount": 1.82
                    },
                    {
                        "ID": "ee11d63c-78f4-4322-99c6-dc2884e6ede5",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "718",
                        "Credit": "820",
                        "Amount": 0.18
                    }
                ],
                "Attachments": []
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskType": "Receive Money",
                "Status": "DRAFT",
                "BankAccount": "198489",
                "SupplierID": null,
                "CustomerID": null,
                "Reference": "",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": false,
                "Note": "",
                "Lines": [
                    {
                        "Name": "G4059114:Gund Ginger Bear 15 Inches",
                        "Comment": "",
                        "Quantity": 3,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0.60,
                        "TaxRuleName": "Tax Exempt",
                        "AccountCode": "800",
                        "Total": 6
                    }
                ]
            }
           
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "2fff0881-baf1-4b0a-a8fa-4e4fe73ff628",
                "TaskType": "Receive Money",
                "Status": "DRAFT",
                "BankAccount": "198489",
                "CurrencyConversionRate": 45.35668,
                "SupplierCustomer": "",
                "SupplierID": null,
                "CustomerID": null,
                "Reference": "",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": false,
                "Note": null,
                "Lines": [
                    {
                        "Name": "G4059114:Gund Ginger Bear 15 Inches",
                        "Comment": "",
                        "Quantity": 3,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0.6,
                        "TaxRuleName": "Tax Exempt",
                        "AccountCode": "800",
                        "Total": 6
                    }
                ],
                "Transactions": [],
                "Attachments": []
            }
                

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "2fff0881-baf1-4b0a-a8fa-4e4fe73ff628",
                "TaskType": "Receive Money",
                "Status": "COMPLETED",
                "BankAccount": "198489",
                "CurrencyConversionRate": 45.35668,
                "SupplierID": null,
                "CustomerID": null,
                "Reference": "",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": false,
                "Note": null,
                "Lines": [
                    {
                        "Name": "G4059114:Gund Ginger Bear 15 Inches",
                        "Comment": "",
                        "Quantity": 3,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0.6,
                        "TaxRuleName": "Tax Exempt",
                        "AccountCode": "800",
                        "Total": 6
                    }
                ]
            }
            
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "2fff0881-baf1-4b0a-a8fa-4e4fe73ff628",
                "TaskType": "Receive Money",
                "Status": "COMPLETED",
                "BankAccount": "198489",
                "CurrencyConversionRate": 45.35668,
                "SupplierCustomer": "",
                "SupplierID": null,
                "CustomerID": null,
                "Reference": "",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": false,
                "Note": null,
                "Lines": [
                    {
                        "Name": "G4059114:Gund Ginger Bear 15 Inches",
                        "Comment": "",
                        "Quantity": 3,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0.6,
                        "TaxRuleName": "Tax Exempt",
                        "AccountCode": "800",
                        "Total": 6
                    }
                ],
                "Transactions": [
                    {
                        "ID": "194611ae-de72-4107-b92d-81adec799b59",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "198489",
                        "Credit": "800",
                        "Amount": 272.1401
                    },
                    {
                        "ID": "fa9429cd-42da-495e-adc6-91634818eafe",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "198489",
                        "Credit": "820",
                        "Amount": 27.214
                    }
                ],
                "Attachments": []
            }
                

### Delete [DELETE /moneyOperation?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Money Task to Void or Undo
    + Void (optional,boolean) ... Void or Undo Money Task
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "2fff0881-baf1-4b0a-a8fa-4e4fe73ff628",
                "TaskType": "Receive Money",
                "Status": "VOIDED",
                "BankAccount": "198489",
                "CurrencyConversionRate": 45.35668,
                "SupplierCustomer": "",
                "SupplierID": null,
                "CustomerID": null,
                "Reference": "",
                "Date": "2018-01-17T00:00:00",
                "TaxInclusive": false,
                "Note": null,
                "Lines": [],
                "Transactions": [],
                "Attachments": []
            }


## Bank Transfer [/bankTransfer]

### Available fields for Money Task List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         |Yes*|  Unique ID. Required for PUT       |
| `Status`  | String           |         |    Yes      |Bank Transfer Status. Available values are `DRAFT`, `COMPLETED`, `VOIDED`         |
| `FromAccount` | String |     |     Yes     |From Bank Account Number.|
| `ToAccount` | String |     |     Yes     |To Bank Account Number.|
| `FromAmount` | Decimal |     |     Yes     |From Amount. In `From Bank Account` currency.|
| `ToAmount` | Decimal |     |     Yes     | To Amount. In `To Bank Account` currency.|
| `CurrencyConversionRate` | Decimal |     |          | Conversion rate between `BankAccount` currency and base currency. Will be calculated automatically as `From Bank Account` currency / `To Bank Account` currency.|
| `Reference`  | String           |         |          |Custom reference    |
| `Date`  | DateTime           |         |     Yes     |Date of Bank Transfer.  |
| `Note`  | String           |         |          |Custom note.  |
| `Transactions`  |<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|         |          |        |
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>|||Sale Attachments|


### GET [GET /bankTransfer?TaskID={TaskID}]
+ Parameters
    + TaskID (optional) ... Returns detailed info of a particular Bank Transfer

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "01ca15cb-6ab5-44bd-9345-149850adba8c",
                "Status": "COMPLETED",
                "FromAccount": "198489",
                "ToAccount": "713",
                "FromAmount": 3,
                "ToAmount": 5,
                "CurrencyConversionRate": 1.66666,
                "Reference": "Yeah",
                "Date": "2018-01-17T00:00:00",
                "Note": "Memo",
                "Transactions": [
                    {
                        "ID": "f8c16288-5f5c-4c35-8383-20ec26f6e609",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "CROSS-CURRENCY-TRANSFER",
                        "Credit": "198489",
                        "Amount": 5
                    },
                    {
                        "ID": "fda62da6-74c1-4500-a68e-af50e9d7ff04",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "713",
                        "Credit": "CROSS-CURRENCY-TRANSFER",
                        "Amount": 5
                    }
                ],
                "Attachments": []
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
               {
                    "Status": "DRAFT",
                    "FromAccount": "198489",
                    "ToAccount": "713",
                    "FromAmount": 3,
                    "ToAmount": 6,
                    "Reference": "Test",
                    "Date": "2018-01-17T00:00:00",
                    "Note": "Memo"
                }
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "675e7c7c-f660-49d4-a1d4-0a644c4e177c",
                "Status": "DRAFT",
                "FromAccount": "198489",
                "ToAccount": "713",
                "FromAmount": 3,
                "ToAmount": 6,
                "CurrencyConversionRate": 2,
                "Reference": "Test",
                "Date": "2018-01-17T00:00:00",
                "Note": "Memo",
                "Transactions": [],
                "Attachments": []
            }
   

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
               {
                    "TaskID": "675e7c7c-f660-49d4-a1d4-0a644c4e177c",
                    "Status": "COMPLETED",
                    "FromAccount": "198489",
                    "ToAccount": "713",
                    "FromAmount": 3,
                    "ToAmount": 6,
                    "Reference": "Test",
                    "Date": "2018-01-17T00:00:00",
                    "Note": "Memo"
                } 
            
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "675e7c7c-f660-49d4-a1d4-0a644c4e177c",
                "Status": "COMPLETED",
                "FromAccount": "198489",
                "ToAccount": "713",
                "FromAmount": 3,
                "ToAmount": 6,
                "CurrencyConversionRate": 2,
                "Reference": "Test",
                "Date": "2018-01-17T00:00:00",
                "Note": "Memo",
                "Transactions": [
                    {
                        "ID": "dab76b48-6b2a-4e8f-be01-2143e612a73e",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "713",
                        "Credit": "CROSS-CURRENCY-TRANSFER",
                        "Amount": 6
                    },
                    {
                        "ID": "51c4400e-9abe-4ac3-8b58-eb4b448b69be",
                        "EffectiveDate": "2018-01-17T00:00:00",
                        "Debit": "CROSS-CURRENCY-TRANSFER",
                        "Credit": "198489",
                        "Amount": 6
                    }
                ],
                "Attachments": []
            }
    

### Delete [DELETE /bankTransfer?ID={ID}&Void={Void}]
+ Parameters
    + ID (required) ... ID of Money Task to Void or Undo
    + Void (optional,boolean) ... Void or Undo Money Task
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "675e7c7c-f660-49d4-a1d4-0a644c4e177c",
                "Status": "VOIDED",
                "FromAccount": "198489",
                "ToAccount": "713",
                "FromAmount": 3,
                "ToAmount": 6,
                "CurrencyConversionRate": 2,
                "Reference": "Test",
                "Date": "2018-01-17T00:00:00",
                "Note": "Memo",
                "Transactions": [],
                "Attachments": []
            }


# Group Payment Term

Payment Term CRUD operations

### Available Fields for Payment Term
| Property      | Type      | Length    | Required  | Notes                                 |
|:--------------|-----------|-----------|-----------|---------------------------------------|
| `ID`          | Guid      |           |           | Unique Payment Term ID.               |
| `Name`        | String    | 256       | Yes       | Name of Payment Term.                 |
| `Duration`    | Int       |           |           | Minimum Payment Term duration in days |
| `Method`      | String    |           |           | Method of Payment Term. Should be one of the following values: `number of days`, `day of next month`, `last day of next month`, `days since the end of the month` |
| `IsActive`    | Bool      |           |           | Points that Payment Term is Active. `True` as default for POST. |
| `IsDefault`   | Bool      |           |           | Points that Payment Term is Default. `False` as default for POST. |

## Payment Term [/ref/paymentterm]
  
### GET [GET /ref/paymentterm?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&Method={Method}&IsActive={IsActive}&IsDefault={IsDefault}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Payment Term with the specific ID
    + Name (optional, string) ... Only return Payment Terms that start with the specific Name
    + Method (optional, string) ... Only return Payment Terms with the specific Method
    + IsActive (optional, bool) ... Only return Payment Terms which are marked as active.
    + IsDefault (optional, bool) ... Only return Payment Terms which are marked as default.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 3,
                "Page": 1,
                "PaymentTermList": [
                    {
                        "ID": "e6c25fa9-bb14-45b2-afe7-428e454663ef",
                        "Name": "10 days since end of month",
                        "Duration": 10,
                        "Method": "days since the end of the month",
                        "IsActive": true,
                        "IsDefault": false
                    },
                    {
                        "ID": "927a7013-e1d9-4194-a547-28b1b4c6b413",
                        "Name": "30 days",
                        "Duration": 30,
                        "Method": "number of days",
                        "IsActive": true,
                        "IsDefault": false
                    },
                    {
                        "ID": "1845c010-e8a3-4c51-a0be-a1211f406442",
                        "Name": "Last day of the month",
                        "Duration": 10,
                        "Method": "last day of next month",
                        "IsActive": true,
                        "IsDefault": false
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers

            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body 
    
               {
                    "Name": "5 days since end of month",
                    "Duration": 5,
                    "Method": "days since the end of the month",
                    "IsActive": true,
                    "IsDefault": false
                }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "PaymentTermList": [
                    {
                        "ID": "e6c25fa9-bb14-45b2-afe7-428e454663ef",
                        "Name": "5 days since end of month",
                        "Duration": 5,
                        "Method": "days since the end of the month",
                        "IsActive": true,
                        "IsDefault": false
                    }
                ]
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "ID": "e6c25fa9-bb14-45b2-afe7-428e454663ef",
                "Name": "10 days since end of month",
                "Duration": 10,
                "Method": "days since the end of the month",
                "IsActive": true,
                "IsDefault": true
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "PaymentTermList": [
                    {
                        "ID": "e6c25fa9-bb14-45b2-afe7-428e454663ef",
                        "Name": "10 days since end of month",
                        "Duration": 10,
                        "Method": "days since the end of the month",
                        "IsActive": true,
                        "IsDefault": true
                    }
                ]
            }

### DELETE [DELETE /ref/paymentterm?ID={ID}]

+ Parameters
    + ID (required, Guid) ... ID of Payment Term to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


# Group Price Tiers

Price Tiers CRUD operations

### Available Fields for Price Tier
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Code`  | Integer           |         |          |Code number of Price Tier         |
| `Name`  | String             |         |          |Price Tier name       |

## Price Tiers [/ref/priceTier]
### GET [GET /ref/priceTier]


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "PriceTiers": [
                    {
                        "Code": 1,
                        "Name": "Tier 1"
                    },
                    {
                        "Code": 2,
                        "Name": "Tier 2"
                    },
                    {
                        "Code": 3,
                        "Name": "Tier 3"
                    },
                    {
                        "Code": 4,
                        "Name": "Tier 4"
                    },
                    {
                        "Code": 5,
                        "Name": "Tier 5"
                    },
                    {
                        "Code": 6,
                        "Name": "Tier 6"
                    },
                    {
                        "Code": 7,
                        "Name": "Tier 7"
                    },
                    {
                        "Code": 8,
                        "Name": "Tier 8"
                    },
                    {
                        "Code": 9,
                        "Name": "Tier 9"
                    },
                    {
                        "Code": 10,
                        "Name": "Tier 10"
                    }
                ]
            }

# Group Product

## Product [/product]

The Products resource allows Products to be listed, viewed, created, and updated. Here are some example URIs:

+ /Product?ID=E6E8163F-6911-40e9-B740-90E5A0A3A996 - returns details of a particular product;
+ /Product?page=2 - returns the second page of 100 Products;
+ /Product - returns the first 100 active Products because page number 1 is the default;
+ /Product?page=2&limit=500 - returns the second page of 500 Products; i.e. the 501st to 1000th Products;
+ /Product?includeDeprecated=1 - returns the first page of 100 Productsincluding deprecated Products;
+ /Product?name=ABC - returns the first page of 100 Products with name starting with ABC;
+ /Product?sku=ABC - returns the first page of 100 Products with sku starting with ABC;





### Available Fields for Product
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Ignored by POST action. Required for PUT action          |
| `SKU`  | String             | 50        | Yes         |Product SKU must be unique.       |
| `Name`  | String             | 256        | Yes         |Product name. Quickbooks Online limitations: maximum length is 100 characters and must be unique          |
| `Category`  | String             | 256        | Yes         |Category name           |
| `Brand`  | String             | 50        |          |Brand name           |
| `Type`  | String             |         | Yes*         |Product Type. Valid values: `Stock` or `Service`. Read-only for PUT.          |
| `CostingMethod`  | String             | 50        | Yes         |Valid values: `FIFO`, `Special - Batch`, `Special - Serial Number`, `FIFO - Serial Number`, `FIFO - Batch`, `FEFO - Batch`, `FEFO - Serial Number`         |
| `DropShipMode`  | String             |         |          |One of these values: `No Drop Ship`, `Optional Drop Ship`, `Always Drop Ship`. Default value is `No Drop Ship`|
| `DefaultLocation`  | String             | 50        |          |Name of the default Location for product. (Location with this name must exist in reference books under locations)          |
| `Length`  | Decimal              | 50        |          |Length dimension, Defaults to 0          |
| `Width`  | Decimal              | 50        |          |Width dimension, Defaults to 0          |
| `Height`  | Decimal              | 50        |          |Height dimension, Defaults to 0         |
| `Weight`  | Decimal              | 50        |          |Product Weight (in kilograms) , Defaults to 0     |
| `CartonLength`  | Decimal              | 50        |          |Carton Length dimension, Defaults to 0          |
| `CartonWidth`  | Decimal              | 50        |          |Carton Width dimension, Defaults to 0          |
| `CartonHeight`  | Decimal              | 50        |          |Carton Height dimension, Defaults to 0         |
| `CartonQuantity`  | Decimal              | 50        |          |Carton Quantity, Defaults to 0     |
| `CartonInnerQuantity`  | Decimal              | 50        |          |Carton Inner Quantity, Defaults to 0     |
| `UOM`  | String             | 50        | Yes         |Product Unit of Measure (A unit of measure with this name must exist in reference books under units)|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `Barcode`  | String             | 256        |          |Product barcode        |
| `MinimumBeforeReorder`  | Decimal          |         |          |Minimum available product quantity for this product to appear on Reorder report/forms. Defaults to 0        |
| `ReorderQuantity`  | Decimal             |         |          |Default quantity to put into purchase order when reordering this product. Not applicable to reorder backordered form. Defaults to 0         |
| `PriceTier1`  | Decimal             |         |          |Product Sale Price used when Price Tier 1 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier2`  | Decimal             |         |          |Product Sale Price used when Price Tier 2 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier3`  | Decimal             |         |          |Product Sale Price used when Price Tier 3 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier4`  | Decimal             |         |          |Product Sale Price used when Price Tier 4 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier5`  | Decimal             |         |          |Product Sale Price used when Price Tier 5 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier6`  | Decimal             |         |          |Product Sale Price used when Price Tier 6 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier7`  | Decimal             |         |          |Product Sale Price used when Price Tier 7 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier8`  | Decimal             |         |          |Product Sale Price used when Price Tier 8 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier9`  | Decimal             |         |          |Product Sale Price used when Price Tier 9 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTier10`  | Decimal             |         |          |Product Sale Price used when Price Tier 10 is selected in Sale Task. Up to 4 decimal places.|
| `PriceTiers`  | <a href="#PriceTierModel"><b>Price Tier Model</b></a>             |        |          |Object contains list with real price tier names and values for each listed price. This parameter is optional for specifying price. It's required if PriceTierN parameters are not specified. <b>IMPORTANT:</b> It will be disabled in case if some of tenant price tiers have identical names.|
| `AverageCost`  | Decimal             |         |          |Read-only field. Average Unit Cost of this product. Up to 4 decimal places|
| `ShortDescription`  | String             | 500        |          |Multiline short description of the product|
| `Description`  | String             | Unlimited        |          |Multiline description of the product|
| `InternalNote`  | String             | 4000        |          |Internal Note|
| `AdditionalAttribute1`  | String             | 256        |          |Value of the product’s additional attribute 1. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute2`  | String             | 256        |          |Value of the product’s additional attribute 2. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute3`  | String             | 256        |          |Value of the product’s additional attribute 3. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute4`  | String             | 256        |          |Value of the product’s additional attribute 4. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute5`  | String             | 256        |          |Value of the product’s additional attribute 5. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute6`  | String             | 256        |          |Value of the product’s additional attribute 6. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute7`  | String             | 256        |          |Value of the product’s additional attribute 7. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute8`  | String             | 256        |          |Value of the product’s additional attribute 8. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute9`  | String             | 256        |          |Value of the product’s additional attribute 9. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AdditionalAttribute10`  | String             | 256        |          |Value of the product’s additional attribute 10. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `AttributeSet`  | String             | 50        |          |Name of the product’s additional attribute set.|
| `DiscountRule`  | String             | 128        |          |Valid discount name (discount with this name must exist in Product Discounts reference book and should be active)|
| `Tags`  | String             | 256        |          |Comma delimited list of custom tags|
| `Status`  | String             |         |Yes      |The only valid values are `Active`, `Setup required` and `Deprecated`|
| `StockLocator`  | String             | 256        |          |Location of this product in your warehouse|
| `COGSAccount`  | String             | 50        |          |Account code of an active EXPENSE class account from Chart Of Accounts. Only applicable to products of type Stock and ignored for Service products.|
| `RevenueAccount`  | String             | 50        |          |Account code of an active `REVENUE` class account from Chart Of Accounts|
| `ExpenseAccount`  | String             | 50        |          |Account code of an active `EXPENSE` class account from Chart Of Accounts. Only applicable to products of type Stock and ignored for Service products.|
| `InventoryAccount`  | String             | 50        |          |Account code of an active `ASSET` class account from Chart Of Accounts with Type not equal to FIXED or BANK. Only applicable to products of type Stock and ignored for Service products.|
| `PurchaseTaxRule`  | String             | 50        |          |Tax rule used for this product in Purchases. Tax Rule with this name must exist in Taxation Rules reference book and should be Active and have For Purchases flag set to “true” in API|
| `SaleTaxRule`  | String             | 50        |          |Tax rule used for this product in Sales. Tax Rule with this name must exist in Taxation Rules reference book and should be Active and have For Sales flag set to “true” in API|
| `LastModifiedOn`  | DateTime             |         |          |UTC Time. Read-only.|
| `Sellable`  | Bool             |        |          |Value for field `I am selling this product` on product page. Available values for this field: `true`, `false`. If value of field is not specified then `true` will be accepted by default.|
| `PickZones`  | String             | 256        |          |Comma delimited list of pick zones|
| `BillOfMaterial`  | Bool             |        |          |`true` if this product can be assembled from components or disassembled to components or this product is a secondary unit of measure of base product.|
| `AutoAssembly`  | Bool             |        |          |`true` if this product is a kit and should be autoassembled from components on sale order authorisation or this product is a secondary unit of measure of base product.|
| `AutoDisassembly`  | Bool             |        |          |`true` if when receiving this product during purchase it should be automatically disassembled to components or this product is a secondary unit of measure of a base product.|
| `QuantityToProduce`  | Decimal             |        |      Yes*    |Specify how many products will be assembled as per Bill of Materials.  Required if `BillOfMaterial` is `true`|
| `AssemblyInstructionURL`  | String             | 256        |          |Url to external resource describing assembly instruction.|
| `AssemblyCostEstimationMethod`  | String             | 256        |  Yes*       |.Required if `BillOfMaterial` is `true`|
| `BOMType`  | String             |         |  |Production BOM type. Valid values: 'Assembly', 'Production', 'Make to Order', 'None'. The field is Read-only.|
| `HSCode`  | String             | 200      |  |Specifies the HS Code used in the process of product export. It is a numeric value of minimum 6 digits.|
| `CountryOfOrigin`  | String    |   |  |Specifies the country of manufacture, production, design, or brand origin where a product comes from.|
| `CountryOfOriginCode`  | String    |   |  |Specifies the country code of manufacture, production, design, or brand origin where a product comes from.|
| `Suppliers`  | <a href="#ProductSupplierModel"><b>[] Product Supplier Model</b></a>              |         |          ||
| `ReorderLevels`  | <a href="#ReorderLevelModel"><b>[] Reorder Level Model</b></a>              |         |          ||
| `BillOfMaterialsProducts`  | <a href="#BillOfMaterialProductModel"><b>[] Bill Of Material Product Model</b></a>              |         |          ||
| `BillOfMaterialsServices`  | <a href="#BillOfMaterialServiceModel"><b>[] Bill Of Material Service Model</b></a>              |         |          ||
| `Movements`  | <a href="#ProductMovementModel"><b>[] Product Movement Model</b></a>              |         |          ||
| `Attachments`  | <a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>              |         |          ||
| `CustomPrices`       |<a href="#ProductPriceModel"><b>[] Custom Price Model</b></a>||| Customer specific Product Prices.         |


### GET [GET /product?ID={ID}&Page={Page}&Limit={Limit}&Name={Name}&Sku={Sku}&ModifiedSince={ModifiedSince}&IncludeDeprecated={IncludeDeprecated}&IncludeBOM={IncludeBOM}&IncludeSuppliers={IncludeSuppliers}&IncludeMovements={IncludeMovements}&IncludeAttachments={IncludeAttachments}&IncludeReorderLevels={IncludeReorderLevels}&IncludeCustomPrices={IncludeCustomPrices}]

+ Parameters
    + ID (optional) ... Returns stock info of a particular product (Default: null)
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Name (optional) ... Only return products with product name containing specified name value (Default: null)
    + Sku (optional) ... Only return products with product sku containing specified sku value (Default: null)
    + ModifiedSince (optional, date) ... Only return Products modified since specified date (UTC time) in ISO 8601 format. (Default: null)
    + IncludeDeprecated (optional, boolean) ... Returns all Products, including deprecated, if set to true. If set to false or if it is not specified then returns only active (ie. non-deprecated) Products (Default: false)
    + IncludeBOM (optional, boolean) ... Include Bill Of Materials information (Default: false)
    + IncludeSuppliers (optional, boolean) ... Include Suppliers information (Default: false)
    + IncludeMovements (optional, boolean) ... Include Movements information (Default: false)
    + IncludeAttachments (optional, boolean) ... Include Attachments information (Default: false)
    + IncludeReorderLevels (optional, boolean) ... Include Reorder Levels information (Default: false)
    + IncludeCustomPrices (optional, boolean) ... Include Customer specific Prices (Default: false)


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "Total": 1,
                "Page": 1,
                "Products": [
                    {
                        "ID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Category": "Other",
                        "Brand": null,
                        "Type": "Stock",
                        "CostingMethod": "FEFO - Batch",
                        "DropShipMode": "No Drop Ship",
                        "DefaultLocation": "Main Warehouse",
                        "Length": 0,
                        "Width": 0,
                        "Height": 0,
                        "Weight": 0,
                        "UOM": "Item",
                        "WeightUnits": "oz",
                        "DimensionsUnits": null,
                        "Barcode": "",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 8,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "PriceTiers": {
                            "Tier 1": 8,
                            "Tier 2": 0,
                            "Tier 3": 0,
                            "Tier 4": 0,
                            "Tier 5": 0,
                            "Tier 6": 0,
                            "Tier 7": 0,
                            "Tier 8": 0,
                            "Tier 9": 0,
                            "Tier 10": 0
                        },
                        "AverageCost": 5,
                        "ShortDescription": "",
                        "Description": "",
                        "InternalNote": "",
                        "AdditionalAttribute1": "",
                        "AdditionalAttribute2": "",
                        "AdditionalAttribute3": "",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "Bread",
                        "Status": "Active",
                        "StockLocator": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "ExpenseAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "LastModifiedOn": "2017-12-26T07:19:37.937Z",
                        "Sellable": true,
                        "PickZones": "test",
                        "BillOfMaterial": true,
                        "AutoAssembly": false,
                        "AutoDisassembly": false,
                        "QuantityToProduce": 1,
                        "AssemblyInstructionURL": "",
                        "AssemblyCostEstimationMethod": "Average Cost",
                        "Suppliers": [],
                        "ReorderLevels": [
                            {
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "LocationName": "Main Warehouse",
                                "MinimumBeforeReorder": 1,
                                "ReorderQuantity": 1,
                                "StockLocator": "1",
                                "PickZones": "test"
                            }
                        ],
                        "BillOfMaterialsProducts": [
                            {
                                "ComponentProductID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "ProductCode": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Quantity": 1,
                                "WastagePercent": 0,
                                "WastageQuantity": 1,
                                "CostPercentage": 100
                            }
                        ],
                        "BillOfMaterialsServices": [
                            {
                                "ComponentProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                                "Name": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "ExpenseAccount": "",
                                "PriceTier": 1
                            }
                        ],
                        "Movements": [
                            {
                                "TaskID": "85585398-caba-4df6-99a2-1ff2cecf9306",
                                "Type": "Adjustment",
                                "Date": "2017-12-25T00:00:00,
                                "Number": "ST-00001",
                                "Quantity": 111,
                                "Amount": 555,
                                "Location": "Main Warehouse",
                                "BatchSN": "1",
                                "ExpiryDate": "2017-12-07T00:00:00",
                                "FromTo": ""
                            }
                        ],
                        "Attachments": [
                            {
                                "ID": "3fd5df29-83d6-4576-9e81-27c3560dfc7c",
                                "ContentType": "image/jpeg",
                                "FileName": "1471081716149.jpg",
                                "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3fd5df29-83d6-4576-9e81-27c3560dfc7c&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                            }
                        ],
                        "CustomPrices": [
                            {
                                "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                "ProductName": "Screws Drive Cross",
                                "ProductSKU": "Screws-SKU - 002",
                                "Price": 1.1
                            }
                        ],
                        "CartonHeight": 10,
                        "CartonWidth": 10,
                        "CartonLength": 10,
                        "CartonQuantity": 2,
                        "CartonInnerQuantity": 1,
                        "HSCode": "654324",
                        "CountryOfOrigin": "Algeria",
                        "CountryOfOriginCode": "DZA"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SKU": "Bread Test",
                "Name": "Baked Bread Test",
                "Category": "Other",
                "Brand": null,
                "Type": "Stock",
                "CostingMethod": "FEFO - Batch",
                "DropShipMode": "No Drop Ship",
                "DefaultLocation": "Main Warehouse",
                "Length": 0,
                "Width": 0,
                "Height": 0,
                "Weight": 0,
                "UOM": "Item",
                "WeightUnits": "oz",
                "DimensionsUnits": null,
                "Barcode": "",
                "MinimumBeforeReorder": 0,
                "ReorderQuantity": 0,
                "PriceTier1": 8,
                "PriceTier2": 0,
                "PriceTier3": 0,
                "PriceTier4": 0,
                "PriceTier5": 0,
                "PriceTier6": 0,
                "PriceTier7": 0,
                "PriceTier8": 0,
                "PriceTier9": 0,
                "PriceTier10": 0,
                "PriceTiers": {
                    "Tier 1": 8,
                    "Tier 2": 0,
                    "Tier 3": 0,
                    "Tier 4": 0,
                    "Tier 5": 0,
                    "Tier 6": 0,
                    "Tier 7": 0,
                    "Tier 8": 0,
                    "Tier 9": 0,
                    "Tier 10": 0
                },
               "ShortDescription": "",
                "Description": "",
                "InternalNote": "",
                "AdditionalAttribute1": "",
                "AdditionalAttribute2": "",
                "AdditionalAttribute3": "",
                "AdditionalAttribute4": "",
                "AdditionalAttribute5": "",
                "AdditionalAttribute6": "",
                "AdditionalAttribute7": "",
                "AdditionalAttribute8": "",
                "AdditionalAttribute9": "",
                "AdditionalAttribute10": "",
                "AttributeSet": null,
                "DiscountRule": null,
                "Tags": "Bread",
                "Status": "Active",
                "StockLocator": "",
                "COGSAccount": null,
                "RevenueAccount": null,
                "ExpenseAccount": null,
                "InventoryAccount": null,
                "PurchaseTaxRule": null,
                "SaleTaxRule": null,
                "Sellable": true,
                "PickZones": "test",
                "BillOfMaterial": true,
                "AutoAssembly": false,
                "AutoDisassembly": false,
                "QuantityToProduce": 1,
                "AssemblyInstructionURL": "",
                "AssemblyCostEstimationMethod": "Average Cost",
                "Suppliers": [
                    {
                        "SupplierID": "42359698-352b-4354-89ed-e06feee1d567",
                        "SupplierName": "ABPA",
                        "SupplierInventoryCode": "Test",
                        "SupplierProductName": "Test Name",
                        "Cost": 1,
                        "FixedCost": 1,
                        "Currency": "RUB",
                        "DropShip": false,
                        "URL": ""
                    }
                ],
                "ReorderLevels": [
                    {
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "LocationName": "Main Warehouse",
                        "MinimumBeforeReorder": 1,
                        "ReorderQuantity": 1,
                        "StockLocator": "1",
                        "PickZones": "test"
                    }
                ],
                "BillOfMaterialsProducts": [
                    {
                        "ComponentProductID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                        "ProductCode": "GB1-White",
                        "Name": "Golf balls - white single",
                        "Quantity": 2,
                        "WastagePercent": 0,
                        "WastageQuantity": 1,
                        "CostPercentage": 100
                    }
                ],
                "BillOfMaterialsServices": [
                    {
                        "ComponentProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Quantity": 2,
                        "ExpenseAccount": "",
                        "PriceTier": 1
                    }
                ],
                "CartonHeight": 10,
                "CartonWidth": 10,
                "CartonLength": 10,
                "CartonQuantity": 2,
                "CartonInnerQuantity": 1,
                "HSCode": "654324",
                "CountryOfOrigin": "Algeria"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "Products": [
                    {
                        "ID": "c470b235-1646-48c4-8999-d9ef478a2350",
                        "SKU": "Bread Test",
                        "Name": "Baked Bread Test",
                        "Category": "Other",
                        "Brand": null,
                        "Type": "Stock",
                        "CostingMethod": "FEFO - Batch",
                        "DropShipMode": "No Drop Ship",
                        "DefaultLocation": "Main Warehouse",
                        "Length": 0,
                        "Width": 0,
                        "Height": 0,
                        "Weight": 0,
                        "UOM": "Item",
                        "Barcode": null,
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 8,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "PriceTiers": {
                            "Tier 1": 8,
                            "Tier 2": 0,
                            "Tier 3": 0,
                            "Tier 4": 0,
                            "Tier 5": 0,
                            "Tier 6": 0,
                            "Tier 7": 0,
                            "Tier 8": 0,
                            "Tier 9": 0,
                            "Tier 10": 0
                        },
                        "AverageCost": 0,
                        "ShortDescription": null,
                        "Description": null,
                        "InternalNote": "",
                        "AdditionalAttribute1": null,
                        "AdditionalAttribute2": null,
                        "AdditionalAttribute3": null,
                        "AdditionalAttribute4": null,
                        "AdditionalAttribute5": null,
                        "AdditionalAttribute6": null,
                        "AdditionalAttribute7": null,
                        "AdditionalAttribute8": null,
                        "AdditionalAttribute9": null,
                        "AdditionalAttribute10": null,
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "Bread",
                        "Status": "Active",
                        "StockLocator": null,
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "ExpenseAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "LastModifiedOn": "2017-12-26T07:36:13.183Z",
                        "Sellable": true,
                        "PickZones": "test",
                        "BillOfMaterial": true,
                        "AutoAssembly": false,
                        "AutoDisassembly": false,
                        "QuantityToProduce": 1,
                        "AssemblyInstructionURL": null,
                        "AssemblyCostEstimationMethod": "Average Cost",
                        "Suppliers": [
                            {
                                "SupplierID": "42359698-352b-4354-89ed-e06feee1d567",
                                "SupplierName": "ABPA",
                                "SupplierInventoryCode": "Test",
                                "SupplierProductName": "Test Name",
                                "Cost": 1,
                                "FixedCost": 1,
                                "Currency": "RUB",
                                "DropShip": false,
                                "URL": ""
                            }
                        ],
                        "ReorderLevels": [
                            {
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "LocationName": "Main Warehouse",
                                "MinimumBeforeReorder": 1,
                                "ReorderQuantity": 1,
                                "StockLocator": "1",
                                "PickZones": "test"
                            }
                        ],
                        "BillOfMaterialsProducts": [
                            {
                                "ComponentProductID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "ProductCode": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Quantity": 2,
                                "WastagePercent": 0,
                                "WastageQuantity": 1,
                                "CostPercentage": 100
                            }
                        ],
                        "BillOfMaterialsServices": [
                            {
                                "ComponentProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                                "Name": "Half day training - Microsoft Office",
                                "Quantity": 2,
                                "ExpenseAccount": "",
                                "PriceTier": 1
                            }
                        ],
                        "Movements": [],
                        "Attachments": [],
                        "CartonHeight": 10,
                        "CartonWidth": 10,
                        "CartonLength": 10,
                        "CartonQuantity": 2,
                        "CartonInnerQuantity": 1,
                        "HSCode": "654324",
                        "CountryOfOrigin": "Algeria",
                        "CountryOfOriginCode": "DZA"
                    }
                ]
            }


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                "SKU": "Bread",
                "Name": "Baked Bread",
                "Category": "Other",
                "Brand": null,
                "CostingMethod": "FEFO - Batch",
                "DropShipMode": "No Drop Ship",
                "DefaultLocation": "Main Warehouse",
                "Length": 0,
                "Width": 0,
                "Height": 0,
                "Weight": 0,
                "UOM": "Item",
                "WeightUnits": "oz",
                "DimensionsUnits": null,
                "Barcode": "",
                "MinimumBeforeReorder": 0,
                "ReorderQuantity": 0,
                "PriceTier1": 8,
                "PriceTier2": 0,
                "PriceTier3": 0,
                "PriceTier4": 0,
                "PriceTier5": 0,
                "PriceTier6": 0,
                "PriceTier7": 0,
                "PriceTier8": 0,
                "PriceTier9": 0,
                "PriceTier10": 0,
                "PriceTiers": {
                    "Tier 1": 8,
                    "Tier 2": 0,
                    "Tier 3": 0,
                    "Tier 4": 0,
                    "Tier 5": 0,
                    "Tier 6": 0,
                    "Tier 7": 0,
                    "Tier 8": 0,
                    "Tier 9": 0,
                    "Tier 10": 0
                },
               "ShortDescription": "",
                "Description": "",
                "InternalNote": "",
                "AdditionalAttribute1": "",
                "AdditionalAttribute2": "",
                "AdditionalAttribute3": "",
                "AdditionalAttribute4": "",
                "AdditionalAttribute5": "",
                "AdditionalAttribute6": "",
                "AdditionalAttribute7": "",
                "AdditionalAttribute8": "",
                "AdditionalAttribute9": "",
                "AdditionalAttribute10": "",
                "AttributeSet": null,
                "DiscountRule": null,
                "Tags": "Bread",
                "Status": "Active",
                "StockLocator": "",
                "COGSAccount": null,
                "RevenueAccount": null,
                "ExpenseAccount": null,
                "InventoryAccount": null,
                "PurchaseTaxRule": null,
                "SaleTaxRule": null,
                "Sellable": true,
                "PickZones": "test",
                "BillOfMaterial": true,
                "AutoAssembly": false,
                "AutoDisassembly": false,
                "QuantityToProduce": 1,
                "AssemblyInstructionURL": "",
                "AssemblyCostEstimationMethod": "Average Cost",
                "Suppliers": [
                    {
                        "SupplierID": "42359698-352b-4354-89ed-e06feee1d567",
                        "SupplierName": "ABPA",
                        "SupplierInventoryCode": "Test",
                        "SupplierProductName": "Test Name",
                        "Cost": 1,
                        "FixedCost": 1,
                        "Currency": "RUB",
                        "DropShip": false,
                        "URL": ""
                    }
                ],
                "ReorderLevels": [
                    {
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "LocationName": "Main Warehouse",
                        "MinimumBeforeReorder": 1,
                        "ReorderQuantity": 1,
                        "StockLocator": "1",
                        "PickZones": "test"
                    }
                ],
                "BillOfMaterialsProducts": [
                    {
                        "ComponentProductID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                        "ProductCode": "GB1-White",
                        "Name": "Golf balls - white single",
                        "Quantity": 2,
                        "WastagePercent": 0,
                        "WastageQuantity": 1,
                        "CostPercentage": 100
                    }
                ],
                "BillOfMaterialsServices": [
                    {
                        "ComponentProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                        "Name": "Half day training - Microsoft Office",
                        "Quantity": 2,
                        "ExpenseAccount": "",
                        "PriceTier": 1
                    }
                ],
                "CartonHeight": 10,
                "CartonWidth": 10,
                "CartonLength": 10,
                "CartonQuantity": 2,
                "CartonInnerQuantity": 1,
                "HSCode": "654324",
                "CountryOfOrigin": "Algeria"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "Products": [
                    {
                        "ID": "524c20a3-a8ec-44f2-9685-311f1f7d1498",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Category": "Other",
                        "Brand": null,
                        "Type": "Stock",
                        "CostingMethod": "FEFO - Batch",
                        "DropShipMode": "No Drop Ship",
                        "DefaultLocation": "Main Warehouse",
                        "Length": 0,
                        "Width": 0,
                        "Height": 0,
                        "Weight": 0,
                        "UOM": "Item",
                        "Barcode": "",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 8,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "PriceTiers": {
                            "Tier 1": 8,
                            "Tier 2": 0,
                            "Tier 3": 0,
                            "Tier 4": 0,
                            "Tier 5": 0,
                            "Tier 6": 0,
                            "Tier 7": 0,
                            "Tier 8": 0,
                            "Tier 9": 0,
                            "Tier 10": 0
                        },
                        "AverageCost": 5,
                        "ShortDescription": "",
                        "Description": "",
                        "InternalNote": "",
                        "AdditionalAttribute1": "",
                        "AdditionalAttribute2": "",
                        "AdditionalAttribute3": "",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "Bread",
                        "Status": "Active",
                        "StockLocator": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "ExpenseAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "LastModifiedOn": "2017-12-26T07:19:37.937Z",
                        "Sellable": true,
                        "PickZones": "test",
                        "BillOfMaterial": true,
                        "AutoAssembly": false,
                        "AutoDisassembly": false,
                        "QuantityToProduce": 1,
                        "AssemblyInstructionURL": "",
                        "AssemblyCostEstimationMethod": "Average Cost",
                        "Suppliers": [
                            {
                                "SupplierID": "42359698-352b-4354-89ed-e06feee1d567",
                                "SupplierName": "ABPA",
                                "SupplierInventoryCode": "Test",
                                "SupplierProductName": "Test Name",
                                "Cost": 1,
                                "FixedCost": 1,
                                "Currency": "RUB",
                                "DropShip": false,
                                "URL": ""
                            }
                        ],
                        "ReorderLevels": [
                            {
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "LocationName": "Main Warehouse",
                                "MinimumBeforeReorder": 1,
                                "ReorderQuantity": 1,
                                "StockLocator": "1",
                                "PickZones": "test"
                            }
                        ],
                        "BillOfMaterialsProducts": [
                            {
                                "ComponentProductID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "ProductCode": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Quantity": 2,
                                "WastagePercent": 0,
                                "WastageQuantity": 1,
                                "CostPercentage": 100
                            }
                        ],
                        "BillOfMaterialsServices": [
                            {
                                "ComponentProductID": "5c6a9204-275f-4a8b-8a90-317d674a4504",
                                "Name": "Half day training - Microsoft Office",
                                "Quantity": 2,
                                "ExpenseAccount": "",
                                "PriceTier": 1
                            }
                        ],
                        "Movements": [
                            {
                                "TaskID": "85585398-caba-4df6-99a2-1ff2cecf9306",
                                "Type": "Adjustment",
                                "Date": "2017-12-25T00:00:00",
                                "Number": "ST-00001",
                                "Quantity": 111,
                                "Amount": 555,
                                "Location": "Main Warehouse",
                                "BatchSN": "1",
                                "ExpiryDate": "2017-12-07T00:00:00",
                                "FromTo": ""
                            }
                        ],
                        "Attachments": [
                            {
                                "ID": "3fd5df29-83d6-4576-9e81-27c3560dfc7c",
                                "ContentType": "image/jpeg",
                                "FileName": "1471081716149.jpg",
                                "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3fd5df29-83d6-4576-9e81-27c3560dfc7c&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                            }
                        ],
                        "CartonHeight": 10,
                        "CartonWidth": 10,
                        "CartonLength": 10,
                        "CartonQuantity": 2,
                        "CartonInnerQuantity": 1,
                        "HSCode": "654324",
                        "CountryOfOrigin": "Algeria",
                        "CountryOfOriginCode": "DZA"
                    }
                ]
            }
            

## Product Attachments [/product/attachments]

All methods return array of <a href="#AttachmentLineModel"><b>Attachment Line Model</b></a>

### Available fields for POST Methods
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ProductID`  | Guid           |         |    Yes      |ID of Product to which attachment will be added.|
| `FileName`  | String           |         |    Yes      |File Name.|
| `IsDefault`  | Boolean           |         |         |Set image as default(for images only).|
| `FileDownloadUrl` | String           |         | No     |URL, where file can be downloaded.|
| `Content`  | String           |         |    Yes*     |File content converted to base64 string. Required if `FileDownloadUrl` is empty.|

### GET [GET /product/attachments?ProductID={ProductID}]
+ Parameters
    + ProductID (optional) ... Returns attachments info of a particular product

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            [
                {
                    "ID": "3ba9b33c-662a-4bed-935a-9e13e7535c88",
                    "ContentType": "application/octet-stream",
                    "IsDefault": "true",
                    "FileName": "Test",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3ba9b33c-662a-4bed-935a-9e13e7535c88&ContentType=application/octet-stream&FileName=Test&isPublic=True"
                },
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault": "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                ProductID: "76755c09-60de-483c-a63b-18fd12c2d932",
                FileName: "Test",
                Content: "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAFcAmwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8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VLRULlY02nGkAyKxZ0CU5TikxS0JANopTwaKVgEopaMUWASiloosAlFFFIAooooAKKKKACiiigAooooAKKKKAFBqYSdqgpc1SdhNXLDyjbx1qBjk0lJQ3cEkgoooqRhRRRQAVatLC5u4pJLeIyLGVVsEZyegA6np2qrViC4mhQpFIyqzAkDuRkD+Zod+g42vqSrpd8wJFrNwM8oR6f407+yL/cF+zSEnsOe5Gfpwef8alfWb91CtctjKnoM5Xpzj2oj1nUIzlLp87SvODgEAH9FFTafkX7nmV30y9QgG1mOV3AhCQRjOcj60DTL4nAs7gnOMeW3X8vcfnVuPXL9QirMAFTy/ujLD3Pf0pr6zfybd0/yq+8KEXAOQemOnA46Uvf8h2h5lZNNvJI1eO3kZWzjaMk4ODx1qvNDJC+yVGRsA4YYOCMj9K0IdWvonLx3DKxOTgDB69sY7n86pzzyTyb5TubAXOMcAYH6CripN2ZEuW2h/9k="
            }
+ Response 200 (application/json)
    + Body 
    
            [
                {
                    "ID": "3ba9b33c-662a-4bed-935a-9e13e7535c88",
                    "ContentType": "application/octet-stream",
                    "IsDefault": "false",
                    "FileName": "Test",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3ba9b33c-662a-4bed-935a-9e13e7535c88&ContentType=application/octet-stream&FileName=Test&isPublic=True"
                },
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault": "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]
            

### DELETE [DELETE /product/attachments?ID={ID}]
+ Parameters
    + ID (optional) ... ID of Product Attachment to delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            [
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault" : "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]



## Product Availability [/ref/productavailability]


### Available Fields for Product Availability
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ID`                  | Guid      |           |           | Product ID.                                                   |
| `SKU`                 | String    | 50        |           | SKU of Product.                                               |
| `Name`                | String    | 256       |           | Name of Product.                                              |
| `Barcode`             | String    | 256       |           | Barcode of Product.                                           |
| `Location`            | String    | 256       |           | Name of product location.                                     |
| `Bin`                 | String    | 50        |           | Binof product location.                                       |
| `Batch`               | String    |           |           | Batch.                                                        |
| `ExpiryDate`          | DateTime  |           |           | Expiry Date.                                                  |
| `OnHand`              | Decimal   |           |           | On Hand.                                                      |
| `Allocated`           | Decimal   |           |           | Allocated.                                                    |
| `Available`           | Decimal   |           |           | Available.                                                    |
| `OnOrder`             | Decimal   |           |           | OnOrder.                                                      |
| `StockOnHand`         | Decimal   |           |           | StockOnHand.                                                  |
| `InTransit`           | Decimal   |           |           | In Transit.                                                  |
| `NextDeliveryDate`    | DateTime  |           |           | Next delivery date.                                          |

 
### GET [GET /ref/productavailability?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&Sku={Sku}&Location={Location}&Batch={Batch}&Category={Category}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Product with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Products which name starts with the specific name
        + Default: null
    + Sku (optional, string) ... Only return Products with the specific sku
        + Default: null
    + Location (optional, string) ... Returns products with stock information only for specified location name
        + Default: ""
    + Batch (optional, string) ... Returns products with stock information only for specified batch/serial number
        + Default: ""
    + Category (optional, string) ... Returns products with stock information only for specified product category name
        + Default: ""

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 4,
                "Page": 1,
                "ProductAvailabilityList": [
                    {
                        "ID": "53350e22-0a89-4bdd-b11c-90bb3315dbe1",
                        "SKU": "test product 1",
                        "Name": "Test product 1",
                        "Barcode": null,
                        "Location": "Main Warehouse",
                        "Bin": null,
                        "Batch": null,
                        "ExpiryDate": null,
                        "OnHand": 0,
                        "Allocated": 1,
                        "Available": 1,
                        "OnOrder": 0,
                        "StockOnHand": 0,
                        "InTransit": 0,
                        "NextDeliveryDate": "2024-11-22T00:00:00"
                    },
                    {
                        "ID": "92a8c8fd-318e-455a-945c-8c5f588c055e",
                        "SKU": "test product 2",
                        "Name": "Test product 2",
                        "Barcode": null,
                        "Location": "Main Warehouse",
                        "Bin": null,
                        "Batch": null,
                        "ExpiryDate": null,
                        "OnHand": 0,
                        "Allocated": 1,
                        "Available": 1,
                        "OnOrder": 0,
                        "StockOnHand": 0,
                        "InTransit": 0,
                        "NextDeliveryDate": null
                    },
                    {
                        "ID": "a2bd1fc5-f52c-4005-89a7-b9fdb4f180e1",
                        "SKU": "test product 3",
                        "Name": "Test product 3",
                        "Barcode": null,
                        "Location": "Main Warehouse",
                        "Bin": null,
                        "Batch": null,
                        "ExpiryDate": null,
                        "OnHand": 0,
                        "Allocated": 1,
                        "Available": 1,
                        "OnOrder": 0,
                        "StockOnHand": 0,
                        "InTransit": 0,
                        "NextDeliveryDate": null
                    },
                    {
                        "ID": "3e14fcbc-6e80-4c36-8c2c-36e29f79e192",
                        "SKU": "test product 4",
                        "Name": "Test product 4",
                        "Barcode": null,
                        "Location": "Main Warehouse",
                        "Bin": null,
                        "Batch": null,
                        "ExpiryDate": null,
                        "OnHand": 0,
                        "Allocated": 5,
                        "Available": 2,
                        "OnOrder": 0,
                        "StockOnHand": 0,
                        "InTransit": 0,
                        "NextDeliveryDate": null
                    }
                ]
            }      
            


# Group Product Categories

Product Category CRUD operations

### Available Fields for Product Category
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Required for PUT, Ignored for POST operations          |
| `Name`  | String             | 50        | Yes         |Category name for product          |


## Product Category [/ref/category]
### GET [GET /ref/category?Page={Page}&Limit={Limit}&Name={Name}]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Name (optional) ... Only return product category that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033




+ Response 200 (application/json)
    + Body

            {
                "Total": 5,
                "Page": 1,
                "CategoryList": 
                [
                    {
                        "ID": "c783373b-67b1-496f-96d9-4b3ed76cb391",
                        "Name": "Angry and reactive"
                    },
                    {
                        "ID": "1f1c7865-0058-450c-8c6a-44180b8a9705",
                        "Name": "Apparel"
                    },
                    {
                        "ID": "a4d910fe-c961-4499-a93c-98134a12113d",
                        "Name": "ART"
                    },
                    {
                        "ID": "4ad69777-cf5b-4515-9d87-31953566c655",
                        "Name": "Art Study"
                    },
                    {
                        "ID": "4f6f9821-99c0-4827-964c-cdd1208273e5",
                        "Name": "Audiobooks"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Name": "Test"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "db5b65db-7cf0-4927-8a77-93abcd6cdcd1",
                "Name": "Test"
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {   
                "ID": "db5b65db-7cf0-4927-8a77-93abcd6cdcd1",
                "Name": "Test1"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "db5b65db-7cf0-4927-8a77-93abcd6cdcd1",
                "Name": "Test1"
            }

### DELETE [DELETE /ref/category?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of ProductCategories to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033




+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


# Group Product Family

## Product Family [/productFamily]
### Available Fields for Product Family
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Products`  | <a href="#ProductFamilyProductLineModel"><b>[] Product Family Product Line Model</b></a>              |         |          |List of Products included in the Family.|
| `ID`  | Guid           |         |          |Unique ID. Ignored by POST action. Required for PUT action          |
| `SKU`  | String             | 45        | Yes         |Must be unique. Product Family SKU, used to generate Product SKUs|
| `Name`  | String             | 256        | Yes         |Product Family name, used to generate Product names|
| `Category`  | String             | 256        | Yes         |Category name |
| `Brand`  | String             | 256        |          |Brand name|
| `CostingMethod`  | String             |         |  Yes        |Valid values: `FIFO`, `Special - Batch`, `Special - Serial Number`, `FIFO - Serial Number`, `FIFO - Batch`, `FEFO - Batch`, `FEFO - Serial Number`|
| `DefaultLocation`  | String             | 256        |   Yes       |Name of the default Location for product family. (Location with this name must exist in Reference Books>Locations and Bins)|
| `UOM`  | String             | 0      |  Yes        |Unit of Measure (Unit of measure with this name must exist in Reference Books > Units of Measure)|
| `MinimumBeforeReorder`  | Decimal  (Nullable)          |         |          |Minimum available product quantity for this product to appear on Reorder report/forms. Defaults to 0|
| `ReorderQuantity`  | Decimal  (Nullable)          |         |          |Default quantity to put into purchase order when reordering this product. Not applicable to reorder backordered form. Defaults to 0|
| `PriceTier1`  | Decimal          |         |          |Product Sale Price used when Price Tier 1 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier2`  | Decimal          |         |          |Product Sale Price used when Price Tier 2 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier3`  | Decimal          |         |          |Product Sale Price used when Price Tier 3 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier4`  | Decimal          |         |          |Product Sale Price used when Price Tier 4 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier5`  | Decimal          |         |          |Product Sale Price used when Price Tier 5 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier6`  | Decimal          |         |          |Product Sale Price used when Price Tier 6 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier7`  | Decimal          |         |          |Product Sale Price used when Price Tier 7 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier8`  | Decimal          |         |          |Product Sale Price used when Price Tier 8 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier9`  | Decimal          |         |          |Product Sale Price used when Price Tier 9 is selected in Sale Task. Up to 4 decimal places|
| `PriceTier10`  | Decimal          |         |          |Product Sale Price used when Price Tier 10 is selected in Sale Task. Up to 4 decimal places|
| `ShortDescription`  | String             | 500        |          |Multiline short description of the product|
| `Description`  | String             | Unlimited        |          |Multiline description of the product family|
| `AttributeSet`  | String             | 50        |          |Name of the product’s additional attribute set.|
| `DiscountRule`  | String             | 128        |          |Valid discount name (discount with this name must exist in Product Discounts reference book and should be active)|
| `Tags`  | String             | 256        |          |Comma delimited list of custom tags|
| `COGSAccount`  | String             | 50        |          |Account code of an active EXPENSE class account from Chart Of Accounts. |
| `RevenueAccount`  | String             | 50        |          |Account code of an active REVENUE class account from Chart Of Accounts.|
| `InventoryAccount`  | String             | 50        |          |Account code of an active ASSET class account from Chart Of Accounts with Type not equal to FIXED or BANK. |
| `PurchaseTaxRule`  | String             | 50        |          |Tax rule used for this product in Purchases. Tax Rule with this name must exist in Reference Books> Taxation Rules and should be Active. Purchases flag needs to be set to true in API.|
| `SaleTaxRule`  | String             | 50        |          |Tax rule used for this product in Sales. Tax Rule with this name must exist in Reference Books > Taxation Rules and should be Active. Sales flag needs to be set to true in API.|
| `DropShipMode`  | String             |         |          |One of these values: `No Drop Ship`, `Optional Drop Ship`, `Always Drop Ship`. Default value is `No Drop Ship`.|
| `Option1Name`  | String          |  50       | Yes         |Family Option 1 name. I.e. Size, Colour, etc. Defaults to Option 1|
| `Option2Name`  | String          |  50       |          |Family Option 2 name. I.e. Size, Colour, etc. Defaults to Option 1|
| `Option3Name`  | String          |  50       |          |Family Option 3 name. I.e. Size, Colour, etc. Defaults to Option 1|
| `Option1Values`  | String          |         |          |Comma-delimited list of all possible values for Option 1. Combination of unique values of Option 1 Value for product family products. Read-only.|
| `Option2Values`  | String          |         |          |Comma-delimited list of all possible values for Option 2. Combination of unique values of Option 1 Value for product family products. Read-only.|
| `Option3Values`  | String          |         |          |Comma-delimited list of all possible values for Option 3. Combination of unique values of Option 1 Value for product family products. Read-only.|
| `LastModifiedOn`  | DateTime  (Nullable)        |         |          |UTC Time|
| `Attachments`  | <a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>              |         |          ||
| `HSCode`  | String             | 200      |  |Specifies the HS Codes used in the process of product export. It is a numeric value of minimum 6 digits.|
| `CountryOfOrigin`  | String    |   |  |Specifies the country of manufacture, production, design, or brand origin where a product comes from.|
| `CountryOfOriginCode`  | String    |   |  |Specifies the country code of manufacture, production, design, or brand origin where a product comes from.|


### GET [GET /productFamily?ID={ID}&Page={Page}&Limit={Limit}&Name={Name}&Sku={Sku}&ModifiedSince={ModifiedSince}]

+ Parameters
    + ID (optional) ... Returns stock info of a particular product (Default: null)
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + Name (optional) ... Only return products with product name containing specified name value (Default: null)
    + Sku (optional) ... Only return products with product sku containing specified sku value (Default: null)
    + ModifiedSince (optional, date) ... Only return Products modified since specified date (UTC time) in ISO 8601 format. (Default: null)
   

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "ProductFamilies": [
                    {
                        "Products": [
                            {
                                "ID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "SKU": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Option1": "3",
                                "Option2": "4",
                                "Option3": "5"
                            }
                        ],
                        "ID": "2aa3892d-5006-438b-a94c-bcfcca020ea4",
                        "SKU": "Test",
                        "Name": "Test",
                        "Category": "Other",
                        "DefaultLocation": "Main Warehouse",
                        "Brand": null,
                        "CostingMethod": "FIFO",
                        "UOM": "Item",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 0,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "ShortDescription": null, 
                        "Description": null,
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "DropShipMode": "No Drop Ship",
                        "Option1Name": "Test 1",
                        "Option2Name": "",
                        "Option3Name": "",
                        "Option1Values": "Test 1,Test 2,Test 1",
                        "Option2Values": "",
                        "Option3Values": "",
                        "LastModifiedOn": "2017-12-29T05:49:44.36Z",
                        "Attachments": [
                            {
                                "ID": "1172db1d-ae89-4c50-9842-1d7668b46280",
                                "ContentType": "image/jpeg",
                                "FileName": "1471081716149.jpg",
                                "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=1172db1d-ae89-4c50-9842-1d7668b46280&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                            }
                        ],
                        "HSCode": "123456",
                        "CountryOfOrigin": "Angola",
                        "CountryOfOriginCode": "AGO"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Products": [
                    {
                        "ID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                        "SKU": "GB1-White",
                        "Name": "Golf balls - white single",
                        "Option1": "3",
                        "Option2": "4",
                        "Option3": "5"
                    }
                ],          
                "SKU": "Test",
                "Name": "Test",
                "Category": "Other",
                "DefaultLocation": "Main Warehouse",
                "Brand": null,
                "CostingMethod": "FIFO",
                "UOM": "Item",
                "MinimumBeforeReorder": 0,
                "ReorderQuantity": 0,
                "PriceTier1": 0,
                "PriceTier2": 0,
                "PriceTier3": 0,
                "PriceTier4": 0,
                "PriceTier5": 0,
                "PriceTier6": 0,
                "PriceTier7": 0,
                "PriceTier8": 0,
                "PriceTier9": 0,
                "PriceTier10": 0,
                "ShortDescription": "",
                "Description": "",
                "AttributeSet": null,
                "DiscountRule": null,
                "Tags": "",
                "COGSAccount": null,
                "RevenueAccount": null,
                "InventoryAccount": null,
                "PurchaseTaxRule": null,
                "SaleTaxRule": null,
                "DropShipMode": "No Drop Ship",
                "Option1Name": "Test 1",
                "Option2Name": "",
                "Option3Name": "",
                "HSCode": "123456",
                "CountryOfOrigin": "Angola"
            }
+ Response 200 (application/json)
    + Body 
            
            {
                "Total": 1,
                "Page": 1,
                "ProductFamilies": [
                    {
                        "Products": [
                            {
                                "ID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "SKU": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Option1": "3",
                                "Option2": "4",
                                "Option3": "5"
                            }
                        ],
                        "ID": "76755c09-60de-483c-a63b-18fd12c2d932",
                        "SKU": "Test",
                        "Name": "Test",
                        "Category": "Other",
                        "DefaultLocation": "Main Warehouse",
                        "Brand": null,
                        "CostingMethod": "FIFO",
                        "UOM": "Item",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 0,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "ShortDescription": "", 
                        "Description": "",
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "DropShipMode": "No Drop Ship",
                        "Option1Name": "Test 1",
                        "Option2Name": "Option 2",
                        "Option3Name": "Option 3",
                        "Option1Values": "3",
                        "Option2Values": "4",
                        "Option3Values": "5",
                        "LastModifiedOn": "2018-01-02T08:13:20.71Z",
                        "Attachments": [],
                        "HSCode": "123456",
                        "CountryOfOrigin": "Angola",
                        "CountryOfOriginCode": "AGO"
                    }
                ]
            }

### PUT [PUT]
+ If you want provide products inside ProductFamilies PUT request, it will be added or updated. Delete operations are not allowed. So, it will be added to family if there are no such products were already added to product family, or it will be updated in case if these products are already were added before.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body    
    
            {
                "ID": "76755c09-60de-483c-a63b-18fd12c2d932",
                "Products": [
                        {
                            "ID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                            "SKU": "GB1-White",
                            "Name": "Golf balls - white single",
                            "Option1": "9",
                            "Option2": "4",
                            "Option3": "5"
                        },
                        {
                            "ID": "d1c71a79-b903-4982-9df5-dc1f0336cb08",
                            "SKU": "GB6-White",
                            "Name": "Golf balls white 6-pack",
                            "Option1": "0",
                            "Option2": "1",
                            "Option3": "2"
                        }
                    ],       
                    "SKU": "Test",
                    "Name": "Test",
                    "Category": "Other",
                    "DefaultLocation": "Main Warehouse",
                    "Brand": null,
                    "CostingMethod": "FIFO",
                    "UOM": "Item",
                    "MinimumBeforeReorder": 0,
                    "ReorderQuantity": 0,
                    "PriceTier1": 0,
                    "PriceTier2": 0,
                    "PriceTier3": 0,
                    "PriceTier4": 0,
                    "PriceTier5": 0,
                    "PriceTier6": 0,
                    "PriceTier7": 0,
                    "PriceTier8": 0,
                    "PriceTier9": 0,
                    "PriceTier10": 0,
                    "ShortDescription": "",
                    "Description": "",
                    "AttributeSet": null,
                    "DiscountRule": null,
                    "Tags": "",
                    "COGSAccount": null,
                    "RevenueAccount": null,
                    "InventoryAccount": null,
                    "PurchaseTaxRule": null,
                    "SaleTaxRule": null,
                    "DropShipMode": "No Drop Ship",
                    "Option1Name": "Test 1",
                    "Option2Name": "",
                    "Option3Name": "",
                    "HSCode": "123456",
                    "CountryOfOrigin": "Angola"
                }
+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "ProductFamilies": [
                    {
                        "Products": [
                            {
                                "ID": "ce9a6504-4207-4001-b430-749bf11fdc4f",
                                "SKU": "GB1-White",
                                "Name": "Golf balls - white single",
                                "Option1": "9",
                                "Option2": "4",
                                "Option3": "5"
                            },
                            {
                                "ID": "d1c71a79-b903-4982-9df5-dc1f0336cb08",
                                "SKU": "GB6-White",
                                "Name": "Golf balls white 6-pack",
                                "Option1": "0",
                                "Option2": "1",
                                "Option3": "2"
                            }
                        ],
                        "ID": "76755c09-60de-483c-a63b-18fd12c2d932",
                        "SKU": "Test",
                        "Name": "Test",
                        "Category": "Other",
                        "DefaultLocation": "Main Warehouse",
                        "Brand": null,
                        "CostingMethod": "FIFO",
                        "UOM": "Item",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 0,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "ShortDescription": "",
                        "Description": "",
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "DropShipMode": "No Drop Ship",
                        "Option1Name": "Test 1",
                        "Option2Name": "Option 2",
                        "Option3Name": "Option 3",
                        "Option1Values": "0,9",
                        "Option2Values": "1,4",
                        "Option3Values": "2,5",
                        "LastModifiedOn": "2018-01-02T08:29:19.04Z",
                        "Attachments": [],
                        "HSCode": "123456",
                        "CountryOfOrigin": "Angola",
                        "CountryOfOriginCode": "AGO"
                    }
                ]
            }
            

## Product Family Attachments [/productFamily/attachments]

All methods return array of <a href="#AttachmentLineModel"><b>Attachment Line Model</b></a>

### Available fields for POST Methods
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `FamilyID`  | Guid           |         |    Yes      |ID of Product Family to which attachment will be added.|
| `FileName`  | String           |         |    Yes      |File Name.|
| `IsDefault`  | Boolean           |         |         |Set image as default(for images only).|
| `FileDownloadUrl` | String           |         | No     |URL, where file can be downloaded.|
| `Content`  | String           |         |    Yes      |File content converted to base64 string. Required if `FileDownloadUrl` is empty.|

### GET [GET /productFamily/attachments?FamilyID={FamilyID}]
+ Parameters
    + FamilyID (optional) ... Returns attachments info of a particular product family

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            [
                {
                    "ID": "3ba9b33c-662a-4bed-935a-9e13e7535c88",
                    "ContentType": "application/octet-stream",
                    "IsDefault" : "true",
                    "FileName": "Test",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3ba9b33c-662a-4bed-935a-9e13e7535c88&ContentType=application/octet-stream&FileName=Test&isPublic=True"
                },
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault" : "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                FamilyID: "76755c09-60de-483c-a63b-18fd12c2d932",
                FileName: "Test",
                Content: "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAFcAmwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBA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4nAs7gnOMeW3X8vcfnVuPXL9QirMAFTy/ujLD3Pf0pr6zfybd0/yq+8KEXAOQemOnA46Uvf8h2h5lZNNvJI1eO3kZWzjaMk4ODx1qvNDJC+yVGRsA4YYOCMj9K0IdWvonLx3DKxOTgDB69sY7n86pzzyTyb5TubAXOMcAYH6CripN2ZEuW2h/9k="
            }
+ Response 200 (application/json)
    + Body 
    
            [
                {
                    "ID": "3ba9b33c-662a-4bed-935a-9e13e7535c88",
                    "ContentType": "application/octet-stream",
                    "IsDefault" : "false",
                    "FileName": "Test",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=3ba9b33c-662a-4bed-935a-9e13e7535c88&ContentType=application/octet-stream&FileName=Test&isPublic=True"
                },
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault" : "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]
            

### DELETE [DELETE /productFamily/attachments?ID={ID}]
+ Parameters
    + ID (optional) ... ID of Product Family Attachment to delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            [
                {
                    "ID": "e56e9d68-7da4-4a9e-ae12-fc2f00c05503",
                    "ContentType": "image/jpeg",
                    "IsDefault" : "false",
                    "FileName": "1471081716149.jpg",
                    "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=e56e9d68-7da4-4a9e-ae12-fc2f00c05503&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                }
            ]



# Group Product Markup Prices
+ ***This is a planned API and is not availabe yet***
+ Product Markup Prices CRUD operations. Markup prices determine the rules how to automatically calculate product price basing on specified rules.

## Markup Prices Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes|Identifier of a product to which these markup prices belong to|
|`MarkupPrices`|<a href="#MarkupPriceLineModel"><b>[] Markup Price Line Model</b></a>||Yes|Array of markup price lines for each price tier. If price tier has no markup line, `MarkupType` will be set to `D`.|

## Markup Price Line Model <a name="MarkupPriceLineModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TierNumber`|Small Integer||Yes|Price Tier index as it appears in Product management page. Valid values are from 1 up to 10 inclusively|
|`MarkupType`|String||Yes|Markup calculation type. Possible values are: `P` - new price will equal to start price increased by `MarkupValue` %, `A` - new price will be a sum of start price and `MarkupValue`, 'D' - if markup price not defined or should be deleted in <b>PUT</b> operation|
|`UsePriceType`|String||Yes, except when `MarkupType` is equal to 'D'|Source type for start price. Possible values are: `A` - average cost for product, `F` - latest fixed supplier cost for product, `L` - latest supplier cost for product,`V` - `MarkupValue` field is used as calculated price as is|
|`MarkupValue`|Decimal||Yes, except when `MarkupType` is equal to 'D'| Value is equal to or greater than 0. It is used in according with `MarkupType`. If UsePriceType is equal to `V`, it is used as calculated markup price|

## Markup Prices [/ref/markupprices]
### GET [GET /product/markupprices?ProductID={ProductID}]
+ Method will return all markup price tiers. If markup does not exist, `MarkupType` will be equal to `D`.

+ Parameters
    + ProductID (required) ... Returns detailed info of a particular Product Markup Prices

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body
    
            {
                "ProductID": "7c8795c2-1a6b-4318-ba72-291f61444906",
                "MarkupPrices": 
                [
                    {
                        "TierNumber": 1,
                        "MarkupType": "A",
                        "UsePriceType": "A",
                        "MarkupValue": 11
                    },
                    {
                        "TierNumber": 2,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 3,
                        "MarkupType": "A",
                        "UsePriceType": "A",
                        "MarkupValue": 15
                    },
                    {
                        "TierNumber": 4,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 5,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 6,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 7,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 8,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 9,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 10,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    }
                ]
            }

### PUT [PUT /product/markupprices]
+ If markup line for given price tier does not exist, it will be created. If markup line for given price tier exists, it will be updated. If markup line has `MarkupType` equal to `D`, markup line will be deleted.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
            
            {'ProductID':'7C8795C2-1A6B-4318-BA72-291F61444906',
                'MarkupPrices':[
                {
                    "TierNumber": 1,
                    "MarkupType": "A",
                    "UsePriceType": "A",
                    "MarkupValue": 11
                },
                {
                    "TierNumber": 3,
                    "MarkupType": "D"
                }
                ]
            }

+ Response 200 (application/json)
    + Body 
            
            {
                "ProductID": "7c8795c2-1a6b-4318-ba72-291f61444906",
                "MarkupPrices": 
                [
                    {
                        "TierNumber": 1,
                        "MarkupType": "A",
                        "UsePriceType": "A",
                        "MarkupValue": 11
                    },
                    {
                        "TierNumber": 2,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 3,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 4,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 5,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 6,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 7,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 8,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 9,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    },
                    {
                        "TierNumber": 10,
                        "MarkupType": "D",
                        "UsePriceType": null,
                        "MarkupValue": null
                    }
                ]
            }



# Group Production

## Factory Calendar [/production/factoryCalendar?Year={Year}]
The Factory Calendar resource allows Factory Calendar to be viewed, created, and updated.

### Available Fields for FactoryCalendar
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Year`  | Short           |         | Yes |         |
| `WeekStart`  | String             | 50        | Yes* | Required for POST. Possible values are <a href="#DayOfWeekList"><b>values</b></a>.|
| `FactoryCalendarDays`  | Array             |         |    Yes*  | Required for POST. There should be data for each days in a week (7 items). |
| `FactoryCalendarSpecialDays`  | Array             |         |          | Data will be deleted if received collection is empty. |

### Available Fields for FactoryCalendarDay
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `DayOfWeek`  | String           |         | Yes |    Possible values are <a href="#DayOfWeekList"><b>values</b></a>.     |
| `IsWeekend`  | Bool             |         |  | Default false |
| `StartTime`  | Short             |         |    Yes  | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `EndTime`  | Short             |         |    Yes  | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `BreakStartTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `BreakEndTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `Capacity`  | Int             |         |          | Readonly. |

### Available Fields for FactoryCalendarSpecialDay
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Date`  | DateTime           |         | Yes |    Must fall within the current factory calendar year.    |
| `IsWeekend`  | Bool             |         |  | Default false |
| `IsHoliday`  | Bool             |         |  | Default false |
| `StartTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `EndTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `BreakStartTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `BreakEndTime`  | Short             |         |      | In minutes. Should be in the range 0 - 1440 (from 0 minutes to 24h*60m). |
| `Capacity`  | Int             |         |          | Readonly. |
| `Comment`  | String             |  512       |          |  |


### GET [GET /production/factoryCalendar?Year={Year}]

+ Parameters
    + Year (required, Int) ... The year of the Factory Calendar

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Year": 2021,
                "WeekStart": "Monday",
                "FactoryCalendarDays": [
                    {
                        "DayOfWeek": "Sunday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Monday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Tuesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 420,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Wednesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Thursday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Friday",
                        "IsWeekend": true,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Saturday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    }
                ],
                "FactoryCalendarSpecialDays": [
                    {
                        "Date": "2021-05-11T00:00:00",
                        "IsHoliday": false,
                        "IsWeekend": false,
                        "StartTime": 90,
                        "EndTime": 90,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Comment": "",
                        "Capacity": 0
                    }
                ]
            }

### POST [POST /production/factoryCalendar]
+ FactoryCalendarDays, FactoryCalendarSpecialDays do not support modifying. Only creation and deletion are supported.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body
    
            {
                "Year": 2021,
                "WeekStart": "Monday",
                "FactoryCalendarDays": [
                    {
                        "DayOfWeek": "Sunday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Monday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Tuesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 420,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Wednesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Thursday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Friday",
                        "IsWeekend": true,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Saturday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    }
                ],
                "FactoryCalendarSpecialDays": [
                    {
                        "Date": "2021-05-11T00:00:00",
                        "IsHoliday": false,
                        "IsWeekend": false,
                        "StartTime": 90,
                        "EndTime": 90,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Comment": "",
                        "Capacity": 0
                    }
                ]
            }
    
+ Response 200 (application/json)
    + Body

            {
                "Year": 2021,
                "WeekStart": "Monday",
                "FactoryCalendarDays": [
                    {
                        "DayOfWeek": "Sunday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Monday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Tuesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 420,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Wednesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Thursday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Friday",
                        "IsWeekend": true,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Saturday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    }
                ],
                "FactoryCalendarSpecialDays": [
                    {
                        "Date": "2021-05-11T00:00:00",
                        "IsHoliday": false,
                        "IsWeekend": false,
                        "StartTime": 90,
                        "EndTime": 90,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Comment": "",
                        "Capacity": 0
                    }
                ]
            }

### PUT [PUT /production/factoryCalendar]
+ FactoryCalendarDays, FactoryCalendarSpecialDays do not support modifying. Only creation and deletion are supported.
+ FactoryCalendarDays will only be overwritten when collection is not empty.
+ FactoryCalendarSpecialDays will be overwritten even when collection is empty.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body
    
            {
                "Year": 2021,
                "WeekStart": "Monday",
                "FactoryCalendarDays": [
                    {
                        "DayOfWeek": "Sunday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Monday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Tuesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 420,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Wednesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Thursday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Friday",
                        "IsWeekend": true,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Saturday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    }
                ],
                "FactoryCalendarSpecialDays": [
                    {
                        "Date": "2021-05-11T00:00:00",
                        "IsHoliday": false,
                        "IsWeekend": false,
                        "StartTime": 90,
                        "EndTime": 90,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Comment": "",
                        "Capacity": 0
                    }
                ]
            }
    
+ Response 200 (application/json)
    + Body

            {
                "Year": 2021,
                "WeekStart": "Monday",
                "FactoryCalendarDays": [
                    {
                        "DayOfWeek": "Sunday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Monday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Tuesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 420,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    },
                    {
                        "DayOfWeek": "Wednesday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Thursday",
                        "IsWeekend": false,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Friday",
                        "IsWeekend": true,
                        "StartTime": 420,
                        "EndTime": 1020,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 36000
                    },
                    {
                        "DayOfWeek": "Saturday",
                        "IsWeekend": true,
                        "StartTime": 0,
                        "EndTime": 0,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Capacity": 0
                    }
                ],
                "FactoryCalendarSpecialDays": [
                    {
                        "Date": "2021-05-11T00:00:00",
                        "IsHoliday": false,
                        "IsWeekend": false,
                        "StartTime": 90,
                        "EndTime": 90,
                        "BreakStartTime": null,
                        "BreakEndTime": null,
                        "Comment": "",
                        "Capacity": 0
                    }
                ]
            }



## Product Production BOM [/production/productionBOM]
The Production BOM resource allows Production BOMs to be listed, viewed, created, and updated for specified Products.


### Available Fields for Production BOM <a name="ProductionBOM" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`BOMID`|Guid||Yes when updating|Identifier of a Production BOM.|
|`OutputQuantity`|Decimal||Yes||
|`BufferPercent`|Decimal||Yes||
|`InstructionUrl`|String||||
|`IgnoreCumulativeLeadTime`|Bool|||Default = false|
|`ComponentProductionLeadTime`|Integer|||Required when IgnoreCumulativeLeadTime is set to 'true'. Default = 0.|
|`Version`|Integer||Yes||
|`Name`|String|256|Yes||
|`IsDefault`|Bool||Yes||
|`IsTracing`|Bool||No||
|`DeliveryToID`|Guid|||Location: Bin / Location.|
|`DeliveryToName`|String|256|||
|`IssueMethod`|String|||Readonly, can be Manual = 1, DerivedFromProductFamily = 3, ExternalApi = 4.|
|`Operations`|<a href="#ProductionBOMOperation"><b>[] Operation Model</b></a>||||
|`IssueMethodComponent`|String|||Can be Manual = 1, Backflush = 2|
|`IssueMethodParameter`|String|||Ignored when IssueMethodComponent = Manual. Possible values: BackflushForBOM = 1, BackflushForOperation = 2, BackflushForComponent = 3 |
|`MinQuantity`        | Decimal    |           |    No       | Minimum Quantity to Produce Per Production Order defines the minimum quantity threshold to initiate the Production Order creation. If this quantity is not met, Production Order is not created automatically based on the Sales Order.|
|`MaxQuantity`        | Decimal    |           |    No       | Maximum Quantity to Produce Per Production Order defines the maximum quantity threshold to split the Production Order while creating. If this quantity is met, Production Order is split into several Production Orders based on Max Quantity To Produce Per Production Order.|
|`DeviationPercent`        | Decimal    |           |    No       | Order Quantity Deviation % defines the deviation from Min/Max Quantity to Produce Per Production Order. If Order Quantity Deviation % is set to 0, the Min/Max Quantity to Produce Per Production Order is a fixed quantity.|
|`RunSize`        | Decimal    |           |    No       | Run Size defines the multiplicity factor for Production Run.|


### Available Fields for Production BOM Operation Type <a name="ProductionBOMOperationType" />
|Operation Type|
|:-------|
|Manufacturing|
|Setup|
|QA|
|CoManufacturing|

### Available Fields for Production BOM Resource cost calculation type <a name="ResourceCostCalculationType" />
|Resource Cost Calculation Type|
|:-------|
|CostPerUnitTime|
|CostPerFinishedProduct|


### Available Fields for Production BOM Operation <a name="ProductionBOMOperation" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`OperationID`|Guid||Yes when updating|Identifier of a Production BOM Operation.|
|`Order`|Integer|Not zero|Yes||
|`Name`|String|200|Yes||
|`CycleTime`|Integer|Not zero|Yes|Cycle Time should be a positive value. Specified in seconds.|
|`UnitsPerCycle`|Decimal||Yes||
|`WorkCenterID`|Guid||Yes||
|`WorkCenterName`|String|256|||
|`WorkCenterCoManProcurementType`|String|||Readonly, can be Transfer or BuySell, is returned for Co-man workcenters only.|
|`OperationType`|String||Yes|Available <a href="#ProductionBOMOperationType"><b>values</b></a>.|
|`DeliveryToID`|Guid||||
|`DeliveryToName`|String|256|||
|`IssueMethod`|String|||Readonly, can be Manual = 1, Backflush = 2, DerivedFromProductFamily = 3, ExternalApi = 4.|
|`IsDropShip`|Bool||Yes||
|`Resources`|<a href="#ProductionBOMResource"><b>[] Resource Model</b></a>||||
|`Components`|<a href="#ProductionBOMComponent"><b>[] Component Model</b></a>||||
|`Attachments`|<a href="#ProductionBOMAttachment"><b>[] Attachment Model</b></a>||||
|`Notes`|<a href="#ProductionBOMNote"><b>[] Note Model</b></a>||||
|`OperationLinks`|<a href="#ProductionBOMOperationLink"><b>[] Operation Link Model</b></a>||||
|`InputProducts`|<a href="#ProductionBOMOperationProduct"><b>[] Input Product Model</b></a>||||
|`OutputProducts`|<a href="#ProductionBOMOperationProduct"><b>[] Output Product Model</b></a>||||
|`FinishedProducts`|<a href="#ProductionBOMOperationProduct"><b>[] Finished Product Model</b></a>||||
|`IsBackflush`|Bool||No| Used only when IssueMethodComponent = Backflush and IssueMethodParameter = BackflushForOperation|

### Available Fields for Production BOM Resource <a name="ProductionBOMResource" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`BOMResourceID`|Guid||Yes when updating|Identifier of a Production BOM Resource.|
|`ResourceID`|Guid||Yes||
|`ResourceName`|String|||Readonly|
|`ResourceCode`|String|||Readonly|
|`Quantity`|Decimal|Not zero|Yes||
|`Cost`|Decimal|||Readonly|
|`CycleTime`|Integer|||Readonly|
|`Position`|Integer||Yes||
|`CostCalculationType`|String||Yes|Available <a href="#ResourceCostCalculationType"><b>values</b></a>.|

### Available Fields for Production BOM Component <a name="ProductionBOMComponent" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`BOMComponentID`|Guid||Yes when updating|Identifier of a Production BOM Resource.|
|`ProductID`|Guid||Yes when ProductSKU is not set||
|`ProductSKU`|String||Yes when ProductID is not set||
|`ProductName`|String|||Readonly|
|`Quantity`|Decimal|Not zero|Yes|Component Quantity should be a positive value.|
|`WastageQty`|Decimal|Not zero|0+|Can be specified insead of WastagePercent.|
|`WastagePercent`|Decimal|0 - 100||Can be specified insead of WastageQty.|
|`Cost`|Decimal|||Readonly|
|`CostingMethod`|String|||Readonly|
|`Unit`|String|||Readonly|
|`Position`|Integer||Yes||
|`SalePriceTier`|Integer|1 - 10||Used only in Buy/Sell co-man operation.|
|`IsBackflush`|Bool||No| Used only when IssueMethodComponent = Backflush and IssueMethodParameter = BackflushForComponent|

### Available Fields for Production BOM Attachment <a name="ProductionBOMAttachment" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`AttachmentID`|Guid||Yes when updating|Identifier of a Production BOM Attachment.|
|`FileName`|String|256|||
|`Date`|DateTime|||Readonly|
|`ContentType`|String||Yes||
|`Content`|String||Yes|Base64 string of binary file content.|
|`Position`|Integer||Yes||

### Available Fields for Production BOM Note <a name="ProductionBOMNote" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`NoteID`|Guid||Yes when updating|Identifier of a Production BOM Note.|
|`Note`|String|4000||Yes|
|`Position`|Integer||Yes||

### Available Fields for Production BOM Operation Link <a name="ProductionBOMOperationLink" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes when updating|Identifier of a Production BOM Operation Link.|
|`RelatedOperationID`|Guid||Yes when RelatedOperationName is not set.||
|`RelatedOperationName`|String|200|Yes when RelatedOperationID is not set.||
|`RelationType`|Integer|0+|Yes|Possible value: 1|

### Available Fields for Production BOM InputProducts, OutputProducts, FinishedProducts <a name="ProductionBOMOperationProduct" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes when updating|Identifier of a Production BOM Operation Product.|
|`ProductID`|Guid||Yes when ProductSKU is not set.||
|`ProductSKU`|String||Yes when ProductID is not set.||
|`ProductName`|String|||Readonly|
|`CostCalculationType`|String||Yes|Can be None. If BOM contains several finished products, should contain SalesValue or Nrv.|
|`PriceTier`|Integer|1 - 10|||
|`Ratio`|Decimal|0 - 100|||
|`OutputQuantity`|Decimal|0+|Yes||
|`Position`|Integer||Yes||
|`CostingMethod`|String|||Readonly.|
|`Unit`|String|||Readonly|
|`AverageCost`|Decimal|||Readonly|
|`WastageCost`|Integer||||
|`DeliveryTo`|Guid|||DeliveryTo location identifier. |
|`DeliveryToName`|String|256||DeliveryTo location name.|

### GET [GET /production/productionBOM?ProductID={ProductID}&ReturnAttachmentsContent={ReturnAttachmentsContent}]
+ Method will return all Production BOMs of specified product.

+ Parameters
    + ProductID (required, guid) ... Identifier of the Product to return Production BOMs for
    + ReturnAttachmentsContent (optional, bool) ... Flag specifies if attachment contents should be returned
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body
    
            {
                "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                "ProductionBOMs": [
                    {
                        "BOMID": "d6f30c85-582d-43c0-b9bb-20250dcf9450",
                        "OutputQuantity": 1.0000000000,
                        "BufferPercent": 0.0000000000,
                        "InstructionUrl": "",
                        "IgnoreCumulativeLeadTime": false,
                        "ComponentProductionLeadTime": 0,
                        "Version": 1,
                        "Name": "",
                        "IsDefault": true,
                        "CreatedDate": "2020-10-29T00:00:00",
                        "DeliveryToID": null,
                        "DeliveryToName": null,
                        "IssueMethod": 1,
                        "IsTracing": false,
                        "IssueMethodComponent": 2,
                        "IssueMethodParameter": 1,
                        "MinQuantity": 50,
                        "MaxQuantity": 100,
                        "DeviationPercent": 5,
                        "RunSize": 10,
                        "Operations": [
                            {
                                "OperationID": "aeeb419b-fd10-4242-a4df-836adf22aa3c",
                                "Order": 1,
                                "Name": "Mixing-baking",
                                "CycleTime": 1800,
                                "UnitsPerCycle": 5.0000000000,
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "WorkCenterName": "Default Workcenter",
                                "WorkCenterCoManProcurementType": null,
                                "OperationType": "Manufacturing",
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Resources": [
                                    {
                                        "BOMResourceID": "e2cccc1b-43e8-4cab-851d-abe04ca1b6c1",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceName": "Cook",
                                        "ResourceCode": "Cook",
                                        "Quantity": 1.00,
                                        "Cost": 20.0000,
                                        "CycleTime": 3600,
                                        "Position": 3,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "Components": [
                                    {
                                        "BOMComponentID": "4cc3153d-9de4-4869-9e37-56e8cc923606",
                                        "ProductID": "028e9dba-9806-4339-822a-34c3b79c5114",
                                        "ProductName": "Flour",
                                        "ProductSKU": "Flour",
                                        "Quantity": 2.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "Cost": 0.4510,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "Position": 2,
                                        "SalePriceTier": 0,
                                        "IsBackflush": false
                                    }
                                ],
                                "Attachments": [],
                                "Notes": [
                                    {
                                        "NoteID": "69e32c17-8ad9-7ba3-14e4-a9ef77b1dfd3",
                                        "Note": "Why can't you just work faster?",
                                        "Position": 5
                                    }
                                ],
                                "OperationLinks": [],
                                "InputProducts": [],
                                "OutputProducts": [
                                    {
                                        "ID": "a09338bb-1a3a-0419-c8bc-88e42ebffdf8",
                                        "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                        "ProductFamilyID": null,
                                        "CostCalculationType": "SalesValue",
                                        "PriceTier": 1,
                                        "Ratio": 0.0000,
                                        "OutputQuantity": 2.0000000000,
                                        "ProductName": "Eggs",
                                        "ProductSKU": "Eggs",
                                        "AverageCost": 0.3864,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "Position": 4,
                                        "WastageCost": 1,
                                        "DeliveryTo": null,
                                        "DeliveryToName": null
                                    }
                                ],
                                "FinishedProducts": [],
                                "VariationComponents": []
                            },
                            {
                                "OperationID": "1eeb419b-fd10-4242-a4df-836adf22aa3d",
                                "Order": 2,
                                "Name": "Operation2",
                                "CycleTime": 1800,
                                "UnitsPerCycle": 5.0000000000,
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "WorkCenterName": "Default Workcenter",
                                "WorkCenterCoManProcurementType": null,
                                "OperationType": "Manufacturing",
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Resources": [
                                    {
                                        "BOMResourceID": "e2cccc1b-43e8-4cab-851d-abe04ca1b6c1",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceName": "Cook",
                                        "ResourceCode": "Cook",
                                        "Quantity": 1.00,
                                        "Cost": 20.0000,
                                        "CycleTime": 3600,
                                        "Position": 3,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "Components": [],
                                "Attachments": [],
                                "Notes": [],
                                "OperationLinks": [
                                    {
                                        "ID": "66ac4bf2-254a-4273-9197-311152dfd895",
                                        "RelatedOperationID": "aeeb419b-fd10-4242-a4df-836adf22aa3c",
                                        "RelatedOperationName": "Mixing-baking",
                                        "RelationType": 1
                                    }
                                ],
                                "InputProducts": [],
                                "OutputProducts": [],
                                "FinishedProducts": [],
                                "VariationComponents": []
                            }
                        ]
                    }
                ]
            }

### POST [POST /production/productionBOM]
+ Method will create new Production BOM(s) for specified product.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
                "ProductID":"b8cb2705-fdfb-48f0-99a4-419e11d63053",
                "SetParentHasProductionBom": true,
                "ProductionBOMs": [
                    {
                        "BOMID": "",
                        "ProductID": "",
                        "OutputQuantity": 1,
                        "BufferPercent": 0,
                        "InstructionUrl": "",
                        "IssueMethod": 1,
                        "IgnoreCumulativeLeadTime": false,
                        "ComponentProductionLeadTime": 0,
                        "Version": 3,
                        "Name": "",
                        "IsDefault": true,
                        "CreatedDate": "2021-01-29T00:00:00",
                        "CreatedBy": "",
                        "DeliveryTo": "",
                        "IsTracing": true,
                        "IssueMethodComponent": 2,
                        "IssueMethodParameter": 1,
                        "MinQuantity": 50,
                        "MaxQuantity": 100,
                        "DeviationPercent": 5,
                        "RunSize": 10,
                        "Operations": [
                            {
                                "OperationID": "",
                                "Order": 1,
                                "Name": "Operation 1",
                                "CycleTime": 3600,
                                "CycleTimeString": "1h",
                                "UnitsPerCycle": 1,
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "OperationType": 1,
                                "TotalCost": 20.7728,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Resources": [
                                    {
                                        "BOMResourceID": "",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceName": "Cook",
                                        "ResourceCode": "Cook",
                                        "Quantity": 1,
                                        "CycleTime": 3600,
                                        "Cost": 20,
                                        "Position": 1,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "Components": [
                                    {
                                        "BOMComponentID": "",
                                        "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                        "ProductName": "Eggs",
                                        "ProductSKU": "Eggs",
                                        "Quantity": 2,
                                        "WastageQty": 0,
                                        "WastagePercent": 0,
                                        "Cost": 0.3864,
                                        "CostingMethod": "FIFO",
                                        "Position": 2,
                                        "Unit": "Item",
                                        "SalePriceTier": null,
                                        "IsBackflush": false
                                    }
                                ],
                                 "Attachments": [
                                    {
                                        "FileName": "AudMade Update Sheet - IMPORTED DONE v2 (1).csv",
                                        "ContentType": "application/octet-stream",
                                        "Position": 3,
                                        "Content": "QWN0aW9uLFByb2R1Y3RTS1UsUHJvZHVjdE5hbWUsUXVhbnRpdHlUb1Byb"
                                    }
                                ],
                                "Notes": [],
                                "OperationLinks": [],
                                "InputProducts": [],
                                "OutputProducts": [],
                                "FinishedProducts": []
                            },
                            {
                                "OperationID": "",
                                "Order": 1,
                                "Name": "Operation 2",
                                "CycleTime": 3600,
                                "CycleTimeString": "1h",
                                "UnitsPerCycle": 1,
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "OperationType": 1,
                                "TotalCost": 20.7728,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Resources": [
                                    {
                                        "BOMResourceID": "",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceName": "Cook",
                                        "ResourceCode": "Cook",
                                        "Quantity": 1,
                                        "CycleTime": 3600,
                                        "Cost": 20,
                                        "Position": 1,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                 "Attachments": [
                                    {
                                        "FileName": "AudMade Update Sheet - IMPORTED DONE v2 (1).csv",
                                        "ContentType": "application/octet-stream",
                                        "Position": 3,
                                        "Content": "QWN0aW9uLFByb2R1Y3RTS1UsUHJvZHVjdE5hbWUsUXVhbnRpdHlUb1Byb"
                                    }
                                ],
                                "Notes": [],
                                "OperationLinks": [
                                    {
                                        "RelatedOperationName": "Operation 1",
                                        "RelationType": 1
                                    }
                                ],
                                "InputProducts": [],
                                "OutputProducts": [],
                                "FinishedProducts": []
                            }]
                    }]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
            "ProductID": "b8cb2705-fdfb-48f0-99a4-419e11d63053",
            "ProductionBOMs": [
                {
                    "BOMID": "ac25f767-fbbf-4a56-98d9-648ef1bfe478",
                    "OutputQuantity": 1.0000000000,
                    "BufferPercent": 0.0000000000,
                    "InstructionUrl": "",
                    "IgnoreCumulativeLeadTime": false,
                    "ComponentProductionLeadTime": 0,
                    "Version": 3,
                    "Name": "",
                    "IsDefault": true,
                    "CreatedDate": "2021-02-11T00:00:00",
                    "DeliveryToID": null,
                    "DeliveryToName": null,
                    "IssueMethod": 4,
                    "IsTracing": true,
                    "IssueMethodComponent": 2,
                    "IssueMethodParameter": 1,
                    "MinQuantity": 50,
                    "MaxQuantity": 100,
                    "DeviationPercent": 5,
                    "RunSize": 10,
                    "Operations": [
                        {
                            "OperationID": "8e3154c5-b3b5-49b5-a151-68ae49097b72",
                            "Order": 1,
                            "Name": "Operation 1",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "IsBackflush": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "e5fdbd02-1422-4a54-a74f-e097397c0c26",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Components": [
                                {
                                    "BOMComponentID": "a6124c21-b561-4faa-9bce-755869144b2a",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "Quantity": 2.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 2,
                                    "SalePriceTier": null,
                                    "IsBackflush": false
                                }
                            ],
                            "Attachments": [
                                {
                                    "AttachmentID": "152849a9-c3c7-4913-b4c2-a089ee674e40",
                                    "FileName": "AudMade Update Sheet - IMPORTED DONE v2 (1).csv",
                                    "Date": "2021-02-11T09:48:33.277Z",
                                    "ContentType": "application/octet-stream",
                                    "Position": 3,
                                    "Content": null
                                }
                            ],
                            "Notes": [],
                            "OperationLinks": [],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [],
                            "VariationComponents": []
                        },
                         {
                            "OperationID": "8e3154c5-b3b5-49b5-a151-68ae49097b72",
                            "Order": 1,
                            "Name": "Operation 2",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "IsBackflush": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "e5fdbd02-1422-4a54-a74f-e097397c0c26",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Attachments": [
                                {
                                    "AttachmentID": "152849a9-c3c7-4913-b4c2-a089ee674e40",
                                    "FileName": "AudMade Update Sheet - IMPORTED DONE v2 (1).csv",
                                    "Date": "2021-02-11T09:48:33.277Z",
                                    "ContentType": "application/octet-stream",
                                    "Position": 3,
                                    "Content": null
                                }
                            ],
                            "Notes": [],
                            "OperationLinks": [
                                {
                                    "ID": "66ac4bf2-254a-4273-9197-311152dfd894",
                                    "RelatedOperationID": "8e3154c5-b3b5-49b5-a151-68ae49097b72",
                                    "RelatedOperationName": "Operation 1",
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [],
                            "VariationComponents": []
                        }
                    ]
                }
            ]
            }

### PUT [PUT /production/productionBOM]
+ Method will update Production BOM for specified product.

+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
            "BOMID": "ac25f767-fbbf-4a56-98d9-648ef1bfe478",
            "ProductID": "b8cb2705-fdfb-48f0-99a4-419e11d63053",
            "OutputQuantity": 10,
            "Version": 12,
            "IssueMethodComponent": 2,
            "IssueMethodParameter": 1,
            "Operations": [
                        {
                            "OperationID": "8e3154c5-b3b5-49b5-a151-68ae49097b72",
                            "Order": 1,
                            "Name": "Operation 1++",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "IsTracing": false,
                            "IsBackflush": false,
                            "Resources": [                       
                                {
                                    "BOMResourceID": "e5fdbd02-1422-4a54-a74f-e097397c0c26",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 2.00,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }],
                            "Components": [
                                {
                                    "BOMComponentID": "a6124c21-b561-4faa-9bce-755869144b2a",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "Quantity": 3.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 2,
                                    "SalePriceTier": null,
                                    "IsBackflush": false
                                }],
                            "OperationLinks": [],
                            "Attachments": []
                        }
                    ]
            }

+ Response 200 (application/json)
    + Body
    
            {
            "ProductID": "b8cb2705-fdfb-48f0-99a4-419e11d63053",
            "ProductionBOMs": [
                {
                    "BOMID": "ac25f767-fbbf-4a56-98d9-648ef1bfe478",
                    "OutputQuantity": 10.0000000000,
                    "BufferPercent": 0.0000000000,
                    "InstructionUrl": "",
                    "IgnoreCumulativeLeadTime": false,
                    "ComponentProductionLeadTime": 0,
                    "Version": 12,
                    "Name": "",
                    "IsDefault": true,
                    "CreatedDate": "2021-02-11T00:00:00",
                    "DeliveryToID": null,
                    "DeliveryToName": null,
                    "IssueMethod": 4,
                    "IsTracing": false,
                    "IssueMethodComponent": 2,
                    "IssueMethodParameter": 1,
                    "MinQuantity": 50,
                    "MaxQuantity": 100,
                    "DeviationPercent": 5,
                    "RunSize": 10,
                    "Operations": [
                        {
                            "OperationID": "8e3154c5-b3b5-49b5-a151-68ae49097b72",
                            "Order": 1,
                            "Name": "Operation 1++",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "IsBackflush": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "e5fdbd02-1422-4a54-a74f-e097397c0c26",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 2.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Components": [
                                {
                                    "BOMComponentID": "a6124c21-b561-4faa-9bce-755869144b2a",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "Quantity": 3.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 2,
                                    "SalePriceTier": null,
                                    "IsBackflush": false
                                }
                            ],
                            "Attachments": [],
                            "Notes": [],
                            "OperationLinks": [],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [],
                            "VariationComponents": []
                        }
                    ]
                }
            ]
            }

### DELETE [DELETE /production/productionBOM?ProductID={ProductID}&BOMID={BOMID}]
+ Method will delete specified Production BOM of specified product.

+ Parameters
    + ProductID (required, guid) ... Identifier of the Product whose Production BOMs will be deleted
    + BOMID (required, guid) ... Identifier of a Product BOM to be deleted

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 204



## Product Family Production BOM [/production/productionBOM/]
The Production BOM resource allows Production BOMs to be listed, viewed, created, and updated for specified Product Families.
It uses the same models as those of Product Production BOMs, except for the models that are listed below.

### Available Fields for Production BOM
See <a href="#ProductionBOM"><b>Production BOM Model</b></a>. The only difference is that fields 'Version', 'Name', 'IsDefault' are currently readonly.

### Available Fields for Production BOM Operation
See <a href="#ProductionBOMOperation"><b>Production BOM Operation Model</b></a>
Additional fields:
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`VariationComponents`|<a href="#ProductionBOMVariationComponent"><b>[] Variation Component Model</b></a>||||

### Available Fields for Production BOM Variation Component <a name="ProductionBOMVariationComponent" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`BOMVariationComponentID`|Guid||Yes when updating|Identifier of a Production BOM Variation Component.|
|`ProductFamilyID`|Guid||Yes when ProductFamilySKU is not set||
|`ProductFamilySKU`|String||Yes when ProductFamilyID is not set||
|`ProductFamilyName`|String|||Readonly|
|`QuantitySettingsJSON`|String||Yes||
|`MapVariationsJSON`|String||Yes||
|`QuantityOptionName`|String|50|Yes||
|`CostingMethod`|String|||Readonly|
|`Unit`|String|||Readonly|
|`Position`|Integer||Yes||
|`SalePriceTier`|Integer|1 - 10|||

### Available Fields for Production BOM Resource
See <a href="#ProductionBOMResource"><b>Production BOM Resource Model</b></a>

### Available Fields for Production BOM Component
See <a href="#ProductionBOMComponent"><b>Production BOM Component Model</b></a>

### Available Fields for Production BOM Attachment
See <a href="#ProductionBOMAttachment"><b>Production BOM Attachment Model</b></a>

### Available Fields for Production BOM Note
See <a href="#ProductionBOMNote"><b>Production BOM Note Model</b></a>

### Available Fields for Production BOM Operation Link
See <a href="#ProductionBOMOperationLink"><b>Production BOM Operation Link Model</b></a>

### Available Fields for Production BOM InputProducts, OutputProducts, FinishedProducts
See <a href="#ProductionBOMOperationProduct"><b>Production BOM Operation Product Model</b></a>

### GET [GET /production/productionBOM?ProductFamilyID={ProductFamilyID}&ReturnAttachmentsContent={ReturnAttachmentsContent}]
+ Method will return all Production BOMs of specified product family.

+ Parameters
    + ProductFamilyID (required, guid) ... Identifier of the Product Family to return Production BOMs for
    + ReturnAttachmentsContent (optional, bool) ... Flag specifies if attachment contents should be returned
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body
    
            {
                "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
                "ProductionBOMs": [
                    {
                        "BOMID": "54fa1676-3eab-4fcb-91f2-f78978a04821",
                        "OutputQuantity": 15.0000000000,
                        "BufferPercent": 0.0000000000,
                        "InstructionUrl": "",
                        "IgnoreCumulativeLeadTime": false,
                        "ComponentProductionLeadTime": 0,
                        "Version": 2,
                        "Name": "Second BOM",
                        "IsDefault": true,
                        "CreatedDate": "2021-02-10T00:00:00",
                        "DeliveryToID": null,
                        "DeliveryToName": null,
                        "IssueMethod": 4,
                        "Operations": [
                            {
                                "OperationID": "2056b07a-6aaa-46fd-9b49-53fe400b9edf",
                                "Order": 1,
                                "Name": "Operation CCCC",
                                "CycleTime": 3600,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "WorkCenterName": "Default Workcenter",
                                "WorkCenterCoManProcurementType": null,
                                "OperationType": "Manufacturing",
                                "IsDropShip": false,
                                "Resources": [
                                    {
                                        "BOMResourceID": "aa342b67-726d-4681-be72-ccc39cb978e8",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceName": "Cook",
                                        "ResourceCode": "Cook",
                                        "Quantity": 7.00,
                                        "Cost": 20.0000,
                                        "CycleTime": 3600,
                                        "Position": 1,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "Components": [],
                                "Attachments": [],
                                "Notes": [],
                                "OperationLinks": [
                                    {
                                        "ID": "3ef2c697-41da-4863-a0c5-df77e1673423",
                                        "RelatedOperationID": null,
                                        "RelatedOperationName": null,
                                        "RelationType": 1
                                    }
                                ],
                                "InputProducts": [],
                                "OutputProducts": [],
                                "FinishedProducts": [
                                    {
                                        "ID": "50807e5a-f38b-45b9-9401-4b7cb744191a",
                                        "ProductID": null,
                                        "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
                                        "CostCalculationType": "SalesValue",
                                        "PriceTier": 1,
                                        "Ratio": 0.0000,
                                        "OutputQuantity": 15.0000000000,
                                        "ProductName": "BOM Api Family 1",
                                        "ProductSKU": "BOM Api Family 1 SKU",
                                        "AverageCost": 0.0000,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "Position": 4,
                                        "WastageCost": null,
                                        "DeliveryTo": null,
                                        "DeliveryToName": null
                                    }
                                ],
                                "VariationComponents": [
                                    {
                                        "BOMVariationComponentID": "366ef932-72b0-4664-86ac-fba18ed9a8af",
                                        "ProductFamilyID": "e7d3aec4-b91f-4ff9-af2d-ac9b8be35aed",
                                        "ProductFamilyName": "Screws",
                                        "ProductFamilySKU": "Screws-SKU",
                                        "QuantitySettingsJSON": "[{\"OptionKey\":\"Kind 1\",\"OptionValue\":29},{\"OptionKey\":\"Kind 2\",\"OptionValue\":39}]",
                                        "MapVariationsJSON": "[{\"ProductID\":\"10ece710-1dae-4368-bcee-62912b2682ab\",\"ProductName\":\"Screws Drive Cross \",\"ProductCode\":\"Screws-SKU - 002\",\"Option1SelectedValue\":\"\",\"Option2SelectedValue\":\"\",\"Option3SelectedValue\":\"\",\"IsOption1AllSelected\":false,\"IsOption2AllSelected\":false,\"IsOption3AllSelected\":false,\"QuantitySettingsJSON\":[{\"OptionKey\":\"Kind 1\",\"OptionValue\":null},{\"OptionKey\":\"Kind 2\",\"OptionValue\":35.0}],\"ValidationText\":\"\",\"ValidationState\":\"\"},{\"ProductID\":\"f9888002-5bb7-41bb-8f3d-fc9e611a10c0\",\"ProductName\":\"Screws Phillips Drive Flat\",\"ProductCode\":\"Screws-SKU - 001\",\"Option1SelectedValue\":\"\",\"Option2SelectedValue\":\"\",\"Option3SelectedValue\":\"\",\"IsOption1AllSelected\":false,\"IsOption2AllSelected\":false,\"IsOption3AllSelected\":false,\"QuantitySettingsJSON\":[{\"OptionKey\":\"Kind 1\",\"OptionValue\":22.0},{\"OptionKey\":\"Kind 2\",\"OptionValue\":null}],\"ValidationText\":\"\",\"ValidationState\":\"\"}]",
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "Position": 3,
                                        "SalePriceTier": null,
                                        "QuantityOptionName": "Kind"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }

### POST [POST /production/productionBOM]
+ Method will create new Production BOM(s) for specified product family. Please set the 'OverwriteExistingProductionBOM' flag to true if the existing Production BOM needs to be replaced.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
            "ProductFamilyID":"a1688709-6639-4324-aa53-a2120185a7bf",
            "ProductionBOMs": [
                {
                    "OutputQuantity": 1,
                    "BufferPercent": 0,
                    "InstructionUrl": "",
                    "IssueMethod": 1,
                    "IgnoreCumulativeLeadTime": false,
                    "ComponentProductionLeadTime": 0,
                    "Operations": [
                        {
                            "Order": 1,
                            "Name": "Operation F22",
                            "CycleTime": 3600,
                            "CycleTimeString": "1h",
                            "UnitsPerCycle": 1,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "OperationType": 1,
                            "IsDropShip": false,
                            "Resources": [
                                {
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 1,
                                    "CycleTime": 3600,
                                    "Cost": 20,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Components": [
                                {
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "Quantity": 2,
                                    "WastageQty": 0,
                                    "WastagePercent": 0,
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Position": 2,
                                    "Unit": "Item",
                                    "SalePriceTier": null
                                }
                            ],
                            "VariationComponents": [
                                {
                                    "ProductFamilySKU": "Screws-SKU",
                                    "QuantitySettingsJSON": "[{'OptionKey':'Kind 1','OptionValue':22},{'OptionKey':'Kind 2','OptionValue':33}]",
                                    "QuantityOptionName": "Kind",
                                    "MapVariationsJSON": "[{'ProductID':'10ece710-1dae-4368-bcee-62912b2682ab','ProductName':'Screws Drive Cross ','ProductCode':'Screws-SKU - 002','Option1SelectedValue':'','Option2SelectedValue':'','Option3SelectedValue':'','IsOption1AllSelected':false,'IsOption2AllSelected':false,'IsOption3AllSelected':false,'QuantitySettingsJSON':[{'OptionKey':'Kind 1','OptionValue':null},{'OptionKey':'Kind 2','OptionValue':35.0}],'ValidationText':'','ValidationState':''},{'ProductID':'f9888002-5bb7-41bb-8f3d-fc9e611a10c0','ProductName':'Screws Phillips Drive Flat','ProductCode':'Screws-SKU - 001','Option1SelectedValue':'','Option2SelectedValue':'','Option3SelectedValue':'','IsOption1AllSelected':false,'IsOption2AllSelected':false,'IsOption3AllSelected':false,'QuantitySettingsJSON':[{'OptionKey':'Kind 1','OptionValue':22.0},{'OptionKey':'Kind 2','OptionValue':null}],'ValidationText':'','ValidationState':''}]",
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Position": 3,
                                    "Unit": "Item",
                                    "SalePriceTier": null
                                }
                            ],
                            "Attachments": [],
                            "Notes": [],
                            "OperationLinks": [
                                {
                                    "RelatedOperationID": null,
                                    "RelatedOperationName": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [
                                {
                                    "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 1.0000000000,
                                    "ProductName": "BOM Api Family 1",
                                    "ProductSKU": "BOM Api Family 1 SKU",
                                    "AverageCost": 0.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 4,
                                    "WastageCost": 1,
                                    "DeliveryTo": null,
                                    "DeliveryToName": null
                                }
                            ]
                        }]
                }]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
            "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
            "ProductionBOMs": [
                {
                    "BOMID": "9f13328c-de21-45c0-ac29-c8ab29d5e37f",
                    "OutputQuantity": 1.0000000000,
                    "BufferPercent": 0.0000000000,
                    "InstructionUrl": "",
                    "IgnoreCumulativeLeadTime": false,
                    "ComponentProductionLeadTime": 0,
                    "Version": 1,
                    "Name": "",
                    "IsDefault": true,
                    "CreatedDate": "2021-02-11T00:00:00",
                    "DeliveryToID": null,
                    "DeliveryToName": null,
                    "IssueMethod": 4,
                    "Operations": [
                        {
                            "OperationID": "7bde4f66-6604-430b-aea6-db1e824a9be8",
                            "Order": 1,
                            "Name": "Operation F22",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "c096b60c-bfe0-4d2c-9cbc-50a624fecdd0",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Components": [
                                {
                                    "BOMComponentID": "6ea12ca8-3ddc-4d64-a3be-42544174d03f",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "Quantity": 2.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.3864,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 2,
                                    "SalePriceTier": null
                                }
                            ],
                            "Attachments": [],
                            "Notes": [],
                            "OperationLinks": [
                                {
                                    "ID": "4f2ef43b-179e-4ca1-831a-12d627d8a25f",
                                    "RelatedOperationID": null,
                                    "RelatedOperationName": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [
                                {
                                    "ID": "86dd793b-3ea1-4065-8510-6f36d206125c",
                                    "ProductID": null,
                                    "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 1.0000000000,
                                    "ProductName": "BOM Api Family 1",
                                    "ProductSKU": "BOM Api Family 1 SKU",
                                    "AverageCost": 0.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 4,
                                    "WastageCost": null,
                                    "DeliveryTo": null,
                                    "DeliveryToName": null
                                }
                            ],
                            "VariationComponents": [
                                {
                                    "BOMVariationComponentID": "02c393e7-6dfe-458d-9220-970d6307cf82",
                                    "ProductFamilyID": "e7d3aec4-b91f-4ff9-af2d-ac9b8be35aed",
                                    "ProductFamilyName": "Screws",
                                    "ProductFamilySKU": "Screws-SKU",
                                    "QuantitySettingsJSON": "[{'OptionKey':'Kind 1','OptionValue':22},{'OptionKey':'Kind 2','OptionValue':33}]",
                                    "MapVariationsJSON": "[{\"ProductID\":\"10ece710-1dae-4368-bcee-62912b2682ab\",\"ProductName\":\"Screws Drive Cross \",\"ProductCode\":\"Screws-SKU - 002\",\"Option1SelectedValue\":\"\",\"Option2SelectedValue\":\"\",\"Option3SelectedValue\":\"\",\"IsOption1AllSelected\":false,\"IsOption2AllSelected\":false,\"IsOption3AllSelected\":false,\"QuantitySettingsJSON\":[{\"OptionKey\":\"Kind 1\",\"OptionValue\":null},{\"OptionKey\":\"Kind 2\",\"OptionValue\":35.0}],\"ValidationText\":\"\",\"ValidationState\":\"\"},{\"ProductID\":\"f9888002-5bb7-41bb-8f3d-fc9e611a10c0\",\"ProductName\":\"Screws Phillips Drive Flat\",\"ProductCode\":\"Screws-SKU - 001\",\"Option1SelectedValue\":\"\",\"Option2SelectedValue\":\"\",\"Option3SelectedValue\":\"\",\"IsOption1AllSelected\":false,\"IsOption2AllSelected\":false,\"IsOption3AllSelected\":false,\"QuantitySettingsJSON\":[{\"OptionKey\":\"Kind 1\",\"OptionValue\":22.0},{\"OptionKey\":\"Kind 2\",\"OptionValue\":null}],\"ValidationText\":\"\",\"ValidationState\":\"\"}]",
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 3,
                                    "SalePriceTier": null,
                                    "QuantityOptionName": "Kind"
                                }
                            ]
                        }
                    ]
                }
            ]
            }

### PUT [PUT /production/productionBOM]
+ Method will update Production BOM for specified product family.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
            "BOMID": "9f13328c-de21-45c0-ac29-c8ab29d5e37f",
            "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
            "OutputQuantity": 15,
            "Operations": [
                        {
                            "OperationID": "7bde4f66-6604-430b-aea6-db1e824a9be8",
                            "Order": 1,
                            "Name": "Operation ZZZZ",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "c096b60c-bfe0-4d2c-9cbc-50a624fecdd0",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 7.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Attachments": [],
                            "Notes": [],
                            "OperationLinks": [
                                {
                                    "ID": "4f2ef43b-179e-4ca1-831a-12d627d8a25f",
                                    "RelatedOperationID": null,
                                    "RelatedOperationName": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [],
                            "Components": [],
                            "VariationComponents": []
                        }
                    ]
            }

+ Response 200 (application/json)
    + Body
    
             {
            "ProductFamilyID": "a1688709-6639-4324-aa53-a2120185a7bf",
            "ProductionBOMs": [
                {
                    "BOMID": "9f13328c-de21-45c0-ac29-c8ab29d5e37f",
                    "OutputQuantity": 15.0000000000,
                    "BufferPercent": 0.0000000000,
                    "InstructionUrl": "",
                    "IgnoreCumulativeLeadTime": false,
                    "ComponentProductionLeadTime": 0,
                    "Version": 3,
                    "Name": "Second BOM",
                    "IsDefault": true,
                    "CreatedDate": "2021-02-11T00:00:00",
                    "DeliveryToID": null,
                    "DeliveryToName": null,
                    "IssueMethod": 4,
                    "Operations": [
                        {
                            "OperationID": "7bde4f66-6604-430b-aea6-db1e824a9be8",
                            "Order": 1,
                            "Name": "Operation ZZZZ",
                            "CycleTime": 3600,
                            "UnitsPerCycle": 1.0000000000,
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "OperationType": "Manufacturing",
                            "IsDropShip": false,
                            "Resources": [
                                {
                                    "BOMResourceID": "c096b60c-bfe0-4d2c-9cbc-50a624fecdd0",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceName": "Cook",
                                    "ResourceCode": "Cook",
                                    "Quantity": 7.00,
                                    "Cost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 1,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "Components": [],
                            "Attachments": [],
                            "Notes": [],
                            "OperationLinks": [
                                {
                                    "ID": "4f2ef43b-179e-4ca1-831a-12d627d8a25f",
                                    "RelatedOperationID": null,
                                    "RelatedOperationName": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [],
                            "FinishedProducts": [],
                            "VariationComponents": []
                        }
                    ]
                }
            ]
            }

### DELETE [DELETE /production/productionBOM?ProductFamilyID={ProductFamilyID}&BOMID={BOMID}]
+ Method will delete specified Production BOM of specified product family. 

+ Parameters
    + ProductFamilyID (required, guid) ... Identifier of a Product Family whose Production BOMs are to be deleted
    + BOMID (required, guid) ... Identifier of a Production BOM to be deleted

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200

            {
                "Success": true
            }



## Production Order [/production/order]
The Production Order resource allows Production Orders to be listed, viewed, created, updated and executed.


### Available Fields for Production Order 
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ProductionOrderID`   | Guid       |        |    Yes    | Unique identifier of Production Order. Required for Update action.             |
| `ProductID`            | Guid    |           |  Yes   | Unique identifier of Product.                                    |
| `ProductSKU`         | String    |           |        | Product SKU.                                                 |
| `ProductName`         | String    |           |        | Product Name.                          |
| `OrderNumber`         | String    |           |        | Production Order Number.                                |
| `LocationID`          | Guid    |           |  Yes   | Production Order Location ID.                                                |
| `LocationName`        | String    |           |           | Production Order Location Name.                                                   |
| `CostingMethod`        | String    |           |           | CostingMethod of Product (FIFO, FEFO etc.).                                                   |
| `WarehouseName`        | String    |           |           | Readonly.                                                   |
| `Unit`        | String    |           |           | Readonly.                                                   |
| `OrderStatus`      | String    |           |           | Production Order execution status (DRAFT, PLANNED, RELEASED, IN PROGRESS, COMPLETED, VOIDED). Readonly.                                         |
| `Status`             | String    |           |           | Production Order status (DRAFT, AUTHORIZED, RELEASED, VOIDED). Readonly.                                                 |
| `InstructionURL`        | String    |           |           | Readonly.                                                   |
| `SourceName`        | String    |           |           | Manual, Sale, SmartReorder.                                                   |
| `SourceTaskID`| Guid    |           |           |Obsolete. Unique identifier of Sale Task that produced the current Production Order record.                    |
| `SourceTaskNumber`      | String    |           |           |Obsolete. Number of Sale Task that produced the current Production Order record.                                    |
| `WIPAccountCode`         | String       |           |           | Work In Progress Account Code.                                                 |
| `FinishedGoodsAccountCode`        | String    |           |           | Finished Goods Account Code.                                            |
| `Quantity`            | Decimal    |           |           | Production Order Quantity.                                                     |
| `BOMQuantity`            | Decimal    |           |           | Production BOM origin Quantity. Readonly.                                                    |
| `CapacityCalculationType`           | String       |           |           | Type of the capacity calculation method. Available values are `FromStartForward` and `FromRequiredBackward`.  |
| `StartDate`            | DateTime       |           |           | Production Order Planned Date. Required when CapacityCalculationType = FromStartForward.                   |
| `ReleaseDate`            | DateTime       |           |           | Production Order Release Date.                         |
| `RequiredByDate`            | DateTime       |           |           | Production Order Required By Date. Required when CapacityCalculationType = FromRequiredBackward.                         |
| `CompletionDate`            | DateTime       |           |           | Production Order Completion Date. Readonly.                        |
| `IsIgnoreLeadTime`            |Boolean||| Readonly.          |
| `WarehouseID`            |Guid||| Readonly.          |
| `RetailID`            |Guid||| Readonly.          |
| `Comments`            | String    | 2000       |           |                                                      |
| `ScheduleStart`            | DateTime       |           |           | Readonly.                        |
| `PlannedBy`            | String    | 2000       |           | Readonly.                                                     |
| `ReleasedBy`            | String    | 2000       |           | Readonly.                                                     |
| `OrderCycleTime`            | Integer    |        |           | In seconds.                                                    |
| `BOMVersion`            | Integer    |        |           | Readonly.                                                     |
| `BOMName`            | String    |        |           | Readonly.                                                     |
| `Tags`                | String    |           |           |                                                  |
|`CustomField1`|String|||Value of Production Order's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Production Order's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Production Order's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Production Order's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Production Order's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Production Order's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Production Order's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Production Order's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Production Order's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Production Order's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
| `ProductionOrderOperations`                | ProductionOrderOperation[]    |           |           |                                                  |
| `ProductionRuns`                | ProductionRun[]    |           |           |                                                  |
| `ProductionOrderDeliveryTo`                | ProductionOrderDeliveryTo[]    |           |           |                                                  |
|`IssueMethodComponent`|String|||Readonly. Can be Manual = 1, Backflush = 2.|
|`IssueMethodParameter`|String|||Readonly. Ignored when IssueMethodComponent = Manual. Possible values: BackflushForBOM = 1, BackflushForOperation = 2, BackflushForComponent = 3 |
|`SourceTasks`|ProductionOrderSourceTask[] |||Readonly. Data of Sale Tasks that produced the current Production Order record. |
|`RunSize`|Decimal||No|Readonly. Run Size specified in Production BOM |

#### Notes:
+ BOMVersion is provided when a new ProductionOrder is created. BOMVersion can be updated until the ProductionOrder is Released.

### Available Fields for Production Order Operation
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `OperationID`   | Guid       |        |    Yes*    | Unique identifier of Production Order Operation. Required for Update action.                                             |
| `Order`            | Integer    |   1+        |Yes| Operation sequence number.|
| `Name`         | String    |  200 |  Yes   | Product SKU.                                                 |
| `CycleTime`         | Integer    |  0+         |   Yes| In seconds.                          |
| `UnitsPerCycle`         | Decimal    |  0+         |  Yes   |                                 |
| `TotalCycleTime`          | Integer    |   1+        |  Yes   |                                                 |
| `TotalUnitsPerCycle`        | Decimal    |  0+         |           |                                                 |
| `OperationType`        | String    |           |           | Manufacturing, Setup, QA.                                          |
| `WorkCenterID`        | Guid    |           |           |                                                    |
| `WorkCenterName`        | String    |           |           |                                                    |
| `WorkCenterCode`      | String    |           |           |                                          |
| `WorkCenterCoManProcurementType`             | String    |           |           | Only for CoMan workcenters. Readonly. Transfer or Buysell.|
| `ComponentLocationID`        | Guid    |           |           | Readonly.                                                   |
| `IsDropShip`        | Boolean    |           |           | For CoMan operations only.                                                   |
| `Attachments`| <a href="#ProductionOrderOperationAttachment"><b>[] Attachment Model</b></a>    |           |           |                     |
| `Components`| <a href="#ProductionOrderComponent"><b>[] Component Model</b></a>    |           |           |                     |
| `Notes`| <a href="#ProductionOrderOperationNote"><b>[] Note Model</b></a>    |           |           |                     |
| `Resources`| <a href="#ProductionOrderResource"><b>[] Resource Model</b></a>    |           |           |                     |
| `OperationLinks`| <a href="#ProductionOrderOperationLink"><b>[] Link Model</b></a>    |           |           |                     |
| `InputProducts`| <a href="#ProductionOrderOperationProduct"><b>[] OperationProduct Model</b></a>    |           |           |                     |
| `OutputProducts`| <a href="#ProductionOrderOperationProduct"><b>[] OperationProduct Model</b></a>    |           |           |                     |
| `FinishedProducts`| <a href="#ProductionOrderOperationProduct"><b>[] OperationProduct Model</b></a>    |           |           |                     |
| `IsBackflush`| Bool  || | No | Readonly|


### Available Fields for Production Order Operation Attachment <a name="ProductionOrderOperationAttachment" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `AttachmentID`   | Guid       |        |    Yes*    | Unique identifier of Production Order Operation Attachment. Required for Update action.                                             |
| `FileName`            | String    |   256        |||
| `Date`         | DateTime    |   |     | Readonly|
| `ContentType`         | String    |  256         |   Yes| |
| `Position`         | Integer    |           |  Yes   ||
| `Content`          | String    |           |  Yes*   |Base64 string of binary file content. Required when attachment is being created.|


### Available Fields for Production Order Operation Component <a name="ProductionOrderComponent" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `OrderComponentID`   | Guid       |        |    Yes*    | Unique identifier of Production Order Operation Component. Required for Update action.                                             |
| `ProductID`            | Guid    |           |Yes* |Required when ProductSKU is not specified.|
| `ProductSKU`         | String    |   |Yes*|Required when ProductID is not specified.|
| `ProductName`         | String    |           |   | Readonly.|
| `Position`         | Integer    |           |  Yes   ||
| `Available`          | Decimal    |           |     |Readonly.|
| `Quantity`          | Decimal    |           | Yes ||
| `TotalQuantity`          | Decimal    |    0+       |  ||
| `WastageQty`          | Decimal    |    0+       |  |Can be specified insead of WastagePercent.|
| `WastagePercent`          | Decimal    |    0+       |  |Can be specified insead of WastageQty.|
| `Cost`          | Decimal    |    0+       |  |Readonly.|
| `TotalCost`          | Decimal    |    0+       |  |Readonly.|
| `ProductCost`          | Decimal    |    0+       |  |Readonly.|
| `CostingMethod`          | String    |           |  |Taken from Product, one of FIFO, FEFO - Serial Number etc.|
| `Unit`          | String    |           |  |Readonly.|
| `ProductType`          | String    |           |  |Readonly.|
| `SalePriceTier`          | Integer    |           |  |Used only in Buy/Sell co-man operation. |
| `IsBackflush`| Bool  || | No | Readonly|


### Available Fields for Production Order Operation Note <a name="ProductionOrderOperationNote" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `NoteID`   | Guid       |        |    Yes*    | Unique identifier of Production Order Operation Note. Required for Update action.                                             |
| `Note`            | String    |   4000        |||
| `Position`         | Integer    |           |  Yes   ||


### Available Fields for Production Order Operation Resource <a name="ProductionOrderResource" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `OrderResourceID`   | Guid       |        |    Yes*    | Unique identifier of Production Order Operation Resource. Required for Update action.                                             |
| `ResourceID`            | Guid    |           |Yes* |Required when ResourceCode is not specified|
| `ResourceCode`         | String    |   |Yes*|Required when ResourceID is not specified|
| `ResourceName`         | String    |           |   | Readonly.|
| `Position`         | Integer    |           |  Yes   ||
| `Quantity`          | Decimal    |    0+    | Yes ||
| `Cost`          | Decimal    |          |  |Readonly.|
| `TotalCost`          | Decimal    |        |  |Readonly.|
| `ResourceCost`          | Decimal    |    0+       |  |Readonly.|
| `CycleTime`          | Integer    |           |  |In seconds.|
|`CostCalculationType`|String||Yes|Available <a href="#ResourceCostCalculationType"><b>values</b></a>.|


### Available Fields for Production Order Operation Link. This is a readonly entity. <a name="ProductionOrderOperationLink" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ID`   | Guid       |        |        | Unique identifier of Production Order Operation Link. Readonly
| `RelatedOperationID`            | Guid    |          ||Related Production Order Operation Identifier|
| `Position`         | Integer    |           |  Yes   ||


### Available Fields for Production Order Operation Product. This is a readonly entity (only deletion is allowed). <a name="ProductionOrderOperationProduct" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ID`   | Guid       |        |        | Unique identifier of Production Order Operation Product.
| `ProductID`            | Guid    |           | ||
| `ProductSKU`         | String    |   |||
| `ProductName`         | String    |           |   | |
| `Position`         | Integer    |           |     ||
| `CostCalculationType`          | String    |           |     |None, SalesValue, Nrv|
| `PriceTier`          | Integer    |           |  ||
| `Ratio`          | Decimal    |           |  ||
| `OutputQuantity`          | Decimal    |           |  ||
| `TotalOutputQuantity`          | Decimal    |           |  ||
| `Cost`          | Decimal    |           |  ||
| `TotalCost`          | Decimal    |           |  ||
| `AverageCost`          | Decimal    |           |  ||
| `FixedCost`          | Decimal    |           |  ||
| `CostingMethod`          | String    |           |  ||
| `Unit`          | String    |           |  ||
| `WastageCost`          | Decimal    |           |  ||

### Available Fields for Production Order Source Task <a name="ProductionOrderSourceTask" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `SourceTaskID`| Guid    |           |           | Unique identifier of Sale Task that produced the current Production Order record.                    |
| `SourceTaskNumber`      | String    |           |           |Number of Sale Task that produced the current Production Order record.                                    |



### GET [GET /production/order?ProductionOrderID={ProductionOrderID}&returnAttachmentsContent={ReturnAttachmentsContent}]
+ Returns Production Order and its nested items.

+ Parameters
    + ProductionOrderID (required, guid) ... Identifier of a Production Order
    + ReturnAttachmentsContent (optional, bool) ... Flag specifies if attachment contents should be returned
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body
    
            {
                "ProductionOrders": [
                    {
                        "ProductionOrderID": "17410c4f-8cd6-4b26-8ea8-0b957e076a1e",
                        "ProductID": "6e718a4a-b67a-4397-81e5-890b05807448",
                        "ProductName": "Baking Family Clone Bread",
                        "ProductSKU": "Baking Family Clone SKU - 002",
                        "OrderNumber": "MO-00042",
                        "LocationID": "e579b996-eba9-45a2-8b09-5b3280b7c0af",
                        "LocationName": "Assembly Shopfloor",
                        "CostingMethod": "FIFO",
                        "WarehouseID": "79987fb9-6bd4-480c-858e-9b5ed90a0347",
                        "WarehouseName": "Remote Warehouse",
                        "Unit": "Item",
                        "OrderStatus": "DRAFT",
                        "Status": "DRAFT",
                        "SourceName": 1,
                        "SourceTaskID": null,
                        "SourceTaskNumber": "",
                        "WIPAccountCode": "726",
                        "FinishedGoodsAccountCode": "715",
                        "Quantity": 1.0000000000,
                        "BOMQuantity": 1.0000000000,
                        "CapacityCalculationType": "FromStartForward",
                        "StartDate": "2021-02-16T00:00:00",
                        "ReleaseDate": "2021-02-16T00:00:00",
                        "RequiredByDate": "2021-02-17T00:00:00",
                        "CompletionDate": null,
                        "IsIgnoreLeadTime": false,
                        "RetailID": null,
                        "Comments": "",
                        "StartUpdate": false,
                        "PlannedBy": "vitaliy.l@dearsystems.com",
                        "ReleasedBy": "vitaliy.l@dearsystems.com",
                        "OrderCycleTime": 1800,
                        "BOMVersion": 1,
                        "BOMName": "Generated by Product Family with SKU 'Baking Family Clone SKU'. (v. 1.0) [:Generated by Product Family:]",
                        "Tags": "",
                        "CustomField1": "Low",
                        "CustomField2": "true",
                        "CustomField3": "test",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "IssueMethodComponent": 2,
                        "IssueMethodParameter": 1,
                        "RunSize": 10,
                        "Operations": [
                            {
                                "OperationID": "856003cd-5f3f-f2cd-d3d4-2013163ff135",
                                "Order": 1,
                                "Name": "grrrr",
                                "CycleTime": 1800,
                                "UnitsPerCycle": 1.0000000000,
                                "TotalCycleTime": 1800,
                                "TotalUnitsPerCycle": 1.0000000000,
                                "OperationType": "Manufacturing",
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "WorkCenterName": "Default Workcenter",
                                "WorkCenterCode": "Default Workcenter",
                                "WorkCenterCoManProcurementType": null,
                                "ComponentLocationID": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Attachments": [
                                    {
                                        "AttachmentID": "e4bf3e20-b5c3-8497-10ba-dc83fe35a4b6",
                                        "FileName": "AudMade Update Sheet - IMPORTED DONE v2 (1).csv",
                                        "Date": "2021-02-16T08:30:01.817Z",
                                        "ContentType": "application/octet-stream",
                                        "Position": 3,
                                        "Content": null
                                    }
                                ],
                                "Components": [
                                    {
                                        "OrderComponentID": "f2727abe-5685-bb51-7fa2-a5b689548f40",
                                        "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                        "ProductName": "Eggs",
                                        "ProductSKU": "Eggs",
                                        "Available": 87.0000,
                                        "Quantity": 3.0000000000,
                                        "TotalQuantity": 3.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "Cost": 0.3864,
                                        "TotalCost": 1.1592,
                                        "ProductCost": 0.3864,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "ProductType": "Stock",
                                        "Position": 2,
                                        "SalePriceTier": 0,
                                        "IsAlternative": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Notes": [],
                                "Resources": [
                                    {
                                        "OrderResourceID": "2055e1cb-6841-b0bc-a173-73d20c32038a",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceCode": "Cook",
                                        "ResourceName": "Cook",
                                        "Quantity": 1.00,
                                        "Cost": 0.0000,
                                        "TotalCost": 0.0000,
                                        "ResourceCost": 20.0000,
                                        "CycleTime": 3600,
                                        "Position": 3,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "OperationLinks": [
                                    {
                                        "ID": "a9c7d9a1-3172-b075-ee2a-36ed1af8558b",
                                        "RelatedOperationID": null,
                                        "RelationType": 1
                                    }
                                ],
                                "InputProducts": [],
                                "OutputProducts": [],
                                "FinishedProducts": []
                            }
                        ],
                        "Deliveries": [],
                        "SourceTasks": [
                            {
                                "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                                "SourceTaskNumber": "SO-00379"
                            },
                            {
                                "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                                "SourceTaskNumber": "SO-00378"
                            }
                        ]
                    }
                ]
            }


### POST [POST /production/order?RecalculateDates={RecalculateDates}]
+ Method will create new Production Order.

+ Parameters
    + RecalculateDates (optional, bool) ... Flag specifies if Capacity Calculation should be performed. If calculation is not successful then a warning will be returned.
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
                "ProductID":"c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                "ProductSKU": "",
                "LocationID": "e579b996-eba9-45a2-8b09-5b3280b7c0af",
                "LocationName": "",
                "FinishedGoodsAccountCode": "620",
                "WIPAccountCode": "715",
                "Quantity": 1,
                "CapacityCalculationType": "FromStartForward",
                "StartDate": "2021-02-12T00:00:00",
                "BOMVersion": 1,
                "IsIgnoreLeadTime": false
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "ProductionOrders": [
                {
                    "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                    "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                    "ProductName": "Bread 2",
                    "ProductSKU": "Bread 2 SKU",
                    "OrderNumber": "MO-00045",
                    "LocationID": "e579b996-eba9-45a2-8b09-5b3280b7c0af",
                    "LocationName": "Assembly Shopfloor",
                    "CostingMethod": "FIFO",
                    "WarehouseID": null,
                    "WarehouseName": null,
                    "Unit": "Item",
                    "OrderStatus": "DRAFT",
                    "Status": "DRAFT",
                    "SourceName": 4,
                    "SourceTaskID": null,
                    "SourceTaskNumber": null,
                    "WIPAccountCode": "715",
                    "FinishedGoodsAccountCode": "620",
                    "Quantity": 1.0000000000,
                    "BOMQuantity": 0.0000000000,
                    "CapacityCalculationType": "FromStartForward",
                    "StartDate": "2021-02-12T00:00:00",
                    "ReleaseDate": "2021-02-12T00:00:00",
                    "RequiredByDate": "2021-02-13T00:00:00",
                    "CompletionDate": null,
                    "IsIgnoreLeadTime": false,
                    "RetailID": null,
                    "Comments": null,
                    "StartUpdate": false,
                    "PlannedBy": null,
                    "ReleasedBy": null,
                    "OrderCycleTime": null,
                    "BOMVersion": 1,
                    "BOMName": null,
                    "Tags": null,
                    "CustomField1": "Low",
                    "CustomField2": "true",
                    "CustomField3": "test",
                    "CustomField4": "",
                    "CustomField5": "",
                    "CustomField6": "",
                    "CustomField7": "",
                    "CustomField8": "",
                    "CustomField9": "",
                    "CustomField10": "",
                    "IssueMethodComponent": 2,
                    "IssueMethodParameter": 1,
                    "RunSize": 10,
                    "Operations": [
                        {
                            "OperationID": "b87592a0-878b-4574-b9c2-2c2e84a5ca03",
                            "Order": 1,
                            "Name": "Mixing-baking",
                            "CycleTime": 1800,
                            "UnitsPerCycle": 5.0000000000,
                            "TotalCycleTime": 1800,
                            "TotalUnitsPerCycle": 5.0000000000,
                            "OperationType": "Manufacturing",
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCode": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "ComponentLocationID": null,
                            "IsDropShip": false,
                            "Attachments": [],
                            "IsBackflush": false,
                            "Components": [
                                {
                                    "OrderComponentID": "7c4aa19a-1872-4210-b6d9-a4e826c6754f",
                                    "ProductID": "028e9dba-9806-4339-822a-34c3b79c5114",
                                    "ProductName": "Flour",
                                    "ProductSKU": "Flour",
                                    "Available": 0.0000,
                                    "Quantity": 2.0000000000,
                                    "TotalQuantity": 2.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ProductCost": 0.4510,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "ProductType": "Stock",
                                    "Position": 2,
                                    "SalePriceTier": 0,
                                    "IsAlternative": false,
                                    "IsBackflush": false
                                }
                            ],
                            "Notes": [
                                {
                                    "NoteID": "702d17dd-9e7d-4229-b19a-3ea03ad2bbfc",
                                    "Note": "Why can't you just work faster?",
                                    "Position": 5
                                }
                            ],
                            "Resources": [
                                {
                                    "OrderResourceID": "4fd40789-c157-4a00-8f53-769fd5eb9144",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceCode": "Cook",
                                    "ResourceName": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ResourceCost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 3,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "OperationLinks": [
                                {
                                    "ID": "77b25e71-9e04-4266-b30b-07dea8aff857",
                                    "RelatedOperationID": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [
                                {
                                    "ID": "4bfc27c9-c720-4ff1-9c6b-963414ac9c14",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 2.0000000000,
                                    "TotalOutputQuantity": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "AverageCost": 0.3864,
                                    "FixedCost": 1.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 4,
                                    "WastageCost": 1
                                }
                            ],
                            "FinishedProducts": []
                        },
                        {
                            "OperationID": "75b4b286-7d3f-4b0a-a6fe-83b0ef4f3ed3",
                            "Order": 2,
                            "Name": "eee",
                            "CycleTime": 1200,
                            "UnitsPerCycle": 1.0000000000,
                            "TotalCycleTime": 1200,
                            "TotalUnitsPerCycle": 1.0000000000,
                            "OperationType": "Manufacturing",
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCode": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "ComponentLocationID": null,
                            "IsDropShip": false,
                            "Attachments": [],
                            "IsBackflush": false,
                            "Components": [
                                {
                                    "OrderComponentID": "e66b9b97-4d11-47b7-ad52-4e772af2a91c",
                                    "ProductID": "7c8a1076-1794-4bc0-a8f8-52d5ef4b829a",
                                    "ProductName": "Pure Water",
                                    "ProductSKU": "Pure Water",
                                    "Available": 97.0000,
                                    "Quantity": 1.0000000000,
                                    "TotalQuantity": 1.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ProductCost": 0.0100,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "ProductType": "Stock",
                                    "Position": 1,
                                    "SalePriceTier": 0,
                                    "IsAlternative": false,
                                    "IsBackflush": false
                                }
                            ],
                            "Notes": [],
                            "Resources": [],
                            "OperationLinks": [
                                {
                                    "ID": "b99860b8-6ec6-489f-a9bf-842300a3fb2f",
                                    "RelatedOperationID": "aeeb419b-fd10-4242-a4df-836adf22aa3c",
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [
                                {
                                    "ID": "cfbbb1c6-f338-4cf3-b93b-3b8b40bc8830",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 2.0000000000,
                                    "TotalOutputQuantity": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "AverageCost": 0.3864,
                                    "FixedCost": 1.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 3,
                                    "WastageCost": 1
                                }
                            ],
                            "OutputProducts": [],
                            "FinishedProducts": [
                                {
                                    "ID": "287d70de-82f1-4df0-a80b-fe11231a81df",
                                    "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                                    "ProductName": "Bread 2",
                                    "ProductSKU": "Bread 2 SKU",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 1.0000000000,
                                    "TotalOutputQuantity": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "AverageCost": 0.0000,
                                    "FixedCost": 0.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 2,
                                    "WastageCost": 1
                                }
                            ]
                        }
                    ],
                    "Deliveries": [],
                    "SourceTasks": [
                        {
                            "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                            "SourceTaskNumber": "SO-00379"
                        },
                        {
                            "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                            "SourceTaskNumber": "SO-00378"
                        }
                    ]
                }
            ]
            }


### PUT [PUT /production/order?AllowRecalculateDates={AllowRecalculateDates}&AllowRecalculateCyclesAndQuantities={AllowRecalculateCyclesAndQuantities}]
+ Method will update Production Order. Note: Few fields can be updated and only while Production Order is in Draft or Planned status.

+ Parameters
    + AllowRecalculateDates (optional, bool) ... Flag specifies if Capacity Calculation should be performed. If calculation is not successful then warning will be returned.
        + Default: false
    + AllowRecalculateCyclesAndQuantities (optional, bool) ... Flag specifies if Production Order Operations cycles and quantities can be recalculated in case of Production Order Quantity update.
        + Default: false

+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
                "ProductionOrderID":"fd5197cc-cf19-45cf-aafc-98e86647f941",
                "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                "Quantity": 5,
                "BOMVersion": 2
            }

+ Response 200 (application/json)
    + Body
    
            {
                "ProductionOrders": [
                {
                    "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                    "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                    "ProductName": "Bread 2",
                    "ProductSKU": "Bread 2 SKU",
                    "OrderNumber": "MO-00045",
                    "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                    "LocationName": "BFBin Shop Floor",
                    "CostingMethod": "FIFO",
                    "WarehouseID": null,
                    "WarehouseName": null,
                    "Unit": "Item",
                    "OrderStatus": "DRAFT",
                    "Status": "DRAFT",
                    "SourceName": 4,
                    "SourceTaskID": null,
                    "SourceTaskNumber": null,
                    "WIPAccountCode": "715",
                    "FinishedGoodsAccountCode": "620",
                    "Quantity": 5.0000000000,
                    "BOMQuantity": 0.0000000000,
                    "CapacityCalculationType": "FromStartForward",
                    "StartDate": "2021-02-12T00:00:00",
                    "ReleaseDate": "2021-02-12T00:00:00",
                    "RequiredByDate": "2021-02-13T00:00:00",
                    "CompletionDate": null,
                    "IsIgnoreLeadTime": false,
                    "RetailID": null,
                    "Comments": null,
                    "StartUpdate": false,
                    "PlannedBy": null,
                    "ReleasedBy": null,
                    "OrderCycleTime": null,
                    "BOMVersion": 2,
                    "BOMName": null,
                    "Tags": null,
                    "CustomField1": "Low",
                    "CustomField2": "true",
                    "CustomField3": "test",
                    "CustomField4": "",
                    "CustomField5": "",
                    "CustomField6": "",
                    "CustomField7": "",
                    "CustomField8": "",
                    "CustomField9": "",
                    "CustomField10": "",
                    "IssueMethodComponent": 2,
                    "IssueMethodParameter": 1,
                    "RunSize": 10,
                    "Operations": [
                        {
                            "OperationID": "e3f0759a-56da-4e5f-8412-13307e6daf2d",
                            "Order": 1,
                            "Name": "Mixing-baking",
                            "CycleTime": 1800,
                            "UnitsPerCycle": 5.0000000000,
                            "TotalCycleTime": 1800,
                            "TotalUnitsPerCycle": 5.0000000000,
                            "OperationType": "Manufacturing",
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCode": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "ComponentLocationID": null,
                            "IsDropShip": false,
                            "Attachments": [],
                            "IsBackflush": false,
                            "Components": [
                                {
                                    "OrderComponentID": "8cff6a23-9f95-4d3f-a707-dda4862b8341",
                                    "ProductID": "028e9dba-9806-4339-822a-34c3b79c5114",
                                    "ProductName": "Flour",
                                    "ProductSKU": "Flour",
                                    "Available": -1.0000,
                                    "Quantity": 2.0000000000,
                                    "TotalQuantity": 2.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ProductCost": 0.4510,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "ProductType": "Stock",
                                    "Position": 2,
                                    "SalePriceTier": 0,
                                    "IsAlternative": false,
                                    "IsBackflush": false
                                }
                            ],
                            "Notes": [
                                {
                                    "NoteID": "f0e134a8-627e-4110-845d-97359280ab42",
                                    "Note": "Why can't you just work faster?",
                                    "Position": 5
                                }
                            ],
                            "Resources": [
                                {
                                    "OrderResourceID": "13097194-a8f9-48a7-abda-80dc29d3122d",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceCode": "Cook",
                                    "ResourceName": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ResourceCost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 3,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "OperationLinks": [
                                {
                                    "ID": "711e0d64-3919-488f-b1e8-b99330980c40",
                                    "RelatedOperationID": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [
                                {
                                    "ID": "ab97ec5e-ba58-4050-b083-21822268f705",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 2.0000000000,
                                    "TotalOutputQuantity": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "AverageCost": 0.3864,
                                    "FixedCost": 1.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 4,
                                    "WastageCost": 1
                                }
                            ],
                            "FinishedProducts": []
                        }
                    ],
                    "Deliveries": [],
                    "SourceTasks": [
                        {
                            "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                            "SourceTaskNumber": "SO-00379"
                        },
                        {
                            "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                            "SourceTaskNumber": "SO-00378"
                        }
                    ]
                }
            ]
            }

### Authorise [POST /production/order/authorise]
+ Method will authorize Production Order. Recalculates capacity.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "productionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941"
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                 "ProductionOrders": [
                {
                    "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                    "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                    "ProductName": "Bread 2",
                    "ProductSKU": "Bread 2 SKU",
                    "OrderNumber": "MO-00045",
                    "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                    "LocationName": "BFBin Shop Floor",
                    "CostingMethod": "FIFO",
                    "WarehouseID": null,
                    "WarehouseName": null,
                    "Unit": "Item",
                    "OrderStatus": "AUTHORISED",
                    "Status": "PLANNED",
                    "SourceName": 4,
                    "SourceTaskID": null,
                    "SourceTaskNumber": null,
                    "WIPAccountCode": "715",
                    "FinishedGoodsAccountCode": "620",
                    "Quantity": 5.0000000000,
                    "BOMQuantity": 0.0000000000,
                    "CapacityCalculationType": "FromStartForward",
                    "StartDate": "2021-02-12T00:00:00",
                    "ReleaseDate": "2021-02-12T00:00:00",
                    "RequiredByDate": "2021-02-13T00:00:00",
                    "CompletionDate": null,
                    "IsIgnoreLeadTime": false,
                    "RetailID": null,
                    "Comments": null,
                    "StartUpdate": false,
                    "PlannedBy": "",
                    "ReleasedBy": null,
                    "OrderCycleTime": null,
                    "BOMVersion": 2,
                    "BOMName": null,
                    "Tags": null,
                    "CustomField1": "Low",
                    "CustomField2": "true",
                    "CustomField3": "test",
                    "CustomField4": "",
                    "CustomField5": "",
                    "CustomField6": "",
                    "CustomField7": "",
                    "CustomField8": "",
                    "CustomField9": "",
                    "CustomField10": "",
                    "IssueMethodComponent": 2,
                    "IssueMethodParameter": 1,
                    "RunSize": 10,
                    "Operations": [
                        {
                            "OperationID": "e3f0759a-56da-4e5f-8412-13307e6daf2d",
                            "Order": 1,
                            "Name": "Mixing-baking",
                            "CycleTime": 1800,
                            "UnitsPerCycle": 5.0000000000,
                            "TotalCycleTime": 1800,
                            "TotalUnitsPerCycle": 5.0000000000,
                            "OperationType": "Manufacturing",
                            "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                            "WorkCenterName": "Default Workcenter",
                            "WorkCenterCode": "Default Workcenter",
                            "WorkCenterCoManProcurementType": null,
                            "ComponentLocationID": null,
                            "IsDropShip": false,
                            "Attachments": [],
                            "IsBackflush": false,
                            "Components": [
                                {
                                    "OrderComponentID": "8cff6a23-9f95-4d3f-a707-dda4862b8341",
                                    "ProductID": "028e9dba-9806-4339-822a-34c3b79c5114",
                                    "ProductName": "Flour",
                                    "ProductSKU": "Flour",
                                    "Available": -1.0000,
                                    "Quantity": 2.0000000000,
                                    "TotalQuantity": 2.0000000000,
                                    "WastageQty": 0.0000000000,
                                    "WastagePercent": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ProductCost": 0.4510,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "ProductType": "Stock",
                                    "Position": 2,
                                    "SalePriceTier": 0,
                                    "IsAlternative": false,
                                    "IsBackflush": false
                                }
                            ],
                            "Notes": [
                                {
                                    "NoteID": "f0e134a8-627e-4110-845d-97359280ab42",
                                    "Note": "Why can't you just work faster?",
                                    "Position": 5
                                }
                            ],
                            "Resources": [
                                {
                                    "OrderResourceID": "13097194-a8f9-48a7-abda-80dc29d3122d",
                                    "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                    "ResourceCode": "Cook",
                                    "ResourceName": "Cook",
                                    "Quantity": 1.00,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "ResourceCost": 20.0000,
                                    "CycleTime": 3600,
                                    "Position": 3,
                                    "CostCalculationType": "CostPerUnitTime"
                                }
                            ],
                            "OperationLinks": [
                                {
                                    "ID": "711e0d64-3919-488f-b1e8-b99330980c40",
                                    "RelatedOperationID": null,
                                    "RelationType": 1
                                }
                            ],
                            "InputProducts": [],
                            "OutputProducts": [
                                {
                                    "ID": "ab97ec5e-ba58-4050-b083-21822268f705",
                                    "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                    "ProductName": "Eggs",
                                    "ProductSKU": "Eggs",
                                    "CostCalculationType": "SalesValue",
                                    "PriceTier": 1,
                                    "Ratio": 0.0000,
                                    "OutputQuantity": 2.0000000000,
                                    "TotalOutputQuantity": 0.0000000000,
                                    "Cost": 0.0000,
                                    "TotalCost": 0.0000,
                                    "AverageCost": 0.3864,
                                    "FixedCost": 1.0000,
                                    "CostingMethod": "FIFO",
                                    "Unit": "Item",
                                    "Position": 4,
                                    "WastageCost": 1
                                }
                            ],
                            "FinishedProducts": []
                        }
                    ],
                    "Deliveries": [],
                    "SourceTasks": [
                        {
                            "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                            "SourceTaskNumber": "SO-00379"
                        },
                        {
                            "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                            "SourceTaskNumber": "SO-00378"
                        }
                    ]
                }
            ]
            }


### Release [POST /production/order/release]
+ Method will release Production Order.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "productionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                "releaseDate":"2021-02-12T00:00:00"
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Warning": "Production Order has been released. The following tasks were created: Transfer Order <a target=\"_blank\" href=\"/StockTransfer#CF85B456-7C0E-4915-A3E5-7FBAE00DB70B\">TR-00022</a>Purchase Order <a target=\"_blank\" href=\"/Purchase#1F546B73-DE93-4AA9-B0EB-0B616CCB203B\">PO-00019</a>",
                "ProductionOrders": [
                    {
                        "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                        "ProductID": "c07693d0-f2ea-4aeb-ab0b-e1e1378003ef",
                        "ProductName": "Bread 2",
                        "ProductSKU": "Bread 2 SKU",
                        "OrderNumber": "MO-00045",
                        "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "LocationName": "BFBin Shop Floor",
                        "CostingMethod": "FIFO",
                        "WarehouseID": null,
                        "WarehouseName": null,
                        "Unit": "Item",
                        "OrderStatus": "RELEASED",
                        "Status": "RELEASED",
                        "SourceName": 4,
                        "SourceTaskID": null,
                        "SourceTaskNumber": null,
                        "WIPAccountCode": "715",
                        "FinishedGoodsAccountCode": "620",
                        "Quantity": 5.0000000000,
                        "BOMQuantity": 0.0000000000,
                        "CapacityCalculationType": "FromStartForward",
                        "StartDate": "2021-02-12T00:00:00",
                        "ReleaseDate": "2021-02-12T00:00:00",
                        "RequiredByDate": "2021-02-13T00:00:00",
                        "CompletionDate": null,
                        "IsIgnoreLeadTime": false,
                        "RetailID": null,
                        "Comments": null,
                        "StartUpdate": false,
                        "PlannedBy": "",
                        "ReleasedBy": "",
                        "OrderCycleTime": 1800,
                        "BOMVersion": 2,
                        "BOMName": null,
                        "Tags": null,
                        "CustomField1": "Low",
                        "CustomField2": "true",
                        "CustomField3": "test",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "IssueMethodComponent": 2,
                        "IssueMethodParameter": 1,
                        "RunSize": 10,
                        "Operations": [
                            {
                                "OperationID": "e3f0759a-56da-4e5f-8412-13307e6daf2d",
                                "Order": 1,
                                "Name": "Mixing-baking",
                                "CycleTime": 1800,
                                "UnitsPerCycle": 5.0000000000,
                                "TotalCycleTime": 1800,
                                "TotalUnitsPerCycle": 5.0000000000,
                                "OperationType": "Manufacturing",
                                "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                                "WorkCenterName": "Default Workcenter",
                                "WorkCenterCode": "Default Workcenter",
                                "WorkCenterCoManProcurementType": null,
                                "ComponentLocationID": null,
                                "IsDropShip": false,
                                "Attachments": [],
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "OrderComponentID": "8cff6a23-9f95-4d3f-a707-dda4862b8341",
                                        "ProductID": "028e9dba-9806-4339-822a-34c3b79c5114",
                                        "ProductName": "Flour",
                                        "ProductSKU": "Flour",
                                        "Available": -1.0000,
                                        "Quantity": 2.0000000000,
                                        "TotalQuantity": 2.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "Cost": 0.0000,
                                        "TotalCost": 0.0000,
                                        "ProductCost": 0.4510,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "ProductType": "Stock",
                                        "Position": 2,
                                        "SalePriceTier": 0,
                                        "IsAlternative": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Notes": [
                                    {
                                        "NoteID": "f0e134a8-627e-4110-845d-97359280ab42",
                                        "Note": "Why can't you just work faster?",
                                        "Position": 5
                                    }
                                ],
                                "Resources": [
                                    {
                                        "OrderResourceID": "13097194-a8f9-48a7-abda-80dc29d3122d",
                                        "ResourceID": "c49cd399-2904-4868-98ad-14449da5b2d7",
                                        "ResourceCode": "Cook",
                                        "ResourceName": "Cook",
                                        "Quantity": 1.00,
                                        "Cost": 0.0000,
                                        "TotalCost": 0.0000,
                                        "ResourceCost": 20.0000,
                                        "CycleTime": 3600,
                                        "Position": 3,
                                        "CostCalculationType": "CostPerUnitTime"
                                    }
                                ],
                                "OperationLinks": [
                                    {
                                        "ID": "711e0d64-3919-488f-b1e8-b99330980c40",
                                        "RelatedOperationID": null,
                                        "RelationType": 1
                                    }
                                ],
                                "InputProducts": [],
                                "OutputProducts": [
                                    {
                                        "ID": "ab97ec5e-ba58-4050-b083-21822268f705",
                                        "ProductID": "86875aba-9143-435e-b5f7-b036b1873dcf",
                                        "ProductName": "Eggs",
                                        "ProductSKU": "Eggs",
                                        "CostCalculationType": "SalesValue",
                                        "PriceTier": 1,
                                        "Ratio": 0.0000,
                                        "OutputQuantity": 2.0000000000,
                                        "TotalOutputQuantity": 0.0000000000,
                                        "Cost": 0.0000,
                                        "TotalCost": 0.0000,
                                        "AverageCost": 0.3864,
                                        "FixedCost": 1.0000,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "Position": 4,
                                        "WastageCost": 1
                                    }
                                ],
                                "FinishedProducts": []
                            }
                        ],
                        "Deliveries": [],
                        "SourceTasks": [
                            {
                                "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                                "SourceTaskNumber": "SO-00379"
                            },
                            {
                                "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                                "SourceTaskNumber": "SO-00378"
                            }
                        ]
                    }
                ]
            }


### Undo [POST /production/order/undo]
+ Method will undo Production Order.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "productionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                "ApplyToTasks":true
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Message": "",
                "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941"
            }


### Post Attachment [POST /production/order/attachment?ProductionOrderID={ProductionOrderID}]
+ Method will add a Production Order attachment.

+ Parameters
    + ProductionOrderID (required, guid) ... Identifier of a Production Order

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "FileName": "Production Order Traveler-v2.docx",
                "Date": "2021-02-24T08:15:56.903Z",
                "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                "IsProcessed": true,
                "UserName": "vitaliy.l@dearsystems.com",
                "ExternalDownloadLink": null,
                "ExternalViewLink": null,
                "Content": "QUxURVIgICBWSUVXIFtkYm9dLlt2UHJvZHVjdGlvblJ1bk9wZXJhdGlvbl0NCkFTDQoNCi0tID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0gQ2hhbmdlIEF1dGhvcjogVml0YWxpeSBMdWthbmluDQotLSBVcGRhdGVkOiAyNC4xMS4yMDIwDQotLSBEZXNjcmlwdGlvbjogQWRkIFByb2R1Y3Rpb25PcmRlck9wZXJhdGlvbi0+V29ya0NlbnRlckNvTWFuUHJvY3VyZW1lbnRUeXBlIGNvbHVtbiAoRERSLTE0NzkxKQ0KLS0gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoNClNFTEVDVCANCglkLltPcGVyYXRpb25JRF0sDQoJW1Byb2R1Y3Rpb25SdW5JRF0sDQoJZC5bT3JkZXJdLA0KCWQuW05hbWVdLA0KCVtTdGF0dXNdLA0KCVtQbGFubmVkVGltZV0sDQoJW0FjdHVhbFRpbWVdLA0KCWQuW1VuaXRzUGVyQ3ljbGVdLA0KCVtTdGFydERhdGVdLA0KCVtFbmREYXRlXSwNCglbRHVlRGF0ZV0sDQoJZC5bV29ya0NlbnRlcklEXSwNCglkLlNvdXJjZU9wZXJhdGlvbklELA0KCXcuTmFtZSBhcyBbV29ya0NlbnRlck5hbWVdLA0KCXcuQ29kZSBhcyBbV29ya0NlbnRlckNvZGVdLA0KCW8uW1dvcmtDZW50ZXJDb01hblByb2N1cmVtZW50VHlwZV0sDQoJZC5PcGVyYXRpb25UeXBlLA0KCWQuSXNEcm9wU2hpcA0KCUZST00gDQoJCVtQcm9kdWN0aW9uUnVuT3BlcmF0aW9uXSBkDQoJCUxFRlQgSk9JTiBbV29ya0NlbnRlcl0gdyBPTiB3LldvcmtDZW50ZXJJRCA9IGQuV29ya0NlbnRlcklEIEFORCB3LlRlbmFudElEID0gZC5UZW5hbnRJRA0KCQlJTk5FUiBKT0lOIFtQcm9kdWN0aW9uT3JkZXJPcGVyYXRpb25dIG8gd2l0aChub2xvY2spIE9OIG8uT3BlcmF0aW9uSUQ9IGQuU291cmNlT3BlcmF0aW9uSUQgQU5EIG8uVGVuYW50SUQgPSBkLlRlbmFudElEDQoJV0hFUkUgZC5UZW5hbnRJRCA9IFNZU1RFTV9VU0VSDQpHTw=="
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "AttachmentID": "371e225d-00d5-449d-9443-a2124ebc8a70",
                "FileName": "Production Order Traveler-v2.docx",
                "Date": "2021-03-03T16:24:44.3251972Z",
                "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                "IsProcessed": true,
                "UserName": "API",
                "Content": null,
                "ExternalDownloadLink": null,
                "ExternalViewLink": null
            }


### Put Attachment [PUT /production/order/attachment]
+ Method allows to update IsProcessed field of Production Order attachment.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "AttachmentID": "371e225d-00d5-449d-9443-a2124ebc8a70"
                "IsProcessed": true
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "AttachmentID": "371e225d-00d5-449d-9443-a2124ebc8a70",
                "FileName": "Production Order Traveler-v2.docx",
                "Date": "2021-03-03T16:24:44.3251972Z",
                "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                "IsProcessed": true,
                "UserName": "API",
                "Content": null,
                "ExternalDownloadLink": null,
                "ExternalViewLink": null
            }

### Delete Attachment [DELETE /production/order/attachment?ProductionOrderAttachmentID={ProductionOrderAttachmentID}]
+ Method will delete Production Order attachment.

+ Parameters
    + ProductionOrderAttachmentID (required, guid) ... Identifier of a Production Order Attachment

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
             
+ Response 200

            {
                "Success": true
            }


### Get Production Order Attachments [GET /production/order/attachment?ProductionOrderID={ProductionOrderID}&ReturnAttachmentsContent={ReturnAttachmentsContent}]
+ Method will return all Production Order attachments: Production Order attachments, Production Operation attachments, Production Resource attachments.

+ Parameters
    + ProductionOrderID (required, guid) ... Identifier of a Production Order Attachment
    + ReturnAttachmentsContent (optional, bool) ... Flag specifies if attachment contents should be returned
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
             
+ Response 200 (application/json)
    + Body
    
            {
                "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                "OrderAttachments": [
                    {
                        "AttachmentID": "f6202b14-4cf6-46e4-89c6-00a82915a2cb",
                        "FileName": "Production Order Traveler-v2.docx",
                        "Date": "2021-03-03T16:30:26.943Z",
                        "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                        "IsProcessed": true,
                        "UserName": "API",
                        "Content": null,
                        "ExternalDownloadLink": null,
                        "ExternalViewLink": null
                    }
                ],
                "OrderOperationAttachments": [],
                "OrderOperationResourceAttachments": []
            }

### Void [POST /production/order/void]
+ Method will void Production Order.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "productionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941",
                "ApplyToTasks":true
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Message": "",
                "ProductionOrderID": "fd5197cc-cf19-45cf-aafc-98e86647f941"
            }

### Get Production Order Reference Data [GET /production/order/referenceData]
+ Method will return accumulated reference data useful for creating and updating production orders.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
             
+ Response 200 (application/json)
    + Body
    
            {
                "ProductionOrderTags": [
                    "One-Two-Three",
                    "Three",
                    "Two",
                    "Twoundefined"
                ],
                "ChartOfAccounts": [
                    {
                        "Code": "200",
                        "Status": "ACTIVE",
                        "Name": "Sales",
                        "Type": "REVENUE",
                        "Description": "Income from any normal business activity",
                        "Class": "REVENUE",
                        "SystemAccount": null,
                        "SystemAccountCode": null,
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "200: Sales"
                    },
                    {
                        "Code": "260",
                        "Status": "ACTIVE",
                        "Name": "Other Revenue",
                        "Type": "REVENUE",
                        "Description": "Any other income that does not relate to normal business activities and is not recurring",
                        "Class": "REVENUE",
                        "SystemAccount": null,
                        "SystemAccountCode": null,
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "260: Other Revenue"
                    },
                    {
                        "Code": "970",
                        "Status": "ACTIVE",
                        "Name": "Owner A Share Capital",
                        "Type": "EQUITY",
                        "Description": "The value of shares purchased by the shareholders",
                        "Class": "EQUITY",
                        "SystemAccount": null,
                        "SystemAccountCode": null,
                        "BankAccountNumber": null,
                        "BankAccountId": null,
                        "ForPayments": false,
                        "DisplayName": "970: Owner A Share Capital"
                    }
                ],
                "ShopFloorLocations": [
                    {
                        "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "Description": "BFBin Shop Floor",
                        "IsDefault": false,
                        "UseForFixedAssetsOnly": false,
                        "IsShopFloor": true,
                        "IsCoMan": false
                    },
                    {
                        "LocationID": "e579b996-eba9-45a2-8b09-5b3280b7c0af",
                        "Description": "Assembly Shopfloor",
                        "IsDefault": false,
                        "UseForFixedAssetsOnly": false,
                        "IsShopFloor": true,
                        "IsCoMan": false
                    }
                ],
                "LogisticsPaths": [
                    {
                        "PathID": "3a2e1641-9131-4be4-b2f2-206def600332",
                        "WarehouseLocationID": "79987fb9-6bd4-480c-858e-9b5ed90a0347",
                        "WarehouseLocation": "Remote Warehouse",
                        "ShopFloorLocationID": "e579b996-eba9-45a2-8b09-5b3280b7c0af",
                        "ShopFloorLocation": "Assembly Shopfloor",
                        "RetailLocationID": "992d50b2-427d-4cba-b729-6dd18fe21f40",
                        "RetailLocation": "Larek"
                    },
                    {
                        "PathID": "fcf1a434-54f8-4c0d-9d8c-7ec5976ff0cb",
                        "WarehouseLocationID": "bbe0ff82-2044-413c-aba2-14ee2fc5f27d",
                        "WarehouseLocation": "Main Warehouse",
                        "ShopFloorLocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "ShopFloorLocation": "BFBin Shop Floor",
                        "RetailLocationID": "79987fb9-6bd4-480c-858e-9b5ed90a0347",
                        "RetailLocation": "Remote Warehouse"
                    },
                    {
                        "PathID": "9d6144dd-1fa4-4bf7-8a6a-acfc50e0e111",
                        "WarehouseLocationID": "bbe0ff82-2044-413c-aba2-14ee2fc5f27d",
                        "WarehouseLocation": "Main Warehouse",
                        "ShopFloorLocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "ShopFloorLocation": "BFBin Shop Floor",
                        "RetailLocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "RetailLocation": "BFBin Shop Floor"
                    },
                    {
                        "PathID": "3e598f09-7ecf-4ba8-8c2b-aff8c4a09495",
                        "WarehouseLocationID": "bbe0ff82-2044-413c-aba2-14ee2fc5f27d",
                        "WarehouseLocation": "Main Warehouse",
                        "ShopFloorLocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                        "ShopFloorLocation": "BFBin Shop Floor",
                        "RetailLocationID": "bbe0ff82-2044-413c-aba2-14ee2fc5f27d",
                        "RetailLocation": "Main Warehouse"
                    }
                ],
                "WorkCenters": [
                    {
                        "WorkCenterID": "b4d60677-a968-4eba-b8da-03fd0ec341af",
                        "Code": "API Test 4",
                        "Name": "Workcenter test 4 for API",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [
                            {
                                "ID": "06b96652-1bbf-46a2-967f-8e18248972c9",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            },
                            {
                                "ID": "7248b599-2965-49d3-a5fd-6f824861e283",
                                "LocationID": "18e884c4-6d2e-4c06-9143-c3c8985814a5",
                                "Type": "Consumption",
                                "LocationName": "Assembly Shopfloor: Big Box with details"
                            }
                        ],
                        "CoManProcurementType": null
                    },
                    {
                        "WorkCenterID": "c9c41727-e690-41ff-b27e-28d60291e35c",
                        "Code": "WC-A-F1",
                        "Name": "Accembly Floor 1",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [
                            {
                                "ID": "1bc02f41-edd4-43b8-a47a-eec422e99034",
                                "LocationID": "18e884c4-6d2e-4c06-9143-c3c8985814a5",
                                "Type": "Consumption",
                                "LocationName": "Assembly Shopfloor: Big Box with details"
                            }
                        ],
                        "CoManProcurementType": null
                    },
                    {
                        "WorkCenterID": "a24d2609-563d-4053-913b-29bc94019556",
                        "Code": "Co-man workcenter",
                        "Name": "Tom the Supplier",
                        "IsActive": true,
                        "IsCoMan": true,
                        "Locations": [
                            {
                                "ID": "d1e24560-aa0b-4d1e-a221-55532cf7441d",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            }
                        ],
                        "CoManProcurementType": "transfer"
                    },
                    {
                        "WorkCenterID": "8b50a21f-1c68-417c-8755-4aa029a9e117",
                        "Code": "API Test",
                        "Name": "Workcenter test for API",
                        "IsActive": true,
                        "IsCoMan": true,
                        "Locations": [
                            {
                                "ID": "4e3c961a-06c2-47f9-bdad-4296d21ddd57",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            }
                        ],
                        "CoManProcurementType": "transfer"
                    },
                    {
                        "WorkCenterID": "9810a2f3-7760-446a-b6a9-4d8d79c5f4bb",
                        "Code": "API Test 3",
                        "Name": "Workcenter test 3 for API",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [
                            {
                                "ID": "842c3152-3908-4caf-8571-871199b7f773",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            },
                            {
                                "ID": "16d0cb3e-ffb6-439b-8554-2a4ea45b8693",
                                "LocationID": "18e884c4-6d2e-4c06-9143-c3c8985814a5",
                                "Type": "Output",
                                "LocationName": "Assembly Shopfloor: Big Box with details"
                            }
                        ],
                        "CoManProcurementType": null
                    },
                    {
                        "WorkCenterID": "b617715d-bcdd-4734-b8eb-6f3c0732fb7e",
                        "Code": "Test 1 Co-man",
                        "Name": "Jane The Supplier",
                        "IsActive": true,
                        "IsCoMan": true,
                        "Locations": [
                            {
                                "ID": "c4692df1-d6b3-4f01-b994-88de01d3b1be",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            }
                        ],
                        "CoManProcurementType": "buysell"
                    },
                    {
                        "WorkCenterID": "99360e2f-2a1f-46f7-8d1f-97558bb56ec1",
                        "Code": "WC-A-F2",
                        "Name": "Accembly Floor 2",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [
                            {
                                "ID": "7975ac16-b147-4d7b-b770-ea2fc1c84136",
                                "LocationID": "d7fc5649-5635-4784-8264-66cf64138f5e",
                                "Type": "Consumption",
                                "LocationName": "BFBin Shop Floor: Bin 1"
                            },
                            {
                                "ID": "f530d7e7-bded-42f8-8d7d-28e20b19e44d",
                                "LocationID": "18e884c4-6d2e-4c06-9143-c3c8985814a5",
                                "Type": "Consumption",
                                "LocationName": "Assembly Shopfloor: Big Box with details"
                            }
                        ],
                        "CoManProcurementType": null
                    },
                    {
                        "WorkCenterID": "a11ac85f-e4ef-487e-8196-9cc0dc954697",
                        "Code": "Default Workcenter",
                        "Name": "Default Workcenter",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [
                            {
                                "ID": "2df000e8-1d92-423b-bdbb-c0075c36eac8",
                                "LocationID": "d7fc5649-5635-4784-8264-66cf64138f5e",
                                "Type": "Consumption",
                                "LocationName": "BFBin Shop Floor: Bin 1"
                            },
                            {
                                "ID": "029549c9-79e4-41f8-a0d4-5cb275531c30",
                                "LocationID": "18e884c4-6d2e-4c06-9143-c3c8985814a5",
                                "Type": "Consumption",
                                "LocationName": "Assembly Shopfloor: Big Box with details"
                            }
                        ],
                        "CoManProcurementType": null
                    },
                    {
                        "WorkCenterID": "09599906-cdf4-4447-abee-a3eb7e1be545",
                        "Code": "Test Test",
                        "Name": "Incoming Goods Supplier",
                        "IsActive": true,
                        "IsCoMan": true,
                        "Locations": [
                            {
                                "ID": "cf58d4f9-ec2d-47e9-bf65-28a5abdf8226",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "Type": "Consumption",
                                "LocationName": "BFBin"
                            }
                        ],
                        "CoManProcurementType": "transfer"
                    },
                    {
                        "WorkCenterID": "21de247f-eb96-4c97-9085-e33411f6dc40",
                        "Code": "Tebi",
                        "Name": "Test No Bin",
                        "IsActive": true,
                        "IsCoMan": false,
                        "Locations": [],
                        "CoManProcurementType": null
                    }
                ],
                "PriceTiers": [],
                "InventoryControlAccount": "715",
                "WipAccount": "726",
                "SuspendReasons": [
                    {
                        "ID": "868dcd8c-ac27-475d-b59d-b1e3807eb9aa",
                        "Reason": "I don't know.. that's enough for today",
                        "WorkCenterIDs": "a11ac85f-e4ef-487e-8196-9cc0dc954697"
                    },
                    {
                        "ID": "96ab4332-0ece-420d-97ae-be676a758191",
                        "Reason": "I'm gotta tired need some sleep",
                        "WorkCenterIDs": "a11ac85f-e4ef-487e-8196-9cc0dc954697"
                    }
                ]
            }


## Production Order List [/production/orderList]
Returns list of Production Order List Items

### Available Fields for Production Order List Item
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `TaskID`              | Guid      |           |        | Unique identifier of returned record (Production Order or Production Order Run).                                           |
| `ProductionOrderID`   | Guid       |        |        | Unique identifier of Production Order.                                             |
| `Type`              | String    |           |        | Type of the returned record. Available values are `O` - Production Order and `R` - Production Order Run.|
| `ProductID`            | Guid    |           |        | Unique identifier of Product.                                    |
| `ProductSKU`         | String    |           |        | Product SKU.                                                 |
| `ProductName`         | String    |           |        | Product Name.                          |
| `OrderNumber`         | String    |           |        | Production Order Number.                                |
| `LocationID`          | Guid    |           |        | Production Order Location ID.                                                |
| `LocationName`        | String    |           |           | Production Order Location Name.                                                   |
| `Status`             | String    |           |           | Production Order state (DRAFT, AUTHORIZED, RELEASED, VOIDED).                                                 |
| `OrderStatus`      | String    |           |           | Production Order status (DRAFT, PLANNED, RELEASED, IN PROGRESS, COMPLETED, VOIDED).                                         |
| `Quantity`            | Decimal    |           |           | Production Order Quantity.                                                     |
| `StartDate`            | DateTime       |           |           | Production Order Start Date.                         |
| `ReleaseDate`            | DateTime       |           |           | Production Order Release Date.                         |
| `RequiredByDate`            | DateTime       |           |           | Production Order Required By Date.                         |
| `CompletionDate`            | DateTime       |           |           | Production Order Completion Date.                         |
| `Comments`            | String    | 2000       |           | Comments.                                                     |
| `CapacityCalculationType`           | String       |           |           | Capacity calculation method. Available values are `FromStartForward` and `FromRequiredBackward`.                                                   |
| `WIPAccountCode`         | String       |           |           | Work In Progress Account Code.                                                 |
| `Tags`                | String    |           |           | Tags string.                                                  |
| `FinishedGoodsAccountCode`        | String    |           |           | Finished Goods Account Code.                                            |
| `SourceTaskID`| Guid    |           |           |Obsolete. Unique identifier of Sale Task that produced the current Production Order record.                    |
| `SourceTaskNumber`      | String    |           |           |Obsolete. Number of Sale Task that produced the current Production Order record.                                    |
| `SourceTaskType`           |Integer|||Obsolete. Type of Sale Task that produced the current Production Order record. Available values are `0` - Simple and `1` - Master  |
| `IsSourceTaskVoided`            |Boolean||| Obsolete. True if source Sale Task is voided.          |
|`CustomField1`|String|||Value of Production Order's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Production Order's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Production Order's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Production Order's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Production Order's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Production Order's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Production Order's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Production Order's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Production Order's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Production Order's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`SourceTasks`|ProductionOrderListSourceTask[] |||Readonly. Data of Sale Tasks that produced the current Production Order record. |

### Available Fields for Production Order List Source Task <a name="ProductionOrderListSourceTask" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `SourceTaskID`| Guid    |           |           | Unique identifier of Sale Task that produced the current Production Order record.                    |
| `SourceTaskNumber`      | String    |           |           |Number of Sale Task that produced the current Production Order record.                                    |
| `SourceTaskType`           |Integer||| Type of Sale Task that produced the current Production Order record. Available values are `0` - Simple and `1` - Master  |
| `IsSourceTaskVoided`            |Boolean||| True if source Sale Task is voided.          |

### GET [GET /production/orderList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}&LocationID={LocationID}&RequiredByDateFrom={RequiredByDateFrom}&RequiredByDateTo={RequiredByDateTo}&CompletionDateFrom={CompletionDateFrom}&CompletionDateTo={CompletionDateTo}&SourceTaskID={SourceTaskID}]
+ Returns Production Orders and Production Runs according to provided filters.

+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100 (Default: 100)
    + Status (optional, string) ... Filter by status, value on of the list: AllButVoided, Draft, Planned, Released, InProgress, Completed (Default: not set)
    + Search (optional, string) ... Only return Production Orders that have the provided text in Product Code or Product Name, Production Order Number, Tags, Comments, in Location name (Default: not set)
    + LocationID (optional, uniqueidentifier) ... Only return Production Orders that have LocationID equal to provided value (Default: not set)
    + RequiredByDateFrom (optional, DateTime) ... Only return Production Orders that have RequiredByDate field greater than the provided value Default: not set)
    + RequiredByDateTo (optional, DateTime) ... Only return Production Orders that have RequiredByDate field less than the provided value (Default: not set)
    + CompletionDateFrom (optional, DateTime) ... Only return Production Orders that have CompletionDate field greater than the provided value (Default: not set)
    + CompletionDateTo (optional, DateTime) ... Only return Production Orders that have CompletionDate field less than the provided value (Default: not set)
    + SourceTaskID (optional, uniqueidentifier) ... Only return Production Orders that are created as a result of execution a Sale Task with ID = SourceTaskID Default: not set)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body
    
            {
            "ProductionOrderListItems": [
                {
                    "TaskID": "57d9aa25-2d92-4145-a9c2-25ce3038075d",
                    "ProductionOrderID": "57d9aa25-2d92-4145-a9c2-25ce3038075d",
                    "Type": "O",
                    "ProductID": "6e718a4a-b67a-4397-81e5-890b05807448",
                    "ProductSKU": "Baking Family 002",
                    "ProductName": "Baking Family Clone Bread",
                    "OrderNumber": "MO-00044",
                    "LocationID": "35c5646b-6a6d-4045-9512-04e1064a3e90",
                    "LocationName": "BFBin Shop Floor",
                    "Status": "DRAFT",
                    "OrderStatus": "DRAFT",
                    "Quantity": 3.0000000000,
                    "StartDate": "2021-02-25T00:00:00",
                    "ReleaseDate": "2021-02-26T00:00:00",
                    "RequiredByDate": "2021-02-26T00:00:00",
                    "CompletionDate": null,
                    "TotalCount": 6.0,
                    "CapacityCalculationType": "FromStartForward",
                    "WIPAccountCode": "726",
                    "FinishedGoodsAccountCode": "715",
                    "Comments": "",
                    "SourceTaskID": null,
                    "SourceTaskNumber": "",
                    "SourceTaskType": null,
                    "IsSourceTaskVoided": false,
                    "CustomField1": "Low",
                    "CustomField2": "true",
                    "CustomField3": "test",
                    "CustomField4": "",
                    "CustomField5": "",
                    "CustomField6": "",
                    "CustomField7": "",
                    "CustomField8": "",
                    "CustomField9": "",
                    "CustomField10": "",
                    "SourceTasks": [
                        {
                            "SourceTaskID": "1f98019f-3396-4370-bc2e-296f03fafdad",
                            "SourceTaskNumber": "SO-00379",
                            "SourceTaskType": 0,
                            "IsSourceTaskVoided": false
                            
                        },
                        {
                            "SourceTaskID": "56b43ed5-304c-4ef7-b4ae-7752e8ae2bfb",
                            "SourceTaskNumber": "SO-00378",
                            "SourceTaskType": 0,
                            "IsSourceTaskVoided": false
                        }
                    ],
                }]
            }


## Production Run [/production/order/run]
Production Run operations

<a name="ProductionRunStatus" />
### Available Statuses for Production Run
| Status              |
|:----------------------|
| PLANNED             |
| IN PROGRESS   |
| OPERATION_COMPLETED   |
| COMPLETED   |
| VOIDED   |

<a name="ProductionRunOperationStatus" />
### Available Statuses for Production Run Operation
| Status              |
|:----------------------|
| PLANNED             |
| IN PROGRESS   |
| SUSPENDED   |
| COMPLETED   |


### Available Fields for Production Run
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `RunID`              | Guid      |           |        | Unique identifier of Production Run.                                           |
| `Number`   | Int       |        |        | Readonly. Number of Production Run.                                             |
| `Status`              | String    |           |        | Readonly. Available <a href="#ProductionRunStatus"><b>values</b></a>. |
| `Quantity`            | Decimal    |           |        | Quantity to produce during the Run, value must be positive.                                    |
| `WIPAccount`         | String    |     50      |        | Work in Progress account.                                                |
| `StartDate`         | DateTime    |           |        | Readonly, nullable.                          |
| `EndDate`         | DateTime    |           |        | Readonly, nullable. |
| `DueDate`          | DateTime    |           |        | Readonly, nullable.                                               |
| `ReceivedDate`        | DateTime    |           |           | Readonly, nullable.                                                  |
| `ScheduleStart`         | DateTime    |           |        | Readonly, nullable.                          |
| `ScheduleDue`         | DateTime    |           |        | Readonly, nullable. |
| `Operations`             | Array <a href="#ProductionRunOperation">items<a/>   |           |           | Operation List of Production Run. Operations cannot be added or removed, some fields can be modified depending on operation's status.                                               |
| `Output`                  | Array <a href="#ProductionRunOutput">items<a/>    |           |           | Contains all finished products. Finished products can only be added to this array when an operation with finished products completed or the final operation in the sequence is completed.                                      |
| `PendingOutput`            | Array <a href="#ProductionRunPendingOutput">items<a/>    |           |           | Contains planned finished products. Products can be added here until all operations are finished. Products will be removed from here automatically by ProductID as they are added to the Output.                                                          |
| `ManualJournals`            | Array <a href="#ProductionRunManualJournal">items<a/>       |           |           | Manual Journals of Production Run. Readonly for PUT request. Use special url to update Manual Journals
| `Traceability`            | Array <a href="#ProductionRunTraceability">items<a/>       |           |           | Traceability of Production Run.
|`IssueMethodParameter`|String|||Ignored when IssueMethodComponent = Manual. Possible values: BackflushForBOM = 1, BackflushForOperation = 2, BackflushForComponent = 3 |
|`CustomField1`|String|||Value of Production Run's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Production Run's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Production Run's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Production Run's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Production Run's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Production Run's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Production Run's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Production Run's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Production Run's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Production Run's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Available Fields for Production Run Operation <a name="ProductionRunOperation"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `OperationID`              | Guid      |           |  Yes      | Unique identifier of Production Run Operation.                                           |
| `Status`   | String       |        |        | Readonly, Available <a href="#ProductionRunOperationStatus"><b>values</b></a>.                                            |
| `Order`              | Int    |           |        | Readonly. |
| `Name`            | String    |    512       |        | Operation's name. Can be updated only when operation has PLANNED status. In other cases, it will be ignored (readonly).                                   |
| `PlannedTime`         | Int    |           |        | Can be modified only for CoManufacturing operation with status PLANNED.                                          |
| `ActualTime`         | Int    |           |        | Can be modified only when operation status is COMPLETED.          |
| `UnitsPerCycle`         | Decimal    |           |        | Readonly. |
| `StartDate`          | DateTime    |           |        | Nullable. Can be modified only when operation status is PLANNED.                                              |
| `EndDate`          | DateTime    |           |        | Nullable. Can be modified only when operation status is IN PROGRESS.                                               |
| `DueDate`          | DateTime    |           |        | Readonly, nullable.                                               |
| `OperationType`        | String    |           |           | Readonly. Available <a href="#ProductionBOMOperationType"><b>values</b></a>.                                                |
| `WorkCenterID`        | Guid    |           |           | Can be modified only when operation status is PLANNED.                                                 |
| `WorkCenterCode`        | String    |           |           | Readonly.                                                  |
| `WorkCenterName`        | String    |           |           | Readonly.                                                  |
| `SuspendReason`        | String    |           |           | Readonly.                                                  |
| `CoManStatus`        | String    |           |           | Readonly. General status for CoManufacturing operation                                                 |
| `Components`             | Array <a href="#ProductionRunOperationComponent">items<a/>    |           |           | All components in the operation. Can be modified only when operation has not been completed.                                             |
| `Resources`                  | Array <a href="#ProductionRunOperationResource">items<a/>   |           |           | All resources in the operation.   |
| `ResourceCosts`            | Array <a href="#ProductionRunOperationResourceCost">items<a/>   |           |           | Resource costs for each resource. Can be updated for completed operations.                                                        |
| `FinishedProducts`            | Array <a href="#ProductionRunOperationProduct">items<a/>      |           |           |Readonly. List of Finished Products in operation. Can be updated via completing an operation. When a finished product is saved as an Output, only wastage products will be contained in this array.   |
| `OutputProducts`            | Array <a href="#ProductionRunOperationProduct">items<a/>      |           |           | Readonly. List of Output Products in operation. Can be updated via completing an operation.    |
| `InputProducts`            | Array <a href="#ProductionRunOperationProduct">items<a/>      |           |           | Readonly. |
| `CoManTasks`            | Array <a href="#ProductionRunOperationCoManTask">items<a/>        |           |           | Readonly. Contains all tasks initiated from starting the CoManufacturing operation.  |
| `CoManTaskLines`            | Array <a href="#ProductionRunOperationCoManLine">items<a/>         |           |           | Readonly. Output for CoManufacturing operation.  |
| `Attachments`            | Array <a href="#ProductionRunOperationAttachment">items<a/>         |           |           | List of attachments in operation. |
| `Notes`            | Array <a href="#ProductionRunOperationNote">items<a/>         |           |           | List of notes in operation. |
| `IsBackflush`        | bool    |           |           | It is used only when IssueMethodComponent = Backflush and IssueMethodParameter = BackflushForOperation|
| `ManualStartDate`        | Date|           |           | Is used only when Backdated Transaction is enabled in General Settings. Can be updated only when operation has status = 'PLANNED'. This overrides date of written off components.|
| `ManualEndDate`        | Date|           |           | Is used when Backdated Transaction is enabled in General Settings. Can be updated only when operation has status = 'IN PROGRESS'. This overrides the date of transaction for service products.|
|`CustomField1`|String|||Value of Production Operation's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Production Operation's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Production Operation's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Production Operation's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Production Operation's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Production Operation's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Production Operation's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Production Operation's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Production Operation's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Production Operation's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Available Fields for Production Run Operation Component <a name="ProductionRunOperationComponent"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `RunComponentID`              | Guid      |           |        |Readonly.                                          |
| `ProductID`   | Guid       |        |        |   Identifier product, required if ProductCode is empty, has a higher priority over the ProductCode.                                    |
| `ProductCode`              | String    |    50       |        | SKU product, required if ProductID is empty. |
| `ProductName`            | String    |           |        | Readonly.                                  |
| `Quantity`         | Decimal    |           |        | Actual quantity.                                         |
| `ExpectedQuantity`         | Decimal    |           |        | Readonly.         |
| `WastageQty`         | Decimal    |           |        | Wastage quantity.|
| `WastagePercent`          | Decimal    |           |        | Readonly.                                           |
| `BatchSN`          | String    |      50     |        | Can be modified ony when operation status is IN PROGRESS.                                              |
| `ExpiryDate`          | DateTime    |           |        | Nullable.                                               |
| `UnitCost`        | Decimal    |           |           | Readonly.                                               |
| `LocationID`        | Guid    |           |           | Use as location identifier.                                                |
| `LocationName`        | String    |           |           | Also can be used as location identifier. Using format: <b>LocationName:BinName</b>.                                              |
| `ProductCost`        | String    |           |           | Readonly.                                                  |
| `Available`             | Decimal    |           |           | Available quantity in stock.                                             |
| `CostingMethod`                  | String    |           |           | Readonly. Product costing method.  |
| `Unit`            | String    |           |           | Readonly. Product unit of measure.                                                          |
| `ReservedQuantity`            | Decimal       |           |           |Readonly. Quantity of reserved components. |
| `IsReserved`            | Bool       |           |           | Set 'true' to reserve current component with Quantity > 0 and Quantity <= Available.   |
| `IsBackflush`        | bool    |           |           | It is used only when IssueMethodComponent = Backflush and IssueMethodParameter = BackflushForComponent|

### Available Fields for Production Run Operation Resource <a name="ProductionRunOperationResource"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `RunResourceID`   | Guid       |        |    Yes*    | Unique identifier of Production Run Resource. Required for Update action.                                             |
| `ResourceID`              | Guid      |           |        |Identifier resource, required if ResourceCode is empty, has a higher priority over the ResourceCode                                          |
| `ResourceCode`   | Guid       |        |        |   Identifier resource, required if ResourceID is empty                                   |
| `ResourceName`              | String    |    50       |        | Readonly.|
| `UnitCost`            | Decimal    |           |        | Readonly                                  |
| `Quantity`         | Decimal    |           |        | Actual quantity                                         |
| `Cost`         | Decimal    |           |        | Readonly.         |
| `CycleTime`         | Decimal    |           |        | Readonly|

### Available Fields for Production Run Operation Resource Cost <a name="ProductionRunOperationResourceCost"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `RunCostID`              | Guid      |           |   Yes     ||
| `ProductID`   | Guid       |        |   Yes     |   Identifier service product from Resource|
| `ProductName`   | String       |        |        |   Readonly.|
| `AccountName`              | String    |    50       |        | Readonly.|
| `ExpenseAccount`            | String    |     50      |        | Code account                                  |
| `Comments`         | String    |           |    256    |                                       |
| `Cost`         | Decimal    |           |   Yes     |         |


### Available Fields for Production Run Operation Product <a name="ProductionRunOperationProduct"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ProductID`   | Guid       |        |        | Readonly. Identifier product|
| `ProductSKU`              | String    |    50       |        |Readonly.|
| `ProductName`            | String    |           |        | Readonly.                                  |
| `Unit`            | String    |           |           | Readonly. Product unit of measure.   
| `OutputQuantity`         | Decimal    |           |        | Readonly.                                         |
| `ExpectedQuantity`         | Decimal    |           |        | Readonly.         |
| `WastageQuantity`         | Decimal    |           |        | Readonly.|
| `BatchSN`          | String    |      50     |        | Readonly.                                             |
| `ExpiryDate`          | DateTime    |           |        |Readonly. Nullable.                                               |
| `LocationID`        | Guid    |           |           |    Readonly. Nullable.                                        |
| `LocationName`        | String    |           |           | Readonly.  |

### Available Fields for Production Run Operation CoMan Task <a name="ProductionRunOperationCoManTask"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `TaskID`   | Guid       |        |        | Readonly. Identifier task|
| `Type`              | String    |           |        |Readonly. Available values 'PurchaseTask', 'SaleTask', 'TransferTask'  |
| `TaskStatus`            | String    |           |        | Readonly.                                  |
| `TaskNumber`            | String    |           |           | Readonly.|   

### Available Fields for Production Run Operation CoMan Line <a name="ProductionRunOperationCoManLine"/>
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `TaskID`   | Guid       |        |        | Readonly. Identifier task|
| `ProductID`   | Guid       |        |        | Readonly. Identifier product|
| `ProductCode`              | String    |    50       |        |Readonly.|
| `ProductName`            | String    |           |        | Readonly.                                  |
| `Unit`            | String    |           |           | Readonly. Product unit of measure .   |
| `Quantity`         | Decimal    |           |        | Readonly.                                         |
| `Cost`         | Decimal    |           |        | Readonly.         |
| `BatchSN`          | String    |      50     |        | Readonly.                                             |
| `ExpiryDate`          | DateTime    |           |        |Readonly. Nullable.                                               |
| `LocationID`        | Guid    |           |           |    Readonly. Nullable.                                        |
| `LocationName`        | String    |           |           | Readonly.  |
| `ReceivedDate`          | DateTime    |           |        |Readonly. Nullable.                                               |

### Available Fields for Production Run Operation Attachment <a name="ProductionRunOperationAttachment" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `AttachmentID`   | Guid       |        |    Yes*    | Unique identifier of Production Run Operation Attachment. Required for Update action.                                            |
| `FileName`            | String    |   256        |||
| `Date`         | DateTime    |   |     | Readonly|
| `ContentType`         | String    |  256         |   | Readonly. | 
| `Position`         | Integer    |           |  Yes   ||
| `Content`          | String    |           |  Yes*   |Base64 string of binary file content. Required when attachment is being created.|

### Available Fields for Production Run Operation Note <a name="ProductionRunOperationNote" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `NoteID`   | Guid       |        |    Yes*    | Unique identifier of Production Run Operation Note. Required for Update action.                                             |
| `Note`            | String    |   4000        |||
| `Position`         | Integer    |           |  Yes   ||

### Available Fields for Production Run Pending Output <a name="ProductionRunPendingOutput" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ProductID`   | Guid       |        |        |   Identifier product, required if ProductCode is empty, has a higher priority over the ProductCode.                                    |
| `ProductCode`              | String    |    50       |        | SKU product, required if ProductID is empty. |
| `ProductName`            | String    |           |        | Readonly.                                  |
| `Unit`            | String    |           |           | Readonly. Product unit of measure.   |
| `CostingMethod`            | String    |           |           | Readonly.  |
| `BatchSN`          | String    |      50     |        | Pending batch/serial number.                                            |
| `ExpiryDate`          | DateTime    |           |        |Required for folowing product's CostingMethod: FEBATCH, FESN.                                         |

### Available Fields for Production Run Pending Output <a name="ProductionRunOutput" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `ProductID`   | Guid       |        |        |   Identifier product, required if ProductCode is empty, has a higher priority over the ProductCode.                                    |
| `ProductCode`              | String    |    50       |        | SKU product, required if ProductID is empty. |
| `ProductName`            | String    |           |        | Readonly.                                  |
| `Unit`            | String    |           |           | Readonly. Product unit of measure .   |
| `CostingMethod`            | String    |           |           | Readonly.  |
| `BatchSN`          | String    |      50     |        | Pending batch/serial number.                                            |
| `ExpiryDate`          | DateTime    |           |        |Required for folowing product's CostingMethod: FEBATCH, FESN.                                         |
| `UnitCost`          | Decimal    |           |        |Readonly. Nullable.                                 |
| `Quantity`         | Decimal    |           |    Yes    |          |
| `WastageQuantity`         | Decimal    |           |    Yes    | |
| `ReceivedDate`          | DateTime    |           |    Yes    ||
| `Received`          | Boolean    |           |    Yes    ||
| `LocationID`        | Guid    |           |           | Location identifier.                                                |
| `LocationName`        | String    |           |           | Also can be used as location identifier. Using format: <b>LocationName:BinName</b>.                                              |
|`CustomField1`|String|||Value of Production Run Output additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|String|||Value of Production Run Output additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|String|||Value of Production Run Output additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|String|||Value of Production Run Output additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|String|||Value of Production Run Output additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|String|||Value of Production Run Output additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|String|||Value of Production Run Output additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|String|||Value of Production Run Output additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|String|||Value of Production Run Output additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|String|||Value of Production Run Output additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Available Fields for Production Run Manual Journal <a name="ProductionRunManualJournal" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `JournalID`   | Guid       |        |    Yes*    | Unique identifier of Production Run Manual Journals. Required for Update action.                                             |
| `Reference`   | String       |   50     |        |          |
| `Amount`              | Decimal    |    50       |    Yes    | |
| `Date`            | DateTime    |           |   Yes     | |
| `Debit`            | String    |      50     |     Yes      | Account code.  |
| `Credit`            | String    |     50      |     Yes      | Account code.  |
| `OperationID`          | Guid    |           |        | Nullable, Operation identifier.                                          |
| `OperationName`          | String    |           |        |Readonly. |

### Available Fields for Production Run Traceability <a name="ProductionRunTraceability" />
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
| `TraceabilityID`   | Guid       |        |    Yes*    | Unique identifier of Production Run Traceability. Required for Update action.                                             |
| `ProducedProductID`   | Guid       |       |  Yes      | Identifier of Produced finished product         |
| `ProducedProductBatchSN`              | String    |    50       |    Yes    | Batch/Serial Number of Produced finished product|
| `ProducedProductExpiryDate`            | DateTime    |           |   No     | Expiry Date of Produced finished product|
| `UsedProductID`   | Guid       |       |  Yes      |  Identifier of Used Component           |
| `UsedProductBatchSN`              | String    |    50       |    Yes    |Batch/Serial Number of Used Component  |
| `UsedProductExpiryDate`            | DateTime    |           |   No     | Expiry Date of Used Component |


### POST [POST /production/order/run]
+ Method will create new Runs.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "IncreaseOrderQuantity": true,
                "Runs": [
                {
                    "Quantity":5,
                    "WIPAccount":"12345"
                }
                ]
            }


+ Response 200 (application/json)

    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "OrderNumber": "MO-00485",
                "Runs": [
                    {
                        "RunID": "5dae221f-7c8d-403d-91b5-1b48c01fcfc1",
                        "Number": 2,
                        "Status": "PLANNED",
                        "Quantity": 1.0000000000,
                        "WIPAccount": "12345",
                        "StartDate": null,
                        "EndDate": null,
                        "DueDate": null,
                        "ReceivedDate": null,
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "ea571947-c937-4e2a-a030-952801687c83",
                                "Status": "PLANNED",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 1800,
                                "ActualTime": null,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": null,
                                "EndDate": null,
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "d883b80e-a61a-4ed1-a233-938a78f10b0b",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 0.0,
                                        "ExpectedQuantity": 2.00000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": null,
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000,
                                        "Available": 15.7000,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "ReservedQuantity": null,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    },
                                    {
                                        "RunComponentID": "bd014ea6-8108-40f7-bae5-4c3cd6bdced7",
                                        "ProductID": "ca65670f-31bb-4209-a69a-47a96c89c5af",
                                        "ProductName": "Flour",
                                        "ProductCode": "Flour1",
                                        "Quantity": 0.0,
                                        "ExpectedQuantity": 0.50000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": null,
                                        "ExpiryDate": null,
                                        "UnitCost": 1.9000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.9000,
                                        "Available": 87.5500,
                                        "CostingMethod": "FIFO",
                                        "Unit": "kg",
                                        "ReservedQuantity": null,
                                        "IsReserved": false
                                    },
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            },
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": [],
                        "Traceability": []
                    }
                ]
            }

### GET [GET /production/order/run?ProductionOrderID={ProductionOrderID}&IncludeAttachmentContent={IncludeAttachmentContent}]
+ Method will return all Runs.

+ Parameters
    + ProductionOrderID (required, guid) ... Production Order identifier
    + IncludeAttachmentContent (optional, boolean) ... Will be returned content for attachments.
        + Default: false

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)

    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "OrderNumber": "MO-00485",
                "Runs": [
                    {
                        "RunID": "5dae221f-7c8d-403d-91b5-1b48c01fcfc1",
                        "Number": 2,
                        "Status": "PLANNED",
                        "Quantity": 1.0000000000,
                        "WIPAccount": "12345",
                        "StartDate": null,
                        "EndDate": null,
                        "DueDate": null,
                        "ReceivedDate": null,
                        "ScheduleStart": null,
                        "ScheduleDue": null,
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "ea571947-c937-4e2a-a030-952801687c83",
                                "Status": "PLANNED",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 1800,
                                "ActualTime": null,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": null,
                                "EndDate": null,
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "d883b80e-a61a-4ed1-a233-938a78f10b0b",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 0.0,
                                        "ExpectedQuantity": 2.00000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": null,
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000,
                                        "Available": 15.7000,
                                        "CostingMethod": "FIFO",
                                        "Unit": "Item",
                                        "ReservedQuantity": null,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    },
                                    {
                                        "RunComponentID": "bd014ea6-8108-40f7-bae5-4c3cd6bdced7",
                                        "ProductID": "ca65670f-31bb-4209-a69a-47a96c89c5af",
                                        "ProductName": "Flour",
                                        "ProductCode": "Flour1",
                                        "Quantity": 0.0,
                                        "ExpectedQuantity": 0.50000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": null,
                                        "ExpiryDate": null,
                                        "UnitCost": 1.9000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.9000,
                                        "Available": 87.5500,
                                        "CostingMethod": "FIFO",
                                        "Unit": "kg",
                                        "ReservedQuantity": null,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    },
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            },
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": [],
                        "Traceability": [
                            {
                                "TraceabilityID": "018f855c-c72c-4ea3-9bbe-0def06347257",
                                "ProducedProductID": "48dc7ed4-6c31-4db5-b9f3-951b3d638cd0",
                                "ProducedProductBatchSN": "MO-00712/1-1",
                                "ProducedProductExpiryDate": null,
                                "UsedProductID": "7e2c23da-ea12-4443-976e-3a50644a7548",
                                "UsedProductBatchSN": "ch3-2",
                                "UsedProductExpiryDate": "2021-02-27T00:00:00"
                            },
                            {
                                "TraceabilityID": "6e089acd-02db-4704-9cc6-855fc8866260",
                                "ProducedProductID": "93e0784e-81d1-4f16-b455-d72fb4dc13d4",
                                "ProducedProductBatchSN": "MO-00712/1-1",
                                "ProducedProductExpiryDate": null,
                                "UsedProductID": "68690305-1072-4244-8811-79a20473eef3",
                                "UsedProductBatchSN": "batch-5",
                                "UsedProductExpiryDate": "2021-09-30T00:00:00"
                            }
                        ]
                    }
                ]
            }
            
### PUT [PUT /production/order/run?ProductionOrderID={ProductionOrderID}&IncreaseOrderQuantity={IncreaseOrderQuantity}]
+ Method will update Run.

+ Parameters
    + ProductionOrderID (required, guid) ... Production Order identifier
    + IncreaseOrderQuantity (required, bool) ... Will increase order quantity if sum all run's quantity more then order quantity.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9"",
                "Quantity": 15.0000000000
            }


+ Response 200 (application/json)
    + Body

            {
                "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                "Number": 1,
                "Status": "IN PROGRESS",
                "Quantity": 10.0000000000,
                "WIPAccount": "1600",
                "StartDate": "2021-03-05T00:00:00",
                "EndDate": null,
                "DueDate": null,
                "ReceivedDate": "2021-04-01T00:00:00",
                "IssueMethodParameter": 1,
                "Operations": [
                    {
                        "OperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                        "Status": "SUSPENDED",
                        "Order": 0,
                        "Name": "Mixing",
                        "PlannedTime": 18000,
                        "ActualTime": 8,
                        "UnitsPerCycle": 1.0000000000,
                        "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                        "WorkCenterName": "Mixing Area",
                        "OperationType": "Manufacturing",
                        "WorkCenterCode": "WC2",
                        "StartDate": "2021-03-05T00:00:00",
                        "EndDate": null,
                        "DueDate": null,
                        "IsDropShip": false,
                        "IsBackflush": false,
                        "Components": [
                            {
                                "RunComponentID": "e5557655-5c89-46f3-a5a9-8139c2b82226",
                                "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                "ProductName": "Eggs",
                                "ProductCode": "Eggs1",
                                "Quantity": 20.0000000000,
                                "ExpectedQuantity": 20.0000000000,
                                "WastageQty": 0.0000000000,
                                "WastagePercent": 0.0000000000,
                                "BatchSN": "",
                                "ExpiryDate": null,
                                "UnitCost": 1.2000,
                                "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                "LocationName": "LA Shop Floor",
                                "ProductCost": 1.2000000000,
                                "Available": 250.5000,
                                "CostingMethod": null,
                                "Unit": "Item",
                                "ReservedQuantity": 0.0000000000,
                                "IsReserved": false,
                                "IsBackflush": false
                            },
                        ],
                        "Resources": [
                            {
                                "RunResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5b",
                                "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                "ResourceName": "Mixer",
                                "ResourceCode": "R-4",
                                "UnitCost": 6.0000,
                                "Quantity": 1.00,
                                "Cost": 6.0000,
                                "CycleTime": 3600,
                                "Available": 0
                            }
                        ],
                        "Attachments": [
                            {
                                "AttachmentID": "a3a3b8de-efec-4a5a-8046-542d221865d5",
                                "FileName": "qwe2.txt",
                                "Date": "2021-03-05T04:35:14.647Z",
                                "ContentType": "text/plain",
                                "Content": null,
                                "Position": 1
                            },
                             {
                                "FileName": "qwe2.txt",
                                "Content": "ZGYga2pkbGZna2ogZGZna2pkIGxma3ZkbGZramJkZmpiIGRrYmxm",
                                "Position": 2
                            }
                        ],
                        "Notes": [],
                    }
                ]
            }


### Complete Run [PUT /production/order/run/complete]
+ Method will complete Run.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ProductionRunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "EffectiveDate": "2021-03-05T00:00:00",
                "FinishedProducts": [
                {
                    "Quantity": 4920.0000000000,
                    "WastageQuantity": 0.0,
                    "Received": true,
                    "ReceivedDate": "2022-05-12T00:00:00",
                    "LocationID": "70c7737c-4233-4655-a960-f7cd742bab4b",
                    "ProductID": "27670203-9136-4ef8-96c3-33ffc41149da",
                    "BatchSN": "MO-01753/1-1",
                    "ExpiryDate": null
                }]
            }


+ Response 200 (application/json)
    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "OrderNumber": "MO-01753",
                "Runs": [
                    {
                        "RunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                        "Number": 1,
                        "Status": "COMPLETED",
                        "Quantity": 4920.0000000000,
                        "WIPAccount": "1325",
                        "StartDate": "2022-05-12T00:00:00",
                        "EndDate": "2022-05-12T00:00:00",
                        "DueDate": null,
                        "ReceivedDate": "2022-05-12T00:00:00",
                        "ScheduleStart": "2022-05-12T12:26:00Z",
                        "ScheduleDue": "2022-05-12T12:26:00Z",
                        "IssueMethodParameter": 0,
                        "Operations": [
                            {
                                "OperationID": "bc2e1ce7-50bb-8484-e671-c8155d9557d6",
                                "Status": "COMPLETED",
                                "Order": 0,
                                "Name": "OPer 1",
                                "PlannedTime": 1416960,
                                "ActualTime": 4,
                                "UnitsPerCycle": 100.0000000000,
                                "WorkCenterID": "9ad4366d-172f-4712-81ae-681efadc0205",
                                "WorkCenterName": "Main kitchen",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC1",
                                "StartDate": "2022-05-12T00:00:00",
                                "EndDate": "2022-05-12T00:00:00",
                                "DueDate": null,
                                "IsDropShip": false,
                                "Components": [
                                    {
                                        "RunComponentID": "486df13b-5f96-4266-904c-29c07d1e688d",
                                        "ProductID": "7e2c23da-ea12-4443-976e-3a50644a7548",
                                        "ProductName": "Cheese - Vityaz 70% (BATCH)",
                                        "ProductCode": "Cheese3",
                                        "Quantity": 0.4503000000,
                                        "ExpectedQuantity": 1.2103000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "PO-00538-1",
                                        "ExpiryDate": null,
                                        "UnitCost": 10.0000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 10.2481000000,
                                        "Available": 0.0000,
                                        "CostingMethod": "BATCH",
                                        "Unit": "kg",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Resources": [],
                                "ResourceCosts": [],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "IsBackflush": false,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            }
                        ],
                        "Output": [
                            {
                                "ProductName": "Product Name",
                                "Unit": "Item",
                                "UnitCost": 0.0015000,
                                "CostingMethod": "BATCH",
                                "Quantity": 4920.0000000000,
                                "WastageQuantity": 0.0,
                                "Received": true,
                                "ReceivedDate": "2022-05-12T00:00:00",
                                "LocationID": "70c7737c-4233-4655-a960-f7cd742bab4b",
                                "LocationName": "Shopfloor Name",
                                "ProductID": "27670203-9136-4ef8-96c3-33ffc41149da",
                                "ProductCode": "SKU1",
                                "BatchSN": "MO-01753/1-1",
                                "ExpiryDate": null
                            }
                        ],
                        "PendingOutput": [],
                        "ManualJournals": [],
                        "Traceability": []
                    }
                ]
            }

### Undo Run [PUT /production/order/run/undo]
+ Method will undo Run.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ProductionRunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ApplyToRelatedTasks": true
            }


+ Response 200 (application/json)

    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ProductionRunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ApplyToRelatedTasks": true,
                "ErrorMessage":""
            }

### Void Run [PUT /production/order/run/void]
+ Method will void Run.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ProductionRunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ApplyToRelatedTasks": true
            }


+ Response 200 (application/json)

    + Body

            {
                "ProductionOrderID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ProductionRunID": "1c634596-eb51-4ff1-828b-ee1b42a9a5f1",
                "ApplyToRelatedTasks": true,
                "ErrorMessage":""
            }
            
            
### Update Manual Journals [PUT /production/order/run/manualJournal?ProductionOrderID={ProductionOrderID}]
+ Method will create or update Manual Journals of Run.

+ Parameters
    + ProductionOrderID (required, guid) ... Production Order identifier
    
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

            {
                "RunID": "2f4b8820-3676-4795-b867-4ba28ad84df7",
                "ManualJournals": [
                                {
                                    "Reference": "ref 1",
                                    "Amount": 34.0000,
                                    "Date": "2021-02-22T00:00:00",
                                    "Debit": "1320",
                                    "Credit": "1530",
                                    "OperationID": "feef1b7d-58c8-4c81-9ba0-4f24a4dbeba6"
                                },
                                {
                                    "JournalID": "feef1b7d-58c8-4c81-9ba0-4f24a4dbeba5"
                                    "Reference": "ref 2",
                                    "Amount": 12.0000,
                                    "Date": "2021-02-22T00:00:00",
                                    "Debit": "1320",
                                    "Credit": "1530"
                                }
                ]
            }



+ Response 200 (application/json)
    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "44ea87b5-f104-479e-9d78-4427f192cb41",
                "OrderNumber": "MO-00482",
                "Runs": [
                    {
                        "RunID": "2f4b8820-3676-4795-b867-4ba28ad84df7",
                        "Number": 1,
                        "Status": "COMPLETED",
                        "Quantity": 3.0000000000,
                        "WIPAccount": "1600",
                        "StartDate": "2021-02-22T00:00:00",
                        "EndDate": "2021-02-22T00:00:00",
                        "DueDate": null,
                        "ReceivedDate": "2021-02-22T00:00:00",
                        "Operations": [
                            {
                                "OperationID": "09d05e7c-d960-416a-8036-8c3b89e41dd1",
                                "Status": "COMPLETED",
                                "Order": 0,
                                "Name": "Mixing new name",
                                "PlannedTime": 5400,
                                "ActualTime": 7,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": "2021-02-22T00:00:00",
                                "EndDate": "2021-02-23T00:00:00",
                                "DueDate": null,
                                "IsDropShip": false,
                                "Components": [
                                    {
                                        "RunComponentID": "82e4f443-5999-4e2c-83ff-5ea544b0848c",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 0.6000000000,
                                        "ExpectedQuantity": 0.60000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": null,
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000000000,
                                        "Available": 250.5000,
                                        "CostingMethod": null,
                                        "Unit": "Item",
                                        "ReservedQuantity": 0.6000000000,
                                        "IsReserved": true
                                    }
                                ],
                                "Resources": [],
                                "ResourceCosts": [],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            },
                        ],
                        "Output": [
                            {
                                "ProductName": "Cheese - Vityaz 35% - pack 100 gramm",
                                "Unit": "pack",
                                "UnitCost": 14.3320000,
                                "CostingMethod": "SN",
                                "Quantity": 1.0000000000,
                                "WastageQuantity": 0.0,
                                "Received": true,
                                "ReceivedDate": "2021-02-22T00:00:00",
                                "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                "LocationName": "LA Shop Floor",
                                "ProductID": "c0392612-fdbb-4816-8a5c-299753b615c0",
                                "ProductCode": "Cheese4",
                                "BatchSN": "MO-00482/1-1",
                                "ExpiryDate": null
                            }
                        ],
                        "PendingOutput": [],
                        "ManualJournals": [
                            {
                                "Reference": "ref 1",
                                "Amount": 34.0000,
                                "Date": "2021-02-22T00:00:00",
                                "Debit": "1320",
                                "Credit": "1530",
                                "OperationID": "feef1b7d-58c8-4c81-9ba0-4f24a4dbeba6",
                                "OperationName": "Co-man operation"
                            },
                            {
                                "Reference": "ref 2",
                                "Amount": 12.0000,
                                "Date": "2021-02-22T00:00:00",
                                "Debit": "1320",
                                "Credit": "1530",
                                "OperationID": null,
                                "OperationName": null
                            }
                        ]
                    },
                ]
            }
            
            
### Start Run Operation [PUT /production/order/run/operation/start]
+ Method will start operation. 

"InputProducts" - (optional) is used only if we want to send specific quantity or batch for input products.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID":"0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "ProductionRunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                "RunOperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                "WithAutoConsume":false,
                "ManualStartDate":"2022-07-07",
                "InputProducts":[
                    {
                        "ProductID":null,
                        "ProductCode":"T-2",
                        "BatchSN":"1234",
                        "Quantity":2
                    }
                ]
            }



+ Response 200 (application/json)

    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "OrderNumber": "MO-00486",
                "Runs": [
                    {
                        "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                        "Number": 1,
                        "Status": "IN PROGRESS",
                        "Quantity": 10.0000000000,
                        "WIPAccount": "1600",
                        "StartDate": "2021-03-08T00:00:00",
                        "EndDate": null,
                        "DueDate": null,
                        "ReceivedDate": "2021-04-01T00:00:00",
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                                "Status": "IN PROGRESS",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 18000,
                                "ActualTime": null,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": "2021-03-08T00:00:00",
                                "EndDate": null,
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "e5557655-5c89-46f3-a5a9-8139c2b82226",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 20.0000000000,
                                        "ExpectedQuantity": 20.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "",
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000000000,
                                        "Available": 250.5000,
                                        "CostingMethod": null,
                                        "Unit": "Item",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [
                                    {
                                        "RunCostID": "e87d7197-cc4b-407a-9085-06f6c6eba0e6",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Purchase Discount",
                                        "ExpenseAccount": "5100",
                                        "Comments": null,
                                        "Cost": 17.5000
                                    },
                                    {
                                        "RunCostID": "4970c1d1-0e0a-49f3-8a9f-84e50729e24d",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Subcontractors",
                                        "ExpenseAccount": "5300",
                                        "Comments": null,
                                        "Cost": 12.5000
                                    }
                                ],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [
                                    {
                                        "AttachmentID": "a3a3b8de-efec-4a5a-8046-542d221865d5",
                                        "FileName": "qwe2.txt",
                                        "Date": "2021-03-05T04:35:14.647Z",
                                        "ContentType": "text/plain",
                                        "Content": "ZGYga2pkbGZna2ogZGZna2pkIGxma3ZkbGZramJkZmpiIGRrYmxm",
                                        "Position": 1
                                    }
                                ],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": "2022-07-07",
                                "ManualEndDate": null
                            }
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": []
                    }
                ]
            }

### Suspend Run Operation [PUT /production/order/run/operation/suspend]
+ Method will suspend operation.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID":"0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "ProductionRunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                "RunOperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                "SuspendReasonID":"68D56636-1B47-4780-BFFD-4202C4C2DA1B"
            }

+ Response 200 (application/json)

    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "OrderNumber": "MO-00486",
                "Runs": [
                    {
                        "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                        "Number": 1,
                        "Status": "IN PROGRESS",
                        "Quantity": 10.0000000000,
                        "WIPAccount": "1600",
                        "StartDate": "2021-03-08T00:00:00",
                        "EndDate": null,
                        "DueDate": null,
                        "ReceivedDate": "2021-04-01T00:00:00",
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                                "Status": "SUSPENDED",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 18000,
                                "ActualTime": null,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": "2021-03-08T00:00:00",
                                "EndDate": null,
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "e5557655-5c89-46f3-a5a9-8139c2b82226",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 20.0000000000,
                                        "ExpectedQuantity": 20.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "",
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000000000,
                                        "Available": 250.5000,
                                        "CostingMethod": null,
                                        "Unit": "Item",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [
                                    {
                                        "RunCostID": "e87d7197-cc4b-407a-9085-06f6c6eba0e6",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Purchase Discount",
                                        "ExpenseAccount": "5100",
                                        "Comments": null,
                                        "Cost": 17.5000
                                    },
                                    {
                                        "RunCostID": "4970c1d1-0e0a-49f3-8a9f-84e50729e24d",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Subcontractors",
                                        "ExpenseAccount": "5300",
                                        "Comments": null,
                                        "Cost": 12.5000
                                    }
                                ],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [
                                    {
                                        "AttachmentID": "a3a3b8de-efec-4a5a-8046-542d221865d5",
                                        "FileName": "qwe2.txt",
                                        "Date": "2021-03-05T04:35:14.647Z",
                                        "ContentType": "text/plain",
                                        "Content": "ZGYga2pkbGZna2ogZGZna2pkIGxma3ZkbGZramJkZmpiIGRrYmxm",
                                        "Position": 1
                                    }
                                ],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            }
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": []
                    }
                ]
            }
    
### Resume Run Operation [PUT /production/order/run/operation/resume]
+ Method will resume operation.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "ProductionOrderID":"0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "ProductionRunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                "RunOperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea"
            }

+ Response 200 (application/json)

    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "OrderNumber": "MO-00486",
                "Runs": [
                    {
                        "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                        "Number": 1,
                        "Status": "IN PROGRESS",
                        "Quantity": 10.0000000000,
                        "WIPAccount": "1600",
                        "StartDate": "2021-03-08T00:00:00",
                        "EndDate": null,
                        "DueDate": null,
                        "ReceivedDate": "2021-04-01T00:00:00",
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                                "Status": "IN PROGRESS",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 18000,
                                "ActualTime": null,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": "2021-03-08T00:00:00",
                                "EndDate": null,
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "e5557655-5c89-46f3-a5a9-8139c2b82226",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 20.0000000000,
                                        "ExpectedQuantity": 20.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "",
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000000000,
                                        "Available": 250.5000,
                                        "CostingMethod": null,
                                        "Unit": "Item",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [
                                    {
                                        "RunCostID": "e87d7197-cc4b-407a-9085-06f6c6eba0e6",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Purchase Discount",
                                        "ExpenseAccount": "5100",
                                        "Comments": null,
                                        "Cost": 17.5000
                                    },
                                    {
                                        "RunCostID": "4970c1d1-0e0a-49f3-8a9f-84e50729e24d",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Subcontractors",
                                        "ExpenseAccount": "5300",
                                        "Comments": null,
                                        "Cost": 12.5000
                                    }
                                ],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [
                                    {
                                        "AttachmentID": "a3a3b8de-efec-4a5a-8046-542d221865d5",
                                        "FileName": "qwe2.txt",
                                        "Date": "2021-03-05T04:35:14.647Z",
                                        "ContentType": "text/plain",
                                        "Content": "ZGYga2pkbGZna2ogZGZna2pkIGxma3ZkbGZramJkZmpiIGRrYmxm",
                                        "Position": 1
                                    }
                                ],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": null,
                                "ManualEndDate": null
                            }
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": []
                    }
                ]
            }

### Complete Run Operation [PUT /production/order/run/operation/complete]
+ Method will complete operation.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    
    + Body

            {
                "ProductionOrderID":"0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "ProductionRunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                "RunOperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                "WithAutoConsume":false,
                "WithoutOutput":true,
                "AutoGenerateBatchSerialNumbers":false,
                "ManualEndDate":"2022-07-07",
                "FinishedProducts":[
                    {
                        "Quantity": 5.0000000000,
                        "WastageQuantity": 0.0,
                        "BatchSN": "MO-00485/1-1",
                        "ExpiryDate": null,
                        "ReceivedDate": "2021-03-01T05:26:25.08Z",
                        "LocationID": "1bdcc906-fddd-4205-959b-720dea24af72",
                        "ProductID": "48dc7ed4-6c31-4db5-b9f3-951b3d638cd0"
                    },
                    {
                        "Quantity": 1.0000000000,
                        "WastageQuantity": 0.0,
                        "BatchSN": "MO-00485/1-2",
                        "ExpiryDate": "2021-03-03T00:00:00",
                        "ReceivedDate": "2021-03-01T05:26:25.08Z",
                        "LocationID": "1bdcc906-fddd-4205-959b-720dea24af72",
                        "ProductID": "188a5e9c-59cb-4de9-8656-2ac2d13ad7e0",
                    },
                    {
                        "Quantity": 1.0000000000,
                        "WastageQuantity": 0.0,
                        "BatchSN": "MO-00485/1-4",
                        "ExpiryDate": "2021-03-03T00:00:00",
                        "ReceivedDate": "2021-03-01T05:26:25.08Z",
                        "LocationID": "1bdcc906-fddd-4205-959b-720dea24af72",
                        "ProductID": "188a5e9c-59cb-4de9-8656-2ac2d13ad7e0",
                    },
                     {
                        "Quantity": 0.0000000000,
                        "WastageQuantity": 1.0,
                        "BatchSN": "MO-00485/1-3",
                        "ExpiryDate": "2021-03-03T00:00:00",
                        "ReceivedDate": "2021-03-01T05:26:25.08Z",
                        "Received": true,
                        "LocationID": "1bdcc906-fddd-4205-959b-720dea24af72",
                        "ProductID": "188a5e9c-59cb-4de9-8656-2ac2d13ad7e0"
                    }
                ]
            }

+ Response 200 (application/json)

    + Body

            {
                "Warnings": [],
                "ProductionOrderID": "0230bf59-59b3-4a3e-9fc8-aedcbb6b2815",
                "OrderNumber": "MO-00486",
                "Runs": [
                    {
                        "RunID": "a093ae70-c620-2318-c470-db45feb1ebf9",
                        "Number": 1,
                        "Status": "OPERATIONS COMPLETED",
                        "Quantity": 10.0000000000,
                        "WIPAccount": "1600",
                        "StartDate": "2021-03-08T00:00:00",
                        "EndDate": "2021-03-08T00:00:00",
                        "DueDate": null,
                        "ReceivedDate": "2021-04-01T00:00:00",
                        "IssueMethodParameter": 1,
                        "Operations": [
                            {
                                "OperationID": "e7659fbb-f5e4-0fd8-3b55-9a53bbf842ea",
                                "Status": "COMPLETED",
                                "Order": 0,
                                "Name": "Mixing",
                                "PlannedTime": 18000,
                                "ActualTime": 1067,
                                "UnitsPerCycle": 1.0000000000,
                                "WorkCenterID": "d8c64083-e8cf-4705-bb6c-abd2d5a2183a",
                                "WorkCenterName": "Mixing Area",
                                "OperationType": "Manufacturing",
                                "WorkCenterCode": "WC2",
                                "StartDate": "2021-03-08T00:00:00",
                                "EndDate": "2021-03-08T00:00:00",
                                "DueDate": null,
                                "IsDropShip": false,
                                "IsBackflush": false,
                                "Components": [
                                    {
                                        "RunComponentID": "e5557655-5c89-46f3-a5a9-8139c2b82226",
                                        "ProductID": "c01846b3-a33b-47a6-baba-bfd4f85df9c6",
                                        "ProductName": "Eggs",
                                        "ProductCode": "Eggs1",
                                        "Quantity": 20.0000000000,
                                        "ExpectedQuantity": 20.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "",
                                        "ExpiryDate": null,
                                        "UnitCost": 1.2000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.2000000000,
                                        "Available": 250.5000,
                                        "CostingMethod": null,
                                        "Unit": "Item",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    },
                                    {
                                        "RunComponentID": "84ad525f-21ed-4821-ba7d-f132c51ebbb5",
                                        "ProductID": "ca65670f-31bb-4209-a69a-47a96c89c5af",
                                        "ProductName": "Flour",
                                        "ProductCode": "Flour1",
                                        "Quantity": 5.0000000000,
                                        "ExpectedQuantity": 5.0000000000,
                                        "WastageQty": 0.0000000000,
                                        "WastagePercent": 0.0000000000,
                                        "BatchSN": "",
                                        "ExpiryDate": null,
                                        "UnitCost": 1.9000,
                                        "LocationID": "92974be9-c7e0-4866-bf0f-24a244012c61",
                                        "LocationName": "LA Shop Floor",
                                        "ProductCost": 1.9000000000,
                                        "Available": 298.3167,
                                        "CostingMethod": null,
                                        "Unit": "kg",
                                        "ReservedQuantity": 0.0000000000,
                                        "IsReserved": false,
                                        "IsBackflush": false
                                    }
                                ],
                                "Resources": [
                                    {
                                        "ResourceID": "d52fbd3f-79bf-4203-86c2-34fea06c0f5c",
                                        "ResourceName": "Mixer",
                                        "ResourceCode": "R-4",
                                        "UnitCost": 6.0000,
                                        "Quantity": 1.00,
                                        "Cost": 6.0000,
                                        "CycleTime": 3600,
                                        "Available": 0
                                    }
                                ],
                                "ResourceCosts": [
                                    {
                                        "RunCostID": "81b25f30-4fbc-46c7-8d83-76db0d06b4bb",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Subcontractors",
                                        "ExpenseAccount": "5300",
                                        "Comments": null,
                                        "Cost": 0.7408
                                    },
                                    {
                                        "RunCostID": "c231a961-199b-4153-b0bd-b10901f385e1",
                                        "ProductID": "4f49b177-0865-48f5-89b8-f6660f56332a",
                                        "ProductName": "Electricity",
                                        "AccountName": "Purchase Discount",
                                        "ExpenseAccount": "5100",
                                        "Comments": null,
                                        "Cost": 1.0371
                                    }
                                ],
                                "FinishedProducts": [],
                                "OutputProducts": [],
                                "InputProducts": [],
                                "CoManTasks": [],
                                "CoManTaskLines": [],
                                "Attachments": [
                                    {
                                        "AttachmentID": "a3a3b8de-efec-4a5a-8046-542d221865d5",
                                        "FileName": "qwe2.txt",
                                        "Date": "2021-03-05T04:35:14.647Z",
                                        "ContentType": "text/plain",
                                        "Content": "ZGYga2pkbGZna2ogZGZna2pkIGxma3ZkbGZramJkZmpiIGRrYmxm",
                                        "Position": 1
                                    }
                                ],
                                "Notes": [],
                                "SuspendReason": null,
                                "CoManStatus": null,
                                "ManualStartDate": "2022-07-07",
                                "ManualEndDate": "2022-07-07"
                            }
                        ],
                        "Output": [],
                        "PendingOutput": [],
                        "ManualJournals": []
                    }
                ]
            }



## Resource List [/production/resourceList?Page={Page}&Limit={Limit}&Name={Name}&OnlyActive={OnlyActive}]
Get Resource List operation


### GET [GET /production/resourceList?Page={Page}&Limit={Limit}&Name={Name}&OnlyActive={OnlyActive}]
+ Method will return all resources.

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Name (optional, string) ... Only return Resources that start with the specific Name or Code
    + OnlyActive (optional, boolean) ... Only return active resources.
        + Default: true

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body
    
            {
            "Resources": [
                    {
                        "ResourceID": "94f2bd01-fb4f-4c44-b679-0c700c1f1df9",
                        "IsInfinite": false,
                        "IsAllowAllCapacityUsage": false,
                        "IsAvailableOnHolidays": false,
                        "IsAvailableOnWeekends": false,
                        "IsActive": true,
                        "Code": "R-1",
                        "Name": "Chef",
                        "Tags": "",
                        "ResourceType": "Machine",
                        "CycleDuration": 2040
                    },
                ]
            }

## Resource [/production/resource?ResourceID={ResourceID}&IncludeAttachments={IncludeAttachments}]
Resource CRUD operations

<a name="ResourceTypeList" />
### Available Resource Types
|Type|Description|
|:-----|-----------|
|`Labor`||
|`Machine`||
|`Other`||


<a name="DayOfWeekList" />
### Available DayOfWeek values
|Value|Description|
|:-----|-----------|
|`Monday`||
|`Tuesday`||
|`Wednesday`||
|`Thursday`||
|`Friday`||
|`Saturday`||
|`Sunday`||


### Available Fields for Resource
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ResourceID`  | Guid           |         | Yes* |   Required for PUT and DELETE, Ignored for POST operations       |
| `Code`  | String             | 50        | Yes* | Resource Code, required for PUT if there is no ResourceID     |
| `Name`  | String             | 512        | Yes* | Resource name, required for POST     |
| `ResourceType`  | String             |         |    Yes      | Possible values are <a href="#ResourceTypeList"><b>values</b></a>      |
| `CycleDuration`  | Int             |         |   Yes       |   In seconds, should be between 1 and 7776000        |
| `IsActive`  | Bool          |         |          | Default false           |
| `IsInfinite`  | Bool          |         |          | Default false           |
| `IsAllowAllCapacityUsage`  | Bool          |         |          | Default false           |
| `IsAvailableOnHolidays`  | Bool          |         |          | Default false           |
| `IsAvailableOnWeekends`  | Bool          |         |          | Default false           |
| `Tags`  | String          |    2000     |          |         |Comma separated|
| `ResourceCapacities`  | Array             |         |          | |
| `ResourceCosts`  | Array             |         |          | |
| `ResourceRemarks`  | Array             |         |          | |
| `ResourceAttachments`  | Array             |         |          | |

### Available Fields for ResourceCapacity
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `LocationID`  | Guid           |         | Yes |       |
| `LocationName`  | String             | 50        |  Yes*  | Required if there is no LocationID |
| `ResourceQuantity`  | Int             |         |  | Readonly    |
| `NonOperationalFrom`  | DateTime             |         |          | Nulluble      |
| `NonOperationalTo`  | DateTime             |         |          |   Nulluble        |
| `CustomWorkingDays`  | Array             |         |          | |
| `ResourceUnits`  | Array             |         |          | |

### Available Fields for CustomWorkingDay
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `DayOfWeek`  | String           |         | Yes |   Possible values are <a href="#DayOfWeekList"><b>values</b></a>   |
| `StartTime`  | Short             |         |  Yes*  | Range 0 - 1440 |
| `EndTime`  | Short             |         |  Yes*  | Range 0 - 1440 |
| `BreakStartTime`  | Short             |         |    | Range 0 - 1440 |
| `BreakEndTime`  | Short             |         |    | Range 0 - 1440 |
|`Capacity`|Int | | | Readonly  |

### Available Fields for ResourceUnit
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `Name`  | String           |    256     | Yes | For resource with type = `Labor`, it must be Email of the registered user. Otherwise any name  |
| `NonOperationalFrom`  | DateTime             |         |   | Nullable|
| `NonOperationalTo`  | DateTime             |         |    | Nullable |
| `OperationalFrom`  | DateTime             |         |   | Nullable|
| `OperationalTo`  | DateTime             |         |    | Nullable |


### Available Fields for ResourceCost
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ResourceCostID`  | Guid           |         |  | Readonly  |
| `ProductID`  | Guid             |         | Yes  | Identifier of service product|
| `AccountCode`  | String             |    50     | Yes   | Expense Account |
| `Cost`  | Decimal             |         |   | Readonly|
| `PriceTier`  | Int             |         |  Yes  | Range 1-10 |
| `PlannedDowntimeCost`  | Decimal             |         |   | Readonly|
| `PlannedDowntimePriceTier`  | Int             |         |   | Nullable. Range 1-10 |
| `NotPlannedDowntimeCost`  | Decimal             |         |   | Readonly|
| `NotPlannedDowntimePriceTier`  | Int             |         |    | Nullable. Range 1-10 |


### Available Fields for ResourceRemark
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `RemarkID`  | Guid           |         |  | Readonly  |
| `Remark`  | String             |    1024     | Yes   | |
| `CreatedDate`  | DateTime             |         |    | Readonly |


### Available Fields for ResourceAttachment
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `AttachmentID`  | Guid           |         |  | Readonly  |
| `FileName`  | String             |    256     | Yes  | |
| `Date`  | DateTime             |         |    | Readonly |
| `ContentType`  | String             | 256        |   | Readonly|
| `Content`  | String             |   32 Mb      |  Yes  | Base64 encoded string |


### GET [GET /production/resource?ResourceID={ResourceID}&IncludeAttachments={IncludeAttachments}]

+ Parameters
    + ResourceID (required, Guid) ... Identifier of Resource
    + IncludeAttachments (optional, boolean) ... Include Attachments information.
        + Default: false

+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body
    
            {
                "ResourceID": "94f2bd01-fb4f-4c44-b679-0c700c1f1df9",
                "IsInfinite": false,
                "IsAllowAllCapacityUsage": false,
                "IsAvailableOnHolidays": false,
                "IsAvailableOnWeekends": false,
                "IsActive": true,
                "Code": "R-1",
                "Name": "Chef",
                "Tags": "",
                "ResourceType": "Machine",
                "CycleDuration": 2040,
                "ResourceCapacities": [
                    {
                        "LocationID": "489bfe24-4aec-49b9-916d-5e5466d47290",
                        "LocationName": "LA Shop Floor (2 floor)",
                        "ResourceQuantity": 2,
                        "NonOperationalFrom": null,
                        "NonOperationalTo": null,
                        "CustomWorkingDays": [
                            {
                                "DayOfWeek": "Sunday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Saturday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Monday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Tuesday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Thursday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Wednesday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            },
                            {
                                "DayOfWeek": "Friday",
                                "StartTime": 435,
                                "EndTime": 840,
                                "BreakStartTime": 0,
                                "BreakEndTime": 0,
                                "Capacity": 0
                            }
                        ],
                        "ResourceUnits": [
                            {
                                "Name": "R-1 - 9",
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "OperationalFrom": null,
                                "OperationalTo": null
                            },
                            {
                                "Name": "R-1 - 8",
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "OperationalFrom": null,
                                "OperationalTo": null
                            }
                        ]
                    },
                    {
                        "LocationID": "0056e0df-8d4c-4daf-9709-cbfb1b398482",
                        "LocationName": "Shopfloor test 1",
                        "ResourceQuantity": 0,
                        "NonOperationalFrom": null,
                        "NonOperationalTo": null,
                        "CustomWorkingDays": [],
                        "ResourceUnits": []
                    },
                ],
                "ResourceCosts": [
                    {
                        "ResourceCostID": "bf1cef73-72ee-4894-89e2-369c861c2bee",
                        "ProductID": "0fdbfec3-ab42-4d9a-aa51-45e1f2138d15",
                        "ProductName": "Cooking meal",
                        "AccountCode": "5300",
                        "Cost": 30.0000,
                        "PriceTier": 1
                    },
                    {
                        "ResourceCostID": "203add75-89f6-4b81-a5e8-3d7570b4f46c",
                        "ProductID": "ac9629fa-8e01-439b-a0bf-938136f0065d",
                        "ProductName": "Manage kitchen",
                        "AccountCode": "5100",
                        "Cost": 50.0000,
                        "PriceTier": 1
                    }
                ],
                "ResourceRemarks": [
                    {
                        "RemarkID": "e2eaf51a-6f05-4323-b555-e41890d77c67",
                        "Remark": "hello, it's the first remark",
                        "CreatedDate": "2021-01-20T16:30:59Z"
                    }
                ],
                "ResourceAttachments": [
                    {
                        "AttachmentID": "889c0752-a5cc-4964-86f2-ff0bdc3064c1",
                        "FileName": "FileName.docx",
                        "Date": "2020-02-05T15:36:05.0066667Z",
                        "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                        "Content":"string Base64"
                    }
                ]
            }

### POST [POST /production/resource]
+ ResourceCapacities, ResourceCosts, ResourceRemarks, ResourceAttachments do not support modifying. Only creation and deletion.

+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
    
            {
                "Resources":[
                    {
                        "IsInfinite": false,
                        "IsAllowAllCapacityUsage": false,
                        "IsAvailableOnHolidays": false,
                        "IsAvailableOnWeekends": false,
                        "IsActive": true,
                        "Code": "R-1",
                        "Name": "Chef",
                        "Tags": "",
                        "ResourceType": "Machine",
                        "CycleDuration": 2040,
                        "ResourceCapacities": [
                            {
                                "LocationID": "489bfe24-4aec-49b9-916d-5e5466d47290",
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "CustomWorkingDays": [
                                    {
                                        "DayOfWeek": "Sunday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0
                                    },
                                    {
                                        "DayOfWeek": "Saturday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0
                                    },
                                    {
                                        "DayOfWeek": "Monday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0,
                                        "Capacity": 0
                                    },
                                    {
                                        "DayOfWeek": "Tuesday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0
                                    }
                                ],
                                "ResourceUnits": [
                                    {
                                        "Name": "R-1 - 9",
                                        "NonOperationalFrom": null,
                                        "NonOperationalTo": null,
                                        "OperationalFrom": null,
                                        "OperationalTo": null
                                    },
                                    {
                                        "Name": "R-1 - 8",
                                        "NonOperationalFrom": null,
                                        "NonOperationalTo": null,
                                        "OperationalFrom": null,
                                        "OperationalTo": null
                                    }
                                ]
                            },
                            {
                                "LocationID": "0056e0df-8d4c-4daf-9709-cbfb1b398482",
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "CustomWorkingDays": [],
                                "ResourceUnits": []
                            },
                        ],
                        "ResourceCosts": [
                            {
                                "ProductID": "0fdbfec3-ab42-4d9a-aa51-45e1f2138d15",
                                "AccountCode": "5300",
                                "PriceTier": 1
                            },
                            {
                                "ProductID": "ac9629fa-8e01-439b-a0bf-938136f0065d",
                                "AccountCode": "5100",
                                "PriceTier": 1
                            }
                        ],
                        "ResourceRemarks": [
                            {
                                "Remark": "hello, it's the first remark"
                            }
                        ],
                        "ResourceAttachments": [
                            {
                                "FileName": "FileName.docx",
                                "Content":"string Base64"
                            }
                        ]
                    }
                ]
            }

+ Response 200 (application/json)
    + Body
    
            {
                "Resources":[
                    {
                        "ResourceID": "94f2bd01-fb4f-4c44-b679-0c700c1f1df9",
                        "IsInfinite": false,
                        "IsAllowAllCapacityUsage": false,
                        "IsAvailableOnHolidays": false,
                        "IsAvailableOnWeekends": false,
                        "IsActive": true,
                        "Code": "R-1",
                        "Name": "Chef",
                        "Tags": "",
                        "ResourceType": "Machine",
                        "CycleDuration": 2040,
                        "ResourceCapacities": [
                            {
                                "LocationID": "489bfe24-4aec-49b9-916d-5e5466d47290",
                                "LocationName": "LA Shop Floor (2 floor)",
                                "ResourceQuantity": 2,
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "CustomWorkingDays": [
                                    {
                                        "DayOfWeek": "Sunday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0,
                                        "Capacity": 0
                                    },
                                    {
                                        "DayOfWeek": "Saturday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0,
                                        "Capacity": 0
                                    },
                                    {
                                        "DayOfWeek": "Monday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0,
                                        "Capacity": 0
                                    },
                                    {
                                        "DayOfWeek": "Tuesday",
                                        "StartTime": 435,
                                        "EndTime": 840,
                                        "BreakStartTime": 0,
                                        "BreakEndTime": 0,
                                        "Capacity": 0
                                    }
                                ],
                                "ResourceUnits": [
                                    {
                                        "Name": "R-1 - 9",
                                        "NonOperationalFrom": null,
                                        "NonOperationalTo": null,
                                        "OperationalFrom": null,
                                        "OperationalTo": null
                                    },
                                    {
                                        "Name": "R-1 - 8",
                                        "NonOperationalFrom": null,
                                        "NonOperationalTo": null,
                                        "OperationalFrom": null,
                                        "OperationalTo": null
                                    }
                                ]
                            },
                            {
                                "LocationID": "0056e0df-8d4c-4daf-9709-cbfb1b398482",
                                "LocationName": "Shopfloor test 1",
                                "ResourceQuantity": 0,
                                "NonOperationalFrom": null,
                                "NonOperationalTo": null,
                                "CustomWorkingDays": [],
                                "ResourceUnits": []
                            },
                        ],
                        "ResourceCosts": [
                            {
                                "ResourceCostID": "bf1cef73-72ee-4894-89e2-369c861c2bee",
                                "ProductID": "0fdbfec3-ab42-4d9a-aa51-45e1f2138d15",
                                "ProductName": "Cooking meal",
                                "AccountCode": "5300",
                                "Cost": 30.0000,
                                "PriceTier": 1
                            },
                            {
                                "ResourceCostID": "203add75-89f6-4b81-a5e8-3d7570b4f46c",
                                "ProductID": "ac9629fa-8e01-439b-a0bf-938136f0065d",
                                "ProductName": "Manage kitchen",
                                "AccountCode": "5100",
                                "Cost": 50.0000,
                                "PriceTier": 1
                            }
                        ],
                        "ResourceRemarks": [
                            {
                                "RemarkID": "e2eaf51a-6f05-4323-b555-e41890d77c67",
                                "Remark": "hello, it's the first remark",
                                "CreatedDate": "2021-01-20T16:30:59Z"
                            }
                        ],
                        "ResourceAttachments": [
                            {
                                "AttachmentID": "889c0752-a5cc-4964-86f2-ff0bdc3064c1",
                                "FileName": "FileName.docx",
                                "Date": "2020-02-05T15:36:05.0066667Z",
                                "ContentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                                "Content":"string Base64"
                            }
                        ]
                    }
                ]
            }
            

### PUT [PUT /production/resource]
+ ResourceCapacities, ResourceCosts, ResourceRemarks, ResourceAttachments do not support modifying. Only creation and deletion.

+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

            {
                "IsInfinite": false,
                "IsAllowAllCapacityUsage": false,
                "IsAvailableOnHolidays": false,
                "IsAvailableOnWeekends": false,
                "IsActive": true,
                "Code": "R-1",
                "Name": "Chef",
                "Tags": "",
                "ResourceType": "Machine",
                "CycleDuration": 2040,
                "ResourceCapacities": [],
                "ResourceCosts": [],
                "ResourceRemarks": [],
                "ResourceAttachments": []
            }

+ Response 200 (application/json)
    
    + Body
    
                {
                    "IsInfinite": false,
                    "IsAllowAllCapacityUsage": false,
                    "IsAvailableOnHolidays": false,
                    "IsAvailableOnWeekends": false,
                    "IsActive": true,
                    "Code": "R-1",
                    "Name": "Chef",
                    "Tags": "",
                    "ResourceType": "Machine",
                    "CycleDuration": 2040,
                    "ResourceCapacities": [],
                    "ResourceCosts": [],
                    "ResourceRemarks": [],
                    "ResourceAttachments": []
                }


### DELETE [DELETE /production/resource?ResourceID={ResourceID}]

+ Parameters
    + ResourceID (required, Guid) ... Identifier of Resource

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
                {
                    "IsInfinite": false,
                    "IsAllowAllCapacityUsage": false,
                    "IsAvailableOnHolidays": false,
                    "IsAvailableOnWeekends": false,
                    "IsActive": true,
                    "Code": "R-1",
                    "Name": "Chef",
                    "Tags": "",
                    "ResourceType": "Machine",
                    "CycleDuration": 2040,
                    "ResourceCapacities": [],
                    "ResourceCosts": [],
                    "ResourceRemarks": [],
                    "ResourceAttachments": []
                }


## Suspend Reason [/production/suspendReason]
Suspend Reason CRUD operations

### GET [GET /production/suspendReason?Page={Page}&Limit={Limit}&WorkcenterID={WorkcenterID}]
+ Method will return all suspend reasons.

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + WorkcenterID (optional, guid) ... Only return suspend reasons with specified work center.
        + Default: null

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body
    
            {
            "SuspendReasons": [
                    {
                        "SuspendReasonID": "94f2bd01-fb4f-4c44-b679-0c700c1f1df9",
                        "Reason": "some text",
                        "Workcenters":[
                            "94f2bd01-fb4f-4c44-b679-0c700c1f1df1",
                            "94f2bd01-fb4f-4c44-b679-0c700c1f1df2"
                        ]
                    },
                ]
            }

### PUT [PUT /production/suspendReason]
+ Workcenters do not support modifying. Only creation and deletion.

### Available Fields for SuspendReason
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `SuspendReasonID`  | Guid           |         | Yes* | If it is empty, then will add new Suspend Reason, otherwise it will be modified |
| `Reason`  | String             |         | Yes*  | Only for new entity |
| `Workcenters`  | Guid Array             |         |    |  |



+ Request (application/json)

    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

             {
                "Reason": "some new text",
                "Workcenters":[
                    "94f2bd01-fb4f-4c44-b679-0c700c1f1df1",
                    "94f2bd01-fb4f-4c44-b679-0c700c1f1df2"
                ]
            },

+ Response 200 (application/json)
    
    + Body
    
            {
                "SuspendReasonID": "94f2bd01-fb4f-4c44-b679-0c700c1f1df9",
                "Reason": "some new text",
                "Workcenters":[
                    "94f2bd01-fb4f-4c44-b679-0c700c1f1df1",
                    "94f2bd01-fb4f-4c44-b679-0c700c1f1df2"
                ]
            }
            
## Work Centers [/production/workcenters]
The Workcenter resource allows Workcenters to be listed, viewed, created, and updated. The Workcenter is a station where work is being carried out within a Shopfloor.


### Available Fields for WorkCenter
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`WorkCenterID`|Guid||Yes|Identifier of a Workcenter|
|`Code`|String|256|Yes||
|`Name`|String|256|Yes||
|`IsActive`|Boolean||Yes||
|`IsCoMan`|Boolean||Yes||
|`IsCoManPurchase`|Boolean||Yes||
|`SupplierID`|Guid||Yes*|Is required when IsCoMan = true or IsCoMan = true and IsCoManPurchase = true.|
|`SupplierName`|String||||
|`CoManProcurementType`|String|10|Yes*|It may be 'Transfer' or 'Buysell' or 'Purchase'. Required for Co-man workcenters only.|
|`WorkCenterLocations`|<a href="#WorkCenterLocation"><b>[] WorkCenter Location Model</b></a>|||Empty when components are picked directly from a shopfloor location.|
|`WorkCenterSuppliers`|<a href="#WorkCenterSupplier"><b>[] WorkCenter Supplier Model</b></a>||Yes*|Required when IsCoMan = false and IsCoManPurchase = true|

### Available Fields for WorkCenter Location <a name="WorkCenterLocation" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes|Identifier of a WorkCenter Location|
|`LocationID`|Guid||Yes|Can be LocationID or BinID if current location is a Bin|
|`Type`|String|256|Yes|Consumption, Output|
|`ParentLocationID`|Guid|||Parent location ID when current location is Bin|
|`LocationName`|String||Yes||

### Available Fields for WorkCenter Supplier <a name="WorkCenterSupplier" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SupplierID`|Guid||Yes*|Is required when SupplierName is empty.|
|`SupplierName`|String||Yes*|Is required if SupplierID is empty|

### GET [GET /production/workcenters?Page={Page}&Limit={Limit}&Name={Name}]
+ Method will return all workcenters.

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Name (optional, string) ... Only return WorkCenters that start with the specific Name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body
    
            {
                "Workcenters": [
                {
                    "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                    "Code": "API Test",
                    "Name": "Workcenter test for API",
                    "IsActive": true,
                    "IsCoMan": true,
                    "IsCoManPurchase": false,
                    "SupplierID": "f9d6abe7-39b5-4fc1-a7aa-b61d2dc933e9",
                    "SupplierName": "Tom the Supplier",
                    "WorkCenterLocations": [
                        {
                            "ID": "1f59ac7c-3fba-4e73-8339-92a09486bce8",
                            "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                            "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                            "LocationName": "BFBin",
                            "ParentLocationID": null,
                            "ParentLocationName": null,
                            "Type": "Consumption"
                        }
                    ],
                    "CoManProcurementType": "Transfer",
                    "WorkCenterSuppliers": [],
                }
            }

### POST [POST /production/workcenters]
+ Work center locations will be created.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
            
            {
                 "Workcenters": [
                    {
                    "WorkCenterID": "",
                    "Code": "API Test",
                    "Name": "Workcenter test for API",
                    "IsActive": true,
                    "IsCoMan": true,
                    "IsCoManPurchase": false,
                    "SupplierID": "f9d6abe7-39b5-4fc1-a7aa-b61d2dc933e9",
                    "SupplierName": "Tom the Supplier",
                    "WorkCenterLocations": [
                    {
                                "ID": "",
                                "WorkCenterID": "a24d2609-563d-4053-913b-29bc94019556",
                                "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                                "LocationName": "Bubba",
                                "ParentLocationID": null,
                                "ParentLocationName": null,
                                "Type": "Consumption"
                            }
                        ],
                        "CoManProcurementType": "Transfer",
                        "WorkCenterSuppliers": [],
                    }
                ]
            }

+ Response 200 (application/json)
    + Body 
            
            {
                "Workcenters": [
                {
                    "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                    "Code": "API Test",
                    "Name": "Workcenter test for API",
                    "IsActive": true,
                    "IsCoMan": true,
                    "IsCoManPurchase": false,
                    "SupplierID": "f9d6abe7-39b5-4fc1-a7aa-b61d2dc933e9",
                    "SupplierName": "Tom the Supplier",
                    "WorkCenterLocations": [
                        {
                            "ID": "1f59ac7c-3fba-4e73-8339-92a09486bce8",
                            "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                            "LocationID": "d1a2cfd2-93b8-4c2f-aeec-a392f905466f",
                            "LocationName": "BFBin",
                            "ParentLocationID": null,
                            "ParentLocationName": null,
                            "Type": "Consumption"
                        }
                    ],
                    "WorkCenterSuppliers": [],
                    "CoManProcurementType": "Transfer"
                }]
            }


### PUT [PUT /production/workcenters]
+ If work center location does not exist, it will be created. If work center location exists, it will be updated.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
            
            {
                "Workcenters": [
                {
                    "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                    "Code": "API Test",
                    "Name": "Workcenter test for API",
                    "IsActive": true,
                    "IsCoMan": false,
                    "IsCoManPurchase": false,
                    "SupplierID": "f9d6abe7-39b5-4fc1-a7aa-b61d2dc933e9",
                    "SupplierName": "Tom the Supplier",
                    "WorkCenterLocations": [],
                    "CoManProcurementType": "Transfer"
                }
            ] 
            }

+ Response 200 (application/json)
    + Body 
            
            {
                "WarningMessage": "Consumption/Output Bins setup is changed in the following Work Centers: API Test. This change will only affect operations where components and resources are not consumed yet.",
                "Workcenters": [
                    {
                        "WorkCenterID": "e180613b-1a63-41c3-a1f3-1316319e60a7",
                        "Code": "API Test",
                        "Name": "Workcenter test for API",
                        "IsActive": true,
                        "IsCoMan": false,
                        "IsCoManPurchase": false,
                        "SupplierID": "f9d6abe7-39b5-4fc1-a7aa-b61d2dc933e9",
                        "SupplierName": "Tom the Supplier",
                        "WorkCenterLocations": [],
                        "CoManProcurementType": null
                    }
                ]
            }

### DELETE [DELETE /production/workcenters?WorkCenterId={WorkCenterId}]
+ Method will delete workcenter with specified WorkCenterId if it exists.

+ Parameters
    + WorkCenterId (required, Guid) ... Identifier of WorkCenter to delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200

            {
                "Success": true
            }


# Group Purchase

+ Common approach is POST method will overwrite data in the related document (lines, additional charges, etc) and will add new supplied entries.


<a name="PurchaseStatesList"/>
### Available Purchase Statuses
|Status|Description|
|:-----|-----------|
|`DRAFT`|No data is added to Purchase details.|
|`VOIDED`|Task has been voided|
|`ORDERING`|OrderStatus = `DRAFT`|
|`ORDERED`|OrderStatus = `AUTHORISED`|
|`RECEIVING`|OrderStatus = `AUTHORISED`, StockReceivedStatus = `DRAFT`|
|`RECEIVED`|StockReceivedStatus = `AUTHORISED`|
|`INVOICED`|InvoiceStatus = `AUTHORISED`|
|`CREDITED`|CreditNoteStatus = `AUTHORISED`|
|`RECEIVING / CREDITED`|Combined Stock Status = `PARTIALLY RECEIVED`, RestockReceivedStatus = `AUTHORISED`|
|`RECEIVED / CREDITED`|Combined Stock Status = `FULLY RECEIVED`, RestockReceivedStatus = `AUTHORISED`|
|`PARTIALLY INVOICED`|Combined Invoice Status = `PARTIALLY INVOICED`|
|`COMPLETED`|InvoiceStatus = `AUTHORISED`, RestockReceivedStatus = `AUTHORISED`|

## Purchase List [/purchaseList?Page={Page}&Limit={Limit}&Search={Search}&RequiredBy={RequiredBy}&UpdatedSince={UpdatedSince}&OrderStatus={OrderStatus}&RestockReceivedStatus={RestockReceivedStatus}&InvoiceStatus={InvoiceStatus}&CreditNoteStatus={CreditNoteStatus}&UnstockStatus={UnstockStatus}&Status{Status}&DropShipTaskID={DropShipTaskID}]

### Available Fields for Purchase List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Unique Cin7 Core Purchase identifier          |
| `BlindReceipt`  | Boolean             |         |          |Specifies, if Purchase is a Blind Receipt order (no purchase order)         |
| `OrderNumber`  | String             | 256        |          |Purchase Order number generated by Cin7 Core         |
| `Status`  | String          |  50       |          |Current Purchase status. Current sale status. Possible values are <a href="#PurchaseStatesList"><b>values</b></a>        |
| `OrderDate`  | Date         |         |          | Date when Purchase Order was created        |
| `InvoiceDate`  | Date            |         |          | Date when Invoice was issued       |
| `Supplier`  | Date            | 256        |          | Name of the Supplier        |
| `SupplierID`  | Guid |         |          | Identifier of Supplier.       |
| `InvoiceNumber`  | String |   256      |          | Invoice number issued by Supplier       |
| `InvoiceAmount`  | Decimal |         |          | Total Invoice amount in Supplier currency        |
| `PaidAmount`  | Decimal |         |          | Total Paid amount minus Refunded amount in Supplier currency        |
| `InvoiceDueDate`  | Date |         |          | Date when invoice is due according to selected payment terms         |
| `RequiredBy`  | Date |         |          | Date when shipment is due     |
| `BaseCurrency`  | String | 3        |          | 3 digit Base currency code (as configured in General Settings)        |
| `SupplierCurrency`  | String | 3        |          | 3 digit Supplier currency code       |
| `CreditNoteNumber`  | String | 256        |          | Credit note number issued by Supplier. Is empty unless credit note is created       |
| `OrderStatus`  | String | 20        |          | Purchase Order status. Possible Values are `VOIDED`, DRAFT`, `AUTHORISED`, `NOT AVAILABLE`|
| `StockReceivedStatus`  | String | 20        |          | Purchase stock received status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`        |
| `UnstockStatus`  | String | 20        |          | Invoice status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`      |
| `InvoiceStatus`  | String | 20        |          | Purchase unstock status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`   |
| `CreditNoteStatus`  | String | 20        |          | Credit Note status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`       |
| `LastUpdatedDate`  | Date |         |          | Date and time when purchase task was created of last time modified    |
| `CombinedReceivingStatus`  | String | 20        | Yes         | Combined Put Away status. Possible Values are `FULLY RECEIVED`, `PARTIALLY RECEIVED`, `NOT AVAILABLE`, `NOT RECEIVED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        | Yes         | Combined Invoice status. Possible Values are `INVOICED`, `INVOICED / CREDITED`, `NOT AVAILABLE`, `NOT INVOICED`, `PARTIALLY INVOICED`, `PARTIALLY INVOICED / CREDITED`        |
| `CombinedPaymentStatus`  | String | 20        | Yes         | Payment status. Possible Values are `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `OVERPAID / CREDITED`, `VOIDED`       |
| `Type`  | String | 20        | Yes         | Type of Purchase. Possible Values are `Simple Purchase`, `Advanced Purchase` , `Service Purchase`        |
| `IsServiceOnly`  | Boolean             |         |          |Specifies, if Purchase is a `Service Purchase`         |
| `DropShipTaskID`  | Guid             |         |          |ID of sale which created drop ship pruchase         |



### GET [GET]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Search (optional, string) ... Only return purchase orders with search value contained in one of these fields: OrderNumber, Status, Supplier, InvoiceNumber, CreditNoteNumber
    + RequiredBy (optional, DateTime) ... Only return purchase orders with Required By date on or before specified date. Date must follow  ISO 8601 format.
    + UpdatedSince (optional, DateTime) ... Only return purchase changed after specified date. Date must follow  ISO 8601 format.
    + UpdatedUntil (optional, DateTime) ... Only return sales changed before specified date. Date must follow  ISO 8601 format.
    + OrderStatus (optional, string) ... Only return purchase orders with specified order status
    + RestockReceivedStatus (optional, string) ... Only return purchase orders with specified stock received (put away) status
    + InvoiceStatus (optional, string) ... Only return purchase orders with specified invoice status
    + CreditNoteStatus (optional, string) ... Only return purchase orders with specified credit note status
    + UnstockStatus (optional, string) ... Only return purchase orders with specified unstock status
    + Status (optional, string) ... Only return purchase orders with specified purchase status
    + DropShipTaskID (optional, Guid) ... Only return drop ship purchase which was created by specified sale task ID
    
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body
            
            {
                "Total": 2,
                "Page": 1,
                "PurchaseList": [
                    {
                        "ID": "60b75408-f432-407d-bc69-66a0df49bc4c",
                        "BlindReceipt": false,
                        "OrderNumber": "PO-00026",
                        "Status": "INVOICED",
                        "OrderDate": "2018-02-22T00:00:00",
                        "InvoiceDate": "2018-02-22T00:00:00",
                        "Supplier": "Bayside Club",
                        "SupplierID": "807b6bb2-69d5-46dc-8a6b-1bfe73519dca",
                        "InvoiceNumber": "345345",
                        "InvoiceAmount": 15,
                        "PaidAmount": 15,
                        "InvoiceDueDate": "2018-03-24T00:00:00",
                        "RequiredBy": null,
                        "BaseCurrency": "USD",
                        "SupplierCurrency": "USD",
                        "CreditNoteNumber": "CR-00026",
                        "OrderStatus": "AUTHORISED",
                        "StockReceivedStatus": "DRAFT",
                        "UnstockStatus": "NOT AVAILABLE",
                        "InvoiceStatus": "PAID",
                        "CreditNoteStatus": "DRAFT",
                        "LastUpdatedDate": "2018-04-19T04:03:06.52Z",
                        "Type": "Simple Purchase",
                        "CombinedInvoiceStatus": "INVOICED",
                        "CombinedPaymentStatus": "PAID",
                        "CombinedReceivingStatus": "NOT RECEIVED",
                        "IsServiceOnly": false,
                        "DropShipTaskID": null
                    },
                    {
                        "ID": "4e60f55a-1690-4024-a58c-29d62106a645",
                        "BlindReceipt": false,
                        "OrderNumber": "PO-00080",
                        "Status": "COMPLETED",
                        "OrderDate": "2018-04-12T00:00:00",
                        "InvoiceDate": "2018-04-10T00:00:00",
                        "Supplier": "Bayside Wholesale",
                        "SupplierID": "ca1e53f5-0560-4de6-8956-fac50a32540b",
                        "InvoiceNumber": "INV-00080",
                        "InvoiceAmount": 54.31,
                        "PaidAmount": 0,
                        "InvoiceDueDate": "2018-05-10T00:00:00",
                        "RequiredBy": null,
                        "BaseCurrency": "USD",
                        "SupplierCurrency": "USD",
                        "CreditNoteNumber": "CR-00080",
                        "OrderStatus": "AUTHORISED",
                        "StockReceivedStatus": "AUTHORISED",
                        "UnstockStatus": "AUTHORISED",
                        "InvoiceStatus": "PAID",
                        "CreditNoteStatus": "AUTHORISED",
                        "LastUpdatedDate": "2018-04-12T05:36:13.177Z",
                        "Type": "Simple Purchase",
                        "CombinedInvoiceStatus": "INVOICED / CREDITED",
                        "CombinedPaymentStatus": "PAID",
                        "CombinedReceivingStatus": "FULLY RECEIVED",
                        "IsServiceOnly": false,
                        "DropShipTaskID": "31760d16-c2e5-4620-9e09-0b236b776cef"
                    }
                ]
            }


## Purchase Credit Note List [/purchaseCreditNoteList?Page={Page}&Limit={Limit}&Search={Search}&UpdatedSince={UpdatedSince}&CreditNoteStatus={CreditNoteStatus}&Status{Status}]

### Available Fields for Purchase Credit Note List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Unique Cin7 Core Purchase identifier          |
| `BlindReceipt`  | Boolean             |         |          |Specifies, if Purchase is a Blind Receipt order (no purchase order)         |
| `OrderNumber`  | String             | 256        |          |Purchase Order number generated by Cin7 Core         |
| `Status`  | String          |  50       |          |Current Purchase status. Current sale status. Possible values are <a href="#PurchaseStatesList"><b>values</b></a>        |
| `OrderDate`  | Date         |         |          | Date when Purchase Order was created        |
| `InvoiceDate`  | Date            |         |          | Date when Invoice was issued       |
| `Supplier`  | Date            | 256        |          | Name of the Supplier        |
| `SupplierID`  | Guid |         |          | Identifier of Supplier.       |
| `InvoiceNumber`  | String |   256      |          | Invoice number issued by Supplier       |
| `InvoiceAmount`  | Decimal |         |          | Total Invoice amount in Supplier currency        |
| `PaidAmount`  | Decimal |         |          | Total Paid amount minus Refunded amount in Supplier currency        |
| `InvoiceDueDate`  | Date |         |          | Date when invoice is due according to selected payment terms         |
| `RequiredBy`  | Date |         |          | Date when shipment is due     |
| `BaseCurrency`  | String | 3        |          | 3 digit Base currency code (as configured in General Settings)        |
| `SupplierCurrency`  | String | 3        |          | 3 digit Supplier currency code       |
| `CreditNoteNumber`  | String | 256        |          | Credit note number issued by Supplier. Is empty unless credit note is created       |
| `OrderStatus`  | String | 20        |          | Purchase Order status. Possible Values are `VOIDED`, DRAFT`, `AUTHORISED`, `NOT AVAILABLE`|
| `StockReceivedStatus`  | String | 20        |          | Purchase stock received status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`        |
| `UnstockStatus`  | String | 20        |          | Invoice status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`      |
| `InvoiceStatus`  | String | 20        |          | Purchase unstock status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`   |
| `CreditNoteStatus`  | String | 20        |          | Credit Note status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`       |
| `LastUpdatedDate`  | Date |         |          | Date and time when purchase task was created of last time modified    |
| `CombinedReceivingStatus`  | String | 20        | Yes         | Combined Put Away status. Possible Values are `FULLY RECEIVED`, `PARTIALLY RECEIVED`, `NOT AVAILABLE`, `NOT RECEIVED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        | Yes         | Combined Invoice status. Possible Values are `INVOICED`, `INVOICED / CREDITED`, `NOT AVAILABLE`, `NOT INVOICED`, `PARTIALLY INVOICED`, `PARTIALLY INVOICED / CREDITED`        |
| `CombinedPaymentStatus`  | String | 20        | Yes         | Payment status. Possible Values are `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `OVERPAID / CREDITED`, `VOIDED`       |
| `Type`  | String | 20        | Yes         | Type of Purchase. Possible Values are `Simple Purchase`, `Advanced Purchase` , `Service Purchase`, `Purchase Credit Note`, `Credit Note`        |
| `IsServiceOnly`  | Boolean             |         |          |Specifies, if Purchase is a `Service Purchase`         |
| `DropShipTaskID`  | Guid             |         |          |ID of sale which created drop ship pruchase         |



### GET [GET]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Search (optional, string) ... Only return purchase orders with search value contained in one of these fields: OrderNumber, Status, Supplier, InvoiceNumber, CreditNoteNumber
    + UpdatedSince (optional, DateTime) ... Only return purchase changed after specified date. Date must follow  ISO 8601 format.
    + UpdatedUntil (optional, DateTime) ... Only return sales changed before specified date. Date must follow  ISO 8601 format.
    + CreditNoteStatus (optional, string) ... Only return purchase orders with specified credit note status
    + Status (optional, string) ... Only return purchase orders with specified purchase status

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body
            
            {
                "Total": 2,
                "Page": 1,
                "PurchaseList": [
                    {
                        "ID": "d5d18e08-a284-4325-af2a-5bf9538395ab",
                        "BlindReceipt": false,
                        "OrderNumber": "PO-00003",
                        "Status": "RECEIVED",
                        "OrderDate": "2021-09-15T00:00:00",
                        "InvoiceDate": null,
                        "Supplier": "Incoming Goods Supplier",
                        "SupplierID": "bc475f2f-79eb-44d2-9928-1a9bd48f8467",
                        "InvoiceNumber": "inv01",
                        "InvoiceAmount": 0,
                        "PaidAmount": 0,
                        "InvoiceDueDate": null,
                        "RequiredBy": null,
                        "BaseCurrency": "RUB",
                        "SupplierCurrency": "USD",
                        "CreditNoteNumber": "gcdfg",
                        "OrderStatus": "AUTHORISED",
                        "StockReceivedStatus": "NOT AVAILABLE",
                        "UnstockStatus": "AUTHORISED",
                        "InvoiceStatus": "NOT AVAILABLE",
                        "CreditNoteStatus": "AUTHORISED",
                        "LastUpdatedDate": "2021-11-02T11:44:45.21",
                        "Type": "Credit Note",
                        "CombinedInvoiceStatus": "INVOICED / CREDITED",
                        "CombinedPaymentStatus": "OVERPAID / CREDITED",
                        "CombinedReceivingStatus": "NOT AVAILABLE",
                        "IsServiceOnly": false,
                        "DropShipTaskID": null
                    },
                    {
                        "ID": "4a0bcc2a-e2ae-45ef-ac40-e255a75f0900",
                        "BlindReceipt": false,
                        "OrderNumber": "PO-00004",
                        "Status": "COMPLETED / CREDIT NOTE CLOSED",
                        "OrderDate": "2021-09-17T00:00:00",
                        "InvoiceDate": "2021-09-17T00:00:00",
                        "Supplier": "Incoming Goods Supplier",
                        "SupplierID": "bc475f2f-79eb-44d2-9928-1a9bd48f8467",
                        "InvoiceNumber": "dfg",
                        "InvoiceAmount": 4,
                        "PaidAmount": 0,
                        "InvoiceDueDate": "2021-10-17T00:00:00",
                        "RequiredBy": null,
                        "BaseCurrency": "RUB",
                        "SupplierCurrency": "USD",
                        "CreditNoteNumber": "sdrf2",
                        "OrderStatus": "AUTHORISED",
                        "StockReceivedStatus": "AUTHORISED",
                        "UnstockStatus": "AUTHORISED",
                        "InvoiceStatus": "PAID",
                        "CreditNoteStatus": "AUTHORISED",
                        "LastUpdatedDate": "2021-09-17T11:17:56.81",
                        "Type": "Simple Purchase",
                        "CombinedInvoiceStatus": "INVOICED / CREDITED",
                        "CombinedPaymentStatus": "PAID",
                        "CombinedReceivingStatus": "NOT AVAILABLE",
                        "IsServiceOnly": false,
                        "DropShipTaskID": null
                    }
                ]
            }


## Purchase [/purchase]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchase">`Advanced Purchase`</a>
 endpoint.
 
 
### Available Fields for Purchase
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid|||Unique Cin7 Core Purchase ID|
|`SupplierID`|Guid|||Identifier of Supplier|
|`Supplier`|String|256||Supplier name|
|`Contact`|String|256||Supplier Contact name|
|`Phone`|String|50||Supplier Contact phone|
|`InventoryAccount`|String|50||Account code used by default for invoice lines when no Inventory account is defined on Product. By default Inventory Control Account is used from account mapping.|
|`BlindReceipt`|Boolean|||`True` if there is no order in the purchase. `False` is default|
|`Approach`|String|10||`INVOICE` for `Invoice  First`, or `STOCK` for `Stock First`|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Purchase Billing address|
|`ShippingAddress`|<a href="#PurchaseShippingAddressModel"><b>Shipping Address Model</b></a>|||Purchase Shipping address|
|`BaseCurrency`|String|3||3 character currency code of Base Currency defined in General Settings on the moment when Purchase was created.|
|`SupplierCurrency`|String|3||3 character currency code of Supplier Currency defined in Supplier card at the moment when Supplier is selected for the Purchase.|
|`TaxRule`|String|50||Default Tax Rule name selected for Purchase|
|`TaxCalculation`|String|||`Inclusive` or `Exclusive`|
|`Terms`|String|256||Payment terms name|
|`RequiredBy`|DateTime|||Date when shipment is due|
|`Location`|String|256||Default location to store stock to|
|`Note`|String|1024||Custom Purchase note|
|`OrderNumber`|String|256||Represents Purchase Order Number|
|`Status`|String|20||Current Purchase status. Current sale status. Possible values are <a href="#PurchaseStatesList"><b>values</b></a>|
|`RelatedDropShipSaleTask`|Guid|||ID of SaleTask this drop-ship purchase is related to.|
|`CurrencyRate`|Decimal|||Conversion Rate expressed as number of Base currency units for one Supplier currency unit|
|`LastUpdatedDate`|DateTime|||Date and time when purchase task was created of last time modified|
|`Order`|<a href="#PurchaseOrderModel"><b>Purchase Order Model</b></a>|||Purchase Order|
|`StockReceived`|<a href="#PurchaseStockModel"><b>Purchase Stock Model</b></a>|||Purchased and received items|
|`Invoice`|<a href="#PurchaseInvoiceModel"><b>Purchase Invoice Model</b></a>|||Purchase Invoice|
|`CreditNote`|<a href="#PurchaseCreditNoteModel"><b>Purchase Credit Note Model</b></a>|||Purchase Credit Note|
|`ManualJournals`|<a href="#PurchaseManualJournalModel"><b>Purchase Manual Journal Model</b></a>|||Purchase Manual Journals|
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Purchase Additional Attributes|
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>|||Purchase Attachments|
|`InventoryMovements`|<a href="#InventoryMovementLineModel"><b>Inventory Movement Line Model</b></a>|||Purchase Inventory Movements|





+ All Objects that contain field 'ProductID', also contain additional fields.

### Additional fields
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductLength`|Decimal|||Length of product|
|`ProductWidth`|Decimal|||Width of product|
|`ProductHeight`|Decimal|||Height of product|
|`ProductWeight`|Decimal|||Weight of product|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Purchase POST/PUT Attributes
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes*|Unique Cin7 Core Purchase ID.Required for PUT|
|`SupplierID`|Guid||Yes*|Identifier of Supplier. Required if Supplier not provided|
|`Supplier`|String|256|Yes*|Supplier name. Required if SupplierID not provided|
|`Contact`|String|256||Supplier Contact name|
|`Phone`|String|50||Supplier Contact phone|
|`BlindReceipt`|Boolean|||`True` if there is no order in the purchase. `False` is default|
|`Approach`|String|10|Yes|`INVOICE` for `Invoice  First`, or `STOCK` for `Stock First`|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Purchase Billing address|
|`ShippingAddress`|<a href="#PurchaseShippingAddressModel"><b>Shipping Address Model</b></a>|||Purchase Shipping address|
|`TaxRule`|String|50||Default Tax Rule name selected for Purchase|
|`TaxCalculation`|String|||`Inclusive` or `Exclusive`|
|`Terms`|String|256||Payment terms name|
|`RequiredBy`|DateTime|||Date when shipment is due|
|`Location`|String|256|Yes|Default location to store stock to|
|`Note`|String|1024||Custom Purchase note|
|`CurrencyRate`|Decimal|||Conversion Rate expressed as number of Base currency units for one Supplier currency unit|
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Purchase Additional Attributes|


### GET[GET /purchase?ID={ID}&CombineAdditionalCharges={CombineAdditionalCharges}]

+ Parameters
    + ID (required) ... Returns detailed info of a particular Purchase
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "Contact": "No Name",
                "Phone": "",
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "INVOICE",
                "BillingAddress": {
                    "DisplayAddressLine1": "",
                    "DisplayAddressLine2": "",
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "DEFAULT shipping address",
                    "DisplayAddressLine2": "DEFAULT City DEFAULT State DEFAULT Postcode",
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null,
                    "ShipToOther": false
                },
                "BaseCurrency": "RUB",
                "SupplierCurrency": "RUB",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": "",
                "OrderNumber": "PO-00001",
                "OrderDate": "2017-12-05T00:00:00",
                "Status": "CREDITED",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2017-12-08T04:05:42.337Z",
                "Order": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 2,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "SupplierSKU": "",
                            "Comment": "",
                            "Total": 4,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        },
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "SupplierSKU": "",
                            "Comment": "",
                            "Total": 2,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Half day training - Microsoft Office",
                            "Reference": "",
                            "Price": 3,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 3,
                            "TaxRule": "Sales Tax on Imports"
                        }
                    ],
                    "Prepayments": [
                        {
                            "ID": "4802f880-a39a-e077-577a-f80af618607a",
                            "Reference": "",
                            "Amount": 3,
                            "DatePaid": "2017-12-20T00:00:00",
                            "Account": "718",
                            "CurrencyRate": 1,
                            "DateCreated": "2017-12-05T06:05:06.9472864Z"
                        }
                    ],
                    "TotalBeforeTax": 9,
                    "Tax": 0,
                    "Total": 9
                },
                "StockReceived": {
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "Date": "2017-12-08T00:00:00",
                            "Quantity": 3,
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Location": "Main Warehouse",
                            "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                            "Received": true,
                            "BatchSN": "PO-00001-1",
                            "SupplierSKU": "",
                            "ExpiryDate": "2017-11-28T00:00:00",
                            "CardID": "3bc7212b-5ff1-4970-9471-1e6d626065c3",
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ]
                },
                "Invoice": {
                    "InvoiceDate": "2017-12-14T00:00:00",
                    "InvoiceDueDate": "2018-01-13T00:00:00",
                    "InvocieNumber": "1",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 2,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Comment": "",
                            "Total": 4,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        },
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Comment": "",
                            "Total": 2,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Half day training - Microsoft Office",
                            "Reference": "",
                            "Quantity": 1,
                            "Price": 3,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Total": 3
                        }
                    ],
                    "Payments": [
                        {
                            "ID": "7ec7b89d-2ff8-419f-9d4d-9401f6fc99bb",
                            "Reference": "",
                            "Amount": 1,
                            "DatePaid": "2017-12-21T00:00:00",
                            "Account": "718",
                            "CurrencyRate": 1,
                            "DateCreated": "2017-12-05T06:54:54.9289846Z"
                        },
                        {
                            "ID": "cb2fe1a9-7264-4359-8395-e05e8185b7bd",
                            "Reference": "",
                            "Amount": 1,
                            "DatePaid": "2017-12-21T00:00:00",
                            "Account": "718",
                            "CurrencyRate": 1,
                            "DateCreated": "2017-12-05T06:49:03.1456116Z"
                        }
                    ],
                    "TotalBeforeTax": 9,
                    "Tax": 0,
                    "Total": 9,
                    "Paid": 5
                },
                "CreditNote": {
                    "CreditNoteNumber": "tr12",
                    "CreditNoteDate": "2017-12-21T00:00:00",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Comment": "",
                            "Total": 2,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        },
                        {
                            "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 2,
                            "Price": 2,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Comment": "",
                            "Total": 4,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Half day training - Microsoft Office",
                            "Reference": "",
                            "Quantity": 1,
                            "Price": 3,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Sales Tax on Imports",
                            "Account": "715",
                            "Total": 3
                        }
                    ],
                    "Refunds": [
                        {
                            "ID": "3b1b360e-12fb-1564-5c4c-34fe5539ec10",
                            "Reference": "",
                            "Amount": 9,
                            "DatePaid": "2017-12-28T00:00:00",
                            "Account": "718",
                            "CurrencyRate": 1,
                            "DateCreated": "2017-12-08T04:05:42.3030398Z"
                        }
                    ],
                    "Unstock": {
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "CardID": "3bc7212b-5ff1-4970-9471-1e6d626065c3",
                                "Date": "2017-12-08T00:00:00",
                                "Quantity": 3,
                                "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-28T00:00:00",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ]
                    },
                    "TotalBeforeTax": 9,
                    "Tax": 0,
                    "Total": 9
                },
                "ManualJournals": {
                    "Status": "DRAFT",
                    "Lines": [
                        {
                            "Reference": "Rounding",
                            "Amount": 2,
                            "Date": "2017-12-06T00:00:00",
                            "Debit": "720",
                            "Credit": "404",
                            "IsSystem": false
                        },
                        {
                            "Reference": "Rounding",
                            "Amount": 1,
                            "Date": "2017-12-06T00:00:00",
                            "Debit": "720",
                            "Credit": "404",
                            "IsSystem": false
                        },
                        {
                            "Reference": "Rounding",
                            "Amount": 2,
                            "Date": "2017-12-06T00:00:00",
                            "Debit": "720",
                            "Credit": "404",
                            "IsSystem": true
                        }
                    ]
                },
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [
                    {
                        "ID": "990d6602-2f4a-432b-97e1-04a2f51f7036",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=990d6602-2f4a-432b-97e1-04a2f51f7036&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ],
                "InventoryMovements": [
                    {
                        "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "Date": "2017-12-08T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "Date": "2017-12-08T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "Date": "2017-12-14T00:00:00",
                        "COGS": 9,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "Date": "2017-12-21T00:00:00",
                        "COGS": -9,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "Approach": "INVOICE",
                "BlindReceipt": false,
                "Contact": "No Name",
                "Phone": "",
                "CurrencyRate": 1,
                "Location": "Main Warehouse",
                "Note": "",
                "RequiredBy": null,
                 "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                    "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                   "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                }  
            }
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "3fb1debd-1f89-476c-b7ac-826a493a2092",
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "Contact": "No Name",
                "Phone": null,
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "INVOICE",
                "BillingAddress": {
                    "DisplayAddressLine1": null,
                    "DisplayAddressLine2": null,
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "United States",
                    "ShipToOther": false
                },
                "BaseCurrency": "RUB",
                "SupplierCurrency": "RUB",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": null,
                "OrderNumber": "PO-00007",
                "OrderDate": "2017-12-08T00:00:00",
                "Status": "ORDERING",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2017-12-08T10:14:18.45Z",
                "Order": {
                    "Memo": null,
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "Invoice": {
                    "InvoiceDate": "2017-12-08T00:00:00",
                    "InvoiceDueDate": null,
                    "InvocieNumber": null,
                    "Status": "DRAFT",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Payments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0,
                    "Paid": 0
                },
                "CreditNote": {
                    "CreditNoteNumber": "",
                    "CreditNoteDate": null,
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Refunds": [],
                    "Unstock": {
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    },
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "3fb1debd-1f89-476c-b7ac-826a493a2092",
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "Approach": "Stock",
                "BlindReceipt": false,
                "Contact": "No Name",
                "Phone": "",
                "CurrencyRate": 1,
                "Location": "Main Warehouse",
                "Note": "",
                "RequiredBy": null,
                 "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                    "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                   "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                }  
            }
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "3fb1debd-1f89-476c-b7ac-826a493a2092",
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "Contact": "No Name",
                "Phone": null,
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "STOCK",
                "BillingAddress": {
                    "DisplayAddressLine1": null,
                    "DisplayAddressLine2": null,
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "United States",
                    "ShipToOther": false
                },
                "BaseCurrency": "RUB",
                "SupplierCurrency": "RUB",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": null,
                "OrderNumber": "PO-00007",
                "OrderDate": "2017-12-08T00:00:00",
                "Status": "ORDERING",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2017-12-08T10:19:13.637Z",
                "Order": {
                    "Memo": null,
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "Invoice": {
                    "InvoiceDate": "2017-12-08T00:00:00",
                    "InvoiceDueDate": null,
                    "InvocieNumber": null,
                    "Status": "DRAFT",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Payments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0,
                    "Paid": 0
                },
                "CreditNote": {
                    "CreditNoteNumber": "",
                    "CreditNoteDate": null,
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Refunds": [],
                    "Unstock": {
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    },
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }


### DELETE [DELETE /purchase?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Purchase to Void or Undo
    + Void (optional,boolean) ... Void or Undo Purchase
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "ID": "3fb1debd-1f89-476c-b7ac-826a493a2092",
                "SupplierID": "f1d1696b-8988-4ca0-8b9d-60317e463d07",
                "Supplier": "ABPA",
                "Contact": "No Name",
                "Phone": null,
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "STOCK",
                "BillingAddress": {
                    "DisplayAddressLine1": null,
                    "DisplayAddressLine2": null,
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "United States",
                    "ShipToOther": false
                },
                "BaseCurrency": "RUB",
                "SupplierCurrency": "RUB",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": null,
                "OrderNumber": "PO-00007",
                "OrderDate": "2017-12-08T00:00:00",
                "Status": "VOIDED",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2017-12-08T10:21:19.787Z",
                "Order": {
                    "Memo": null,
                    "Status": "VOIDED",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": {
                    "Status": "VOIDED",
                    "Lines": []
                },
                "Invoice": {
                    "InvoiceDate": "2017-12-08T00:00:00",
                    "InvoiceDueDate": null,
                    "InvocieNumber": null,
                    "Status": "VOIDED",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Payments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0,
                    "Paid": 0
                },
                "CreditNote": {
                    "CreditNoteNumber": "",
                    "CreditNoteDate": null,
                    "Status": "VOIDED",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Refunds": [],
                    "Unstock": {
                        "Status": "VOIDED",
                        "Lines": []
                    },
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "ManualJournals": {
                    "Status": "VOIDED",
                    "Lines": []
                },
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }


## Purchase Order [/purchase/order]

### Available Fields for Purchase Order
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`Memo`|String|1024|Yes|Additional information for Order|
|`Status`|string||Yes|Purchase Order Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseOrderLineModel"><b>[] Purchase Order Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseAdditionalChargeModel"><b>[] Purchase Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges with taxes. Not required for POST.|

### GET [GET /purchase/order?TaskID={TaskID}&CombineAdditionalCharges={CombineAdditionalCharges}]

+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Order
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 4
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 2
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Price": 3,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 3,
                        "TaxRule": "Sales Tax on Imports"
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9
            }

### POST [POST]
+ POST method will return exception if Order status is not - `DRAFT` or `NOT AVAILABLE`

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 4
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 2
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Price": 3,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 3,
                        "TaxRule": "Sales Tax on Imports"
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
            
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 2
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "SupplierSKU": "",
                        "Comment": "",
                        "Total": 4
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Price": 3,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 3,
                        "TaxRule": "Sales Tax on Imports"
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9
            }

## Purchase Stock Received [/purchase/stock]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchasePutAway">`Advanced Purchase Put Away`</a>
and <a href="#AdvancedPurchaseStock">`Advanced Purchase Stock Received`</a> endpoint.
 
### Available Fields for Purchase Stock Received
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID|
|`Status`|string||Yes|Purchase Stock Received Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseStockLineModel"><b>[] Purchase Stock Line Model</b></a>||Yes||

### GET [GET /purchase/stock?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Order

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
            
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Date": "2017-12-08T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Received": false,
                        "BatchSN": "PO-00001-1",
                        "SupplierSKU": "",
                        "ExpiryDate": "2017-11-28T00:00:00",
                        "CardID": "3bc7212b-5ff1-4970-9471-1e6d626065c3"
                    }
                ]
            }

### POST [POST]
+ POST method will return exception if Order status is not - `AUTHORISED`
+ POST method will return exception if Stock Received status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Purchase `Approach` = `INVOICE` and `InvoiceStatus` is not - `AUTHORISED`
+ POST method is used to add only new stock lines.
+ To Authorize Stock Received, Request with empty lines in payload can be done.
+ If duplicated lines found in one payload, one line with sum quantity will be created.
+ If lines with same Product, location, batch and expiry Date already exist, error will be thrown.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Date": "2017-12-08T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Received": false,
                        "BatchSN": "PO-00001-1",
                        "SupplierSKU": "",
                        "ExpiryDate": "2017-11-28T00:00:00",
                        "CardID": "3bc7212b-5ff1-4970-9471-1e6d626065c3"
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Date": "2017-12-08T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Received": true,
                        "BatchSN": "PO-00001-1",
                        "SupplierSKU": "",
                        "ExpiryDate": "2017-11-28T00:00:00",
                        "CardID": "a2db08f1-32cd-48e3-b558-a74af15ee53f"
                    }
                ]
            }


## Purchase Invoice [/purchase/invoice]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchaseInvoice">`Advanced Purchase Invoice`</a>
 endpoint.

### Available Fields for Purchase Invoice
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`InvoiceDate`|DateTime||Yes|Date when invoice created. Default value is current date, used if not specified.|
|`InvoiceDueDate`|DateTime||Yes|Date until invoice is valid. If not specified, used default value from Terms.|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Status`|string||Yes|Purchase Invoice Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`, `PAID`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|
|`InvoiceTotalAmount`|Decimal with up to 4 decimal places|||Not required for POST.|
|`InvoiceTotalTaxAmount`|Decimal with up to 4 decimal places|||Not required for POST.|

### GET [GET /purchase/invoice?TaskID={TaskID}&CombineAdditionalCharges={CombineAdditionalCharges} ]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Order
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "InvoiceDate": "2017-12-14T00:00:00",
                "InvoiceDueDate": "2018-01-13T00:00:00",
                "InvoiceNumber": "1",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9,
                "InvoiceTotalAmount": 9,
                "InvoiceTotalTaxAmount": 0
            }

### POST [POST]
+ POST method will return exception if Order status is not - `AUTHORISED`
+ POST method will return exception if Invoice status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Purchase `Approach` = `STOCK` and `StockReceivedStatus` is not - `AUTHORISED`


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "InvoiceDate": "2017-12-14T00:00:00",
                "InvoiceDueDate": "2018-01-13T00:00:00",
                "InvoiceNumber": "1",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "InvoiceDate": "2017-12-14T00:00:00",
                "InvoiceDueDate": "2018-01-13T00:00:00",
                "InvoiceNumber": "1",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9,
                "InvoiceTotalAmount": 9,
                "InvoiceTotalTaxAmount": 0
            }
            

## Purchase Credit Note [/purchase/creditnote]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchaseCreditNote">`Advanced Purchase Credit Note`</a>
 endpoint.

### Available Fields for Purchase Credit Note
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`CreditNoteNumber`|string||Yes|Credit Note Number|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date|
|`Status`|string||Yes|Purchase Credit Note Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Unstock`|<a href="#PurchaseUnStockLineModel"><b>[] Purchase Unstock Line Model</b></a>||Yes||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|


### GET [GET /purchase/creditnote?TaskID={TaskID}&CombineAdditionalCharges={CombineAdditionalCharges}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Credit Note
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
            
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "CreditNoteNumber": "tr12",
                "CreditNoteDate": "2017-12-21T00:00:00",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ],
                "Unstock": [
                    {
                        "CardID": "a2db08f1-32cd-48e3-b558-a74af15ee53f",
                        "Date": "2017-12-11T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-28T00:00:00"
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9
            }
    

### POST [POST]
+ POST method will return exception if Invoice status is not - `AUTHORISED` or `PAID`
+ POST method will return exception if Credit Note status is not - `DRAFT` or `NOT AVAILABLE`


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "CreditNoteNumber": "tr12",
                "CreditNoteDate": "2017-12-21T00:00:00",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ],
                "Unstock": [
                    {
                        "CardID": "a2db08f1-32cd-48e3-b558-a74af15ee53f",
                        "Date": "2017-12-11T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-28T00:00:00"
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "CombineAdditionalCharges": false,
                "CreditNoteNumber": "tr12",
                "CreditNoteDate": "2017-12-21T00:00:00",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 2
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 2,
                        "Price": 2,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Comment": "",
                        "Total": 4
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Half day training - Microsoft Office",
                        "Reference": "",
                        "Quantity": 1,
                        "Price": 3,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Sales Tax on Imports",
                        "Account": "715",
                        "Total": 3
                    }
                ],
                "Unstock": [
                    {
                        "CardID": "a2db08f1-32cd-48e3-b558-a74af15ee53f",
                        "Date": "2017-12-08T00:00:00",
                        "Quantity": 3,
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-28T00:00:00"
                    }
                ],
                "TotalBeforeTax": 9,
                "Tax": 0,
                "Total": 9
            }
            
        

## Purchase Payments [/purchase/payment]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchasePayments">`Advanced Purchase Payments`</a>
 endpoint.

### Available Fields for Purchase Payments
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID.|
|`ID`|GUID||Yes*|Identifier of payment. Available for PUT|
|`Type`|String||Yes|Available values are `PREPAYMENT`,`PAYMENT`,`REFUND`. Available for POST|
|`Reference`|String|||Payment reference number. Available for POST/PUT|
|`Amount`|Decimal with up to 2 decimal places||Yes|Payment amount in customer currency. Available for POST/PUT. For PUT is not available when payment is a deposit.|
|`DatePaid`|DateTime||Yes|Date when payment has been made. Available for POST/PUT|
|`Account`|String||Yes|Account Code of the bank/payment account from Chart of accounts. Available for POST/PUT. For PUT is not available when payment is a deposit.|
|`CurrencyRate`|Decimal with up to 4 decimal places||Yes|Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. Available for POST/PUT|
|`DateCreated`|DateTime|||Date of creation payment record.|
|`DepositID`|GUID||No|Identifier of deposit. Available for POST. The payment is taken from deposit if it is specified. Can be used only with Type=`PAYMENT`.|


+ Payments available only for purchase tasks with authorised invoice.

+ Refunds available only for purchase tasks with authorised credit note.


### GET [GET /purchase/payment?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Payments

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            [
                {
                    "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "ID": "39f331e6-916a-53c9-8012-846d138b65b8",
                    "Type": "Refund",
                    "Reference": "",
                    "Amount": 9,
                    "DatePaid": "2018-01-04T00:00:00",
                    "Account": "713",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-12-11T06:11:55.5282215Z",
                    "DepositID": null
                },
                {
                    "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "ID": "7ec7b89d-2ff8-419f-9d4d-9401f6fc99bb",
                    "Type": "Payment",
                    "Reference": "",
                    "Amount": 9,
                    "DatePaid": "2017-12-21T00:00:00",
                    "Account": "718",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-12-05T06:54:54.9289846Z",
                    "DepositID": null
                }
            ]


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-05T06:54:54.9289846Z",
                "DepositID": null
            }


+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z",
                "DepositID": null
            }


### PUT [PUT]
+ Please note, that Payment with type Prepayment cannot be modified.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z"
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z"
            }

### DELETE [DELETE /purchase/payment?ID={ID}&DeleteAllocation={DeleteAllocation}]
+ Parameters
    + ID (required, string) ... ID of Payment to Delete
    + DeleteAllocation (optional, boolean) ... Delete allocated payments (Default = true)


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


## Purchase Manual Journals [/purchase/manualJournal]

+ This endpoint is deprecated and supports only Simple Purchases. Please use <a href="#AdvancedPurchaseManualJournals">`Advanced Purchase Manual Journals`</a>
 endpoint.

### Available field for Purchase Manual Journal
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase ID|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#PurchaseManualJournalLineModel"><b>[] Purchase Manual Journal Line Model</b></a>||||

### GET [GET /purchase/manualJournal?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Purchase Manual Journals

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "Rounding",
                        "Amount": 2,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": false
                    },
                    {
                        "Reference": "Rounding",
                        "Amount": 1,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": false
                    },
                    {
                        "Reference": "Rounding",
                        "Amount": 2,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": true
                    }
                ]
            }

### POST [POST]

+ POST can be done even if manual journal status is `AUTHORISED`
+ Line items with IsSystem value = `true` cannot be modified or deleted.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "Rounding",
                        "Amount": 2,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": false
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "Rounding",
                        "Amount": 2,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": true
                    },
                    {
                        "Reference": "Rounding",
                        "Amount": 2,
                        "Date": "2017-12-06T00:00:00",
                        "Debit": "720",
                        "Credit": "404",
                        "IsSystem": false
                    }
                ]
            }


## Purchase Attachments [/purchase/attachment]

### Available fields for Purchase Attachments
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase ID|
|`Lines`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>||||

### Available fields for POST Methods
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `PurchaseID`  | Guid           |         |    Yes      |ID of Purchase to which attachment will be added.|
| `FileName`  | String           |         |    Yes      |File Name.|
| `FileDownloadUrl` | String           |         | No     |URL, where file can be downloaded.|
| `Content`  | String           |         |    Yes*     |File content converted to base64 string. Required if `FileDownloadUrl` is empty.|

### GET [GET /purchase/attachment?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns Payment info of a particular purchase
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Lines": [
                    {
                        "ID": "990d6602-2f4a-432b-97e1-04a2f51f7036",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=990d6602-2f4a-432b-97e1-04a2f51f7036&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                PurchaseID: "76755c09-60de-483c-a63b-18fd12c2d932",
                FileName: "Test",
                Content: "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARC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1IrgEkelVOh4pyk80JlONyeVwx4PGKhK5NNBPFPXtTC1hzooiPHNVZFXZnAqck5NQzccVLRULlY02nGkAyKxZ0CU5TikxS0JANopTwaKVgEopaMUWASiloosAlFFFIAooooAKKKKACiiigAooooAKKKKAFBqYSdqgpc1SdhNXLDyjbx1qBjk0lJQ3cEkgoooqRhRRRQAVatLC5u4pJLeIyLGVVsEZyegA6np2qrViC4mhQpFIyqzAkDuRkD+Zod+g42vqSrpd8wJFrNwM8oR6f407+yL/cF+zSEnsOe5Gfpwef8alfWb91CtctjKnoM5Xpzj2oj1nUIzlLp87SvODgEAH9FFTafkX7nmV30y9QgG1mOV3AhCQRjOcj60DTL4nAs7gnOMeW3X8vcfnVuPXL9QirMAFTy/ujLD3Pf0pr6zfybd0/yq+8KEXAOQemOnA46Uvf8h2h5lZNNvJI1eO3kZWzjaMk4ODx1qvNDJC+yVGRsA4YYOCMj9K0IdWvonLx3DKxOTgDB69sY7n86pzzyTyb5TubAXOMcAYH6CripN2ZEuW2h/9k="
            }
+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Lines": [
                    {
                        "ID": "990d6602-2f4a-432b-97e1-04a2f51f7036",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=990d6602-2f4a-432b-97e1-04a2f51f7036&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }
            

### DELETE [DELETE /purchase/attachment?ID={ID}]
+ Parameters
    + ID (optional) ... ID of Purchase Attachment to delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Lines": [
                    {
                        "ID": "990d6602-2f4a-432b-97e1-04a2f51f7036",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=990d6602-2f4a-432b-97e1-04a2f51f7036&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }
    


## Advanced Purchase [/advanced-purchase]
<a name="AdvancedPurchase" />

+ This endpoint supports Simple Purchases, Advanced Purchases and Service Purchases.
+ Service Purchases contain additional charges only. All get methods for service purchases will return empty Lines and filled Additional Lines
if `CombineAdditionalCharges` is set to false. POST AND PUT methods work as usual - you can pass Lines and Additional charges, and
they will be converted to Additional charges.
 
### Available Fields for Purchase
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid|||Unique Cin7 Core Purchase ID|
|`SupplierID`|Guid|||Identifier of Supplier|
|`Supplier`|String|256||Supplier name|
|`Contact`|String|256||Supplier Contact name|
|`Phone`|String|50||Supplier Contact phone|
|`InventoryAccount`|String|50||Account code used by default for invoice lines when no Inventory account is defined on Product. By default Inventory Control Account is used from account mapping.|
|`BlindReceipt`|Boolean|||`True` if there is no order in the purchase. `False` is default|
|`Approach`|String|10||`INVOICE` for `Invoice  First`, or `STOCK` for `Stock First`|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Purchase Billing address|
|`ShippingAddress`|<a href="#PurchaseShippingAddressModel"><b>Shipping Address Model</b></a>|||Purchase Shipping address|
|`BaseCurrency`|String|3||3 character currency code of Base Currency defined in General Settings on the moment when Purchase was created.|
|`SupplierCurrency`|String|3||3 character currency code of Supplier Currency defined in Supplier card at the moment when Supplier is selected for the Purchase.|
|`TaxRule`|String|50||Default Tax Rule name selected for Purchase|
|`TaxCalculation`|String|||`Inclusive` or `Exclusive`|
|`Terms`|String|256||Payment terms name|
|`RequiredBy`|DateTime|||Date when shipment is due|
|`Location`|String|256||Default location to store stock to|
|`Note`|String|1024||Custom Purchase note|
|`OrderNumber`|String|256||Represents Purchase Order Number|
|`OrderDate`|DateTime|||Represents Purchase Order Date|
| `CombinedReceivingStatus`  | String | 20        |          | Combined Put Away status. Possible Values are `FULLY RECEIVED`, `PARTIALLY RECEIVED`, `NOT AVAILABLE`, `NOT RECEIVED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        |          | Combined Invoice status. Possible Values are `INVOICED`, `INVOICED / CREDITED`, `NOT AVAILABLE`, `NOT INVOICED`, `PARTIALLY INVOICED`, `PARTIALLY INVOICED / CREDITED`        |
| `CombinedPaymentStatus`  | String | 20        |         | Payment status. Possible Values are `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `OVERPAID / CREDITED`, `VOIDED`       |
| `Type`  | String | 20        |         | Type of Purchase. Possible Values are `Simple Purchase`, `Advanced Purchase` , `Service Purchase`        |
| `IsServiceOnly`  | Boolean             |         |          |Specifies, if Purchase is a `Service Purchase`         |
|`Status`|String|20||Current Purchase status. Current sale status. Possible values are <a href="#PurchaseStatesList"><b>values</b></a>|
|`RelatedDropShipSaleTask`|Guid|||ID of SaleTask this drop-ship purchase is related to.|
|`CurrencyRate`|Decimal|||Conversion Rate expressed as number of Base currency units for one Supplier currency unit|
|`LastUpdatedDate`|DateTime|||Date and time when purchase task was created of last time modified|
|`Order`|<a href="#PurchaseOrderModel"><b>Purchase Order Model</b></a>|||Purchase Order|
|`StockReceived`|<a href="#AdvancedPurchaseStockModel"><b>[] Advanced Purchase Stock Model</b></a>|||Purchased and received items. The field is filled only for Advanced Purchases.|
|`PutAway`|<a href="#AdvancedPurchasePutAwayModel"><b>[] Advanced Purchase Put Away Model</b></a>|||Purchased and put away items|
|`Invoice`|<a href="#AdvancedPurchaseInvoiceModel"><b>[] Advanced Purchase Invoice Model</b></a>|||Purchase Invoice|
|`CreditNote`|<a href="#AdvancedPurchaseCreditNoteModel"><b>[] Advanced Purchase Credit Note Model</b></a>|||Purchase Credit Note|
|`ManualJournals`|<a href="#AdvancedPurchaseManualJournalModel"><b>[] Advanced Purchase Manual Journal Model</b></a>|||Purchase Manual Journals|
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Purchase Additional Attributes|
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>|||Purchase Attachments|
|`InventoryMovements`|<a href="#InventoryMovementLineModel"><b>Inventory Movement Line Model</b></a>|||Purchase Inventory Movements|


+ All Objects that contain field 'ProductID', also contain additional fields.

### Additional fields
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductLength`|Decimal|||Length of product|
|`ProductWidth`|Decimal|||Width of product|
|`ProductHeight`|Decimal|||Height of product|
|`ProductWeight`|Decimal|||Weight of product|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Purchase POST/PUT Attributes

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes*|Unique Cin7 Core Purchase ID.Required for PUT|
|`SupplierID`|Guid||Yes*|Identifier of Supplier. Required if Supplier not provided|
|`Supplier`|String|256|Yes*|Supplier name. Required if SupplierID not provided|
|`Contact`|String|256||Supplier Contact name|
|`Phone`|String|50||Supplier Contact phone|
|`BlindReceipt`|Boolean|||`True` if there is no order in the purchase. `False` is default|
|`Approach`|String|10|Yes|`INVOICE` for `Invoice  First`, or `STOCK` for `Stock First`. For Service Purchases Approach is always `Invoice First`|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Purchase Billing address|
|`ShippingAddress`|<a href="#PurchaseShippingAddressModel"><b>Shipping Address Model</b></a>|||Purchase Shipping address|
|`TaxRule`|String|50||Default Tax Rule name selected for Purchase|
|`TaxCalculation`|String|||`Inclusive` or `Exclusive`|
|`Terms`|String|256||Payment terms name|
|`RequiredBy`|DateTime|||Date when shipment is due|
|`Location`|String|256|Yes|Default location to store stock to|
|`PurchaseType`|String|||Can be used only in POST. Available values: `Simple` and `Advanced`|
|`Note`|String|1024||Custom Purchase note|
|`IsServiceOnly`|Boolean|||`True` if purchase is Service-Only Purchase. `False` is for Simple and Advanced purchases|
|`CurrencyRate`|Decimal|||Conversion Rate expressed as number of Base currency units for one Supplier currency unit|
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Purchase Additional Attributes|


### GET[GET /advanced-purchase?ID={ID}&CombineAdditionalCharges={CombineAdditionalCharges}]

+ Parameters
    + ID (required) ... Returns detailed info of a particular Purchase
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "78f64a2d-f339-4f0d-b29e-28646d05093d",
                "SupplierID": "400897e1-d3f5-4e42-878c-d73bb4618bce",
                "Supplier": "Carlton Technical Books",
                "Contact": "No Name",
                "Phone": "03 3786543",
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "INVOICE",
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                "BaseCurrency": "USD",
                "SupplierCurrency": "USD",
                "TaxRule": "Tax on Purchases",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": "2369h",
                "OrderNumber": "PO-00069",
                "Type": "Advanced Purchase",
                "CombinedInvoiceStatus": "INVOICED / CREDITED",
                "CombinedReceivingStatus": "FULLY RECEIVED",
                "CombinedPaymentStatus": "PAID",
                "IsServiceOnly": false,
                "OrderDate": "2018-04-05T00:00:00",
                "Status": "CREDITED",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2018-04-23T05:57:45.847Z",
                "Order": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                            "SKU": "Assembly One",
                            "Name": "Assembly One",
                            "Quantity": 3,
                            "Price": 280,
                            "Discount": 0,
                            "Tax": 0,
                            "TaxRule": "Tax on Purchases",
                            "SupplierSKU": "",
                            "Comment": "",
                            "Total": 840,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "g",
                            "DimensionsUnits": "cm",
                            "ProductCustomField1": "",
                            "ProductCustomField2": "",
                            "ProductCustomField3": "",
                            "ProductCustomField4": "",
                            "ProductCustomField5": "",
                            "ProductCustomField6": "",
                            "ProductCustomField7": "",
                            "ProductCustomField8": "",
                            "ProductCustomField9": "",
                            "ProductCustomField10": ""
                        }
                    ],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 840,
                    "Tax": 0,
                    "Total": 840
                },
                "StockReceived": [
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "InvoicingAndReceivingNumber": 1,
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-02T00:00:00",
                                "Quantity": 3,
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Location": null,
                                "LocationID": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "",
                                "ExpiryDate": null,
                                "CardID": "32ffe739-cd94-cb6d-1ccb-4ba819462f61",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ]
                    }
                ],
                "PutAway": [
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "InvoicingAndReceivingNumber": 1,
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-02T00:00:00",
                                "Quantity": 3,
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Location": "Main Warehouse",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Received": true,
                                "BatchSN": null,
                                "SupplierSKU": "",
                                "ExpiryDate": null,
                                "CardID": "e99b0f33-0426-42b7-88c5-2bcb32d780f3",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ]
                    }
                ],
                "Invoice": [
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "InvoicingAndReceivingNumber": 1,
                        "InvoiceDate": "2018-04-05T00:00:00",
                        "InvoiceDueDate": "2018-05-05T00:00:00",
                        "InvoiceNumber": "INV-00069",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Quantity": 3,
                                "Price": 280,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 840,
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ],
                        "AdditionalCharges": [],
                        "Payments": [
                            {
                                "ID": "5c84f44c-83a4-3576-e7d1-d089a465217f",
                                "Reference": "",
                                "Amount": 840,
                                "DatePaid": "2018-04-23T00:00:00",
                                "Account": "712",
                                "CurrencyRate": 1,
                                "DateCreated": "2018-04-23T05:57:22.7908949Z"
                            }
                        ],
                        "TotalBeforeTax": 840,
                        "Tax": 0,
                        "Total": 840,
                        "Paid": 840
                    }
                ],
                "CreditNote": [
                    {
                        "TaskID": "228cd42b-b7ea-479a-88bc-6838990c8bd9",
                        "CreditNoteInvoiceNumber": "INV-00069",
                        "CreditNoteNumber": "CR-00069",
                        "CreditNoteDate": "2018-04-03T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Quantity": 1,
                                "Price": 280,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 280,
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ],
                        "AdditionalCharges": [],
                        "Refunds": [
                            {
                                "ID": "f7de4fa6-90e7-e38b-3f05-d5412f14f2f3",
                                "Reference": "",
                                "Amount": 280,
                                "DatePaid": "2018-04-23T00:00:00",
                                "Account": "718",
                                "CurrencyRate": 1,
                                "DateCreated": "2018-04-23T05:57:45.426144Z"
                            }
                        ],
                        "Unstock": [
                            {
                                "CardID": "e99b0f33-0426-42b7-88c5-2bcb32d780f3",
                                "Date": "2018-04-03T00:00:00",
                                "Quantity": 1,
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null,
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ],
                        "TotalBeforeTax": 280,
                        "Tax": 0,
                        "Total": 280
                    },
                    {
                        "TaskID": "22dd8adc-5493-4cae-b31a-ede730a61018",
                        "CreditNoteInvoiceNumber": "INV-00069",
                        "CreditNoteNumber": "CR-00069-2",
                        "CreditNoteDate": "2018-04-03T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Quantity": 1,
                                "Price": 280,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 280,
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ],
                        "AdditionalCharges": [],
                        "Refunds": [
                            {
                                "ID": "397481bc-80ab-1764-50f8-67dadda0f0a5",
                                "Reference": "",
                                "Amount": 280,
                                "DatePaid": "2018-04-23T00:00:00",
                                "Account": "713",
                                "CurrencyRate": 1,
                                "DateCreated": "2018-04-23T05:57:45.3404147Z"
                            }
                        ],
                        "Unstock": [
                            {
                                "CardID": "e99b0f33-0426-42b7-88c5-2bcb32d780f3",
                                "Date": "2018-04-03T00:00:00",
                                "Quantity": 1,
                                "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                                "SKU": "Assembly One",
                                "Name": "Assembly One",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null,
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "g",
                                "DimensionsUnits": "cm",
                                "ProductCustomField1": "",
                                "ProductCustomField2": "",
                                "ProductCustomField3": "",
                                "ProductCustomField4": "",
                                "ProductCustomField5": "",
                                "ProductCustomField6": "",
                                "ProductCustomField7": "",
                                "ProductCustomField8": "",
                                "ProductCustomField9": "",
                                "ProductCustomField10": ""
                            }
                        ],
                        "TotalBeforeTax": 280,
                        "Tax": 0,
                        "Total": 280
                    }
                ],
                "ManualJournals": [
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "InvoicingAndReceivingNumber": 1,
                        "Status": "NOT AVAILABLE",
                        "Lines": [
                            {
                                "Reference": "Stock in Transit",
                                "Amount": 840,
                                "Date": "2018-04-02T00:00:00",
                                "Debit": "715",
                                "Credit": "715",
                                "IsSystem": true
                            }
                        ]
                    }
                ],
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": "false"
                },
                "Attachments": [],
                "InventoryMovements": [
                    {
                        "TaskID": "228cd42b-b7ea-479a-88bc-6838990c8bd9",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-03T00:00:00",
                        "COGS": -280,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    },
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-02T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    },
                    {
                        "TaskID": "228cd42b-b7ea-479a-88bc-6838990c8bd9",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-03T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    },
                    {
                        "TaskID": "22dd8adc-5493-4cae-b31a-ede730a61018",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-03T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    },
                    {
                        "TaskID": "dd31bf19-ea4b-412b-970c-d59f1a98ceea",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-05T00:00:00",
                        "COGS": 840,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    },
                    {
                        "TaskID": "22dd8adc-5493-4cae-b31a-ede730a61018",
                        "ProductID": "b1aa25a1-e55e-4a0d-b508-b0abf2adf8a6",
                        "Date": "2018-04-03T00:00:00",
                        "COGS": -280,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SupplierID": "92c27d86-a8d3-4335-9da1-d3ebd82cb568",
                "Supplier": "Test Supplier",
                "Supplier": "ABPA",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "Approach": "Stock",
                "BlindReceipt": false,
                "Contact": "No Name",
                "Phone": "",
                "CurrencyRate": 1,
                "Location": "Main Warehouse",
                "PurchaseType": "Simple",
                "Note": "",
                "RequiredBy": null,
                 "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                    "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                   "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                }  
            }
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                "SupplierID": "92c27d86-a8d3-4335-9da1-d3ebd82cb568",
                "Supplier": "Test Supplier",
                "Contact": "No Name",
                "Phone": null,
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "STOCK",
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                "BaseCurrency": "USD",
                "SupplierCurrency": "USD",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": "",
                "OrderNumber": "PO-00102",
                "Type": "Simple Purchase",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedReceivingStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "IsServiceOnly": false,
                "OrderDate": "2018-04-23T00:00:00",
                "Status": "DRAFT",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2018-04-23T06:15:50.327Z",
                "Order": {
                    "Memo": "",
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "PutAway": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "Invoice": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "InvoiceDate": null,
                        "InvoiceDueDate": null,
                        "InvoiceNumber": "",
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Payments": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0,
                        "Paid": 0
                    }
                ],
                "CreditNote": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "CreditNoteInvoiceNumber": "",
                        "CreditNoteNumber": "",
                        "CreditNoteDate": null,
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Refunds": [],
                        "Unstock": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0
                    }
                ],
                "ManualJournals": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                "SupplierID": "92c27d86-a8d3-4335-9da1-d3ebd82cb568",
                "Supplier": "Test Supplier",
                "Supplier": "ABPA",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "BlindReceipt": false,
                "Contact": "No Name",
                "Phone": "30 2012354",
                "CurrencyRate": 1,
                "Location": "Main Warehouse",
                "Note": "",
                "RequiredBy": null,
                 "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                    "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                   "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                }  
            }
+ Response 200 (application/json)
    + Body
    
            {
                "ID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                "SupplierID": "92c27d86-a8d3-4335-9da1-d3ebd82cb568",
                "Supplier": "Test Supplier",
                "Contact": "No Name",
                "Phone": "30 2012354",
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "STOCK",
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                "BaseCurrency": "RUB",
                "SupplierCurrency": "RUB",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": "",
                "OrderNumber": "PO-00102",
                "Type": "Simple Purchase",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedReceivingStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "IsServiceOnly": false,
                "OrderDate": "2018-04-23T00:00:00",
                "Status": "DRAFT",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2018-04-23T06:22:14.39Z",
                "Order": {
                    "Memo": "",
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "PutAway": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "Invoice": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "InvoiceDate": null,
                        "InvoiceDueDate": null,
                        "InvoiceNumber": "",
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Payments": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0,
                        "Paid": 0
                    }
                ],
                "CreditNote": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "CreditNoteInvoiceNumber": "",
                        "CreditNoteNumber": "",
                        "CreditNoteDate": null,
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Refunds": [],
                        "Unstock": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0
                    }
                ],
                "ManualJournals": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }


### DELETE [DELETE /advanced-purchase?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Purchase to Void or Undo
    + Void (optional,boolean) ... Void or Undo Purchase
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "ID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                "SupplierID": "92c27d86-a8d3-4335-9da1-d3ebd82cb568",
                "Supplier": "Test Supplier",
                "Contact": "No Name",
                "Phone": "30 2012354",
                "InventoryAccount": "715",
                "BlindReceipt": false,
                "Approach": "STOCK",
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": null,
                    "Line2": null,
                    "City": null,
                    "State": null,
                    "Postcode": null,
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331 United States",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "ShipToOther": false
                },
                "BaseCurrency": "USD",
                "SupplierCurrency": "USD",
                "TaxRule": "Sales Tax on Imports",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "RequiredBy": null,
                "Location": "Main Warehouse",
                "Note": "",
                "OrderNumber": "PO-00102",
                "Type": "Simple Purchase",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedReceivingStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "IsServiceOnly": false,
                "OrderDate": "2018-04-23T00:00:00",
                "Status": "DRAFT",
                "RelatedDropShipSaleTask": null,
                "CurrencyRate": 1,
                "LastUpdatedDate": "2018-04-23T06:22:14.39Z",
                "Order": {
                    "Memo": "",
                    "Status": "NOT AVAILABLE",
                    "Lines": [],
                    "AdditionalCharges": [],
                    "Prepayments": [],
                    "TotalBeforeTax": 0,
                    "Tax": 0,
                    "Total": 0
                },
                "StockReceived": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "PutAway": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "Invoice": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "InvoiceDate": null,
                        "InvoiceDueDate": null,
                        "InvoiceNumber": "",
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Payments": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0,
                        "Paid": 0
                    }
                ],
                "CreditNote": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "CreditNoteInvoiceNumber": "",
                        "CreditNoteNumber": "",
                        "CreditNoteDate": null,
                        "Status": "NOT AVAILABLE",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Refunds": [],
                        "Unstock": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0
                    }
                ],
                "ManualJournals": [
                    {
                        "TaskID": "695dbaf4-92c3-4388-a35c-0efa378db93e",
                        "InvoicingAndReceivingNumber": 0,
                        "Status": "NOT AVAILABLE",
                        "Lines": []
                    }
                ],
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [],
                "InventoryMovements": []
            }

        
## Advanced Purchase Stock Received [/advanced-purchase/stock] 
<a name="AdvancedPurchaseStock" />

+ This endpoint is not available for Service Perchases.
+ If POST or PUT methods called for Simple Purchase, this purchase will be converted to Advanced Purchase.
+ This endpoint is applicable only for Advanced Purchases and if `Use Put Away` option set to true in General Settings.

### Available Fields for Purchase Stock Received
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|Guid||Yes|Unique Cin7 Core Purchase Master Task ID|
|`TaskID`|Guid||No|Unique Cin7 Core Purchase Stock Receiving Task ID|
|`Status`|string||Yes|Purchase Stock Received Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST and PUT only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#AdvancedPurchaseStockLineModel"><b>[] Advanced Purchase Stock Line Model</b></a>||Yes||

### GET [GET /advanced-purchase/stock?PurchaseID={PurchaseID}]
+ Parameters
    + PurchaseID (required) ... Returns detailed info of a particular Purchase Order

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
            
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "StockReceiving": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }

### POST [POST]
+ POST method will return exception if Order status is not - `AUTHORISED`
+ POST method will return exception if Stock Received status is not - `DRAFT` or `NOT AVAILABLE` or `PARTIALLY RECEIVED`
+ POST method will return exception if Purchase `Approach` = `INVOICE` and `InvoiceStatus` is not - `AUTHORISED`
+ POST method is used to add only new stock lines.
+ POST method will create new Stock Receiving Task, if value of `TaskID` is not provided or equals to `00000000-0000-0000-0000-000000000000`.
+ To Authorize Stock Received, Request with empty lines in payload can be done.
+ If duplicated lines found in one payload, one line with sum quantity will be created.
+ If lines with same Product, location, batch and expiry Date already exist, error will be thrown.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "Date": "2018-04-23T00:00:00",
                        "Quantity": 6,
                        "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "LocationID": null,
                        "Location": null,
                        "Received": true,
                        "BatchSN": "632154845354",
                        "SupplierSKU": "2121632",
                        "ExpiryDate": "2018-05-23T00:00:00"
                    },
                    {
                        "Date": "2018-04-23T00:00:00",
                        "Quantity": 11,
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "LocationID": null,
                        "Location": null,
                        "Received": true,
                        "BatchSN": "",
                        "SupplierSKU": "5484153",
                        "ExpiryDate": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "StockReceiving": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }

### PUT [PUT]
+ PUT method will return exception if Order status is not - `AUTHORISED`
+ PUT method will return exception if Stock Received status is not - `DRAFT` or `NOT AVAILABLE` or `PARTIALLY RECEIVED`
+ PUT method will return exception if Purchase `Approach` = `INVOICE` and `InvoiceStatus` is not - `AUTHORISED`
+ PUT method will overwrite data in the related Purchase Task.
+ If duplicated lines found in one payload, one line with sum quantity will be created.
+ If lines with same Product, location, batch and expiry Date already exist, error will be thrown.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "Date": "2018-04-23T00:00:00",
                        "Quantity": 6,
                        "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "LocationID": null,
                        "Location": null,
                        "Received": true,
                        "BatchSN": "632154845354",
                        "SupplierSKU": "2121632",
                        "ExpiryDate": "2018-05-23T00:00:00"
                    },
                    {
                        "Date": "2018-04-23T00:00:00",
                        "Quantity": 11,
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "LocationID": null,
                        "Location": null,
                        "Received": true,
                        "BatchSN": "",
                        "SupplierSKU": "5484153",
                        "ExpiryDate": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "StockReceiving": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }
        
### DELETE [DELETE /advanced-purchase/stock?TaskID={TaskID}&Void={Void}]
+ DELETE not available for Simple Purchases

+ Parameters
    + TaskID (required) ... ID of Stock Receiving Purchase to Void or Undo
    + Void (optional,boolean) ... Void or Undo Purchase
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "StockReceiving": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "DRAFT",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": false,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": false,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": null,
                                "Location": null,
                                "Received": true,
                                "BatchSN": "",
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }

## Advanced Purchase Put Away [/advanced-purchase/put-away] 
<a name="AdvancedPurchasePutAway" />

### Available Fields for Purchase Put Away
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|Guid||Yes|Unique Cin7 Core Purchase Master Task ID|
|`TaskID`|Guid||No|Unique Cin7 Core Purchase Put Away Task ID|
|`Status`|string||Yes|Purchase Put Away Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted, if invoice lines match the receiving then only `AUTHORISED` value accepted|
|`Lines`|<a href="#AdvancedPurchasePutAwayLineModel"><b>[] Advanced Purchase Put Away Line Model</b></a>||Yes||

### GET [GET /advanced-purchase/put-away?PurchaseID={PurchaseID}]
+ Parameters
    + PurchaseID (required) ... Returns detailed info of a particular Purchase Order

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
            
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "PutAway": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": true,
                                "BatchSN": null,
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": true,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "DRAFT",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": false,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": false,
                                "BatchSN": null,
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }

### POST [POST]
+ POST method will return exception if Order status is not - `AUTHORISED`
+ POST method will return exception if Put Away status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Purchase `Approach` = `INVOICE` and `InvoiceStatus` is not - `AUTHORISED`
+ POST method is used to add only new stock lines.
+ POST method will create new Stock Receiving Task, if value of `TaskID` is not provided or equals to `00000000-0000-0000-0000-000000000000`.
+ To Authorize Put Away, Request with empty lines in payload can be done.
+ If duplicated lines found in one payload, one line with sum quantity will be created.
+ If lines with same Product, location, batch and expiry Date already exist, error will be thrown.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Date": "2018-04-20T00:00:00",
                        "Quantity": 4,
                        "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                        "Location": "Main Warehouse",
                        "Received": false,
                        "BatchSN": "6318846844",
                        "SupplierSKU": "2121632",
                        "ExpiryDate": "2018-05-31T00:00:00"
                    },
                    {
                        "Date": "2018-04-20T00:00:00",
                        "Quantity": 9,
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                        "Location": "Main Warehouse",
                        "Received": false,
                        "BatchSN": null,
                        "SupplierSKU": "5484153",
                        "ExpiryDate": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "PutAway": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 11,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": true,
                                "BatchSN": null,
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            },
                            {
                                "Date": "2018-04-23T00:00:00",
                                "Quantity": 6,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": true,
                                "BatchSN": "632154845354",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-23T00:00:00"
                            }
                        ]
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "DRAFT",
                        "Lines": [
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 4,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": false,
                                "BatchSN": "6318846844",
                                "SupplierSKU": "2121632",
                                "ExpiryDate": "2018-05-31T00:00:00"
                            },
                            {
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 9,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "LocationID": "ccb7d97b-a638-4b34-833e-4c348b81f40d",
                                "Location": "Main Warehouse",
                                "Received": false,
                                "BatchSN": null,
                                "SupplierSKU": "5484153",
                                "ExpiryDate": null
                            }
                        ]
                    }
                ]
            }


## Advanced Purchase Invoice [/advanced-purchase/invoice] 
<a name="AdvancedPurchaseInvoice" />

### Available Fields for Purchase Invoice

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|Guid||Yes|Unique Cin7 Core Purchase Master Task ID|
|`Invoices`|<a href="#AdvancedPurchasePartialInvoiceModel"><b>[] Advanced Purchase Invoice Model</b></a>||Yes||

### Advanced purchase invoice partial model
<a name="AdvancedPurchasePartialInvoiceModel" />

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Invoice Task ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`InvoiceDate`|DateTime||Yes|Date when invoice created. Default value is current date, used if not specified.|
|`InvoiceDueDate`|DateTime||Yes|Date until invoice is valid. If not specified, used default value from Terms.|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Status`|string||Yes|Purchase Invoice Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`, `PAID`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|
|`InvoiceTotalAmount`|Decimal with up to 4 decimal places|||Not required for POST.|
|`InvoiceTotalTaxAmount`|Decimal with up to 4 decimal places|||Not required for POST.|

### GET [GET /advanced-purchase/invoice?PurchaseID={PurchaseID}&CombineAdditionalCharges={CombineAdditionalCharges} ]
+ Parameters
    + PurchaseID (required) ... Returns detailed info of a particular Purchase Order
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "Invoices": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 11,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 330
                            },
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 6,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 90
                            }
                        ],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 420,
                        "Tax": 0,
                        "Total": 420,
                        "InvoiceTotalAmount": 420,
                        "InvoiceTotalTaxAmount": 0
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103/2",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 9,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 270
                            },
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 4,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 60
                            }
                        ],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 330,
                        "Tax": 0,
                        "Total": 330,
                        "InvoiceTotalAmount": 330,
                        "InvoiceTotalTaxAmount": 0
                    }
                ]
            }

### POST [POST]
+ POST method will return exception if Order status is not - `AUTHORISED`
+ POST method will return exception if Invoice status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Purchase `Approach` = `STOCK` and `StockReceivedStatus` is not - `AUTHORISED`


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                "CombineAdditionalCharges": false,
                "InvoiceDate": "2018-04-23T00:00:00",
                "InvoiceDueDate": "2018-05-23T00:00:00",
                "InvoiceNumber": "INV-00103",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "Name": "Golf balls white 3-pack",
                        "Quantity": 11,
                        "Price": 30,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Tax on Purchases",
                        "Account": "715",
                        "Comment": "",
                        "Total": 330
                    },
                    {
                        "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 6,
                        "Price": 15,
                        "Discount": 0,
                        "Tax": 0,
                        "TaxRule": "Tax on Purchases",
                        "Account": "715",
                        "Comment": "",
                        "Total": 90
                    }
                ],
                "AdditionalCharges": [],
                "TotalBeforeTax": 420,
                "Tax": 0,
                "Total": 420,
                "InvoiceTotalAmount": 420,
                "InvoiceTotalTaxAmount": 0
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "Invoices": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 11,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 330
                            },
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 6,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 90
                            }
                        ],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 420,
                        "Tax": 0,
                        "Total": 420,
                        "InvoiceTotalAmount": 420,
                        "InvoiceTotalTaxAmount": 0
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103/2",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 9,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 270
                            },
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 4,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 60
                            }
                        ],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 330,
                        "Tax": 0,
                        "Total": 330,
                        "InvoiceTotalAmount": 330,
                        "InvoiceTotalTaxAmount": 0
                    }
                ]
            }

### DELETE [DELETE /advanced-purchase/invoice?TaskID={TaskID}&Void={Void}]
+ DELETE not available for Simple Purchases

+ Parameters
    + TaskID (required) ... ID of Invoice Purchase to Void or Undo
    + Void (optional,boolean) ... Void or Undo Purchase
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "Invoices": [
                    {
                        "TaskID": "3320ef94-a7e8-4d81-9588-2a3e14cfca6f",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103",
                        "Status": "VOIDED",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0,
                        "InvoiceTotalAmount": 0,
                        "InvoiceTotalTaxAmount": 0
                    },
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "CombineAdditionalCharges": false,
                        "InvoiceDate": "2018-04-23T00:00:00",
                        "InvoiceDueDate": "2018-05-23T00:00:00",
                        "InvoiceNumber": "INV-00103/2",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 9,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 270
                            },
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 4,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 60
                            }
                        ],
                        "AdditionalCharges": [],
                        "TotalBeforeTax": 330,
                        "Tax": 0,
                        "Total": 330,
                        "InvoiceTotalAmount": 330,
                        "InvoiceTotalTaxAmount": 0
                    }
                ]
            }


## Advanced Purchase Credit Note [/advanced-purchase/creditnote]
<a name="AdvancedPurchaseCreditNote" />

### Available Fields for Purchase Credit Note
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|Guid||Yes|Unique Cin7 Core Purchase Master Task ID|
|`CreditNotes`|<a href="#AdvancedPurchasePartialCreditNoteModel"><b>[] Advanced Purchase Credit Note Model</b></a>||Yes||

### Advanced purchase credit note partial model
<a name="AdvancedPurchasePartialCreditNoteModel" />

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Credit Note Task ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`CreditNoteNumber`|string||Yes|Credit Note Number|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date|
|`CreditNoteInvoiceNumber`|string|50|Yes|Invoice Number for Credit Note|
|`Status`|string||Yes|Purchase Credit Note Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Unstock`|<a href="#PurchaseUnStockLineModel"><b>[] Purchase Unstock Line Model</b></a>||Yes||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|


### GET [GET /advanced-purchase/creditnote?PurchaseID={PurchaseID}&CombineAdditionalCharges={CombineAdditionalCharges}]
+ Parameters
    + PurchaseID (required) ... Returns detailed info of a particular Purchase Credit Notes
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
            
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "CreditNotes": [
                    {
                        "TaskID": "43ce7d3b-8c67-4aff-9224-b36b95811b08",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/1",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-15T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 5,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 75
                            },
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 5,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 150
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Rounding",
                                "Reference": "",
                                "Quantity": 1,
                                "Price": 0.5,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Total": 0.5
                            }
                        ],
                        "Unstock": [
                            {
                                "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                                "Date": "2018-04-15T00:00:00",
                                "Quantity": 5,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null
                            },
                            {
                                "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                                "Date": "2018-04-15T00:00:00",
                                "Quantity": 5,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "658487",
                                "ExpiryDate": "2018-06-01T00:00:00"
                            }
                        ],
                        "TotalBeforeTax": 225.5,
                        "Tax": 0,
                        "Total": 225.5
                    },
                    {
                        "TaskID": "870fbdb2-bc0a-4993-82b8-e58f514dbe49",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/2",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-20T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 5,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 150
                            },
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 10,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 300
                            }
                        ],
                        "AdditionalCharges": [],
                        "Unstock": [
                            {
                                "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 5,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "658487",
                                "ExpiryDate": "2018-06-01T00:00:00"
                            },
                            {
                                "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 10,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null
                            }
                        ],
                        "TotalBeforeTax": 450,
                        "Tax": 0,
                        "Total": 450
                    }
                ]
            }

### POST [POST]
+ POST method will return exception if Invoice status is not - `AUTHORISED` or `PAID`
+ POST method will return exception if Credit Note status is not - `DRAFT` or `NOT AVAILABLE`


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
               "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
               "TaskID": "00000000-0000-0000-0000-000000000000",
               "CombineAdditionalCharges": false,
               "CreditNoteNumber": "CR-00103/1",
               "CreditNoteInvoiceNumber": "INV-00103/2",
               "CreditNoteDate": "2018-04-15T00:00:00",
               "Status": "AUTHORISED",
               "Lines": [
                   {
                       "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                       "SKU": "Bread",
                       "Name": "Baked Bread",
                       "Quantity": 5,
                       "Price": 15,
                       "Discount": 0,
                       "Tax": 0,
                       "TaxRule": "Tax on Purchases",
                       "Account": "715",
                       "Comment": "",
                       "Total": 75
                   },
                   {
                       "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                       "SKU": "GB3-White",
                       "Name": "Golf balls white 3-pack",
                       "Quantity": 5,
                       "Price": 30,
                       "Discount": 0,
                       "Tax": 0,
                       "TaxRule": "Tax on Purchases",
                       "Account": "715",
                       "Comment": "",
                       "Total": 150
                   }
               ],
               "AdditionalCharges": [
                   {
                       "Description": "Rounding",
                       "Reference": "",
                       "Quantity": 1,
                       "Price": 0.5,
                       "Discount": 0,
                       "Tax": 0,
                       "TaxRule": "Tax on Purchases",
                       "Account": "715",
                       "Total": 0.5
                   }
               ],
               "Unstock": [
                   {
                       "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                       "Date": "2018-04-15T00:00:00",
                       "Quantity": 5,
                       "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                       "SKU": "GB3-White",
                       "Name": "Golf balls white 3-pack",
                       "Location": "Main Warehouse",
                       "BatchSN": null,
                       "ExpiryDate": null
                   },
                   {
                       "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                       "Date": "2018-04-15T00:00:00",
                       "Quantity": 5,
                       "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                       "SKU": "Bread",
                       "Name": "Baked Bread",
                       "Location": "Main Warehouse",
                       "BatchSN": "658487",
                       "ExpiryDate": "2018-06-01T00:00:00"
                   }
               ],
               "TotalBeforeTax": 225.5,
               "Tax": 0,
               "Total": 225.5
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "CreditNotes": [
                    {
                        "TaskID": "870fbdb2-bc0a-4993-82b8-e58f514dbe49",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/2",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-20T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 5,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 150
                            },
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 10,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 300
                            }
                        ],
                        "AdditionalCharges": [],
                        "Unstock": [
                            {
                                "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 5,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "658487",
                                "ExpiryDate": "2018-06-01T00:00:00"
                            },
                            {
                                "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 10,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null
                            }
                        ],
                        "TotalBeforeTax": 450,
                        "Tax": 0,
                        "Total": 450
                    },
                    {
                        "TaskID": "38a92d52-6998-496a-86c1-fda1c729afaa",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/1",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-15T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 5,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 75
                            },
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 5,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 150
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Rounding",
                                "Reference": "",
                                "Quantity": 1,
                                "Price": 0.5,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Total": 0.5
                            }
                        ],
                        "Unstock": [
                            {
                                "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 5,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "658487",
                                "ExpiryDate": "2018-06-01T00:00:00"
                            },
                            {
                                "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 5,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null
                            }
                        ],
                        "TotalBeforeTax": 225.5,
                        "Tax": 0,
                        "Total": 225.5
                    }
                ]
            }

### DELETE [DELETE /advanced-purchase/creditnote?TaskID={TaskID}]

+ Parameters
    + TaskID (required) ... ID of Credit Note Purchase to Void
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "CreditNotes": [
                    {
                        "TaskID": "43ce7d3b-8c67-4aff-9224-b36b95811b08",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/1",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-15T00:00:00",
                        "Status": "VOIDED",
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Unstock": [],
                        "TotalBeforeTax": 0,
                        "Tax": 0,
                        "Total": 0
                    },
                    {
                        "TaskID": "870fbdb2-bc0a-4993-82b8-e58f514dbe49",
                        "CombineAdditionalCharges": false,
                        "CreditNoteNumber": "CR-00103/2",
                        "CreditNoteInvoiceNumber": "INV-00103/2",
                        "CreditNoteDate": "2018-04-20T00:00:00",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 5,
                                "Price": 15,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 150
                            },
                            {
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Quantity": 10,
                                "Price": 30,
                                "Discount": 0,
                                "Tax": 0,
                                "TaxRule": "Tax on Purchases",
                                "Account": "715",
                                "Comment": "",
                                "Total": 300
                            }
                        ],
                        "AdditionalCharges": [],
                        "Unstock": [
                            {
                                "CardID": "0c6555ab-2cf1-4939-871d-8060b9bbfa38",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 5,
                                "ProductID": "11510572-0f9e-4d7c-a203-7e0563c3388f",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "BatchSN": "658487",
                                "ExpiryDate": "2018-06-01T00:00:00"
                            },
                            {
                                "CardID": "ebb1c602-d247-4ea2-a78d-6706f9e386a8",
                                "Date": "2018-04-20T00:00:00",
                                "Quantity": 10,
                                "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                                "SKU": "GB3-White",
                                "Name": "Golf balls white 3-pack",
                                "Location": "Main Warehouse",
                                "BatchSN": null,
                                "ExpiryDate": null
                            }
                        ],
                        "TotalBeforeTax": 450,
                        "Tax": 0,
                        "Total": 450
                    }
                ]
            }
 

## Advanced Purchase Payments [/advanced-purchase/payment]
<a name="AdvancedPurchasePayments" />

### Available Fields for Purchase Payments
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Task ID.|
|`ID`|GUID||Yes*|Identifier of payment. Available for PUT|
|`Type`|String||Yes|Available values are `PREPAYMENT`,`PAYMENT`,`REFUND`. Available for POST|
|`Reference`|String|||Payment reference number. Available for POST/PUT|
|`Amount`|Decimal with up to 2 decimal places||Yes|Payment amount in customer currency. Available for POST/PUT. For PUT is not available when payment is a deposit.|
|`DatePaid`|DateTime||Yes|Date when payment has been made. Available for POST/PUT|
|`Account`|String||Yes|Account Code of the bank/payment account from Chart of accounts. Available for POST/PUT. For PUT is not available when payment is a deposit.|
|`CurrencyRate`|Decimal with up to 4 decimal places||Yes|Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. Available for POST/PUT|
|`DateCreated`|DateTime|||Date of creation payment record.|
|`DepositID`|GUID||No|Identifier of deposit. Available for POST. The payment is taken from deposit if it is specified. Can be used only with Type=`PAYMENT`.|


+ Payments available only for purchase tasks with authorised invoice.
+ Refunds available only for purchase tasks with authorised credit note.


### GET [GET /advanced-purchase/payment?PurchaseID={PurchaseID}&OrderNumber={OrderNumber}&InvoiceNumber={InvoiceNumber}&CreditNoteNumber={CreditNoteNumber}]
+ Parameters
    + PurchaseID (optional) ... Returns detailed info of a particular Purchase Payments
    + OrderNumber (optional) ... Returns detailed info of a particular Purchase Payments with Purchase Order Number
    + InvoiceNumber (optional) ... Returns detailed info of a particular Purchase Payments with Invoice Number
    + CreditNoteNumber (optional) ... Returns detailed info of a particular Purchase Payments with Credit Note Number

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            [
                {
                    "PurchaseID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "ID": "39f331e6-916a-53c9-8012-846d138b65b8",
                    "Type": "Refund",
                    "Reference": "",
                    "Amount": 9,
                    "DatePaid": "2018-01-04T00:00:00",
                    "Account": "713",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-12-11T06:11:55.5282215Z",
                    "DepositID": null
                },
                {
                    "PurchaseID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                    "ID": "7ec7b89d-2ff8-419f-9d4d-9401f6fc99bb",
                    "Type": "Payment",
                    "Reference": "",
                    "Amount": 9,
                    "DatePaid": "2017-12-21T00:00:00",
                    "Account": "718",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-12-05T06:54:54.9289846Z",
                    "DepositID": null
                }
            ]


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-05T06:54:54.9289846Z",
                "DepositID": null
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z",
                "DepositID": null
            }


### PUT [PUT]
+ Please note, that Payment with type Prepayment cannot be modified.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z"
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "TaskID": "02b08cd2-51d2-41e6-ab97-85bcd13e7136",
                "ID": "d3d96860-648f-462a-9e19-eb61e03da136",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-12-21T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-12-12T04:16:39.5685412Z"
            }

### DELETE [DELETE /purchase/payment?ID={ID}&DeleteAllocation={DeleteAllocation}]
+ Parameters
    + ID (required, string) ... ID of Payment to Delete
    + DeleteAllocation (optional, boolean) ... Delete allocated payments (Default = true)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }


## Advanced Purchase Manual Journals [/advanced-purchase/manualJournal]

### Available field for Purchase Manual Journal
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|Guid||Yes|Unique Cin7 Core Purchase Master Task ID|
|`ManualJournals`|<a href="#AdvancedPurchasePartialMAnJModel"><b>[] Advanced Purchase Manual Journal Model</b></a>||Yes||

### Advanced purchase manual journal partial model
<a name="AdvancedPurchasePartialMAnJModel" />

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Purchase Invoice Task ID|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#PurchaseManualJournalLineModel"><b>[] Purchase Manual Journal Line Model</b></a>||||

### GET [GET /advanced-purchase/manualJournal?PurchaseID={PurchaseID}]
+ Parameters
    + PurchaseID (required) ... Returns detailed info of a particular Purchase Manual Journals

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "ManualJournals": [
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "AUTHORISED",
                        "Lines": [
                            {
                                "Reference": "Inventory discrepancy correction",
                                "Amount": 71.17,
                                "Date": "2018-04-20T00:00:00",
                                "Debit": "715",
                                "Credit": "433",
                                "IsSystem": true
                            },
                            {
                                "Reference": "Stock in Transit",
                                "Amount": 750,
                                "Date": "2018-04-20T00:00:00",
                                "Debit": "715",
                                "Credit": "715",
                                "IsSystem": true
                            },
                            {
                                "Reference": "",
                                "Amount": 20,
                                "Date": "2018-04-23T00:00:00",
                                "Debit": "715",
                                "Credit": "860",
                                "IsSystem": false
                            }
                        ]
                    }
                ]
            }

### POST [POST]

+ POST can be done even if manual journal status is `AUTHORISED`
+ Line items with IsSystem value = `true` cannot be modified or deleted.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "",
                        "Amount": 20,
                        "Date": "2018-04-23T00:00:00",
                        "Debit": "715",
                        "Credit": "860",
                        "IsSystem": false
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "PurchaseID": "5a7fb526-527a-4229-b331-90b6f5535aab",
                "ManualJournals": [
                    {
                        "TaskID": "807c3266-157b-4c0d-8131-a3b8e06c0d97",
                        "Status": "DRAFT",
                        "Lines": [
                            {
                                "Reference": "Inventory discrepancy correction",
                                "Amount": 71.17,
                                "Date": "2018-04-20T00:00:00",
                                "Debit": "715",
                                "Credit": "433",
                                "IsSystem": true
                            },
                            {
                                "Reference": "Stock in Transit",
                                "Amount": 750,
                                "Date": "2018-04-20T00:00:00",
                                "Debit": "715",
                                "Credit": "715",
                                "IsSystem": true
                            },
                            {
                                "Reference": "",
                                "Amount": 20,
                                "Date": "2018-04-23T00:00:00",
                                "Debit": "715",
                                "Credit": "860",
                                "IsSystem": false
                            }
                        ]
                    }
                ]
            }



# Group Reference Books

## Custom Prices [/custom-prices]
The Custom Prices resource allows Customer specific Product Prices to be created and updated.

<a href="#ProductPriceModel"><b>Custom Price Model</b></a>



### POST [POST /custom-prices]
+ Method will create new Customer specific prices for specified products.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
                "CustomPrices": [
                {
                    "CustomerID": "201a76af-9da8-4cb0-ab85-5570f36edff6",
                    "ProductSKU": "Screws-SKU - 001",
                    "Price": 1.1
                }
            ]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Errors": []
            }


### PUT [PUT /custom-prices]
+ Method will update Production BOM for specified product.

+ Request (application/json)

    + Headers

            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body
    
            {
                "CustomPrices": [
                {
                    "CustomerID": "201a76af-9da8-4cb0-ab85-5570f36edff6",
                    "ProductSKU": "Screws-SKU - 001",
                    "Price": 1.1
                }
            ]
            }

+ Response 200 (application/json)

    + Body
    
            {
                "Errors": []
            }


### DELETE [DELETE /custom-prices?ProductID={ProductID}&CustomerID={CustomerID}]
+ Method will delete specified Production BOM of specified product.

+ Parameters
    + ProductID (required, guid) ... Identifier of the Product whose Custom Price will be deleted
    + CustomerID (required, guid) ... Identifier of a Customer whose Custom Price will be deleted

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200

    + Body
            
            {
                "Success": true
            }




## Deals [/reference/deals]
Product Deals

### Available Fields for Product Deal <a name="ProductDeal" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`               | Guid      |       | Yes      |                       |
| `Name`              | String      |       | Yes      |      Deal Name        |
| `DateFrom`        | Date    |        |       |                       |
| `DateTo`            | Date    |        |       |                       |
| `IsActive`          | Bool    |     | Yes      |                        |
| `AllowCoupons`          | Bool    |     | Yes      |                        |
| `SingleCouponCodeUsage`          | Bool    |     | Yes      |                        |
| `CustomersGroup`     | String    |       |           | All, B2B, POS, Specified, CustomerTags |
| `CouponCodes`        | String   |       |        |      |
|`DealCustomers`|<a href="#ProductDealCustomerModel"><b>[] Customer Model</b></a>||||
|`DealCustomerTags`|<a href="#ProductDealTagModel"><b>[] Customer Tag Model</b></a>||||
|`DealDiscounts`|<a href="#ProductDealDiscountsModel"><b>[] Deal Discount Model</b></a>||||


### Available Fields for Product Deal Customer <a name="ProductDealCustomerModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `CustomerName`     | String      |       | Yes*      |                         |
| `CustomerID`        | Guid        |           | Yes*     |                       |


### Available Fields for Product Deal Customer Tag <a name="ProductDealTagModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `TagName`         | String    |       | Yes*      |                       |


### Available Fields for Product Deal Discount <a name="ProductDealDiscountModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `DiscountID`        | Guid        |           | Yes*     |                       |
| `DiscountName`     | String    |       | Yes*      |                         |
| `DiscountType`    | String    |       | Yes      |  Simple, QuantityBased, FreeShipping |
| `Sequence`        | Int        |           |              |                       |
| `IsOrderLevel`     | Bool        |       | Yes      |                         |
| `BuyType`            | String    |           |              |                       |
| `BuyValue`         | Decimal   |       |           |                         |
| `BuyValueType`    | String       |           |              |                       |
| `BuyMore`         | Bool        |       |           |                         |
| `GetType`            | String    |           |              |                       |
| `GetValue`         | Decimal   |       |           |                         |
| `GetValueType`    | String       |           |              |                       |
| `BuyMore`         | Bool        |       |           |                         |
|`DealDiscountBrands`|<a href="#ProductDealDiscountBrandModel"><b>[] Deal Discount Brand Model</b></a>||||
|`DealDiscountCategories`|<a href="#ProductDealDiscountCategoryModel"><b>[] Deal Discount Category Model</b></a>||||
|`DealDiscountTags`|<a href="#ProductDealDiscountTagModel"><b>[] Deal Discount Tag Model</b></a>||||
|`DealDiscountProducts`|<a href="#ProductDealDiscountProductModel"><b>[] Deal Discount Product Model</b></a>||||


### Available Fields for Product Deal Discount Brand <a name="ProductDealDiscountBrandModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `BrandName`       | String    |       | Yes*      |                       |
| `BrandID`         | Guid      |       | Yes*      |                       |
| `Type`            | String    |       | Yes       | Buy or Get            |


### Available Fields for Product Deal Discount Product <a name="ProductDealDiscountProductModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `ProductSKU`      | String    |       | Yes*      |                       |
| `ProductID`       | Guid      |       | Yes*      |                       |
| `ProductName`     | String    |       |           |      Readonly         |
| `IsFamily`        | Bool      |       | Yes       |                       |
| `Type`            | String    |       | Yes       | Buy or Get            |


### Available Fields for Product Deal Discount Tag <a name="ProductDealDiscountTagModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `TagName`         | String    |       | Yes*      |                       |
| `Type`            | String    |       | Yes       | Buy or Get            |


### Available Fields for Product Deal Discount Category <a name="ProductDealDiscountCategoryModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`              | Guid      |       | Yes*      |                       |
| `CategoryName`    | String    |       | Yes*      |                       |
| `Type`            | String    |       | Yes       | Buy or Get            |


### GET [GET /reference/deals?ID={ID}&Page={Page}&Limit={Limit}&Search={Search}]
+ Parameters
    + ID (optional) ... Returns detailed info of a particular Product Deal
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 25 (Default: 25)
    + Search (optional, string) ... Only return Product Deal that have the provided text in Name (Default: not set)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
                "Deals": [
                {
                    "ID": "ad02cdd0-5813-45bb-ba62-9ca8a69e2505",
                    "Name": "Product Deal 1",
                    "DateFrom": "2021-09-28T00:00:00",
                    "DateTo": "2021-09-30T00:00:00",
                    "IsActive": false,
                    "AllowCoupons": false,
                    "SingleCouponCodeUsage": false,
                    "CustomersGroup": "POS",
                    "CouponCodes": "",
                    "DealCustomers": [],
                    "DealCustomerTags": [],
                    "DealDiscounts": [
                        {
                            "ID": "a18997f7-1a8c-48f9-b0d3-b22534521fe9",
                            "DiscountName": "Alles fur Freunds",
                            "DiscountType": "Simple",
                            "DiscountID": "98fcb436-988d-437c-b135-7dcf19c94719",
                            "Sequence": 1,
                            "IsOrderLevel": false,
                            "BuyType": "",
                            "BuyValue": null,
                            "BuyValueType": "",
                            "BuyMore": false,
                            "GetType": "",
                            "GetValue": null,
                            "GetValueType": "",
                            "DealDiscountBrands": [],
                            "DealDiscountCategories": [],
                            "DealDiscountTags": [
                                {
                                    "ID": "8308d3db-1885-48b9-bac3-d4659352122d",
                                    "TagName": "Freund"
                                }
                            ],
                            "DealDiscountProducts": []
                        },
                        {
                            "ID": "c53d3cc8-69f5-4ee5-bb5c-3911bb181740",
                            "DiscountName": "Test 12",
                            "DiscountType": "Simple",
                            "DiscountID": "da9bdb07-484e-4a1b-bfdb-5ab49c252d8b",
                            "Sequence": 2,
                            "IsOrderLevel": false,
                            "BuyType": "",
                            "BuyValue": null,
                            "BuyValueType": "",
                            "BuyMore": false,
                            "GetType": "",
                            "GetValue": null,
                            "GetValueType": "",
                            "DealDiscountBrands": [],
                            "DealDiscountCategories": [],
                            "DealDiscountTags": [],
                            "DealDiscountProducts": [
                                {
                                    "ID": "fd2aec29-6f56-4861-a1e1-e25800764ffa",
                                    "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                    "ProductName": "Screws Drive Cross",
                                    "ProductSKU": "Screws-SKU - 002",
                                    "IsFamily": false
                                }
                            ]
                        }
                    ]
                }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Name": "Product Deal 1",
                "CustomersGroup": "POS",
                "DealDiscounts": [
                    {
                        "DiscountName": "Test 12555",
                        "DiscountType": "Simple",
                        "DiscountID": "da9bdb07-484e-4a1b-bfdb-5ab49c252d8b",
                        "Sequence": 2,
                        "IsOrderLevel": false,
                        "BuyType": "",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [],
                        "DealDiscountCategories": [],
                        "DealDiscountTags": [],
                        "DealDiscountProducts": [
                            {
                                "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                "ProductName": "Screws Drive Cross",
                                "IsFamily": false
                            },
                            {
                                "ProductSKU": "Screws-SKU - 001"
                            }
                        ]
                    },
                    {
                        "DiscountName": "Alles fur Freunde",
                        "DiscountType": "Simple",
                        "DiscountID": "98fcb436-988d-437c-b135-7dcf19c94719",
                        "Sequence": 1,
                        "IsOrderLevel": false,
                        "BuyType": "",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [
                            {
                                "BrandID": "9a04feb2-fee6-48de-9cbb-fbd4679adb8f",
                                "BrandName": "Microsoft"
                            }
                        ],
                        "DealDiscountCategories": [
                            {
                                "CategoryID": "b749d1be-01e6-49ee-8a3e-5bc75d9fea93",
                                "CategoryName": "Other"
                            }
                        ],
                        "DealDiscountTags": [
                            {
                                "TagName": "Kuku1"
                            }
                        ],
                        "DealDiscountProducts": []
                    },
                    {
                        "DiscountName": "Free shiping",
                        "DiscountType": "FreeShipping",
                        "DiscountID": "7ba8cd3f-db4a-4a28-8f79-9246a027ef0a",
                        "Sequence": 0,
                        "IsOrderLevel": true,
                        "BuyType": "brand",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "brand",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [],
                        "DealDiscountCategories": [],
                        "DealDiscountTags": [],
                        "DealDiscountProducts": []
                    }
                ]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Deals": [
                    {
                        "ID": "8b89117b-e73c-4ccd-9bbc-8e7c95bfaa6c",
                        "Name": "Product Deal 1",
                        "DateFrom": null,
                        "DateTo": null,
                        "IsActive": false,
                        "AllowCoupons": false,
                        "SingleCouponCodeUsage": false,
                        "CustomersGroup": "POS",
                        "CouponCodes": null,
                        "DealCustomers": [],
                        "DealCustomerTags": [],
                        "DealDiscounts": [
                            {
                                "ID": "f2b3e4ee-ddca-466c-8ba2-b4a8ea98a81a",
                                "DiscountName": "Test 12",
                                "DiscountType": "Simple",
                                "DiscountID": "da9bdb07-484e-4a1b-bfdb-5ab49c252d8b",
                                "Sequence": 2,
                                "IsOrderLevel": false,
                                "BuyType": "",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [],
                                "DealDiscountCategories": [],
                                "DealDiscountTags": [],
                                "DealDiscountProducts": [
                                    {
                                        "ID": "a674841d-d142-4d71-a42d-5db43416e550",
                                        "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                        "ProductName": "Screws Drive Cross",
                                        "ProductSKU": "Screws-SKU - 002",
                                        "IsFamily": false
                                    },
                                    {
                                        "ID": "a6ae2d5b-62af-4413-be21-7632ec579737",
                                        "ProductID": "931bdf92-20c9-4d93-bc43-7cfa0665f419",
                                        "ProductName": "Screws Phillips Drive Flat",
                                        "ProductSKU": "Screws-SKU - 001",
                                        "IsFamily": false
                                    }
                                ]
                            },
                            {
                                "ID": "38ced00a-6ca3-4ef7-953b-3f8fcf0d2f90",
                                "DiscountName": "Alles fur Freunde",
                                "DiscountType": "Simple",
                                "DiscountID": "98fcb436-988d-437c-b135-7dcf19c94719",
                                "Sequence": 1,
                                "IsOrderLevel": false,
                                "BuyType": "",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [
                                    {
                                        "ID": "7d49c88c-f29d-41a2-a722-3e374ca006b7",
                                        "BrandID": "9a04feb2-fee6-48de-9cbb-fbd4679adb8f",
                                        "BrandName": "Microsoft"
                                    }
                                ],
                                "DealDiscountCategories": [
                                    {
                                        "ID": "2ccac251-3771-4b4a-9b90-a6cb5224e553",
                                        "CategoryID": "b749d1be-01e6-49ee-8a3e-5bc75d9fea93",
                                        "CategoryName": "Other"
                                    }
                                ],
                                "DealDiscountTags": [
                                    {
                                        "ID": "875145c2-fef4-4d47-ac83-d43acac1e517",
                                        "TagName": "Kuku1"
                                    }
                                ],
                                "DealDiscountProducts": []
                            },
                            {
                                "ID": "2105615b-f561-4af2-bc53-933153fadc49",
                                "DiscountName": "Free shiping",
                                "DiscountType": "FreeShipping",
                                "DiscountID": "7ba8cd3f-db4a-4a28-8f79-9246a027ef0a",
                                "Sequence": 0,
                                "IsOrderLevel": true,
                                "BuyType": "brand",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "brand",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [],
                                "DealDiscountCategories": [],
                                "DealDiscountTags": [],
                                "DealDiscountProducts": []
                            }
                        ]
                    }
                ]
            }


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "8b89117b-e73c-4ccd-9bbc-8e7c95bfaa6c",
                "Name": "Product Deal 1a",
                "CustomersGroup": "POS",
                "DealDiscounts": [
                    {
                        "ID": "f2b3e4ee-ddca-466c-8ba2-b4a8ea98a81a",
                        "DiscountName": "Test 12",
                        "DiscountType": "Simple",
                        "DiscountID": "da9bdb07-484e-4a1b-bfdb-5ab49c252d8b",
                        "Sequence": 2,
                        "IsOrderLevel": false,
                        "BuyType": "",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [],
                        "DealDiscountCategories": [],
                        "DealDiscountTags": [],
                        "DealDiscountProducts": [
                            {
                                "ID": "a674841d-d142-4d71-a42d-5db43416e550",
                                "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                "IsFamily": false
                            }
                        ]
                    },
                    {
                        "ID": "38ced00a-6ca3-4ef7-953b-3f8fcf0d2f90",
                        "DiscountName": "Alles fur Freunds",
                        "DiscountType": "Simple",
                        "DiscountID": "98fcb436-988d-437c-b135-7dcf19c94719",
                        "Sequence": 1,
                        "IsOrderLevel": false,
                        "BuyType": "",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [],
                        "DealDiscountCategories": [],
                        "DealDiscountTags": [
                            {
                                "ID": "875145c2-fef4-4d47-ac83-d43acac1e517",
                                "TagName": "Kuku1"
                            },
                {
                                "TagName": "newTag"
                            }
                        ],
                        "DealDiscountProducts": []
                    },
                    {
                        "ID": "2105615b-f561-4af2-bc53-933153fadc49",
                        "DiscountName": "Free shiping",
                        "DiscountType": "FreeShipping",
                        "DiscountID": "7ba8cd3f-db4a-4a28-8f79-9246a027ef0a",
                        "Sequence": 0,
                        "IsOrderLevel": true,
                        "BuyType": "brand",
                        "BuyValue": null,
                        "BuyValueType": "",
                        "BuyMore": false,
                        "GetType": "brand",
                        "GetValue": null,
                        "GetValueType": "",
                        "DealDiscountBrands": [],
                        "DealDiscountCategories": [],
                        "DealDiscountTags": [],
                        "DealDiscountProducts": []
                    }
                ]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "Deals": [
                    {
                        "ID": "8b89117b-e73c-4ccd-9bbc-8e7c95bfaa6c",
                        "Name": "Product Deal 1a",
                        "DateFrom": null,
                        "DateTo": null,
                        "IsActive": false,
                        "AllowCoupons": false,
                        "SingleCouponCodeUsage": false,
                        "CustomersGroup": "POS",
                        "CouponCodes": "",
                        "DealCustomers": [],
                        "DealCustomerTags": [],
                        "DealDiscounts": [
                            {
                                "ID": "f2b3e4ee-ddca-466c-8ba2-b4a8ea98a81a",
                                "DiscountName": "Test 12",
                                "DiscountType": "Simple",
                                "DiscountID": "da9bdb07-484e-4a1b-bfdb-5ab49c252d8b",
                                "Sequence": 2,
                                "IsOrderLevel": false,
                                "BuyType": "",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [],
                                "DealDiscountCategories": [],
                                "DealDiscountTags": [],
                                "DealDiscountProducts": [
                                    {
                                        "ID": "a674841d-d142-4d71-a42d-5db43416e550",
                                        "ProductID": "1cd995b0-a8f1-456c-9784-ecf3a8fc2804",
                                        "ProductName": "Screws Drive Cross",
                                        "ProductSKU": "Screws-SKU - 002",
                                        "IsFamily": false
                                    }
                                ]
                            },
                            {
                                "ID": "38ced00a-6ca3-4ef7-953b-3f8fcf0d2f90",
                                "DiscountName": "Alles fur Freunds",
                                "DiscountType": "Simple",
                                "DiscountID": "98fcb436-988d-437c-b135-7dcf19c94719",
                                "Sequence": 1,
                                "IsOrderLevel": false,
                                "BuyType": "",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [],
                                "DealDiscountCategories": [],
                                "DealDiscountTags": [
                                    {
                                        "ID": "875145c2-fef4-4d47-ac83-d43acac1e517",
                                        "TagName": "Kuku1"
                                    },
                                    {
                                        "ID": "0ac0a6a7-22f3-49da-a5a8-2189f4f030c8",
                                        "TagName": "newTag"
                                    }
                                ],
                                "DealDiscountProducts": []
                            },
                            {
                                "ID": "2105615b-f561-4af2-bc53-933153fadc49",
                                "DiscountName": "Free shiping",
                                "DiscountType": "FreeShipping",
                                "DiscountID": "7ba8cd3f-db4a-4a28-8f79-9246a027ef0a",
                                "Sequence": 0,
                                "IsOrderLevel": true,
                                "BuyType": "brand",
                                "BuyValue": null,
                                "BuyValueType": "",
                                "BuyMore": false,
                                "GetType": "brand",
                                "GetValue": null,
                                "GetValueType": "",
                                "DealDiscountBrands": [],
                                "DealDiscountCategories": [],
                                "DealDiscountTags": [],
                                "DealDiscountProducts": []
                            }
                        ]
                    }
                ]
            }



## Product Discounts [/reference/discount]
Define Discount Rules


### Available Fields for Product Discount Rule <a name="ProductDiscountRuleModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`               | Guid      |       | Yes      |                       |
| `Name`              | String      |   128    | Yes      |      Deal Name        |
| `IsActive`          | Bool    |     | Yes      |                        |
| `Type`             | String    |       |    Yes       | Simple, QuantityBased, FreeShipping |
|`DiscountLines`|<a href="#DiscountLineModel"><b>[] Discount Line Model</b></a>||||


### Available Fields for Discount Line Model <a name="DiscountLineModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`               | Guid      |       | Yes      |                       |
| `MinValue`         | Decimal      |       |       | Applicable only when Product Discount Rule Type = QuantityBase and only for the first item in the list. Subsequent items MinValue is being calculated as previous item MaxValue + 0.0001.|
| `MaxValue`          | Decimal    |     |       | Applicable only when Product Discount Rule Type = QuantityBase |
| `DiscountType`     | String    |       |           | DiscountAmount, DiscountPercent, MarkupAmount, MarkupPercent, PriceOverride, FlatAmount, FreeShipping |
| `Amount`          | Decimal    |     | Yes*      |                        |
| `OrderExceeds`          | Decimal    |     | Yes*      | Required when DiscountType = FreeShipping      |


### GET [GET /reference/discount?ID={ID}&Page={Page}&Limit={Limit}&Search={Search}]
+ Parameters
    + ID (optional) ... Returns detailed info of a particular Discount Rule
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 25 (Default: 25)
    + Search (optional, string) ... Only return Discount Rules that have the provided text in Name (Default: not set)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body

            {
                "DiscountRules": [
                    {
                        "ID": "98fcb436-988d-437c-b135-7dcf19c94719",
                        "Name": "Alles fur Freunds",
                        "IsActive": true,
                        "Type": "Simple",
                        "DiscountLines": [
                            {
                                "ID": "6f32d19e-aaa1-4aa4-98ee-630303cee936",
                                "MinValue": 0,
                                "MaxValue": 0,
                                "DiscountType": "DiscountPercent",
                                "Amount": 5
                            }
                        ]
                    },
                    {
                        "ID": "d750a98e-ebf4-4635-9079-b1833be52c94",
                        "Name": "Third one",
                        "IsActive": true,
                        "Type": "QuantityBased",
                        "DiscountLines": [
                            {
                                "ID": "1f1aa561-791e-42b4-a2b5-13efef7c8750",
                                "MinValue": 50.0001,
                                "MaxValue": 100000,
                                "DiscountType": "DiscountPercent",
                                "Amount": 7
                            },
                            {
                                "ID": "af09aecc-ace8-4a29-bd72-16cccf6c5642",
                                "MinValue": 0,
                                "MaxValue": 50,
                                "DiscountType": "DiscountAmount",
                                "Amount": 5
                            }
                        ]
                    }
                ],
                "Total": 4,
                "Page": 1
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "DiscountRules": [
                {
                    "Name": "The second one",
                    "IsActive": false,
                    "DiscountLines": [
                        {
                            "MinValue": 0,
                            "MaxValue": 10,
                            "DiscountType": "MarkupPercent",
                            "Amount": 50
                        }
                    ],
                    "Type": "Simple"
                }
                ]
            }
    
+ Response 200 (application/json)
    + Body
    
            {
                "DiscountRules": [
                {
                    "ID": "c74ac47e-c5db-4b82-8fe0-ebdbd07a5920",
                    "Name": "The second one",
                    "IsActive": false,
                    "Type": "Simple",
                    "DiscountLines": [
                        {
                            "ID": "b4724004-73c8-4700-9d94-20d718fec82e",
                            "MinValue": 0,
                            "MaxValue": 10,
                            "DiscountType": "MarkupPercent",
                            "Amount": 50
                        }
                    ]
                }
                ]
            }
    
    
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "c74ac47e-c5db-4b82-8fe0-ebdbd07a5920",
                "Name": "The second one v2",
                "DiscountLines": [
                    {
                        "ID": "b4724004-73c8-4700-9d94-20d718fec82e",
                        "MinValue": 0,
                        "MaxValue": 100,
                        "DiscountType": "MarkupPercent",
                        "Amount": 30
                    }
                ]

            }
    
    
+ Response 200 (application/json)
    + Body
    
            {
                "DiscountRules": [
                {
                    "ID": "c74ac47e-c5db-4b82-8fe0-ebdbd07a5920",
                    "Name": "The second one v2",
                    "IsActive": false,
                    "Type": "Simple",
                    "DiscountLines": [
                        {
                            "ID": "b4724004-73c8-4700-9d94-20d718fec82e",
                            "MinValue": 0,
                            "MaxValue": 100,
                            "DiscountType": "MarkupPercent",
                            "Amount": 30
                        }
                    ]
                }
                ]
            }
        
  

## Product Suppliers [/product-suppliers]
Define Product Suppliers


### Available Fields for Product Supplier
See <a href="#ProductSupplierModel"><b>Product Supplier Model</b></a>


### Available Fields for Product Supplier Options Model
See <a href="#ProductSupplierOptionsModel"><b>Product Supplier Options Model</b></a>

Note that Product Supplier Options with unspecified location represent the default options set.

### Available Fields for Product Supplier Options Interval Model
See <a href="#ProductSupplierOptionsIntervalModel"><b>Product Supplier Options Interval Model</b></a>


### GET [GET /product-suppliers?ProductID={ProductID}]
+ Parameters
    + ProductID (required, guid) ... Return product suppliers of a particular Product

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body

            {
                "ProductSuppliers": [
                    {
                        "ProductSupplierID": "b48ceb52-e4ac-40e0-b549-4e046da1541e",
                        "SupplierID": "33a22f89-c8a2-43e1-8b4a-f677b39f521b",
                        "SupplierName": "Tom the Supplier",
                        "ProductID": "2fcb8c53-9183-4bd3-aefa-b8f78167e159",
                        "ProductSKU": "Async Pra 1",
                        "Cost": 1,
                        "FixedCost": 2,
                        "SupplierInventoryCode": "SupplierInventoryCode",
                        "SupplierProductName": "SupplierProductName",
                        "SupplierProductURL": "SupplierProductURL",
                        "DropShip": false,
                        "Currency": "RUB",
                        "PurchaseCost": 1,
                        "LastSupplied": "2022-04-18T00:00:00",
                        "ProductSupplierOptions": [
                            {
                                "ID": "0f8352e1-f1c0-4dd0-b6b5-675d3e8c5e8e",
                                "LocationID": "e822dd3f-f24d-4724-a938-6adcf126228d",
                                "LocationName": "Larek 2",
                                "ReorderQuantity": 130,
                                "Lead": 130,
                                "Safety": 130,
                                "MinimumToReorder": null,
                                "SupplyIntervals": [
                                    {
                                        "ID": "afee05a8-2e5c-4e46-9570-391c2195a76b",
                                        "DeliveryMethod": "Fixed",
                                        "IntervalDays": 0,
                                        "IntervalStartDate": null,
                                        "IsMonday": false,
                                        "IsTuesday": true,
                                        "IsWednesday": false,
                                        "IsThursday": false,
                                        "IsFriday": false,
                                        "IsSaturday": false,
                                        "IsSunday": false
                                    }
                                ]
                            },
                            {
                                "ID": "f4768e9b-49ac-4a11-ad2e-7337e924ba4d",
                                "LocationID": "f54e58e6-5f75-4829-a924-5b7ae16ae7d1",
                                "LocationName": "Larek",
                                "ReorderQuantity": 120,
                                "Lead": 120,
                                "Safety": 120,
                                "MinimumToReorder": null,
                                "SupplyIntervals": [
                                    {
                                        "ID": "a4915aa5-504c-4439-95b6-8c461da61ddd",
                                        "DeliveryMethod": "Interval",
                                        "IntervalDays": 12,
                                        "IntervalStartDate": "2022-01-19T00:00:00",
                                        "IsMonday": false,
                                        "IsTuesday": false,
                                        "IsWednesday": false,
                                        "IsThursday": false,
                                        "IsFriday": false,
                                        "IsSaturday": false,
                                        "IsSunday": false
                                    }
                                ]
                            },
                            {
                                "ID": "739ec37c-a3f3-43fe-ad67-fd333ccb6eb3",
                                "LocationID": null,
                                "LocationName": null,
                                "ReorderQuantity": 40,
                                "Lead": 50,
                                "Safety": 60,
                                "MinimumToReorder": 70,
                                "SupplyIntervals": []
                            }
                        ]
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ProductSuppliers": [
                {
                    "SupplierID": "33a22f89-c8a2-43e1-8b4a-f677b39f521b",
                    "ProductID": "2fcb8c53-9183-4bd3-aefa-b8f78167e159",
                    "Cost": 1,
                    "FixedCost": 2,
                    "SupplierInventoryCode": "SupplierInventoryCode",
                    "SupplierProductName": "SupplierProductName",
                    "SupplierProductURL": "SupplierProductURL",
                    "DropShip": false,
                    "Currency": "USD",
                    "PurchaseCost": 800,
                    "ProductSupplierOptions": [
                        {
                            "LocationID": null,
                            "LocationName": null,
                            "ReorderQuantity": 4,
                            "Lead": 5,
                            "Safety": 6,
                            "MinimumToReorder": 7,
                            "SupplyIntervals": []
                        },
                        {
                            "LocationID": "1e1efdc6-3e76-4b96-9159-026a7e3be233",
                            "LocationName": "Remote Warehouse",
                            "ReorderQuantity": 11,
                            "Lead": 11,
                            "Safety": 11,
                            "SupplyIntervals": []
                        },
                        {
                            "LocationID": "f54e58e6-5f75-4829-a924-5b7ae16ae7d1",
                            "LocationName": "Larek",
                            "ReorderQuantity": 12,
                            "Lead": 12,
                            "Safety": 12,
                            "SupplyIntervals": [
                                {
                                    "DeliveryMethod": "interval",
                                    "IntervalDays": 2,
                                    "IntervalStartDate": "2022-01-19T00:00:00",
                                    "IsMonday": false,
                                    "IsTuesday": false,
                                    "IsWednesday": false,
                                    "IsThursday": false,
                                    "IsFriday": false,
                                    "IsSaturday": false,
                                    "IsSunday": false
                                }
                            ]
                        },
                        {
                            "LocationID": "e822dd3f-f24d-4724-a938-6adcf126228d",
                            "LocationName": "Larek 2",
                            "ReorderQuantity": 13,
                            "Lead": 13,
                            "Safety": 13,
                            "SupplyIntervals": [
                                {
                                    "DeliveryMethod": "fixed",
                                    "IntervalDays": 0,
                                    "IntervalStartDate": null,
                                    "IsMonday": true,
                                    "IsTuesday": false,
                                    "IsWednesday": true,
                                    "IsThursday": false,
                                    "IsFriday": true,
                                    "IsSaturday": false,
                                    "IsSunday": false
                                }
                            ]
                        },
                        {
                            "LocationID": "4710c076-fde9-4baa-b7b2-683200eeb9e8",
                            "LocationName": "Main Warehouse",
                            "ReorderQuantity": 0,
                            "Lead": 0,
                            "Safety": 0,
                            "SupplyIntervals": []
                        }
                    ]
                }
            ]
            }
    
+ Response 200 (application/json)
    + Body
    
            {
                "Success": true
            }
    
    
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ProductSuppliers": [
                {
                    "ProductSupplierID": "b1b86605-716f-492e-b7a9-ce7e095c0913",
                    "SupplierID": "33a22f89-c8a2-43e1-8b4a-f677b39f521b",
                    "SupplierName": null,
                    "ProductID": "2fcb8c53-9183-4bd3-aefa-b8f78167e159",
                    "ProductSKU": null,
                    "Cost": 1,
                    "FixedCost": 2,
                    "SupplierInventoryCode": "SupplierInventoryCode",
                    "SupplierProductName": "SupplierProductName",
                    "SupplierProductURL": "SupplierProductURL",
                    "DropShip": false,
                    "Currency": "RUB",
                    "PurchaseCost": 1,
                    "ProductSupplierOptions": [
                        {
                            "ID": "fb8cfe54-cdce-41bb-8086-932cd7b6e553",
                            "LocationID": "e822dd3f-f24d-4724-a938-6adcf126228d",
                            "LocationName": "Larek 2",
                            "ReorderQuantity": 130,
                            "Lead": 130,
                            "Safety": 130,
                            "MinimumToReorder": null,
                            "SupplyIntervals": [
                                {
                                    "ID": "fef55b2b-2d18-4882-b123-97f5f4c8c808",
                                    "DeliveryMethod": "Fixed",
                                    "IntervalDays": 0,
                                    "IntervalStartDate": null,
                                    "IsMonday": false,
                                    "IsTuesday": true,
                                    "IsWednesday": false,
                                    "IsThursday": false,
                                    "IsFriday": false,
                                    "IsSaturday": false,
                                    "IsSunday": false
                                }
                            ]
                        },
                        {
                            "ID": "7b6d8b63-b791-49b0-bda5-1094c7616e60",
                            "LocationID": "f54e58e6-5f75-4829-a924-5b7ae16ae7d1",
                            "LocationName": "Larek",
                            "ReorderQuantity": 120,
                            "Lead": 120,
                            "Safety": 120,
                            "MinimumToReorder": null,
                            "SupplyIntervals": [
                                {
                                    "ID": "a4915aa5-504c-4439-95b6-8c461da61ddd",
                                    "DeliveryMethod": "Interval",
                                    "IntervalDays": 12,
                                    "IntervalStartDate": "2022-01-19T00:00:00",
                                    "IsMonday": false,
                                    "IsTuesday": false,
                                    "IsWednesday": false,
                                    "IsThursday": false,
                                    "IsFriday": false,
                                    "IsSaturday": false,
                                    "IsSunday": false
                                }
                            ]
                        },
                        {
                            "ID": "74494d37-0e38-43a4-94e2-c32c965ecfd7",
                            "LocationID": null,
                            "LocationName": null,
                            "ReorderQuantity": 40,
                            "Lead": 50,
                            "Safety": 60,
                            "MinimumToReorder": 70,
                            "SupplyIntervals": []
                        }
                    ]
                }
            ]
            }
    
    
+ Response 200 (application/json)
    + Body
    
            {
                "Success": true
            }

 
### DELETE [DELETE /product-suppliers?ProductID={ProductID}&SupplierID={SupplierID}]
+ Method will delete specified Product Supplier settings with their Options and Intervals.

+ Parameters
    + ProductID (required, guid) ... Identifier of the Product
    + SupplierID (required, guid) ... Identifier of a Supplier

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200

    + Body

            {
                "Success": true
            }


## Ship Zones [/reference/shipZones]
Define shipping zones to determine customer's shipping fees
                                            


### Available Fields for Shipping Zone <a name="ShippingZoneModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ZoneID`               | Guid      |       | Yes      |                       |
| `Name`              | String      |  128     | Yes      |              |
| `IsRestZone`        | Bool    |     | Yes      |                        |
| `PricesInclTax`        | Bool    |     | Yes      |                        |
| `Negative`        | Bool    |     | Yes      |                        |
| `DefaultShippingCost`        | Decimal    |     | Yes      |                        |
| `ShortDesc`        | Bool    |     |       |       Readonly                 |
| `TaxRuleID`        | Guid    |     | Yes*      |                        |
| `TaxRuleName`        | String    |  255   | Yes*      |                        |
|`AppliesTo`|<a href="#ShipZoneAppliesToModel"><b>[] Applies To Model</b></a>||||
|`Conditions`|<a href="#ShipZoneConditionsModel"><b>[] Condition Model</b></a>||||



### Available Fields for Applies To Model <a name="ShipZoneAppliesToModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`               | Guid      |       | Yes      |                       |
| `Country2`         | String      |       |       |  US, SO, NG etc.       |
| `StateID`          | Int    |     |       |                        |
| `StateName`         | String    |       |           | AL, LA, CA etc. |
| `PostCodeFrom`    | String    |  100   |       |                        |
| `PostCodeTo`    | String    |  100   |       |                        |
| `PostCodesList`    | String    |     |       |                        |
| `ShippingRate`    | Decimal    |     |    Yes   |                        |


### Available Fields for Condition Model <a name="ShipZoneConditionModel" />
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ZoneConditionID`               | Guid      |       | Yes      |                       |
| `MinValue`    | Decimal    |     |       |                        |
| `MaxValue`    | Decimal    |     |       |                        |
| `ShippingCost`    | Decimal    |     |    Yes   |                        |
| `ConditionType`   | String    |       |    Yes       | Price, Weight |
| `ConditionDescription`    | String    |  128   |       |                        |



### GET [GET /reference/shipZones?ID={ID}&Page={Page}&Limit={Limit}&Search={Search}]
+ Parameters
    + ID (optional) ... Returns detailed info of a particular Shipping zone
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 25 (Default: 25)
    + Search (optional, string) ... Only return Shiping Zones that have the provided text in Name (Default: not set)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body

            {
                "ShipZones": [
                {
                        "ZoneID": "95ce60f9-b6f7-85e5-945d-556e925fc361",
                        "Name": "Rest of World",
                        "IsRestZone": true,
                        "PricesInclTax": false,
                        "Negative": false,
                        "DefaultShippingCost": 770,
                        "ShortDesc": "Default shipping settings.",
                        "TaxRuleID": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                        "TaxRuleName": null,
                        "AppliesTo": [],
                        "Conditions": []
                    },
                    {
                        "ZoneID": "353025a7-7984-866f-4df9-9a021938145a",
                        "Name": "Wild Wild West",
                        "IsRestZone": false,
                        "PricesInclTax": false,
                        "Negative": false,
                        "DefaultShippingCost": 0,
                        "ShortDesc": "Andorra",
                        "TaxRuleID": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                        "TaxRuleName": null,
                        "AppliesTo": [
                            {
                                "ID": "489b38a3-e3c8-a6cb-9d97-7e6d7b5bea0a",
                                "Country2": "AD",
                                "StateID": null,
                                "StateName": null,
                                "PostCodeFrom": "",
                                "PostCodeTo": "",
                                "PostCodesList": "",
                                "ShippingRate": 22
                            }
                        ],
                        "Conditions": []
                    }
                ],
                "Total": 4,
                "Page": 1
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Name": "Shipping Zone test",
                "IsRestZone": false,
                "PricesInclTax": false,
                "Negative": false,
                "TaxRuleID": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                "AppliesTo": [
                    {
                        "Country2": "DZ",
                        "StateID": null,
                        "StateName": null,
                        "PostCodeFrom": "",
                        "PostCodeTo": "",
                        "PostCodesList": "",
                        "ShippingRate": 7000
                    },
                    {
                        "ID": "4820bb61-bc4b-47d8-9dc1-c8222408919f",
                        "Country2": "AF",
                        "StateID": null,
                        "StateName": null,
                        "PostCodeFrom": "",
                        "PostCodeTo": "",
                        "PostCodesList": "",
                        "ShippingRate": 8000
                    }
                ],
                "Conditions": [
                    {
                        "MinValue": 700,
                        "MaxValue": 0,
                        "ShippingCost": 0,
                        "ConditionType": "Price",
                        "ConditionDescription": "New Rule pb111"
                    },
                    {
                        "ZoneConditionID": "5f948569-8917-4293-8eb7-7e428e3a6cee",
                        "MinValue": 800,
                        "MaxValue": 0,
                        "ShippingCost": 0,
                        "ConditionType": "Weight",
                        "ConditionDescription": "New Rule v2"
                    }
                ]
            }
    
+ Response 200 (application/json)
    + Body
    
            {
                "ShipZones": [
                    {
                        "ZoneID": "b25830a0-3db8-4ea2-a6c3-25efe6381649",
                        "Name": "Shipping Zone test",
                        "IsRestZone": false,
                        "PricesInclTax": false,
                        "Negative": false,
                        "DefaultShippingCost": 0,
                        "ShortDesc": null,
                        "TaxRuleID": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                        "TaxRuleName": null,
                        "AppliesTo": [
                            {
                                "ID": "d44d3e15-c714-49c2-a3be-7e9400148b37",
                                "Country2": "DZ",
                                "StateID": null,
                                "StateName": null,
                                "PostCodeFrom": "",
                                "PostCodeTo": "",
                                "PostCodesList": "",
                                "ShippingRate": 7000
                            },
                            {
                                "ID": "4820bb61-bc4b-47d8-9dc1-c8222408919f",
                                "Country2": "AF",
                                "StateID": null,
                                "StateName": null,
                                "PostCodeFrom": "",
                                "PostCodeTo": "",
                                "PostCodesList": "",
                                "ShippingRate": 8000
                            }
                        ],
                        "Conditions": [
                            {
                                "ZoneConditionID": "20c6ecc4-10c6-4170-b3f1-a2d3255ff1c3",
                                "MinValue": 700,
                                "MaxValue": 0,
                                "ShippingCost": 0,
                                "ConditionType": "Price",
                                "ConditionDescription": "New Rule pb111"
                            },
                            {
                                "ZoneConditionID": "5f948569-8917-4293-8eb7-7e428e3a6cee",
                                "MinValue": 800,
                                "MaxValue": 0,
                                "ShippingCost": 0,
                                "ConditionType": "Weight",
                                "ConditionDescription": "New Rule v2"
                            }
                        ]
                    }
                ]
            }
    
    
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ZoneID": "b25830a0-3db8-4ea2-a6c3-25efe6381649",
                "Name": "Shipping Zone test v2",
                "Conditions": [
                    {
                        "ZoneConditionID": "20c6ecc4-10c6-4170-b3f1-a2d3255ff1c3",
                        "MinValue": 7,
                        "MaxValue": 0,
                        "ShippingCost": 7,
                        "ConditionType": "Price",
                        "ConditionDescription": "Rule 1"
                    },
                    {
                        "ZoneConditionID": "5f948569-8917-4293-8eb7-7e428e3a6cee",
                        "MinValue": 8,
                        "MaxValue": 0,
                        "ShippingCost": 8,
                        "ConditionType": "Weight",
                        "ConditionDescription": "Rule v"
                    },
                    {
                        "MinValue": 1000,
                        "MaxValue": 0,
                        "ShippingCost": 100,
                        "ConditionType": "Weight",
                        "ConditionDescription": "Rule v"
                    }
                ]
            }
    
    
+ Response 200 (application/json)
    + Body
    
            {
                "ShipZones": [
                    {
                        "ZoneID": "b25830a0-3db8-4ea2-a6c3-25efe6381649",
                        "Name": "Shipping Zone test v2",
                        "IsRestZone": false,
                        "PricesInclTax": false,
                        "Negative": false,
                        "DefaultShippingCost": 0,
                        "ShortDesc": "Afghanistan, Algeria",
                        "TaxRuleID": "cd3b41ce-e4ba-4fc4-a615-18ca17e7a4c7",
                        "TaxRuleName": null,
                        "AppliesTo": [
                            {
                                "ID": "d44d3e15-c714-49c2-a3be-7e9400148b37",
                                "Country2": "DZ",
                                "StateID": null,
                                "StateName": null,
                                "PostCodeFrom": "",
                                "PostCodeTo": "",
                                "PostCodesList": "",
                                "ShippingRate": 7000
                            },
                            {
                                "ID": "4820bb61-bc4b-47d8-9dc1-c8222408919f",
                                "Country2": "AF",
                                "StateID": null,
                                "StateName": null,
                                "PostCodeFrom": "",
                                "PostCodeTo": "",
                                "PostCodesList": "",
                                "ShippingRate": 8000
                            }
                        ],
                        "Conditions": [
                            {
                                "ZoneConditionID": "20c6ecc4-10c6-4170-b3f1-a2d3255ff1c3",
                                "MinValue": 7,
                                "MaxValue": 0,
                                "ShippingCost": 7,
                                "ConditionType": "Price",
                                "ConditionDescription": "Rule 1"
                            },
                            {
                                "ZoneConditionID": "5f948569-8917-4293-8eb7-7e428e3a6cee",
                                "MinValue": 8,
                                "MaxValue": 0,
                                "ShippingCost": 8,
                                "ConditionType": "Weight",
                                "ConditionDescription": "Rule v"
                            },
                            {
                                "ZoneConditionID": "5c353827-6f30-4f45-9b2d-5d7e7afe3431",
                                "MinValue": 1000,
                                "MaxValue": 0,
                                "ShippingCost": 100,
                                "ConditionType": "Weight",
                                "ConditionDescription": "Rule v"
                            }
                        ]
                    }
                ]
            }
        
    
### Delete [DELETE /reference/shipZones?ShipZoneID ={ShipZoneID}]
        
+ Parameters
    + ShipZoneID (required) ... ID of Ship Zone to delete

        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Success": true
            }



## Ship Zones Enabled [/reference/shipZonesEnabled]
Enable / disable shipping zones


### Get [GET]
        

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "IsEnabled": true
            }


### Update [PUT]
        

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

            {
                "IsEnabled": false
            }

+ Response 200 (application/json)
    + Body
    
            {
                "IsEnabled": false
            }


# Group Sale

+ Common approach is POST method will overwrite data in the related document (lines, additional charges, etc) and will add new supplied entries.

<h4>Service Sale</h4>

+ To Create Service sale(sale that contains only service products) set parameter ServiceOnly = true, when creating new Sale. you can't change it later.
+ For Service Sale `Sale Order` and `Sale Fulfilment` endpoints are unavailable.
+ For Service Sale Credit Note Restock Property is readonly.
+ For Service Sale `TaskID` Always  = `SaleID`
+ Even if service products added to Service sale as `Additional Charge`, it will be processed as usual product line.

### Sale Types
+ Simple Sale: Sale that contains single invoice/fulfilment/credit note per sale order.
+ Advanced sale: Sale that contains multiple invoices/fulfilments/credit notes per sale order.
+ Service-Only sale: Same as simple sale, but contains only service products instead of stock products and has no additional charges.

<a name="SaleStatesList" />
### Available Sale Statuses
|Status|Description|
|:-----|-----------|
|`DRAFT`|No data is added to sale details. Quote and order are empty and not authorised. This status is not used for sales created via the POST API.|
|`VOIDED`|Task has been voided|
|`ESTIMATING`|QuoteStatus = DRAFT, OrderStatus = NOT AVAILABLE|
|`ESTIMATED`|QuoteStatus = AUTHORISED or Skip Quote=true, OrderStatus = NOT AVAILABLE|
|`ORDERING`|OrderStatus = DRAFT|
|`ORDERED`|OrderStatus = AUTHORISED, all products in sale order are in stock, no backordering. PickStatus = NOT AVAILABLE|
|`BACKORDERED`|OrderStatus = AUTHORISED, at least one product in sale order has been backordered. PickStatus = NOT AVAILABLE|
|`PICKING`|PickStatus = DRAFT, only applicable to simple sale|
|`PICKED`|PickStatus = AUTHORISED, PackStatus = NOT AVAILABLE, only applicable to simple sale|
|`PACKING`|PackStatus = DRAFT, only applicable to simple sale|
|`PACKED`|PackStatus = AUTHORISED, ShipStatus = NOT AVAILABLE, only applicable to simple sale|
|`SHIPPING`|ShipStatus = DRAFT, only applicable to simple sale|
|`INVOICING`|OrderStatus=AUTHORISED, InvoiceStatus=DRAFT, only applicable to simple sale|
|`INVOICED`|InvoiceStatus = AUTHORISED or InvoiceStatus = PAID, CreditNoteStatus <> AUTHORISED, TotalInvoice – TotalPaid <> 0, only applicable to simple sale|
|`CREDITED`|CreditNoteStatus = AUTHORISED, TotalInvoice – TotalPaid <> 0, only applicable to simple sale|
|`COMPLETED`|InvoiceStatus = PAID, ShipStatus=AUTHORISED, TotalInvoice – TotalPaid = 0|

<a name="QuoteStatuses" />
### Available Quote Statuses
|Status|Description|
|:-----|-----------|
|`NOT AVAILABLE`|Not ready for processing.|
|`DRAFT`|Contains some lines, ready for processing|
|`AUTHORISED`|AUTHORISED|
|`VOIDED`|VOIDED|

<a name="OrderStatuses" />
### Available Order Statuses
|Status|Description|
|:-----|-----------|
|`NOT AVAILABLE`|Not ready for processing.|
|`DRAFT`|Contains some lines, ready for processing|
|`AUTHORISED`|AUTHORISED|
|`VOIDED`|VOIDED|
|`AUTH_NO_ALLOC`|AUTORISED, without stock allocation|
|`FULFILLED`|The order is FULFILLED, and no further fulfillments are required|
|`CLOSED`|The Invoice and Shipment stages are completed|


<a name="InvoiceStatuses" />
### Available Invoice Statuses
|Status|Description|
|:-----|-----------|
|`NOT AVAILABLE`|Not ready for processing.|
|`DRAFT`|Contains some lines, ready for processing|
|`AUTHORISED`|AUTHORISED|
|`VOIDED`|VOIDED|
|`PAID`|Fully Paid|




## Sale List [/saleList]

### Available Fields for Sale List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `SaleID`  | Guid           |         |  Yes        |Unique Cin7 Core Sale identifier          |
| `OrderNumber`  | String             | 256        | Yes         |Sale Order number generated by Cin7 Core          |
| `Status`  | String          |         | Yes         |Current sale status. Possible values are <a href="#SaleStatesList"><b>values</b></a>        |
| `OrderDate`  | Date         |         | Yes         | Date when Sale Order was created         |
| `InvoiceDate`  | Date            |         |          | Date when Invoice was issued         |
| `Customer`  | Date            | 256        | Yes         | Name of the customer         |
| `CustomerID`  | Guid |         |          | Customer Identifier         |
| `InvoiceNumber`  | String |   256      |          | Invoice number generated by Cin7 Core         |
| `CustomerReference`  | String | 256        |          | Optional Customer Reference (typically customer Purchase order number) supplied by the customer for the sale         |
| `InvoiceAmount`  | Decimal |         |  Yes        | Total Invoice amount minus total Credit note amount in customer currency        |
| `PaidAmount`  | Decimal |         |  Yes        | Total Paid amount minus Refunded amount in customer currency         |
| `SaleInvoicesTotalAmount`  | Decimal |         |          | Total invoice amount         |
| `InvoiceDueDate`  | Date |         |          | Date when invoice is due according to selected payment terms         |
| `ShipBy`  | Date |         |          | Date when shipment is due     |
| `BaseCurrency`  | String | 3        | Yes         | 3 digit Base currency code (as configured in General Settings)        |
| `CustomerCurrency`  | String | 3        | Yes         | 3 digit Customer currency code       |
| `CreditNoteNumber`  | String | 256        |          | Credit note number generated by Cin7 Core. Is empty unless credit note is created       |
| `Updated`  | DateTime |         | Yes         | Date when the sale was last created/updated last time        |
| `QuoteStatus`  | String | 20        | Yes         | Sale Quote status. Possible Values are <a href="#QuoteStatuses"><b>values</b></a>|
| `OrderStatus`  | String | 20        | Yes         | Sale Order status. Possible Values are <a href="#OrderStatuses"><b>values</b></a>        |
| `CombinedPickingStatus`  | String | 20        | Yes         | Pick status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PICKED`, `PICKING` , `NOT PICKED` , `PARTIALLY PICKED`        |
| `CombinedPackingStatus`  | String | 20        | Yes         | Pack status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PACKED`, `PACKING`, `NOT PACKED`, `PARTIALLY PACKED`       |
| `CombinedShippingStatus`  | String | 20        | Yes         | Ship status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `SHIPPED`, `SHIPPING` , `NOT SHIPPED`   , `PARTIALLY SHIPPED`         |
| `FulFilmentStatus`  | String | 20        | Yes         | Fulfilment status. Possible Values are `FULFILLED`, `PARTIALLY FULFILLED`, `NOT AVAILABLE`, `NOT FULFILLED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        | Yes         | Invoice status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`, `PAID`        |
| `CombinedPaymentTotal`  | Decimal |         |          | Combined total invoice paid amount         |
| `CreditNoteStatus`  | String | 20        | Yes         | Credit Note status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`       |
| `CombinedPaymentStatus`  | String | 20        | Yes         | Payment status. Possible Values are `NOT REFUNDED`, `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `VOIDED`       |
| `Type`  | String | 50        | Yes         | Type of Sale. Possible Values are `Simple Sale`, `Advanced Sale` , `Service Sale`        |
| `CombinedTrackingNumbers`  | String | 256        | Yes         | Tracking Numbers        |
| `SourceChannel`  | String | 32        |          | Source of the sale. read-only field       |
| `ExternalID`  | String | 256        |          | Custom field that is only available in API and allows to set arbitrary value for the sale for later search and any custom logic        |
| `OrderLocationID`  | Guid |         |          | Sale Order Location ID         |


### GET [GET /saleList?Page={Page}&Limit={Limit}&Search={Search}&CreatedSince={CreatedSince}&UpdatedSince={UpdatedSince}&ShipBy={ShipBy}&QuoteStatus={QuoteStatus}&OrderStatus={OrderStatus}&CombinedPickStatus={CombinedPickStatus}&CombinedPackStatus={CombinedPackStatus}&CombinedShippingStatus={CombinedShippingStatus}&CombinedInvoiceStatus={CombinedInvoiceStatus}&CreditNoteStatus={CreditNoteStatus}&ExternalID={ExternalID}&Status={Status}&ReadyForShipping={ReadyForShipping}&OrderLocationID={OrderLocationID}]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Search (optional, string) ... Only return sales with search value contained in one of these fields: OrderNumber, Status, Customer, invoiceNumber, CustomerReference, CreditNoteNumber
    + CreatedSince (optional, DateTime) ... Only return sales created after specified date. Date must follow  ISO 8601 format.
    + UpdatedSince (optional, DateTime) ... Only return sales changed after specified date. Date must follow  ISO 8601 format.
    + UpdatedUntil (optional, DateTime) ... Only return sales changed before specified date. Date must follow  ISO 8601 format.
    + ShipBy (optional, DateTime) ... Only return sales with Ship By date on or before specified date, with not authorised Shipment. Date must follow  ISO 8601 format.
    + QuoteStatus (optional, string) ... Only return sales with specified quote status
    + OrderStatus (optional, string) ... Only return sales with specified order status
    + CombinedPickStatus (optional, string) ... Only return sales with specified CombinedPickingStatus
    + CombinedPackStatus (optional, string) ... Only return sales with specified CombinedPackingStatus
    + CombinedShippingStatus (optional, string) ... Only return sales with specified CombinedShippingStatus
    + CombinedInvoiceStatus (optional, string) ... Only return sales with specified CombinedInvoiceStatus
    + CreditNoteStatus (optional, string) ... Only return sales with specified credit note status
    + ExternalID (optional, string) ... Only return sales with specified External ID
    + Status (optional, string) ... Only return sales with specified sale status
    + ReadyForShipping (optional, boolean) ... Only return sales with 'Authorised' pack and not 'Authorised' shipping
    + OrderLocationID (optional, Guid) ... Only return sales with specified Order Location ID
    
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body

            {
                "Total": 2,
                "Page": 1,
                "SaleList": [
                    {
                        "SaleID": "6222cb47-0e1e-450d-af6d-0cefcee9eef7",
                        "OrderNumber": "SO-00092",
                        "Status": "ORDERED",
                        "OrderDate": "2017-09-29T00:00:00",
                        "InvoiceDate": null,
                        "Customer": "Rock Star Transport",
                        "CustomerID": "74de0528-fae7-4233-9222-e92110d57f5a",
                        "InvoiceNumber": null,
                        "CustomerReference": "",
                        "InvoiceAmount": 0,
                        "PaidAmount": 0,
                        "SaleInvoicesTotalAmount": 0,
                        "InvoiceDueDate": null,
                        "ShipBy": null,
                        "BaseCurrency": "RUB",
                        "CustomerCurrency": "RUB",
                        "CreditNoteNumber": null,
                        "Updated": "2017-09-29T03:03:13.913Z",
                        "QuoteStatus": "AUTHORISED",
                        "OrderStatus": "AUTHORISED",
                        "CombinedPickingStatus": "PICKED",
                        "CombinedPaymentStatus": "PAID",
                        "CombinedTrackingNumbers": "",
                        "CombinedPackingStatus": "PACKED",
                        "CombinedShippingStatus": "SHIPPING",
                        "CombinedInvoiceStatus": "INVOICED",
                        "CombinedPaymentTotal": 0,
                        "CreditNoteStatus": "NOT AVAILABLE",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Type": "Advanced Sale",
                        "SourceChannel": "Amazon_US",
                        "ExternalID": null,
                        "OrderLocationID": "8b5d4343-c007-43d7-8e8f-6fa6c0d29f22"
                    },
                    {
                        "SaleID": "a6558396-8893-479b-bca9-f89ea3e54633",
                        "OrderNumber": "SO-00091",
                        "Status": "BACKORDERED",
                        "OrderDate": "2017-09-28T00:00:00",
                        "InvoiceDate": "2017-09-28T00:00:00",
                        "Customer": "Rock Star Transport",
                        "CustomerID": "9a4513e9-a7a4-4ee5-b240-84cfd8944cde",
                        "InvoiceNumber": "INV-06073",
                        "CustomerReference": "19614",
                        "InvoiceAmount": 0,
                        "PaidAmount": 0,
                        "SaleInvoicesTotalAmount": 0,
                        "InvoiceDueDate": "2017-10-02T00:00:00",
                        "ShipBy": "2017-09-29T00:00:00",
                        "BaseCurrency": "RUB",
                        "CustomerCurrency": "AUD",
                        "CreditNoteNumber": null,
                        "Updated": "2017-09-29T03:00:48.043Z",
                        "QuoteStatus": "NOT AVAILABLE",
                        "OrderStatus": "AUTHORISED",
                        "CombinedPickingStatus": "NOT PICKED",
                        "CombinedPaymentStatus": "UNPAID",
                        "CombinedTrackingNumbers": "",
                        "CombinedPackingStatus": "NOT PACKED",
                        "CombinedShippingStatus": "NOT SHIPPED",
                        "CombinedInvoiceStatus": "NOT INVOICED",
                        "CombinedPaymentTotal": 0,
                        "CreditNoteStatus": "NOT AVAILABLE",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Type": "Simple Sale",
                        "SourceChannel": null,
                        "ExternalID": null,
                        "OrderLocationID": "8b5d4343-c007-43d7-8e8f-6fa6c0d29f22"
                    }
                ]
            }

## Sale Credit Note List [/saleCreditNoteList]

### Available Fields for Sale Credit Note List
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `SaleID`  | Guid           |         |  Yes        |Unique Cin7 Core Sale identifier          |
| `OrderNumber`  | String             | 256        | Yes         |Sale Order number generated by Cin7 Core          |
| `Status`  | String          |         | Yes         |Current sale status. Possible values are <a href="#SaleStatesList"><b>values</b></a>        |
| `OrderDate`  | Date         |         | Yes         | Date when Sale Order was created         |
| `InvoiceDate`  | Date            |         |          | Date when Invoice was issued         |
| `Customer`  | Date            | 256        | Yes         | Name of the customer         |
| `CustomerID`  | Guid |         |          | Customer Identifier         |
| `InvoiceNumber`  | String |   256      |          | Invoice number generated by Cin7 Core         |
| `CustomerReference`  | String | 256        |          | Optional Customer Reference (typically customer Purchase order number) supplied by the customer for the sale         |
| `InvoiceAmount`  | Decimal |         |  Yes        | Total Invoice amount minus total Credit note amount in customer currency        |
| `PaidAmount`  | Decimal |         |  Yes        | Total Paid amount minus Refunded amount in customer currency         |
| `InvoiceDueDate`  | Date |         |          | Date when invoice is due according to selected payment terms         |
| `ShipBy`  | Date |         |          | Date when shipment is due     |
| `BaseCurrency`  | String | 3        | Yes         | 3 digit Base currency code (as configured in General Settings)        |
| `CustomerCurrency`  | String | 3        | Yes         | 3 digit Customer currency code       |
| `CreditNoteNumber`  | String | 256        |          | Credit note number generated by Cin7 Core. Is empty unless credit note is created       |
| `Updated`  | DateTime |         | Yes         | Date when the sale was last created/updated last time        |
| `QuoteStatus`  | String | 20        | Yes         | Sale Quote status. Possible Values are <a href="#QuoteStatuses"><b>values</b></a>|
| `OrderStatus`  | String | 20        | Yes         | Sale Order status. Possible Values are <a href="#OrderStatuses"><b>values</b></a>        |
| `CombinedPickingStatus`  | String | 20        | Yes         | Pick status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PICKED`, `PICKING` , `NOT PICKED` , `PARTIALLY PICKED`        |
| `CombinedPackingStatus`  | String | 20        | Yes         | Pack status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PACKED`, `PACKING`, `NOT PACKED`, `PARTIALLY PACKED`       |
| `CombinedShippingStatus`  | String | 20        | Yes         | Ship status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `SHIPPED`, `SHIPPING` , `NOT SHIPPED`   , `PARTIALLY SHIPPED`         |
| `FulFilmentStatus`  | String | 20        | Yes         | Fulfilment status. Possible Values are `FULFILLED`, `PARTIALLY FULFILLED`, `NOT AVAILABLE`, `NOT FULFILLED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        | Yes         | Invoice status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`, `PAID`        |
| `CreditNoteStatus`  | String | 20        | Yes         | Credit Note status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`       |
| `CombinedPaymentStatus`  | String | 20        | Yes         | Payment status. Possible Values are `NOT REFUNDED`, `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `VOIDED`       |
| `Type`  | String | 50        | Yes         | Type of Sale. Possible Values are `Simple Sale`, `Advanced Sale` , `Service Sale`, `Sale Credit Note`, `Credit Note`        |
| `CombinedTrackingNumbers`  | String | 256        | Yes         | Tracking Numbers        |
| `SourceChannel`  | String | 32        |          | Source of the sale. read-only field       |
| `ExternalID`  | String | 256        |          | Custom field that is only available in API and allows to set arbitrary value for the sale for later search and any custom logic        |
| `OrderLocationID`  | Guid |         |          | Sale Order Location ID         |


### GET [GET /saleCreditNoteList?Page={Page}&Limit={Limit}&Search={Search}&CreatedSince={CreatedSince}&UpdatedSince={UpdatedSince}&CreditNoteStatus={CreditNoteStatus}}&Status={Status}]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Search (optional, string) ... Only return sales with search value contained in one of these fields: OrderNumber, Status, Customer, invoiceNumber, CustomerReference, CreditNoteNumber
    + CreatedSince (optional, DateTime) ... Only return sales created after specified date. Date must follow  ISO 8601 format.
    + UpdatedSince (optional, DateTime) ... Only return sales changed after specified date. Date must follow  ISO 8601 format.
    + UpdatedUntil (optional, DateTime) ... Only return sales changed before specified date. Date must follow  ISO 8601 format.
    + CreditNoteStatus (optional, string) ... Only return sales with specified credit note status
    + Status (optional, string) ... Only return sales with specified sale status

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body

            {
                "Total": 2,
                "Page": 1,
                "SaleList": [
                    {
                        "SaleID": "d31f22a1-c74d-46ca-aa52-61b26e758603",
                        "OrderNumber": "SO-00001",
                        "Status": "ORDERED",
                        "OrderDate": "2021-08-27T00:00:00",
                        "InvoiceDate": null,
                        "Customer": "DS Customer",
                        "CustomerID": "26375354-5341-4f4d-9332-babd18e36263",
                        "InvoiceNumber": null,
                        "CustomerReference": "",
                        "InvoiceAmount": 0,
                        "PaidAmount": 0,
                        "InvoiceDueDate": null,
                        "ShipBy": null,
                        "BaseCurrency": "RUB",
                        "CustomerCurrency": "USD",
                        "CreditNoteNumber": null,
                        "Updated": "2021-10-26T16:31:00.287Z",
                        "QuoteStatus": "",
                        "OrderStatus": "AUTHORISED",
                        "CombinedPickingStatus": "PICKED",
                        "CombinedPaymentStatus": "UNPAID",
                        "CombinedTrackingNumbers": null,
                        "CombinedPackingStatus": "PACKED",
                        "CombinedShippingStatus": "SHIPPED",
                        "CombinedInvoiceStatus": "INVOICED / CREDITED",
                        "CreditNoteStatus": "DRAFT",
                        "FulFilmentStatus": "FULFILLED",
                        "Type": "Credit Note",
                        "SourceChannel": "",
                        "ExternalID": "",
                        "OrderLocationID": "4710c076-fde9-4baa-b7b2-683200eeb9e8",
                        "RestockStatus": "DRAFT"
                    },
                    {
                        "SaleID": "c83c5508-ae64-4be5-9292-b1a7e5682db4",
                        "OrderNumber": "SO-00019",
                        "Status": "CREDITED",
                        "OrderDate": "2021-10-07T00:00:00",
                        "InvoiceDate": "2021-10-07T00:00:00",
                        "Customer": "Customer 1",
                        "CustomerID": "682bb141-3594-49fd-b55e-1316f485289c",
                        "InvoiceNumber": "INV-00016",
                        "CustomerReference": "",
                        "InvoiceAmount": 12.9,
                        "PaidAmount": 10,
                        "InvoiceDueDate": "2021-11-06T00:00:00",
                        "ShipBy": null,
                        "BaseCurrency": "RUB",
                        "CustomerCurrency": "USD",
                        "CreditNoteNumber": "CR-00002",
                        "Updated": "2021-11-11T13:27:28.16Z",
                        "QuoteStatus": "NOT AVAILABLE",
                        "OrderStatus": "FULFILLED",
                        "CombinedPickingStatus": "PICKED",
                        "CombinedPaymentStatus": "PARTIALLY PAID",
                        "CombinedTrackingNumbers": "",
                        "CombinedPackingStatus": "PACKED",
                        "CombinedShippingStatus": "SHIPPED",
                        "CombinedInvoiceStatus": "INVOICED / CREDITED",
                        "CreditNoteStatus": "AUTHORISED",
                        "FulFilmentStatus": "FULFILLED",
                        "Type": "Simple Sale",
                        "SourceChannel": "",
                        "ExternalID": "",
                        "OrderLocationID": "4710c076-fde9-4baa-b7b2-683200eeb9e8",
                        "RestockStatus": "NOT AVAILABLE"
                    }
                ]
            }


## Sale [/sale]

### Available Fields for Sale
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid|||Unique Cin7 Core Sale ID. Required for PUT|
|`Customer`|String|256||Customer name|
|`CustomerID`|Guid|||Customer identifier|
|`Contact`|String|256||Customer Contact name|
|`Phone`|String|50||Customer Contact phone|
|`Email`|String|256||Customer Contact email|
|`DefaultAccount`|String|50||Account code used by default for invoice lines when no revenue account is defined on Product. By default it is equal to Customer Sale account|
|`SkipQuote`|Boolean|||`True` if there is no quote in the sale|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Sale Billing address|
|`ShippingAddress`|<a href="#SaleShippingAddressModel"><b>Shipping Address Model</b></a>|||Sale Shipping address|
|`ShippingNotes`|String|1024||Shipping Notes|
|`BaseCurrency`|String|3||3 character currency code of Base Currency defined in General Settings on the moment when Sale was created.|
|`CustomerCurrency`|String|3||3 character currency code of customer Currency defined in Customer card at the moment when customer is selected for the Sale.|
|`TaxRule`|String|50||Default Tax Rule name selected for Sale|
|`TaxCalculation`|String|||`Inclusive` or `Exclusive`|
|`Terms`|String|256||Payment terms name|
|`PriceTier`|String|50||Price Tier name selected for Sale|
|`ShipBy`|Date|||Date when shipment is due|
|`Location`|String|256||Default location to pick stock from|
|`SaleOrderDate`|Date|||Date when task was created|
|`LastModifiedOn`|DateTime|||UTC Time|
|`Note`|String|1024||Custom Sale note|
|`CustomerReference`|String|256||Reference number used by customer to identify this sale. Could be a purchase order number generated by customer.|
|`COGSAmount`|Money|||COGS amount in base currency|
|`Status`|String|25||Sale Status, see possible <a href="#SaleStatesList"><b>values</b></a>|
| `CombinedPickingStatus`  | String | 20        | Yes         | Pick status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PICKED`, `PICKING` , `NOT PICKED` , `PARTIALLY PICKED`        |
| `CombinedPackingStatus`  | String | 20        | Yes         | Pack status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `PACKED`, `PACKING`, `NOT PACKED`, `PARTIALLY PACKED`       |
| `CombinedShippingStatus`  | String | 20        | Yes         | Ship status. Possible Values are `VOIDED`, `NOT AVAILABLE`, `SHIPPED`, `SHIPPING` , `NOT SHIPPED`   , `PARTIALLY SHIPPED`         |
| `FulFilmentStatus`  | String | 20        |          | Fulfilment status. Possible Values are `FULFILLED`, `PARTIALLY FULFILLED`, `NOT AVAILABLE`, `NOT FULFILLED`, `VOIDED`         |
| `CombinedInvoiceStatus`  | String | 20        |          | Invoice status. Possible Values are `VOIDED`, `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`, `PAID`        |
| `CombinedPaymentStatus`  | String | 20        |          | Payment status. Possible Values are `NOT REFUNDED`, `PREPAID`, `PARTIALLY PAID`, `UNPAID`, `PAID`, `VOIDED`       |
| `CombinedTrackingNumbers`  | String | 256        |          | Tracking Numbers        |
| `Carrier`  | String | 256        |  Name of Carrier/shipping method        |       |
|`CurrencyRate`|Decimal|Up to 5 decimal places||Conversion Rate expressed as number of Base currency units for one Customer currency unit|
|`SalesRepresentative`|String|256||Sales representative name |
|`Type`|String|50||Type of sale: `Simple Sale` or `Advanced Sale`, `Service Sale`|
| `SourceChannel`  | String | 32        |          | Source of the sale. read-only field       |
| `ExternalID`  | String | 256        |          | Custom field that is only available in API and allows to set arbitrary value for the sale for later search and any custom logic        |
|`ServiceOnly`|Boolean|||`true` when it is service-only sale|
|`Quote`|<a href="#SaleQuoteModel"><b>Sale Quote Model</b></a>|||Sale Quote|
|`Order`|<a href="#SaleOrderModel"><b>Sale Order Model</b></a>|||Sale Order|
|`Fulfilments`|<a href="#SaleFulfilmentModel"><b>[] Sale Fulfilment Model</b></a>|||Sale Fulfilments|
|`Invoices`|<a href="#SaleInvoiceModel"><b>[] Sale Invoice Model</b></a>|||Sale Invoices|
|`CreditNotes`|<a href="#SaleCreditNoteModel"><b>[] Sale Credit Note Model</b></a>|||Sale Credit Notes|
|`ManualJournals`|<a href="#SaleManualJournalModel"><b>Sale Manual Journal Model</b></a>|||Sale Manual Journals|
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Sale Additional Attributes|
|`Attachments`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>|||Sale Attachments|
|`InventoryMovements`|<a href="#InventoryMovementLineModel"><b>[] Inventory Movement Line Model</b></a>|||Sale Inventory Movements|
|`Transactions`|<a href="#SaleTransactionLineModel"><b>[] Sale Transaction Line Model</b></a>|||Sale Transactions|

+ All Objects that contain field 'ProductID', also contain additional fields.

### Additional fields
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductLength`|Decimal|||Length of product|
|`ProductWidth`|Decimal|||Width of product|
|`ProductHeight`|Decimal|||Height of product|
|`ProductWeight`|Decimal|||Weight of product|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

### Sale POST/PUT Attributes

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes*|Unique Cin7 Core Sale ID. Required for PUT|
|`Customer`|String|256|Yes*|Customer name. Required if CustomerID not provided|
|`CustomerID`|Guid||Yes*|Customer identifier|
|`Contact`|String|256||Customer Contact name|
|`Phone`|String|50||Customer Contact phone|
|`Email`|String|256||Customer Contact email|
|`DefaultAccount`|String|50||Account code used by default for invoice lines when no revenue account is defined on Product. By default it is equal to Customer Sale account|
|`SkipQuote`|Boolean|||`True` if there is no quote in the sale|
|`BillingAddress`|<a href="#AddressModel"><b>Address Model</b></a>|||Sale Billing address|
|`ShippingAddress`|<a href="#SaleShippingAddressModel"><b>Shipping Address Model</b></a>|||Sale Shipping address|
|`ShippingNotes`|String|1024||Shipping Notes|
|`TaxRule`|String|50||Default Tax Rule name selected for Sale|
|`TaxInclusive`|Boolean|||`true` if inclusive|
|`Terms`|String|256||Payment terms name|
|`PriceTier`|String|50||Price Tier name selected for Sale|
|`ShipBy`|Date|||Date when shipment is due|
|`Location`|String|256|Yes|Default location to pick stock from|
|`SaleOrderDate`|Date|||Date when task was created|
|`LastModifiedOn`|DateTime|||UTC Time|
|`Note`|String|1024||Custom Sale note|
|`CustomerReference`|String|256||Reference number used by customer to identify this sale. Could be a purchase order number generated by customer.|
|`CurrencyRate`|Decimal|Up to 5 decimal places|Yes*|Conversion Rate expressed as number of Base currency units for one Customer currency unit. Required if Customer currency is different from base currency.|
|`SalesRepresentative`|String|256||Sales representative name |
|`Carrier`|String|256||Name of Carrier/shipping method|
| `ExternalID`  | String | 256        |          | Custom field that is only available in API and allows to set arbitrary value for the sale for later search and any custom logic        |
|`AdditionalAttributes`|<a href="#AdditionalAttributeModel"><b>Additional Attribute Model</b></a>|||Sale Additional Attributes|
|`SaleType`|String|50||Available only for POST method. Type of sale, available values are `Simple`, `Advanced`|

### GET [GET /sale?ID={ID}&CombineAdditionalCharges={CombineAdditionalCharges}&HideInventoryMovements={HideInventoryMovements}&IncludeTransactions={IncludeTransactions}&CountryFormat={CountryFormat}]

+ Parameters
    + ID (required) ... Returns detailed info of a particular sale
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)
    + HideInventoryMovements (boolean, optional) ... Hide inventory movements (Default = false)
    + IncludeTransactions (boolean, optional) ... Show related transactions (Default = false)
    + CountryFormat (string, optional) ... Return Country Names or Country Codes. Can be Regular, Code2 or Code (Default = Regular)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body

            {
                "ID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Customer": "Hamilton Smith Pty",
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Contact": "No Name",
                "Phone": "03 3189080",
                "Email": "infodemo@hsmithdemo.co",
                "DefaultAccount": "200",
                "SkipQuote": false,
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "BaseCurrency": "RUB",
                "CustomerCurrency": "RUB",
                "TaxRule": "Tax on Sales",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "ShipBy": "2017-11-30T00:00:00",
                "Location": "Main Warehouse",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "LastModifiedOn": "2017-11-22T10:10:49.75Z",
                "Note": "",
                "CustomerReference": "",
                "COGSAmount": 0,
                "Status": "ORDERED",
                "CombinedPickingStatus": "NOT AVAILABLE",
                "CombinedPackingStatus": "NOT AVAILABLE",
                "CombinedShippingStatus": "NOT AVAILABLE",
                "FulFilmentStatus": "NOT AVAILABLE",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "CombinedTrackingNumbers": "",
                "Carrier": "test carrier",
                "CurrencyRate": 1,
                "SalesRepresentative": "DEFAULT billing contact",
                "ServiceOnly": false,
                "Type": "Advanced Sale",
                "SourceChannel": "Amazon_US",
                "Quote": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Prepayments": [],
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 358,
                    "Tax": 0,
                    "Total": 358
                },
                "Order": {
                    "SaleOrderNumber": "SO-00001",
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "DropShip": false,
                            "Backorder": false,
                            "BackorderQuantity": 0,
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 8,
                    "Tax": 0,
                    "Total": 8
                },
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    }
                ],
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "AUTHORISED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Payments": [],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358,
                        "Paid": 0
                    }
                ],
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CreditNoteInvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00001",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Refunds": [
                            {
                                "ID": "20d5ff25-afa2-cd74-96d7-c7f0dd1fa1c1",
                                "Reference": "",
                                "Amount": 358,
                                "DatePaid": "2017-11-23T00:00:00",
                                "Account": "718",
                                "CurrencyRate": 1,
                                "DateCreated": "2017-11-22T06:58:21.8882229Z"
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-30T00:00:00"
                            }
                        ],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358
                    }
                ],
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "ExternalID": null,
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ],
                "InventoryMovements": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "Transactions": [
                    {
                        "TaskID": "cc6e25b2-d9ad-434c-8d77-30f36f4cb7ed",
                        "TransactionID": "e960bd83-23e4-44d3-9762-0589a09407cf",
                        "Debit": "610",
                        "Credit": "200",
                        "Description": "3",
                        "Amount": 1,
                        "EffectiveDate": "2018-09-25T00:00:00"
                    },
                    {
                        "TaskID": "cc6e25b2-d9ad-434c-8d77-30f36f4cb7ed",
                        "TransactionID": "0ae21546-2491-4f98-a898-1e6f0af633bc",
                        "Debit": "610",
                        "Credit": "200",
                        "Description": "3",
                        "Amount": -1,
                        "EffectiveDate": "2018-09-25T00:00:00"
                    },
                    {
                        "TaskID": "cc6e25b2-d9ad-434c-8d77-30f36f4cb7ed",
                        "TransactionID": "6f278fc1-da3c-4bf0-9e13-31d5942b97c3",
                        "Debit": "610",
                        "Credit": "200",
                        "Description": "1",
                        "Amount": -2,
                        "EffectiveDate": "2018-09-25T00:00:00"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Customer": "Test",
                "Phone": "111111",
                "Email": "example@gmail.com",
                "Contact": "No Name",
                "DefaultAccount": "200",
                "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "TaxRule": "Tax on Sales",
                "TaxInclusive": "false",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "Location": "Main Warehouse",
                "Note": "",
                "CustomerReference": "",
                "AutoPickPackShipMode": "NOPICK",
                "SalesRepresentative": "DEFAULT billing contact",
                "Carrier": "test carrier",
                "CurrencyRate": "1",
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "ShipBy": "2017-11-30T00:00:00",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "SkipQuote": "false",
                
            }
    
        

+ Response 200 (application/json)
    + Body

            {
                "ID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Customer": "Hamilton Smith Pty",
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Contact": "No Name",
                "Phone": "03 3189080",
                "Email": "infodemo@hsmithdemo.co",
                "DefaultAccount": "200",
                "SkipQuote": false,
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "BaseCurrency": "RUB",
                "CustomerCurrency": "RUB",
                "TaxRule": "Tax on Sales",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "ShipBy": "2017-11-30T00:00:00",
                "Location": "Main Warehouse",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "LastModifiedOn": "2017-11-22T10:10:49.75Z",
                "Note": "",
                "CustomerReference": "",
                "COGSAmount": 0,
                "Status": "ORDERED",
                "CombinedPickingStatus": "NOT AVAILABLE",
                "CombinedPackingStatus": "NOT AVAILABLE",
                "CombinedShippingStatus": "NOT AVAILABLE",
                "FulFilmentStatus": "NOT AVAILABLE",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "CombinedTrackingNumbers": "",
                "Carrier": "test carrier",
                "CurrencyRate": 1,
                "SalesRepresentative": "DEFAULT billing contact",
                "ServiceOnly": false,
                "Type": "Advanced Sale",
                "SourceChannel": "Amazon_US",
                "Quote": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Prepayments": [],
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 358,
                    "Tax": 0,
                    "Total": 358
                },
                "Order": {
                    "SaleOrderNumber": "SO-00001",
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "DropShip": false,
                            "Backorder": false,
                            "BackorderQuantity": 0,
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 8,
                    "Tax": 0,
                    "Total": 8
                },
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    }
                ],
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "AUTHORISED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Payments": [],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358,
                        "Paid": 0
                    }
                ],
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CreditNoteInvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00001",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Refunds": [
                            {
                                "ID": "20d5ff25-afa2-cd74-96d7-c7f0dd1fa1c1",
                                "Reference": "",
                                "Amount": 358,
                                "DatePaid": "2017-11-23T00:00:00",
                                "Account": "718",
                                "CurrencyRate": 1,
                                "DateCreated": "2017-11-22T06:58:21.8882229Z"
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-30T00:00:00"
                            }
                        ],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358
                    }
                ],
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "ExternalID": null,
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ],
                "InventoryMovements": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }
            
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Customer": "Test",
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Phone": "111111",
                "Email": "example@gmail.com",
                "Contact": "No Name",
                "DefaultAccount": "200",
                "BillingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "TaxRule": "Tax on Sales",
                "TaxInclusive": "false",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "Location": "Main Warehouse",
                "Note": "",
                "CustomerReference": "",
                "SalesRepresentative": "DEFAULT billing contact",
                "Carrier": "test carrier",
                "CurrencyRate": "1",
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "ShipBy": "2017-11-30T00:00:00",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "SkipQuote": "false",
                
            }
    
        

+ Response 200 (application/json)
    + Body

            {
                "ID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Customer": "Hamilton Smith Pty",
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Contact": "No Name",
                "Phone": "03 3189080",
                "Email": "infodemo@hsmithdemo.co",
                "DefaultAccount": "200",
                "SkipQuote": false,
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": null
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "BaseCurrency": "RUB",
                "CustomerCurrency": "RUB",
                "TaxRule": "Tax on Sales",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "ShipBy": "2017-11-30T00:00:00",
                "Location": "Main Warehouse",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "LastModifiedOn": "2017-11-22T10:10:49.75Z",
                "Note": "",
                "CustomerReference": "",
                "COGSAmount": 0,
                "Status": "ORDERED",
                "CombinedPickingStatus": "NOT AVAILABLE",
                "CombinedPackingStatus": "NOT AVAILABLE",
                "CombinedShippingStatus": "NOT AVAILABLE",
                "FulFilmentStatus": "NOT AVAILABLE",
                "CombinedInvoiceStatus": "NOT AVAILABLE",
                "CombinedPaymentStatus": "UNPAID",
                "CombinedTrackingNumbers": "",
                "Carrier": "test carrier",
                "CurrencyRate": 1,
                "SalesRepresentative": "DEFAULT billing contact",
                "ServiceOnly": false,
                "Type": "Advanced Sale",
                "SourceChannel": "Amazon_US",
                "Quote": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Prepayments": [],
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 358,
                    "Tax": 0,
                    "Total": 358
                },
                "Order": {
                    "SaleOrderNumber": "SO-00001",
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "DropShip": false,
                            "Backorder": false,
                            "BackorderQuantity": 0,
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 8,
                    "Tax": 0,
                    "Total": 8
                },
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    }
                ],
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "AUTHORISED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Payments": [],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358,
                        "Paid": 0
                    }
                ],
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CreditNoteInvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00001",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Refunds": [
                            {
                                "ID": "20d5ff25-afa2-cd74-96d7-c7f0dd1fa1c1",
                                "Reference": "",
                                "Amount": 358,
                                "DatePaid": "2017-11-23T00:00:00",
                                "Account": "718",
                                "CurrencyRate": 1,
                                "DateCreated": "2017-11-22T06:58:21.8882229Z"
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-30T00:00:00"
                            }
                        ],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358
                    }
                ],
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "ExternalID": null,
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ],
                "InventoryMovements": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }
        
### Delete [DELETE /sale?ID={ID}&Void={Void}]
        
+ Parameters
    + ID (required) ... ID of Sale to Void or Undo
    + Void (optional,boolean) ... Void or Undo sale
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "ID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Customer": "Hamilton Smith Pty",
                "CustomerID": "6c18f8e9-90e1-418f-aebc-1219e67e4b9c",
                "Contact": "No Name",
                "Phone": "03 3189080",
                "Email": "infodemo@hsmithdemo.co",
                "DefaultAccount": "200",
                "SkipQuote": false,
                "BillingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA"
                },
                "ShippingAddress": {
                    "DisplayAddressLine1": "3 Park Street Industrial Village Southbank",
                    "DisplayAddressLine2": "Melbourne VIC 3331",
                    "Line1": "3 Park Street Industrial Village",
                    "Line2": "Southbank",
                    "City": "Melbourne",
                    "State": "VIC",
                    "Postcode": "3331",
                    "Country": "USA",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "BaseCurrency": "RUB",
                "CustomerCurrency": "RUB",
                "TaxRule": "Tax on Sales",
                "TaxCalculation": "Exclusive",
                "Terms": "30 days",
                "PriceTier": "Tier 1",
                "ShipBy": "2017-11-30T00:00:00",
                "Location": "Main Warehouse",
                "SaleOrderDate": "2017-10-28T00:00:00",
                "LastModifiedOn": "2017-11-22T10:10:49.75Z",
                "Note": "",
                "CustomerReference": "",
                "COGSAmount": 0,
                "Status": "ORDERED",
                "CurrencyRate": 1,
                "SalesRepresentative": "DEFAULT billing contact",
                "ServiceOnly": false,
                "Type": "Advanced Sale",
                "SourceChannel": "Amazon_US",
                "Quote": {
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Prepayments": [],
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 358,
                    "Tax": 0,
                    "Total": 358
                },
                "Order": {
                    "SaleOrderNumber": "SO-00001",
                    "Memo": "",
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                            "SKU": "Bread",
                            "Name": "Baked Bread",
                            "Quantity": 1,
                            "Price": 8,
                            "Discount": 0,
                            "Tax": 0,
                            "AverageCost": 5,
                            "TaxRule": "Tax on Sales",
                            "Comment": "",
                            "DropShip": false,
                            "Backorder": false,
                            "BackorderQuantity": 0,
                            "Total": 8,
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "",
                            "DimensionsUnits": "",
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        }
                    ],
                    "AdditionalCharges": [
                        {
                            "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                            "Price": 350,
                            "Quantity": 1,
                            "Discount": 0,
                            "Tax": 0,
                            "Total": 350,
                            "TaxRule": "Tax on Sales",
                            "Comment": ""
                        }
                    ],
                    "TotalBeforeTax": 8,
                    "Tax": 0,
                    "Total": 8
                },
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00",
                                    "ProductLength": 0,
                                    "ProductWidth": 0,
                                    "ProductHeight": 0,
                                    "ProductWeight": 0,
                                    "WeightUnits": "",
                                    "DimensionsUnits": "",
                                    "ProductCustomField1": null,
                                    "ProductCustomField2": null,
                                    "ProductCustomField3": null,
                                    "ProductCustomField4": null,
                                    "ProductCustomField5": null,
                                    "ProductCustomField6": null,
                                    "ProductCustomField7": null,
                                    "ProductCustomField8": null,
                                    "ProductCustomField9": null,
                                    "ProductCustomField10": null
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    }
                ],
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "AUTHORISED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Payments": [],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358,
                        "Paid": 0
                    }
                ],
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CreditNoteInvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00001",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": "",
                                "ProductLength": 0,
                                "ProductWidth": 0,
                                "ProductHeight": 0,
                                "ProductWeight": 0,
                                "WeightUnits": "",
                                "DimensionsUnits": "",
                                "ProductCustomField1": null,
                                "ProductCustomField2": null,
                                "ProductCustomField3": null,
                                "ProductCustomField4": null,
                                "ProductCustomField5": null,
                                "ProductCustomField6": null,
                                "ProductCustomField7": null,
                                "ProductCustomField8": null,
                                "ProductCustomField9": null,
                                "ProductCustomField10": null
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Refunds": [
                            {
                                "ID": "20d5ff25-afa2-cd74-96d7-c7f0dd1fa1c1",
                                "Reference": "",
                                "Amount": 358,
                                "DatePaid": "2017-11-23T00:00:00",
                                "Account": "718",
                                "CurrencyRate": 1,
                                "DateCreated": "2017-11-22T06:58:21.8882229Z"
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-30T00:00:00"
                            }
                        ],
                        "TotalBeforeTax": 358,
                        "Tax": 0,
                        "Total": 358
                    }
                ],
                "ManualJournals": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "ExternalID": null,
                "AdditionalAttributes": {
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": ""
                },
                "Attachments": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ],
                "InventoryMovements": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "Date": "2017-11-22T00:00:00",
                        "COGS": 0,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }

## Sale Quote [/sale/quote]

### Available Fields for Sale Quote
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`Memo`|String|1024|Yes|Additional information for Quote|
|`Status`|string||Yes|Quote Status. Possible Values are <a href="#QuoteStatuses"><b>values</b></a>. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#SaleQuoteLineModel"><b>[] Sale Quote Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#SaleAdditionalChargeModel"><b>[] Sale Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges with taxes. Not required for POST.|

### GET [GET /sale/quote?SaleID={SaleID}&CombineAdditionalCharges={CombineAdditionalCharges}&IncludeProductInfo={IncludeProductInfo}]

+ Parameters
    + SaleID (required) ... SaleID of Quotes
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ],
                "TotalBeforeTax": 358,
                "Tax": 0,
                "Total": 358
            }
            
### POST [POST /sale/quote]

+ POST method will return exception if Quote status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Sale's SkipQuote parameter is `true`.
+ POST method does not support stand alone Credit Notes.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Prepayments": [],
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ]
            }

+ Response 200 (application/json)
    + Body

            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ],
                "TotalBeforeTax": 358,
                "Tax": 0,
                "Total": 358
            }
            
## Sale Order [/sale/order]

### Available Fields for Sale Order
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`SaleOrderNumber`|String|256||Sale Order Number (auto-generated)|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`Memo`|String|1024|Yes|Additional information for Order|
|`Status`|string||Yes|Order Status. Possible Values are <a href="#OrderStatuses"><b>values</b></a>. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#SaleOrderLineModel"><b>[] Sale Order Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#SaleAdditionalChargeModel"><b>[] Sale Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges with taxes. Not required for POST.|

### GET [GET /sale/order?SaleID={SaleID}&CombineAdditionalCharges={CombineAdditionalCharges}&IncludeProductInfo={IncludeProductInfo}]

+ Parameters
    + SaleID (required) ... SaleID of Orders
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "SaleOrderNumber": "SO-00001",
                "Memo": "",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "DropShip": false,
                        "BackorderQuantity": 0,
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ],
                "TotalBeforeTax": 358,
                "Tax": 0,
                "Total": 358
            }

### POST [POST]

+ POST method will return exception if Order status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Quote status is not `AUTHORISED`.
+ POST method can accept "AutoPickPackShipMode" property in body.
    + Default: `NOPICK`
    + This property affects only Sales with Type = `Simple Sale` and with no backorder  when changing order status to `AUTHORISED`
+ Available valus for AutoPickPackShipMode
    + `NOPICK` - Order will be created without picking
    + `AUTOPICK` - Order sill be created with Pick phase authorised 
    + `AUTOPICKPACK` - Order sill be created with Pick and Pack phases authorised
    + `AUTOPICKPACKSHIP` - Order sill be created with Pick and Pack and Ship phases authorised
+ If you add to Order product with quantity more than you have. Cin7 Core silently create backorder record for this product when changing order status to `AUTHORISED`.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Memo": "",
                "Status": "DRAFT",
                "AutoPickPackShipMode": "NOPICK",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "DropShip": false,
                        "BackorderQuantity": 0,
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ],
                "TotalBeforeTax": 358,
                "Tax": 0,
                "Total": 358
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "SaleOrderNumber": "SO-00001",
                "Memo": "",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Comment": "",
                        "DropShip": false,
                        "BackorderQuantity": 0,
                        "Total": 8
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Price": 350,
                        "Quantity": 1,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Comment": ""
                    }
                ],
                "TotalBeforeTax": 358,
                "Tax": 0,
                "Total": 358
            }
            

            
## Sale Fulfilment [/sale/fulfilment]

### Available Fields for Sale Fulfilment
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`Fulfilments`|<a href="#SaleFulfilmentModel"><b>[] Sale Fulfilment Model</b></a>||||


### GET [GET /sale/fulfilment?SaleID={SaleID}&IncludeProductInfo={IncludeProductInfo}]


+ Parameters
    + SaleID (required) ... Returns Fulfilment info of a particular sale
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    }
                ]
            }
 
### POST [POST]         

+ POST method will create new Fulfilment Task.
+ POST method will return exception if Order status is not `AUTHORISED`.
+ New Fulfilment Task can be created if there is no fulfilment tasks with non `AUTHORISED` Pick status.
+ Adding new Fulfilment Task to sale with `Type` = `Simple Sale` will change sale `Type` to `Advanced Sale`


  
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body           
            
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4"
            }
            
+ Response 200 (application/json)
    + Body

            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "AUTHORISED",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    },
                    {
                        "TaskID": "eaf93bc3-d900-4d7b-b4a4-895e0e806a58",
                        "FulfillmentNumber": 2,
                        "LinkedInvoiceNumber": null,
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "DRAFT",
                            "Lines": []
                        },
                        "Pack": {
                            "Status": "NOT AVAILABLE",
                            "Lines": []
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": []
                        }
                    }
                ]
            }
            
### DELETE [DELETE /sale/fulfilment?TaskID={TaskID}&Void={Void}]

+ This method works only for:
    + Sales with `Type` = `Advanced Sale`

+ Parameters
    + TaskID (required) ... ID of Sale task to Void or Undo
    + Void (optional,boolean) ... Void or Undo Sale Fulfilment
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Fulfilments": [
                    {
                        "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                        "FulfillmentNumber": 1,
                        "LinkedInvoiceNumber": "INV-00001",
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "AUTHORISED",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Pack": {
                            "Status": "DRAFT",
                            "Lines": [
                                {
                                    "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                    "SKU": "Bread",
                                    "Name": "Baked Bread",
                                    "Location": "Main Warehouse",
                                    "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                    "Box": "Box 1",
                                    "Quantity": 1,
                                    "BatchSN": "PO-00001-1",
                                    "ExpiryDate": "2017-11-30T00:00:00"
                                }
                            ]
                        },
                        "Ship": {
                            "Status": "NOT AVAILABLE",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": [
                                {
                                    "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                                    "ShipmentDate": "2017-11-22T00:00:00",
                                    "Carrier": "DEFAULT Carrier",
                                    "Boxes": "Box 1",
                                    "TrackingNumber": "",
                                    "TrackingURL": "",
                                    "IsShipped": true
                                }
                            ]
                        }
                    },
                    {
                        "TaskID": "eaf93bc3-d900-4d7b-b4a4-895e0e806a58",
                        "FulfillmentNumber": 2,
                        "LinkedInvoiceNumber": null,
                        "FulFilmentStatus": "NOT FULFILLED",
                        "Pick": {
                            "Status": "VOIDED",
                            "Lines": []
                        },
                        "Pack": {
                            "Status": "VOIDED",
                            "Lines": []
                        },
                        "Ship": {
                            "Status": "VOIDED",
                            "RequireBy": null,
                            "ShippingAddress": {
                                "DisplayAddressLine1": "Line 1 Lines 2",
                                "DisplayAddressLine2": "City State Code Russia",
                                "Line1": "Line 1",
                                "Line2": "Lines 2",
                                "City": "City",
                                "State": "State",
                                "Postcode": "Code",
                                "Country": "Russia",
                                "Company": "DIISR - Small Business Services",
                                "Contact": "Sheree Bond",
                                "ShipToOther": false
                            },
                            "ShippingNotes": "",
                            "Lines": []
                        }
                    }
                ]
            }


## Sale Fulfilment Pick [/sale/fulfilment/pick]


### Available Fields for Sale Fulfilment Pick
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Sale Task ID|
|`Status`|String||Yes|Pick status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`, `VOIDED`. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||

### GET [GET /sale/fulfilment/pick?TaskID={TaskID}&IncludeProductInfo={IncludeProductInfo}]

+ Parameters
    + TaskID (required) ... TaskID of Fulfilment
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false
                    }
                ]
            }

### POST [POST]

+ POST method will return exception if Pick status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Order status is not `AUTHORISED`.
+ To make autopick call the method with attributes `TaskID` and `AutoPickMode` = `AUTOPICK`. Pick Status will be changed to "AUTHORISED" automatically.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00"
                    }
                ]
            }
+ Response 200 (application/json)
    + Body

            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false
                    }
                ]
            }


### PUT [PUT]

+ PUT method will return exception if Pick status is not - `DRAFT` or `NOT AVAILABLE`
+ PUT method will return exception if Order status is not `AUTHORISED`.
+ To make autopick call the method with attributes `TaskID` and `AutoPickMode` = `AUTOPICK`. Pick Status will be changed to "AUTHORISED" automatically.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00"
                    }
                ]
            }
+ Response 200 (application/json)
    + Body

            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false
                    }
                ]
            }



## Sale Fulfilment Pack [/sale/fulfilment/pack]

+ To create new or add lines to existing Pack you need to send POST request to SalePack endpoint with SalePack structure as payload.
+ To replace existing Pack with new, you need to use PUT request, but to use it you need to have non-authorised Packing.

### Available Fields for Sale Fulfilment Pack
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Sale Task ID|
|`Status`|String||Yes|Pack status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`, `VOIDED`. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||


### GET [GET /sale/fulfilment/pack?TaskID={TaskID}&IncludeProductInfo={IncludeProductInfo}]

+ Parameters
    + TaskID (required) ... TaskID of Fulfilment
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "NOT AVAILABLE",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Box": "Box 1",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false,
                        "WarrantyRegistrationNumber": null
                    }
                ]
            }

### POST [POST]

+ POST method will return exception if Pick status is - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Pack status is not - `DRAFT` or `NOT AVAILABLE`

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Box": "Box 1",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "WarrantyRegistrationNumber": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Box": "Box 1",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false,
                        "WarrantyRegistrationNumber": null
                    }
                ]
            }
            


### PUT [PUT]
+ PUT method will return exception if Pick status is - `DRAFT` or `NOT AVAILABLE`
+ PUT method will return exception if Pack status is not - `DRAFT` or `NOT AVAILABLE`

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Box": "Box 1",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "WarrantyRegistrationNumber": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Box": "Box 1",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "NonInventory": false,
                        "WarrantyRegistrationNumber": null
                    }
                ]
            }


## Sale Fulfilment Ship [/sale/fulfilment/ship]

+ To create new or add lines to existing Shipment you need to send POST request to SaleShip endpoint with SaleShip structure as payload.
+ To replace existing Shipment with new, you need to use PUT request, but to use it you need to have non-authorised Shipment. Also your payload should contain all boxes from Packing stage listed in Lines.
+ Please note, that it is impossible to use this endpoint if sale task contain product from external location (using external fulfilment service).
+ Status of shipment for Sale task will be automatically changed to “AUTHORISED” after all packed boxes from packing would be shipped.


### Available Fields for Sale Fulfilment Ship
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Sale Task ID|
|`Status`|String||Yes|Ship status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `PARTIALLY AUTHORISED`, `AUTHORISED`, `VOIDED`. For `POST`/`PUT` available values are `DRAFT`, `PARTIALLY AUTHORISED`, `AUTHORISED`|
|`RequireBy`|Date|||Require By Date. Setting this will set or override the Required by date of the sale order.|
|`ShippingAddress`|<a href="#SaleShippingAddressModel"><b>Shipping Address Model</b></a>|||Shipping Address|
|`ShippingNotes`|String|1024||Shipping Notes|
|`Lines`|<a href="#SaleFulfilmentShipLineModel"><b>[] Sale Fulfilment Ship Line Model</b></a>||||

### GET [GET /sale/fulfilment/ship?TaskID={TaskID}]

+ Parameters
    + TaskID (required) ... TaskID of Fulfilment
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "NOT AVAILABLE",
                "RequireBy": null,
                "ShippingAddress": {
                    "DisplayAddressLine1": "Line 1 Lines 2",
                    "DisplayAddressLine2": "City State Code Russia",
                    "Line1": "Line 1",
                    "Line2": "Lines 2",
                    "City": "City",
                    "State": "State",
                    "Postcode": "Code",
                    "Country": "Russia",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "Lines": [
                    {
                        "ID": "67f67884-8115-4546-93c9-48230f24bd56",
                        "ShipmentDate": "2017-11-22T00:00:00",
                        "Carrier": "DEFAULT Carrier",
                        "Boxes": "Box 1",
                        "TrackingNumber": "",
                        "TrackingURL": "",
                        "IsShipped": true
                    }
                ]
            }

### POST [POST]

+ POST method will return exception if PackStatus status is not - `AUTHORISED`
+ POST method will return exception if ShipmentStatus status is - `AUTHORISED` or `PARTIALLY AUTHORISED`

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "RequireBy": null,
                "ShippingAddress": {
                    "DisplayAddressLine1": "Line 1 Lines 2",
                    "DisplayAddressLine2": "City State Code Russia",
                    "Line1": "Line 1",
                    "Line2": "Lines 2",
                    "City": "City",
                    "State": "State",
                    "Postcode": "Code",
                    "Country": "Russia",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "Lines": [
                    {
                        "ShipmentDate": "2017-11-22T00:00:00",
                        "Carrier": "DEFAULT Carrier",
                        "Box": "Box 1",
                        "TrackingNumber": "",
                        "TrackingURL": "",
                        "IsShipped": true
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "RequireBy": null,
                "ShippingAddress": {
                    "DisplayAddressLine1": "Line 1 Lines 2",
                    "DisplayAddressLine2": "City State Code Russia",
                    "Line1": "Line 1",
                    "Line2": "Lines 2",
                    "City": "City",
                    "State": "State",
                    "Postcode": "Code",
                    "Country": "Russia",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "Lines": [
                    {
                        "ID": "51fbd688-47ab-469c-a585-a72bfe792a8e",
                        "ShipmentDate": "2017-11-22T00:00:00",
                        "Carrier": "DEFAULT Carrier",
                        "Boxes": "Box 1",
                        "TrackingNumber": "",
                        "TrackingURL": "",
                        "IsShipped": true
                    }
                ]
            }
            

### PUT [PUT]

+ PUT method will return exception if PackStatus status is not - `AUTHORISED`
+ PUT method will return exception if ShipmentStatus status is - `AUTHORISED` or `PARTIALLY AUTHORISED`
+ Add filed `AddTrackingNumbers` = `true` to payload to be able to update tracking numbers or carrier for authorised shipment

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "RequireBy": null,
                "ShippingAddress": {
                    "DisplayAddressLine1": "Line 1 Lines 2",
                    "DisplayAddressLine2": "City State Code Russia",
                    "Line1": "Line 1",
                    "Line2": "Lines 2",
                    "City": "City",
                    "State": "State",
                    "Postcode": "Code",
                    "Country": "Russia",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "Lines": [
                    {
                        "ShipmentDate": "2017-11-22T00:00:00",
                        "Carrier": "DEFAULT Carrier",
                        "Box": "Box 1",
                        "TrackingNumber": "",
                        "TrackingURL": "",
                        "IsShipped": true
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "cde5fb4a-1dac-4e9a-bc33-5dfa14eedb57",
                "Status": "AUTHORISED",
                "RequireBy": null,
                "ShippingAddress": {
                    "DisplayAddressLine1": "Line 1 Lines 2",
                    "DisplayAddressLine2": "City State Code Russia",
                    "Line1": "Line 1",
                    "Line2": "Lines 2",
                    "City": "City",
                    "State": "State",
                    "Postcode": "Code",
                    "Country": "Russia",
                    "Company": "DIISR - Small Business Services",
                    "Contact": "Sheree Bond",
                    "ShipToOther": false
                },
                "ShippingNotes": "",
                "Lines": [
                    {
                        "ID": "51fbd688-47ab-469c-a585-a72bfe792a8e",
                        "ShipmentDate": "2017-11-22T00:00:00",
                        "Carrier": "DEFAULT Carrier",
                        "Boxes": "Box 1",
                        "TrackingNumber": "",
                        "TrackingURL": "",
                        "IsShipped": true
                    }
                ]
            }
            
            

## Sale Invoice [/sale/invoice]

### Invoice Available Fields

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`Invoices`|<a href="#SaleInvoicePartialModel"><b>[] Sale Invoice Partial Model</b></a>||||


<a name="SaleInvoicePartialModel" />
### Sale Invoice Partial Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of sale Invoice task|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Memo`|String|1024||Additional information for Invoice.|
|`Status`|String||Yes|Invoice status. Possible Values are <a href="#InvoiceStatuses"><b>values</b></a>. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`InvoiceDate`|DateTime||Yes|Invoice Date.|
|`InvoiceDueDate`|DateTime||Yes|Invoice Due Date.|
|`CurrencyConversionRate`|Decimal with up to 4 decimal places||||
|`BillingAddressLine1`|String|256||Billing Address Line 1|
|`BillingAddressLine2`|String|256||Billing Address Line 2|
|`LinkedFulfillmentNumber`|String|||Number of Fulfilment linked to this invoice|
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||


### Sale Invoice POST Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`TaskID`|GUID||Yes|Identifier of sale Invoice task|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`Memo`|String|1024||Additional information for Invoice.|
|`Status`|String||Yes|Invoice status. Possible Values are `DRAFT`, `AUTHORISED`|
|`InvoiceDate`|DateTime||Yes|Invoice Date.|
|`InvoiceDueDate`|DateTime||Yes|Invoice Due Date.|
|`CurrencyConversionRate`|Decimal with up to 4 decimal places|||Conversion rate between customers and base currency.|
|`BillingAddressLine1`|String|256||Billing Address Line 1|
|`BillingAddressLine2`|String|256||Billing Address Line 1|
|`LinkedFulfillmentNumber`|String|||Number of Fulfilment linked to this invoice|
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||

### GET [GET /sale/invoice?SaleID={SaleID}&CombineAdditionalCharges={CombineAdditionalCharges}&IncludeProductInfo={IncludeProductInfo}]

+ Parameters
    + SaleID (required) ... Returns Invoice info of a particular sale
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "CombineAdditionalCharges": false,
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }

### POST [POST]

+ POST method will return exception if Invoice status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Order status is not `AUTHORISED`.
+ If set `TaskID` value to Guid empty (`00000000-0000-0000-0000-000000000000`), then new Invoice Task will be created.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "SaleID":"916ab4c0-6ccb-4c93-873d-0603859050e4",
                "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                "CombineAdditionalCharges": false,
                "Memo": "",
                "Status": "DRAFT",
                "InvoiceDate": "2017-11-22T00:00:00",
                "InvoiceDueDate": "2017-12-22T00:00:00",
                "CurrencyConversionRate": 1,
                "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                "BillingAddressLine2": "Melbourne VIC 3331",
                "LinkedFulfillmentNumber": "1",
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 8,
                        "TaxRule": "Tax on Sales",
                        "Account": "200",
                        "Comment": ""
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Quantity": 1,
                        "Price": 350,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Account": "200",
                        "Comment": ""
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "CombineAdditionalCharges": false,
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }


### PUT [PUT]

+ PUT method will return exception if Invoice does not exist or Invoice status is not - `DRAFT` or `NOT AVAILABLE`
+ PUT method will return exception if Order status is not `AUTHORISED`.
+ It is allowed to not provide some attributes including Lines and AdditionalCharges. Note that provided empty collection means deleting existing records if there were any.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
        
            {
                "SaleID":"916ab4c0-6ccb-4c93-873d-0603859050e4",
                "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                "Memo": "123",
                "Status": "AUTHORISED",
            }
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "CombineAdditionalCharges": false,
                        "InvoiceNumber": "INV-00001",
                        "Memo": "123",
                        "Status": "AUTHORISED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }


### DELETE [DELETE /sale/invoice?TaskID={TaskID}&Void={Void}]

+ This method works only for:
    + Sales with `Type` = `Advanced Sale` and Invoice with  `TaskID` = `SaleID` 
    + Sales with `Type` = `Advanced Sale` and Invoice with  `TaskID` = `SaleID` 

+ Parameters
    + TaskID (required) ... ID of Sale task to Void or Undo
    + Void (optional,boolean) ... Void or Undo Sale Invoice
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                "Invoices": [
                    {
                        "TaskID": "b039f19e-66f8-4309-a4b1-abf928303c88",
                        "CombineAdditionalCharges": false,
                        "InvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "VOIDED",
                        "InvoiceDate": "2017-11-22T00:00:00",
                        "InvoiceDueDate": "2017-12-22T00:00:00",
                        "CurrencyConversionRate": 1,
                        "BillingAddressLine1": "3 Park Street Industrial Village Southbank",
                        "BillingAddressLine2": "Melbourne VIC 3331",
                        "LinkedFulfillmentNumber": "1",
                        "Lines": [],
                        "AdditionalCharges": []
                    }
                ]
            }


## Sale Credit Note [/sale/creditnote]

### Credit Note Available Fields

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`CreditNotes`|<a href="#SaleCreditNotePartialModel"><b>[] Sale Credit Note Partial Model</b></a>||||


<a name="SaleCreditNotePartialModel" />
### Sale Credit Note Invoice Partial Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of sale Invoice task|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array|
|`Memo`|String|1024||Additional information for Credit Note.|
|`Status`|String||Yes|Credit Note status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`, `VOIDED`. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date.|
|`CreditNoteNumber`|string|||Credit Note Number (auto-generated)|
|`CreditNoteConversionRate`|Decimal with up to 4 decimal places|||Conversion rate between customers and base currency.|
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||
|`Restock`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||

### Sale Credit Note POST Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`TaskID`|GUID||Yes|Identifier of sale Credit Note task|
|`CombineAdditionalCharges`|Boolean||Yes|if `true` then `additional charges` lines displayed in `Lines` array||
|`CreditNoteInvoiceNumber`|string||Yes|Number of Invoice linked to this Credit Note|
|`Memo`|String|1024||Additional information for Credit Note.|
|`Status`|String||Yes|Credit Note status. Possible Values are `DRAFT`, `AUTHORISED`|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date.|
|`CreditNoteConversionRate`|Decimal with up to 4 decimal places|||Conversion rate between customers and base currency.|
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||
|`Restock`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||

### GET [GET /sale/creditnote?SaleID={SaleID}&CombineAdditionalCharges={CombineAdditionalCharges}&IncludeProductInfo={IncludeProductInfo}&IncludePaymentInfo={IncludePaymentInfo}]

+ Parameters
    + SaleID (required) ... Returns Credit Notes info of a particular sale
    + CombineAdditionalCharges (boolean, optional) ... Show additional charges in 'Lines' array (Default = false)
    + IncludeProductInfo (boolean, optional) ... Show all used products in additional array (Default = false)
    + IncludePaymentInfo (boolean, optional) ... Show all Credit Note payments in additional array and calculate the Credit Note balance (Default = false)
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CombineAdditionalCharges": false,
                        "CreditNoteInvoiceNumber": "INV-00001",
                        "Memo": "",
                        "Status": "DRAFT",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00001",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": "PO-00001-1",
                                "ExpiryDate": "2017-11-30T00:00:00",
                                "RestockLocation": "Main Warehouse2",
                                "RestockLocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2c2",
                            }
                        ],
                        "CreditNoteBalance": 1,
                        "Payments": [
                            {
                                "ID": "99a4191c-1f12-5c53-f0fa-54ecd750fa71",
                                "SaleOrderNumber": "SO-00040",
                                "InvoiceNumber": null,
                                "CreditNoteNumber": "CR-00001",
                                "Type": "Refund",
                                "Reference": "",
                                "Amount": 3,
                                "DatePaid": "2022-03-05T00:00:00",
                                "Account": "712",
                                "CurrencyRate": 1,
                                "DateCreated": "2022-03-05T12:48:49.3946257Z",
                                "CreditID": null
                            }
                        ]
                    }
                ]
            }

### POST [POST]

+ POST method will return exception if Credit Note status is not - `DRAFT` or `NOT AVAILABLE`
+ POST method will return exception if Invoice status is not `AUTHORISED` or `PAID`.
+ If set `TaskID` value to Guid empty (`00000000-0000-0000-0000-000000000000`), then new Credit Note Task will be created.


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
             {
                SaleID: "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                "CombineAdditionalCharges": false,
                "CreditNoteInvoiceNumber": "INV-00005",
                "Memo": "",
                "Status": "AUTHORISED",
                "CreditNoteDate": "2017-11-22T00:00:00",
                "CreditNoteConversionRate": 1,
                "Lines": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Quantity": 1,
                        "Price": 8,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 8,
                        "AverageCost": 5,
                        "TaxRule": "Tax on Sales",
                        "Account": "200",
                        "Comment": ""
                    }
                ],
                "AdditionalCharges": [
                    {
                        "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                        "Quantity": 1,
                        "Price": 350,
                        "Discount": 0,
                        "Tax": 0,
                        "Total": 350,
                        "TaxRule": "Tax on Sales",
                        "Account": "200",
                        "Comment": ""
                    }
                ],
                "Restock": [
                    {
                        "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                        "SKU": "Bread",
                        "Name": "Baked Bread",
                        "Location": "Main Warehouse",
                        "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                        "Quantity": 1,
                        "BatchSN": "PO-00001-1",
                        "ExpiryDate": "2017-11-30T00:00:00",
                        "RestockLocation": "Main Warehouse2",
                        "RestockLocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2c2",
                    }
                ]
            }
            
+ Response 200 (application/json)
    + Body
         
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CreditNotes": [
                    {
                        "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                        "CombineAdditionalCharges": false,
                        "CreditNoteInvoiceNumber": "INV-00005",
                        "Memo": "",
                        "Status": "AUTHORISED",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00002",
                        "CreditNoteConversionRate": 1,
                        "Lines": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Quantity": 1,
                                "Price": 8,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 8,
                                "AverageCost": 5,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Desktop/network support via phone. Per month fixed fee for minimum 20 hours/month.",
                                "Quantity": 1,
                                "Price": 350,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 350,
                                "TaxRule": "Tax on Sales",
                                "Account": "200",
                                "Comment": ""
                            }
                        ],
                        "Restock": [
                            {
                                "ProductID": "4aadd8f6-4d3d-46ca-acbb-1a9a662f9bc1",
                                "SKU": "Bread",
                                "Name": "Baked Bread",
                                "Location": "Main Warehouse",
                                "LocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2cb",
                                "Quantity": 1,
                                "BatchSN": null,
                                "ExpiryDate": "2017-11-30T00:00:00",
                                "RestockLocation": "Main Warehouse2",
                                "RestockLocationID": "19aeca31-bd49-4fbe-8abd-37a6169cc2c2",
                            }
                        ]
                    }
                ]
            }
 

### DELETE [DELETE /sale/creditnote?TaskID={TaskID}&Void={Void}]

+ This method works only for:
    + Sales with `Type` = `Advanced Sale` and Credit Note with  `TaskID` = `SaleID` 
    + Sales with `Type` = `Advanced Sale` and Credit Note with  `TaskID` = `SaleID` 

+ Parameters
    + TaskID (required) ... ID of Sale task to Void or Undo
    + Void (optional,boolean) ... Void or Undo Sale Credit Note
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "CreditNotes": [
                    {
                        "TaskID": "280fba91-281c-4416-ad43-674ae2d17355",
                        "CombineAdditionalCharges": false,
                        "CreditNoteInvoiceNumber": "INV-00005",
                        "Memo": "",
                        "Status": "VOIDED",
                        "CreditNoteDate": "2017-11-22T00:00:00",
                        "CreditNoteNumber": "CR-00003",
                        "CreditNoteConversionRate": 1,
                        "Lines": [],
                        "AdditionalCharges": [],
                        "Restock": []
                    }
                ]
            }
 

## Sale Payments [/sale/payment]

### Sale Payment Line Partial Model
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid|||Unique Cin7 Core Sale ID.|
|`TaskID`|Guid||Yes|Unique Cin7 Core Sale Task ID. Available for POST|
|`ID`|GUID||Yes|Identifier of payment. Available for PUT|
|`SaleOrderNumber`|String|||Sale Order Number|
|`InvoiceNumber`|String|||Sale Task Invoice Number|
|`CreditNoteNumber`|String|||Sale Task Credit Note Number|
|`Type`|String||Yes|Available values are `PREPAYMENT`,`PAYMENT`,`REFUND`. Available for POST|
|`Reference`|String|||Payment reference number. Available for POST/PUT|
|`Amount`|Decimal with up to 2 decimal places||Yes|Payment amount in customer currency. Available for POST/PUT. For PUT is not available when payment is a credit.|
|`DatePaid`|DateTime||Yes|Date when payment has been made. Available for POST/PUT|
|`Account`|String||Yes|Account Code of the bank/payment account from Chart of accounts. Available for POST/PUT, ignored if CreditID is specified. For PUT is not available when payment is a credit.|
|`CurrencyRate`|Decimal with up to 4 decimal places||Yes|Currency Conversion rate expressed as number of Base currency units for one Customer currency unit. Available for POST/PUT, ignored if CreditID is specified.|
|`DateCreated`|DateTime|||Date of creation payment record.|
|`CreditID`|Guid|||Id for Sale Credit entry. Available for PUT. The payment is taken from a credit, if it is specified. Can be used only with Type=`PAYMENT`.|

+ Prepayments available only for sale tasks with non-authorised order/invoice and with authorised quote.

+ Payments available only for sale tasks with authorised invoice.

+ Refunds available only for sale tasks with authorised credit note.

### GET [GET /sale/payment?SaleID={SaleID}]


+ Parameters
    + SaleID (required) ... Returns Payment info of a particular sale
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            [
                {
                    "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                    "TaskID": "4733ba69-21c5-48f5-95e5-307aa9889747",
                    "ID": "ee093a0c-d177-9728-1df5-628a61a939e4",
                    "SaleOrderNumber": "SO-00001",
                    "InvoiceNumber": "INV-00005",
                    "CreditNoteNumber": null,
                    "Type": "Payment",
                    "Reference": "",
                    "Amount": 358,
                    "DatePaid": "2017-11-30T00:00:00",
                    "Account": "718",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-11-28T05:08:30.6407568Z",
                    "CreditID": null
                },
                {
                    "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                    "TaskID": "529511e7-6ed6-4a99-a2a7-fab1d32198eb",
                    "ID": "bbd45356-8aeb-6108-bd9c-a5e23162d209",
                    "SaleOrderNumber": "SO-00001",
                    "InvoiceNumber": null,
                    "CreditNoteNumber": "CR-00004",
                    "Type": "Refund",
                    "Reference": "",
                    "Amount": 358,
                    "DatePaid": "2017-11-21T00:00:00",
                    "Account": "718",
                    "CurrencyRate": 1,
                    "DateCreated": "2017-11-28T04:53:43.9825081Z",
                    "CreditID": null
                }
            ]

### POST [POST]

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "4733ba69-21c5-48f5-95e5-307aa9889747",
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-11-30T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "CreditID": null
            } 
            
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "TaskID": "4733ba69-21c5-48f5-95e5-307aa9889747",
                "ID": "6d99006a-8965-4548-8743-0268b8130704",
                "SaleOrderNumber": "SO-00001",
                "InvoiceNumber": "INV-00005",
                "CreditNoteNumber": null,
                "Type": "Payment",
                "Reference": "",
                "Amount": 1,
                "DatePaid": "2017-11-30T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-11-28T06:10:37.5462677Z",
                "CreditID": null
            }

### PUT [PUT]
+ Please note, that Payment with type Prepayment cannot be modified.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
             {
                "ID": "ee093a0c-d177-9728-1df5-628a61a939e4",            
                "Reference": "",
                "Amount": 357,
                "DatePaid": "2017-11-30T00:00:00",
                "Account": "718",
                "CurrencyRate": 1
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "TaskID": "4733ba69-21c5-48f5-95e5-307aa9889747",
                "ID": "ee093a0c-d177-9728-1df5-628a61a939e4",
                "SaleOrderNumber": "SO-00001",
                "InvoiceNumber": "INV-00005",
                "CreditNoteNumber": null,
                "Type": "Payment",
                "Reference": "",
                "Amount": 357,
                "DatePaid": "2017-11-30T00:00:00",
                "Account": "718",
                "CurrencyRate": 1,
                "DateCreated": "2017-11-28T05:08:30.6407568Z",
                "CreditID": null
            }
            

### DELETE [DELETE /sale/payment?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of Payment to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033


+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }



## Sale Manual Journals [/sale/manualJournal]

### Available field for Sale Manual Journal
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#SaleManualJournalLineModel"><b>[] Sale Manual Journal Line Model</b></a>||||


### GET [GET /sale/manualJournal?SaleID={SaleID}]

+ Parameters
    + SaleID (required) ... Returns Payment info of a particular sale
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "Quick2",
                        "Amount": 1,
                        "Date": "2017-11-28T00:00:00",
                        "Debit": "403",
                        "Credit": "433"
                    }
                ]
            }


### POST [POST]

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Status": "DRAFT",
                "Lines": [
                    {
                        "Reference": "Quick3",
                        "Amount": 2,
                        "Date": "2017-11-28T00:00:00",
                        "Debit": "403",
                        "Credit": "433"
                    }
                ]
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Status": "DRAFT",
                "Lines": [
                     {
                        "Reference": "Quick3",
                        "Amount": 2,
                        "Date": "2017-11-28T00:00:00",
                        "Debit": "403",
                        "Credit": "433"
                    }
                ]
            }


## Sale Attachments [/sale/attachment]

### Available fields for Sale Attachments
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleID`|Guid||Yes|Unique Cin7 Core Sale ID|
|`Lines`|<a href="#AttachmentLineModel"><b>[] Attachment Line Model</b></a>||||

### Available fields for POST Methods
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `SaleID`  | Guid           |         |    Yes      |ID of Sale to which attachment will be added.|
| `FileName`  | String           |         |    Yes      |File Name.|
| `FileDownloadUrl` | String           |         | No     |URL, where file can be downloaded.|
| `Content`  | String           |         |    Yes*     |File content converted to base64 string. Required if `FileDownloadUrl` is empty.|


### GET [GET /sale/attachment?SaleID={SaleID}]
+ Parameters
    + SaleID (required) ... Returns Attachments of a particular sale
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Lines": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }


### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                SaleID: "76755c09-60de-483c-a63b-18fd12c2d932",
                FileName: "Test",
                Content: "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAFcAmwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID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aKVgEopaMUWASiloosAlFFFIAooooAKKKKACiiigAooooAKKKKAFBqYSdqgpc1SdhNXLDyjbx1qBjk0lJQ3cEkgoooqRhRRRQAVatLC5u4pJLeIyLGVVsEZyegA6np2qrViC4mhQpFIyqzAkDuRkD+Zod+g42vqSrpd8wJFrNwM8oR6f407+yL/cF+zSEnsOe5Gfpwef8alfWb91CtctjKnoM5Xpzj2oj1nUIzlLp87SvODgEAH9FFTafkX7nmV30y9QgG1mOV3AhCQRjOcj60DTL4nAs7gnOMeW3X8vcfnVuPXL9QirMAFTy/ujLD3Pf0pr6zfybd0/yq+8KEXAOQemOnA46Uvf8h2h5lZNNvJI1eO3kZWzjaMk4ODx1qvNDJC+yVGRsA4YYOCMj9K0IdWvonLx3DKxOTgDB69sY7n86pzzyTyb5TubAXOMcAYH6CripN2ZEuW2h/9k="
            }
+ Response 200 (application/json)
    + Body 
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Lines": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }
            

### DELETE [DELETE /sale/attachment?ID={ID}]
+ Parameters
    + ID (optional) ... ID of Sale Attachment to delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "SaleID": "916ab4c0-6ccb-4c93-873d-0603859050e4",
                "Lines": [
                    {
                        "ID": "1a103e3e-9837-4294-8cc3-640ebb4fc387",
                        "ContentType": "image/jpeg",
                        "FileName": "1471081716149.jpg",
                        "DownloadUrl": "https://example.api.url/Attachment/Download?ID=1a103e3e-9837-4294-8cc3-640ebb4fc387&ContentType=image/jpeg&FileName=1471081716149.jpg"
                    }
                ]
            }




# Group Stock

+ All Objects that contain field 'ProductID', also contain additional fields.

### Additional fields
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductLength`|Decimal|||Length of product|
|`ProductWidth`|Decimal|||Width of product|
|`ProductHeight`|Decimal|||Height of product|
|`ProductWeight`|Decimal|||Weight of product|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10 <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|

## Stock Adjustment List [/stockadjustmentList?Page={Page}&Limit={Limit}&Status={Status}]

### Available fields for Stock Adjustment List
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Unique Cin7 Core Stock Adjustment ID|
|`EffectiveDate`|DateTime|||Date of transaction|
|`StocktakeNumber`|String|||Stock Number (auto-generated).|
|`Status`|String|||Status of stock adjustment. Available values are `DRAFT`,`COMPLETED`,`VOIDED`.|
|`Account`|String|||Expense account for inventory adjustment|
|`Reference`|String|||Custom reference|
|`Comment`|String|||Comment|

### GET [GET]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Status (optional, string) ... Only return stock adjustments with specified status
        + Default: null
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 22,
                "Page": 1,
                "StockAdjustmentList": [
                    {
                        "TaskID": "e129e1bc-d8df-41a0-8a3b-68aee2dbd344",
                        "EffectiveDate": "2017-12-07T00:00:00",
                        "StocktakeNumber": "ST-00001",
                        "Status": "COMPLETED",
                        "Account": "403",
                        "Reference": "",
                        "Comment": "Test Comment" 
                    },
                    {
                        "TaskID": "8a39a117-ec0b-44d6-b303-bd997baa8560",
                        "EffectiveDate": "2017-12-12T00:00:00",
                        "StocktakeNumber": "ST-00002",
                        "Status": "COMPLETED",
                        "Account": "403",
                        "Reference": "",
                        "Comment": "Test Comment"
                    },
                    {
                        "TaskID": "d1dede0c-b7c4-476c-a437-f83524025b85",
                        "EffectiveDate": "2017-12-01T00:00:00",
                        "StocktakeNumber": "ST-00003",
                        "Status": "DRAFT",
                        "Account": "403",
                        "Reference": "",
                        "Comment": "Test Comment"                                            
                    }
                ]
            }


## Stock Adjustment [/stockadjustment]

### Available Fields for Stock Adjustment
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Unique Cin7 Core Stock Adjustment ID|
|`EffectiveDate`|DateTime|||Date of transaction|
|`StocktakeNumber`|String|||Stock Take/Adjustment Number|
|`Status`|String|||Status of stock adjustment. Available values are `DRAFT`,`COMPLETED`,`VOIDED`.|
|`Account`|String|||Expense account for inventory adjustment|
|`Reference`|String|||Custom reference|  
|`ExistingStockLines`|<a href="#ExistingStockLineModel"><b>[] Existing Stock Line Model</b></a>|||Changes in non-zero stock|  
|`NewStockLines`|<a href="#NewStockLineModel"><b>[] New Stock Line Model</b></a>|||Changes in zero stock|  
|`Transactions`|<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|||Created transactions due to stock changes.|      

### Available Fields for Post/Put
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Unique Cin7 Core Stock Adjustment ID. Required for PUT|
|`EffectiveDate`|DateTime||Yes|Date of transaction|
|`Status`|String||Yes|Status of stock adjustment. Available values are `DRAFT`,`COMPLETED`.|
|`Account`|String|||Expense account for inventory adjustment|
|`Reference`|String|||Custom reference|  
|`Comment`|String|||Comment|
|`UpdateOnHand`|Boolean|||If `true`, adjusts on hand quantity, otherwise adjusts available quantity. If `UpdateOnHand` is not provided, it will be treated as false by default.|  
|`Lines`|<a href="#NewStockLineModel"><b>[] New Stock Line Model</b></a>||Yes||  



### GET [GET /stockadjustment?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Stock Adjustment
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "1df013cf-9487-4d39-abac-2d1d973f4b62",
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00022",
                "Status": "COMPLETED",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",    
                "ExistingStockLines": [],
                "NewStockLines": [
                    {
                        "ProductID": "1845a9cd-e523-4a69-993b-d35f5ec31fb8",
                        "SKU": "AF308",
                        "ProductName": "AF308 Ombré Tide Pool to Navy",
                        "Quantity": 600,
                        "UnitCost": 1,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ReceivedDate": "2017-12-01T00:00:00",
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.128,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "Transactions": [
                    {
                        "ID": "dccfef67-0c77-40ca-9759-d0d4332ee069",
                        "Debit": "715: Inventory",
                        "Credit": "403: Cost Of Goods Sold",
                        "Amount": 600,
                        "EffectiveDate": "2017-12-01T00:00:00"
                    }
                ]
            }


### POST [POST]            
+ POST method will create new stock adjustment.
+ To modify existing stock adjustment use PUT.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
    
            {
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00022",
                "Status": "DRAFT",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",
                "Lines": [
                    {
                        "ProductID": "1845a9cd-e523-4a69-993b-d35f5ec31fb8",
                        "SKU": "AF308",
                        "ProductName": "AF308 Ombré Tide Pool to Navy",
                        "Quantity": 600,
                        "UnitCost": 1,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ReceivedDate": "2017-12-01T00:00:00",
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.128,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }
    
            
+ Response 200 (application/json)
    + Body
    
    
            {
                "TaskID": "107e8ba9-418c-4233-bf80-369036867144",
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "DRAFT",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",
                "ExistingStockLines": [
                    {
                        "ProductID": "1845a9cd-e523-4a69-993b-d35f5ec31fb8",
                        "SKU": "AF308",
                        "ProductName": "AF308 Ombré Tide Pool to Navy",
                        "QuantityOnHand": 601,
                        "Available": 601,
                        "Adjustment": 600,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.128,
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "NewStockLines": [],
                "Transactions": []
            }
    


### PUT [PUT]         
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body  
    
             {
                "TaskID": "107e8ba9-418c-4233-bf80-369036867144",
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00022",
                "Status": "COMPLETED",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",
                "Lines": [
                    {
                        "ProductID": "1845a9cd-e523-4a69-993b-d35f5ec31fb8",
                        "SKU": "AF308",
                        "ProductName": "AF308 Ombré Tide Pool to Navy",
                        "Quantity": 600,
                        "UnitCost": 1,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ReceivedDate": "2017-12-01T00:00:00",
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.128,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "107e8ba9-418c-4233-bf80-369036867144",
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "COMPLETED",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",
                "ExistingStockLines": [
                    {
                        "ProductID": "1845a9cd-e523-4a69-993b-d35f5ec31fb8",
                        "SKU": "AF308",
                        "ProductName": "AF308 Ombré Tide Pool to Navy",
                        "QuantityOnHand": 601,
                        "Available": 601,
                        "Adjustment": 600,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.128,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "NewStockLines": [],
                "Transactions": [
                    {
                        "ID": "983e8bc3-b5d4-47ce-88df-fb0ebed6630b",
                        "Debit": "715: Inventory",
                        "Credit": "403: Cost Of Goods Sold",
                        "Amount": -1,
                        "EffectiveDate": "2017-12-01T00:00:00"
                    }
                ]
            }
    

### DELETE [DELETE /stockadjustment?ID={ID}&Void={Void}]
+ Parameters
    + ID (required) ... ID of Stock Adjustment to Void
    + Void (optional,boolean) ... Void or Undo Stock Adjustment
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "107e8ba9-418c-4233-bf80-369036867144",
                "EffectiveDate": "2017-12-01T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "VOIDED",
                "Account": "403",
                "Reference": "",
                "Comment": "Test Comment",
                "ExistingStockLines": [],
                "NewStockLines": [],
                "Transactions": []
            }



## Stock Take List [/stockTakeList]
### Available fields for Stock Take List
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Unique Cin7 Core Stock Take ID|
|`EffectiveDate`|DateTime|||Date of transaction|
|`StocktakeNumber`|String|||Stock Take Number (auto-generated).|
|`Status`|String|||Status of stock take. Available values are `DRAFT`,`COMPLETED`,`VOIDED`.|
|`Account`|String|||Expense account for inventory stocktake|
|`LocationID`|String|||Location ID |
|`Location`|String|||Location Name|
|`Tags`|String|||Comma delimited list of custom tags|
|`PickZones`|String|||Comma delimited list of custom pick zones|
|`StockLocators`|String|||Comma delimited list of custom stock locators|
|`Categories`|String|||Comma delimited list of custom categories|
|`Brands`|String|||Comma delimited list of custom brands|
|`Bins`|String|||Comma delimited list of custom bins|
|`Reference`|String|||Custom reference|
|`CreatedDate`|String|||Date of creation stocktake|
|`LastUpdatedDate`|String|||Date and time when stocktake was last time modified|
|`LastUpdatedBy`|String|||User which made last update|

### GET [GET /stockTakeList?Page={Page}&Limit={Limit}&Status={Status}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Status (optional, string) ... Only return stock take with specified status
        + Default: null
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "StockAdjustmentList": [
                    {
                        "TaskID": "de796b9c-a1c1-4a27-b9e6-eed777c78d0a",
                        "EffectiveDate": "2017-12-06T00:00:00",
                        "StocktakeNumber": "ST-00025",
                        "Status": "COMPLETED",
                        "Account": "404",
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "Tags": "bread, AutoCost, beaded",
                        "PickZones": "",
                        "StockLocators": "",
                        "Categories": "Other",
                        "Brands": "",
                        "Bins": "",
                        "Reference": "",
                        "CreatedDate": "2018-04-27T08:21:41.72Z",
                        "LastUpdatedDate": "2018-04-27T00:00:00",
                        "LastUpdatedBy": "someUser@gmail.com"
                    }
                ]
            }
            
            

## Stock Take [/stocktake]

### Available Fields for Stock Take
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes*|Unique Cin7 Core Stock Take ID. Required for PUT|
|`EffectiveDate`|DateTime||Yes|Date of transaction|
|`StocktakeNumber`|String|||Stock Take Number (auto-generated).|
|`Status`|String||Yes*|Status of stocktake. Available values are `DRAFT`, `IN PROGRESS`, `COMPLETED`, `VOIDED`. Required for PUT|
|`Account`|String||Yes|Expense account for inventory adjustment|
|`LocationID`|String||Yes*|Location ID. Required if `Location` is empty |
|`Location`|String||Yes*|Location Name. Required if `LocationID` is empty 
|`Tags`|[] string|||Tags used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`PickZones`|[] string|||Pick Zones used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`StockLocators`|[] string|||Stock Locators used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`Categories`|<a href="#IDNameModel"><b>[] IDName Model</b></a>|||Categories used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`Brands`|<a href="#IDNameModel"><b>[] IDName Model</b></a>|||Brands used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`Bins`|<a href="#IDNameModel"><b>[] IDName Model</b></a>|||Bins used for additional product filtration. Can be used to filter NonZeroStockOnHandProducts|
|`Reference`|String|||Custom reference|  
|`NonZeroStockOnHandProducts`|<a href="#ExistingStockLineModel"><b>[] Existing Stock Line Model</b></a>|||Lines will be automaticaly filled with filtered products which have non empty stock.(in POST method or in PUT method if status is changing from `DRAFT` to `IN PROGRESS`. If current `Status` is `IN PROGRESS`, lines can be passed to PUT method (line entry will be found by product, location, batchSN and expiryDate and passed `Adjustment` will be set as new `Adjustment`)|  
|`ZeroStockOnHandProducts`|<a href="#NewStockLineModel"><b>[] New Stock Line Model</b></a>||||  
|`Transactions`|<a href="#TransactionStockLineModel"><b>[] Transaction Stock Line Model</b></a>|||Created transactions due to stock changes.|      
|`UseRelativeQuantity`|Boolean|||Indicates whether zero-stock products should be included in the stocktake.<ul><li>true – includes products with zero stock</li><li>false – excludes products with zero stock</li></ul>|

### GET [GET /stocktake?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Stock Take
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "de796b9c-a1c1-4a27-b9e6-eed777c78d0a",
                "EffectiveDate": "2017-12-06T00:00:00",
                "StocktakeNumber": "ST-00025",
                "Status": "COMPLETED",
                "Account": "404",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "PickZones": [],
                "StockLocators": [],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Brands": [],
                "Bins": [],
                "Reference": "",
                "NonZeroStockOnHandProducts": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 1,
                        "Available": 0,
                        "Adjustment": 0,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": "PO-00002-1",
                        "ExpiryDate": "2017-12-28T00:00:00",
                        "Comments": null,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null,
                         "Image": {
                            "ID": "4cbec873-444f-4831-8bdb-cf0d17ff36bf",
                            "ContentType": "image/jpeg",
                            "FileName": "1471081716149.jpg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=4cbec873-444f-4831-8bdb-cf0d17ff36bf&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                        },
                        "Barcode": "123123",
                        "StockLocator": "",
                        "Unit": "Item"
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 100,
                        "Available": 99,
                        "Adjustment": 0,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-07T00:00:00",
                        "Comments": null,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null,
                         "Image": {
                            "ID": "4cbec873-444f-4831-8bdb-cf0d17ff36bf",
                            "ContentType": "image/jpeg",
                            "FileName": "1471081716149.jpg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=4cbec873-444f-4831-8bdb-cf0d17ff36bf&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                        },
                        "Barcode": "123123",
                        "StockLocator": "",
                        "Unit": "Item"
                    },
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 50,
                        "Available": 49,
                        "Adjustment": 0,
                        "LocationID": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "Location": "Main Warehouse",
                        "BatchSN": "2",
                        "ExpiryDate": "2017-12-20T00:00:00",
                        "Comments": null,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null,
                         "Image": {
                            "ID": "4cbec873-444f-4831-8bdb-cf0d17ff36bf",
                            "ContentType": "image/jpeg",
                            "FileName": "1471081716149.jpg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=4cbec873-444f-4831-8bdb-cf0d17ff36bf&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                        },
                        "Barcode": "123123",
                        "StockLocator": "",
                        "Unit": "Item"
                    }
                ],
                "ZeroStockOnHandProducts": [
                    {
                        "ProductID": "af81e9d1-045d-4aaa-8368-01ac308ffed5",
                        "SKU": "AF101",
                        "ProductName": "AF101 INK PAD - BLACK",
                        "Quantity": 1,
                        "UnitCost": 1,
                        "LocationID": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "Location": "Bin 1",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ReceivedDate": "2017-12-01T00:00:00",
                        "Comments": "",
                        "ProductLength": 4,
                        "ProductWidth": 4,
                        "ProductHeight": 0.75,
                        "ProductWeight": 2.048,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null,
                         "Image": {
                            "ID": "4cbec873-444f-4831-8bdb-cf0d17ff36bf",
                            "ContentType": "image/jpeg",
                            "FileName": "1471081716149.jpg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=4cbec873-444f-4831-8bdb-cf0d17ff36bf&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                        },
                        "Barcode": "123123",
                        "StockLocator": "",
                        "Unit": "Item"
                    }
                ],
                "Transactions": [
                    {
                        "ID": "b665c0ce-e05a-4e69-9014-db2cbfc2766a",
                        "Debit": "715: Inventory",
                        "Credit": "404: Bank Fees",
                        "Amount": -1804,
                        "EffectiveDate": "2017-12-06T00:00:00"
                    },
                    {
                        "ID": "28fa83aa-5325-4a58-952e-443d6d98190a",
                        "Debit": "715: Inventory",
                        "Credit": "404: Bank Fees",
                        "Amount": -100,
                        "EffectiveDate": "2017-12-07T00:00:00"
                    },
                    {
                        "ID": "170e70cc-5fd4-4a5a-8870-5d6a77f3b316",
                        "Debit": "715: Inventory",
                        "Credit": "404: Bank Fees",
                        "Amount": -50,
                        "EffectiveDate": "2017-12-12T00:00:00"
                    },
                    {
                        "ID": "abded8b7-2d5e-420d-b046-09ff2cf96da4",
                        "Debit": "715: Inventory",
                        "Credit": "404: Bank Fees",
                        "Amount": -7,
                        "EffectiveDate": "2017-12-15T00:00:00"
                    }
                ]
            }


### POST [POST]
+ POST method will create new stocktask with status IN PROGRESS.
+ To modify existing stocktake use PUT.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "EffectiveDate": "2018-04-27T00:00:00",
                "Account": "403",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Reference": ""
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "328c0f87-d87f-4f87-b503-251e820f4b3c",
                "EffectiveDate": "2018-04-27T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "IN PROGRESS",
                "Account": "403",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "PickZones": [],
                "StockLocators": [],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Brands": [],
                "Bins": [],
                "Reference": null,
                "NonZeroStockOnHandProducts": [
                    {
                        "ProductID": "3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 500,
                        "Available": 496,
                        "Adjustment": 0,
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Comments": null,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "mi",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": "",
                        "Image": {
                            "ID": "797441c2-9915-4880-8eeb-4653edc4d8d4",
                            "ContentType": "image/jpeg",
                            "FileName": "https%3a%2f%2fcdn.shopify.com%2fs%2ffiles%2f1%2f0838%2f5987%2fproducts%2fzc-04_10mm_col_1-2.jpeg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=797441c2-9915-4880-8eeb-4653edc4d8d4&ContentType=image/jpeg&FileName=https%3a%2f%2fcdn.shopify.com%2fs%2ffiles%2f1%2f0838%2f5987%2fproducts%2fzc-04_10mm_col_1-2.jpeg&isPublic=True"
                        },
                        "Barcode": "333",
                        "StockLocator": "",
                        "Unit": "Item",
                        "CostingMethod": "FIFO"
                    }
                ],
                "ZeroStockOnHandProducts": [],
                "Transactions": []
            }
            


### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "328c0f87-d87f-4f87-b503-251e820f4b3c",
                "EffectiveDate": "2018-04-27T00:00:00",   
                "Status": "COMPLETED",
                "Account": "403",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "UseRelativeQuantity": 1,
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "PickZones": [],
                "StockLocators": [],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Brands": [],
                "Bins": [],
                "Reference": null,
                "NonZeroStockOnHandProducts": [
                    {
                        "ProductID": "3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                        "SKU": "Bread",
                        "Adjustment": 500,
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null          
                      
                    }
                ],
                "ZeroStockOnHandProducts": [
                    {
                        "ProductID": "e52e36d5-8aa5-4868-9226-106c617e1e32",
                        "SKU": "GB1-White",
                        "ProductName": "Golf balls - white single",
                        "Quantity": 15,
                        "UnitCost": 5,
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "ReceivedDate": "2017-12-01T00:00:00",
                        "Comments": ""          
                    }
                ]
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "328c0f87-d87f-4f87-b503-251e820f4b3c",
                "EffectiveDate": "2018-04-27T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "COMPLETED",
                "Account": "403",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "PickZones": [],
                "StockLocators": [],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Brands": [],
                "Bins": [],
                "Reference": null,
                "NonZeroStockOnHandProducts": [
                    {
                        "ProductID": "3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 500,
                        "Available": 496,
                        "Adjustment": 500,
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Comments": null,
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "mi",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": "",
                        "Image": {
                            "ID": "797441c2-9915-4880-8eeb-4653edc4d8d4",
                            "ContentType": "image/jpeg",
                            "FileName": "https%3a%2f%2fcdn.shopify.com%2fs%2ffiles%2f1%2f0838%2f5987%2fproducts%2fzc-04_10mm_col_1-2.jpeg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=797441c2-9915-4880-8eeb-4653edc4d8d4&ContentType=image/jpeg&FileName=https%3a%2f%2fcdn.shopify.com%2fs%2ffiles%2f1%2f0838%2f5987%2fproducts%2fzc-04_10mm_col_1-2.jpeg&isPublic=True"
                        },
                        "Barcode": "333",
                        "StockLocator": "",
                        "Unit": "Item",
                        "CostingMethod": "FIFO"
                    }
                ],
                "ZeroStockOnHandProducts": [
                    {
                        "ProductID": "e52e36d5-8aa5-4868-9226-106c617e1e32",
                        "SKU": "GB1-White",
                        "ProductName": "Golf balls - white single",
                        "Quantity": 15,
                        "UnitCost": 5,
                        "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                        "Location": "Main Warehouse",
                        "BatchSN": null,
                        "ExpiryDate": null,
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "",
                        "DimensionsUnits": "",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": "",
                        "Image": {
                            "ID": "4cbec873-444f-4831-8bdb-cf0d17ff36bf",
                            "ContentType": "image/jpeg",
                            "FileName": "1471081716149.jpg",
                            "DownloadUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=4cbec873-444f-4831-8bdb-cf0d17ff36bf&ContentType=image/jpeg&FileName=1471081716149.jpg&isPublic=True"
                        },
                        "Barcode": "123123",
                        "StockLocator": "",
                        "Unit": "Item",
                        "CostingMethod": "FIFO"
                    }
                ],
                "Transactions": [
                    {
                        "ID": "78c8a5a0-d421-4624-963b-b7b377aff3de",
                        "Debit": "715: Inventory",
                        "Credit": "403: Cost Of Goods Sold",
                        "Amount": 75,
                        "EffectiveDate": "2018-04-27T00:00:00"
                    }
                ]
            }
            

### DELETE [DELETE /stocktake?ID={ID}&Void={Void}]
+ Parameters
    + ID (required) ... ID of Stock Transfer to Void
    + Void (optional,boolean) ... Void or Undo Stock Transfer
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "328c0f87-d87f-4f87-b503-251e820f4b3c",
                "EffectiveDate": "2018-04-27T00:00:00",
                "StocktakeNumber": "ST-00024",
                "Status": "VOIDED",
                "Account": "403",
                "LocationID": "9558f49c-ba8c-484a-8a14-5e83048cce90",
                "Location": "Main Warehouse",
                "Tags": [
                    "bread",
                    "AutoCost",
                    "beaded"
                ],
                "PickZones": [],
                "StockLocators": [],
                "Categories": [
                    {
                        "ID": "ae180bfb-802f-4d5a-9a04-af3aebfc3d4a",
                        "Name": "Other"
                    }
                ],
                "Brands": [],
                "Bins": [],
                "Reference": "",
                "NonZeroStockOnHandProducts": [],
                "ZeroStockOnHandProducts": [],
                "Transactions": []
            }


 

## Stock Transfer List [/stockTransferList]
### Available fields for Stock Transfer List
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Unique Cin7 Core Stock Transfer ID|
|`From`|Guid|||ID of location from which transfer was done|
|`FromLocation`|String|||Name of location from which transfer was done|
|`To`|Guid|||ID of location to which transfer was done|
|`ToLocation`|String|||Name of location to which transfer was done|
|`Status`|String|||Status of stock transfer. Available values are `DRAFT`, `IN TRANSIT`,`COMPLETED`,`VOIDED`.|
|`Number`|String|||Stock Transfer Number (auto-generated).|
|`CompletionDate`|DateTime|||Date of transaction|
|`CostDistributionType`|String|||Type of additional journals capitalization cost distribution. Available values are `Cost`, `Quantity`,`Weight`,`Volume`.|
|`InTransitAccount`|String|||Asset Account holding stock value while it is in transit.|
|`DepartureDate`|DateTime|||Date when stock left the From warehouse.|
|`Reference`|String|||Custom reference|
|`LastModifiedOn`|DateTime|||Date of last modification. UTC Time. Read-only.|

### GET [GET /stockTransferList?Page={Page}&Limit={Limit}&Status={Status}&Search={Search}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Status (optional, string) ... Only return stock take with specified status
        + Default: null
    + Search (optional, string) ... Only return stock transfers with search value contained in one of these fields: FromLocation, ToLocation, Status, CustomerReference, Number
        + Default: null
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 5,
                "Page": 1,
                "StockTransferList": [
                    {
                        "TaskID": "418f0b3a-1bf4-46d3-9f25-ca499c680727",
                        "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "FromLocation": "Main Warehouse",
                        "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "ToLocation": "Main Warehouse: Bin 1",
                        "Status": "COMPLETED",
                        "Number": "TR-00005",
                        "CompletionDate": "2017-12-19T00:00:00",
                        "DepartureDate": "2018-03-12T00:00:00",
                        "InTransitAccount": "715",
                        "CostDistributionType": "Cost",
                        "Reference": "",
                        "LastModifiedOn": "2018-03-12T00:00:00"
                    },
                    {
                        "TaskID": "426c332e-e108-409f-b3e8-40e85120eac5",
                        "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "FromLocation": "Main Warehouse",
                        "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "ToLocation": "Main Warehouse: Bin 1",
                        "Status": "VOIDED",
                        "Number": "TR-00004",
                        "CompletionDate": "2017-12-19T00:00:00",
                        "DepartureDate": "2018-03-12T00:00:00",
                        "InTransitAccount": "715",
                        "CostDistributionType": "Cost",
                        "Reference": "",
                        "LastModifiedOn": "2018-03-12T00:00:00"
                    },
                    {
                        "TaskID": "d3b090eb-bfc0-4225-8cad-b28bbecc7a68",
                        "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "FromLocation": "Main Warehouse",
                        "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "ToLocation": "Main Warehouse: Bin 1",
                        "Status": "COMPLETED",
                        "Number": "TR-00003",
                        "CompletionDate": "2017-12-19T00:00:00",
                        "DepartureDate": "2018-03-12T00:00:00",
                        "InTransitAccount": "715",
                        "CostDistributionType": "Cost",
                        "Reference": "",
                        "LastModifiedOn": "2018-03-12T00:00:00"
                    },
                    {
                        "TaskID": "895efc40-a4b6-4a25-8f5d-ca9c6c845c30",
                        "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "FromLocation": "Main Warehouse",
                        "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "ToLocation": "Main Warehouse: Bin 1",
                        "Status": "VOIDED",
                        "Number": "TR-00002",
                        "CompletionDate": "2017-12-19T00:00:00",
                        "DepartureDate": "2018-03-12T00:00:00",
                        "InTransitAccount": "715",
                        "CostDistributionType": "Cost",
                        "Reference": "",
                        "LastModifiedOn": "2018-03-12T00:00:00"
                    },
                    {
                        "TaskID": "2edd4c2f-2127-41a9-81c6-1b0134590664",
                        "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                        "FromLocation": "Main Warehouse",
                        "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                        "ToLocation": "Main Warehouse: Bin 1",
                        "Status": "VOIDED",
                        "Number": "TR-00001",
                        "CompletionDate": "2017-12-19T00:00:00",
                        "DepartureDate": "2018-03-12T00:00:00",
                        "InTransitAccount": "715",
                        "CostDistributionType": "Cost",
                        "Reference": "",
                        "LastModifiedOn": "2018-03-12T00:00:00"
                    }
                ]
            }

## Stock Transfer [/stockTransfer]
### Available Fields for Stock Transfer
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes*|Unique Cin7 Core Stock Transfer ID.Required for PUT|
|`From`|Guid||Yes*|ID of location from which transfer was done. Required if FromLocation is null|
|`FromLocation`|String||Yes*|Name of location from which transfer was done. Required if From is null|
|`To`|Guid||Yes*|ID of location to which transfer was done. Required if ToLocation is null|
|`ToLocation`|String||Yes*|Name of location to which transfer was done. Required if To is null|
|`Status`|String||Yes|Status of stock transfer. Available values are `DRAFT`, `IN TRANSIT`,`COMPLETED`,`VOIDED`.|
|`Number`|String|||Stock Transfer Number (auto-generated).|
|`CostDistributionType`|String|||Type of additional journals capitalization cost distribution. Available values are `Cost`, `Quantity`,`Weight`,`Volume`. Default value is `Cost`|
|`InTransitAccount`|String||Yes*|Asset Account holding stock value while it is in transit. Required if `Status` is `IN TRANSIT`.|
|`DepartureDate`|DateTime||Yes*|Date when stock left the From warehouse. Required if `Status` is `IN TRANSIT`.|
|`CompletionDate`|DateTime||Yes|Date of transaction|
|`RequiredByDate`|DateTime|||Date when stock is required to be delivered to destination warehouse.|
|`Reference`|String|||Custom reference|
|`SkipOrder`|Boolean|||Skip stock transfer order. Default value `true`.|
|`Lines`|<a href="#StockTransferLineModel"><b>[] Stock Transfer Line Model</b></a>||Yes||
|`Order`|<a href="#StockTransferOrderModel"><b>Stock Transfer Order Model</b></a>||||
|`LastModifiedOn`|DateTime|||Date of last modification. UTC Time. Read-only.|

### GET [GET /stockTransfer?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Stock Transfer
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "418f0b3a-1bf4-46d3-9f25-ca499c680727",
                "Status": "COMPLETED",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "Number": "TR-00005",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 900,
                        "QuantityAvailable": 900,
                        "TransferQuantity": 100,
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-13T00:00:00",
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "mm",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "ManualJournals": [],
                "SkipOrder": false,
                "Order": {
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                            "SKU": "GB3-White",
                            "ProductName": "Golf balls white 3-pack",
                            "QuantityOnHand": 2,
                            "QuantityAvailable": 2,
                            "TransferQuantity": 1,
                            "Comments": "",
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": null,
                            "DimensionsUnits": null,
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        },
                        {
                            "ProductID": "9f35c272-5964-44c9-b372-170e9b9fd5be",
                            "SKU": "21354 - 002",
                            "ProductName": "Big Family red",
                            "QuantityOnHand": 32,
                            "QuantityAvailable": 32,
                            "TransferQuantity": 1,
                            "Comments": "",
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "g",
                            "DimensionsUnits": "cm",
                            "ProductCustomField1": "",
                            "ProductCustomField2": "",
                            "ProductCustomField3": "",
                            "ProductCustomField4": "",
                            "ProductCustomField5": "",
                            "ProductCustomField6": "",
                            "ProductCustomField7": "",
                            "ProductCustomField8": "",
                            "ProductCustomField9": "",
                            "ProductCustomField10": ""
                        }
                    ]
                },
                "LastModifiedOn": "2018-03-12T00:00:00"
            }


### POST [POST]
+ POST method will create new stock transfer.
+ To modify existing stock transfer use PUT.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                 "Status": "DRAFT",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "TransferQuantity": 100,
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-13T00:00:00",
                        "Comments": ""
                    }
                ],
                "ManualJournals": [],
                "SkipOrder": true
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "d144d7c8-b3f8-4b43-9d64-d6ee948606a2",
                "Status": "DRAFT",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "Number": "TR-00006",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 800,
                        "QuantityAvailable": 800,
                        "TransferQuantity": 100,
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-13T00:00:00",
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "mm",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "ManualJournals": [],
                "SkipOrder": true,
                "Order": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "LastModifiedOn": "2018-03-12T00:00:00"
            }
            
 

### PUT [PUT]
 + Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "d144d7c8-b3f8-4b43-9d64-d6ee948606a2",
                "Status": "COMPLETED",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "TransferQuantity": 100,
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-13T00:00:00",
                        "Comments": ""
                    }
                ],
                "ManualJournals": [],
                "SkipOrder": false
            }
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "d144d7c8-b3f8-4b43-9d64-d6ee948606a2",
                "Status": "COMPLETED",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "Number": "TR-00006",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [
                    {
                        "ProductID": "c08b3876-89cc-46c4-af52-b77f058fdf81",
                        "SKU": "Bread",
                        "ProductName": "Baked Bread",
                        "QuantityOnHand": 800,
                        "QuantityAvailable": 800,
                        "TransferQuantity": 100,
                        "BatchSN": "1",
                        "ExpiryDate": "2017-12-13T00:00:00",
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "mm",
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    }
                ],
                "ManualJournals": [],
                "SkipOrder": false,
                "Order": {
                    "Status": "AUTHORISED",
                    "Lines": [
                        {
                            "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                            "SKU": "GB3-White",
                            "ProductName": "Golf balls white 3-pack",
                            "QuantityOnHand": 2,
                            "QuantityAvailable": 2,
                            "TransferQuantity": 1,
                            "Comments": "",
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": null,
                            "DimensionsUnits": null,
                            "ProductCustomField1": null,
                            "ProductCustomField2": null,
                            "ProductCustomField3": null,
                            "ProductCustomField4": null,
                            "ProductCustomField5": null,
                            "ProductCustomField6": null,
                            "ProductCustomField7": null,
                            "ProductCustomField8": null,
                            "ProductCustomField9": null,
                            "ProductCustomField10": null
                        },
                        {
                            "ProductID": "9f35c272-5964-44c9-b372-170e9b9fd5be",
                            "SKU": "21354 - 002",
                            "ProductName": "Big Family red",
                            "QuantityOnHand": 32,
                            "QuantityAvailable": 32,
                            "TransferQuantity": 1,
                            "Comments": "",
                            "ProductLength": 0,
                            "ProductWidth": 0,
                            "ProductHeight": 0,
                            "ProductWeight": 0,
                            "WeightUnits": "g",
                            "DimensionsUnits": "cm",
                            "ProductCustomField1": "",
                            "ProductCustomField2": "",
                            "ProductCustomField3": "",
                            "ProductCustomField4": "",
                            "ProductCustomField5": "",
                            "ProductCustomField6": "",
                            "ProductCustomField7": "",
                            "ProductCustomField8": "",
                            "ProductCustomField9": "",
                            "ProductCustomField10": ""
                        }
                    ]
                },
                "LastModifiedOn": "2018-03-12T00:00:00"
            }
 

### DELETE [DELETE /stockTransfer?ID={ID}&Void={Void}]
+ Parameters
    + ID (required) ... ID of Stock Transfer to Void
    + Void (optional,boolean) ... Void or Undo Stock Transfer
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "d144d7c8-b3f8-4b43-9d64-d6ee948606a2",
                "Status": "VOIDED",
                "From": "cd3ed3bb-673a-4d48-b47b-5f92a973ae8c",
                "FromLocation": "Main Warehouse",
                "To": "284a6935-d54a-40f6-b91d-c707604d5bec",
                "ToLocation": "Main Warehouse: Bin 1",
                "Number": "TR-00006",
                "CostDistributionType": "Cost",
                "InTransitAccount": "715",
                "DepartureDate": "2018-03-12T00:00:00",
                "CompletionDate": "2017-12-19T00:00:00",
                "RequiredByDate": "2017-12-19T00:00:00",
                "Reference": "",
                "Lines": [],
                "ManualJournals": [],
                "SkipOrder": false,
                "Order": {
                    "Status": "NOT AVAILABLE",
                    "Lines": []
                },
                "LastModifiedOn": "2018-03-12T00:00:00"
            }
 

## Stock Transfer Order [/stockTransfer/order]
### Available Fields for Stock Transfer Order
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid||Yes|Unique Cin7 Core Stock Transfer ID|
|`Status`|String||Yes|Status of stock transfer order. Available values are `DRAFT`, `AUTHORISED`, `NOT AVAILABLE`.|
|`Lines`|<a href="#StockTransferOrderLineModel"><b>[] Stock Transfer Order Line Model</b></a>||Yes||
|`LastModifiedOn`|DateTime|||Date of last modification. UTC Time. Read-only.|

### GET [GET /stockTransfer/order?TaskID={TaskID}]
+ Parameters
    + TaskID (required) ... Returns detailed info of a particular Stock Transfer Order
        
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body 
    
            {
                "TaskID": "76a1294b-cea1-4a67-bde7-97363a9cd718",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "ProductName": "Golf balls white 3-pack",
                        "QuantityOnHand": 2,
                        "QuantityAvailable": 2,
                        "TransferQuantity": 1,
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": null,
                        "DimensionsUnits": null,
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "ProductID": "9f35c272-5964-44c9-b372-170e9b9fd5be",
                        "SKU": "21354 - 002",
                        "ProductName": "Big Family red",
                        "QuantityOnHand": 32,
                        "QuantityAvailable": 32,
                        "TransferQuantity": 1,
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    }
                ],
                "LastModifiedOn": "2018-03-12T00:00:00"
            }

### POST [POST]
+ POST method will create and update stock transfer order.

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "TaskID": "76a1294b-cea1-4a67-bde7-97363a9cd718",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "ProductName": "Golf balls white 3-pack",
                        "TransferQuantity": 1,
                        "Comments": ""
                    },
                    {
                        "ProductID": "9f35c272-5964-44c9-b372-170e9b9fd5be",
                        "SKU": "21354 - 002",
                        "ProductName": "Big Family red",
                        "TransferQuantity": 1,
                        "Comments": ""
                    }
                ],
                "LastModifiedOn": "2018-03-12T00:00:00"
            }
            
+ Response 200 (application/json)
    + Body
    
            {
                "TaskID": "76a1294b-cea1-4a67-bde7-97363a9cd718",
                "Status": "AUTHORISED",
                "Lines": [
                    {
                        "ProductID": "34d4edc5-d366-4251-82b2-d75e27fe5e9d",
                        "SKU": "GB3-White",
                        "ProductName": "Golf balls white 3-pack",
                        "QuantityOnHand": 2,
                        "QuantityAvailable": 2,
                        "TransferQuantity": 1,
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": null,
                        "DimensionsUnits": null,
                        "ProductCustomField1": null,
                        "ProductCustomField2": null,
                        "ProductCustomField3": null,
                        "ProductCustomField4": null,
                        "ProductCustomField5": null,
                        "ProductCustomField6": null,
                        "ProductCustomField7": null,
                        "ProductCustomField8": null,
                        "ProductCustomField9": null,
                        "ProductCustomField10": null
                    },
                    {
                        "ProductID": "9f35c272-5964-44c9-b372-170e9b9fd5be",
                        "SKU": "21354 - 002",
                        "ProductName": "Big Family red",
                        "QuantityOnHand": 32,
                        "QuantityAvailable": 32,
                        "TransferQuantity": 1,
                        "Comments": "",
                        "ProductLength": 0,
                        "ProductWidth": 0,
                        "ProductHeight": 0,
                        "ProductWeight": 0,
                        "WeightUnits": "g",
                        "DimensionsUnits": "cm",
                        "ProductCustomField1": "",
                        "ProductCustomField2": "",
                        "ProductCustomField3": "",
                        "ProductCustomField4": "",
                        "ProductCustomField5": "",
                        "ProductCustomField6": "",
                        "ProductCustomField7": "",
                        "ProductCustomField8": "",
                        "ProductCustomField9": "",
                        "ProductCustomField10": ""
                    }
                ],
                "LastModifiedOn": "2018-03-12T00:00:00"
            }



# Group Supplier

Supplier CRUD operations

### Available Fields for Supplier
| Property              | Type      | Length    | Required  | Notes                                                             |
|:----------------------|-----------|-----------|-----------|-------------------------------------------------------------------|
| `ID`                  | Guid      |           | Yes       | Unique Supplier ID.                                               |
| `Name`                | String    | 256       | Yes       | Name of Supplier.                                                 |
| `Currency`            | String    |           | Yes       | Currency code of Supplier.                                        |
| `PaymentTerm`         | String    |           | Yes       | PaymentTerm name.                                                 |
| `AccountPayable`      | String    |           | Yes       | AccountPayable code of Supplier.                                  |
| `TaxRule`             | String    |           | Yes       | TaxRule name.                                                     |
| `Status`              | String    |           | Yes*      | Points that Supplier is Active. Can be `Active` or `Deprecated`   |
| `Discount`            | Int       |           |           | Discount must be between 0% and 100%. 0% used as default.         |
| `Comments`            | String    | 256       |           | Comments.                                                         |
| `TaxNumber`           | Int       |           |           | TaxNumber.                                                        |
| `AttributeSet`        | String    |           |           | AttributeSet name.                                                |
| `AdditionalAttribute#`| String    |           |           | Additional attribute value. # - int(1-10).                        |
| `LastModifiedOn`      | String    |           |           | Date of last modification.                                        |
| `Addresses`           |<a href="#SupplierAddressModel"><b>[] Supplier Address Model</b></a>||| List of addresses.             |
| `Contacts`            |<a href="#SupplierContactModel"><b>[] Supplier Contact Model</b></a>||| List of contacts.              |

## Supplier [/supplier]  
  
### GET [GET /supplier?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&ModifiedSince={ModifiedSince}&IncludeDeprecated={IncludeDeprecated}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Supplier with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Suppliers which name starts with the specific name
        + Default: null
    + ModifiedSince (optional, DateTime?) ... Only return Suppliers modified since specified date (UTC time) in ISO 8601 format.
        + Default: null
    + IncludeDeprecated (optional, bool) ... Returns all Suppliers, including deprecated, if set to true. If set to false or if it is not specified then returns only active (ie. non-deprecated) Suppliers"
        + Default: false
    

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "SupplierList": [
                    {
                        "ID": "733062e8-56d7-4de6-ba06-ed8c690f5f01",
                        "Name": "Bayside Club",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "TaxRule": "GST on Capital Imports",
                        "Discount": 0,
                        "Comments": null,
                        "AccountPayable": "800",
                        "TaxNumber": null,
                        "AdditionalAttribute1": null,
                        "AdditionalAttribute2": null,
                        "AdditionalAttribute3": null,
                        "AdditionalAttribute4": null,
                        "AdditionalAttribute5": null,
                        "AdditionalAttribute6": null,
                        "AdditionalAttribute7": null,
                        "AdditionalAttribute8": null,
                        "AdditionalAttribute9": null,
                        "AdditionalAttribute10": null,
                        "AttributeSet": null,
                        "Status": "Active",
                        "LastModifiedOn": "2017-12-28T06:15:17.237Z",
                        "Addresses": [
                            {
                                "Line1": "148 Bay Harbour Road",
                                "Line2": "",
                                "City": "Ridge Heights",
                                "State": "Madeupville",
                                "Postcode": "MVL 6001",
                                "Country": "Australia",
                                "Type": "Business",
                                "DefaultForType": true
                            },
                            {
                                "Line1": "P O Box 3354",
                                "Line2": "South Mailing Center",
                                "City": "Ridge Heights",
                                "State": "Madeupville",
                                "Postcode": "MVL 6001",
                                "Country": "Australia",
                                "Type": "Billing",
                                "DefaultForType": true
                            }
                        ],
                        "Contacts": [
                            {
                                "Name": "Bob Partridge",
                                "Phone": "02 2024455",
                                "MobilePhone": "02 2024455",
                                "Fax": "02 2025566",
                                "Email": "secretarybob@bsclub.co",
                                "Website": null,
                                "Default": true,
                                "Comment": null,
                                "IncludeInEmail": false
                            }
                        ]
                    },
                    {
                        "ID": "4e580c82-440e-4ea4-8a66-838ac67beb6d",
                        "Name": "Post Supplier testing",
                        "Currency": "USD",
                        "PaymentTerm": "30 days",
                        "TaxRule": "BAS Excluded",
                        "Discount": 0,
                        "Comments": "",
                        "AccountPayable": "800",
                        "TaxNumber": "",
                        "AdditionalAttribute1": "Black",
                        "AdditionalAttribute2": "true",
                        "AdditionalAttribute3": "blablabla",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": "Test set",
                        "Status": "Active",
                        "LastModifiedOn": "2018-02-02T03:37:30.39Z",
                        "Addresses": [
                            {
                                "Line1": "Test address",
                                "Line2": "",
                                "City": null,
                                "State": null,
                                "Postcode": null,
                                "Country": "Australia",
                                "Type": "Shipping",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "Name": "Test contact",
                                "Phone": "",
                                "MobilePhone": "02 2024455",
                                "Fax": "",
                                "Email": "",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": false
                            }
                        ]
                    }
                ]
            }      
            
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
            {
                "Name": "Post Supplier test",
                "Currency": "AUD",
                "PaymentTerm": "30 days",
                "TaxRule": "BAS Excluded",
                "AccountPayable": "800",
                "Status": "Active",
                "AdditionalAttribute1": "Black",
                "AdditionalAttribute2": "True",
                "AdditionalAttribute3": "Test string",
                "AdditionalAttribute4": null,
                "AdditionalAttribute5": null,
                "AdditionalAttribute6": null,
                "AdditionalAttribute7": null,
                "AdditionalAttribute8": null,
                "AdditionalAttribute9": null,
                "AdditionalAttribute10": null,
                "AttributeSet": "Test set",
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "SupplierList": [
                    {
                        "ID": "57144411-51ce-446f-9c96-db4243c477dc",
                        "Name": "Post Supplier test",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "TaxRule": "BAS Excluded",
                        "Discount": 0,
                        "Comments": "",
                        "AccountPayable": "800",
                        "TaxNumber": "",
                        "AdditionalAttribute1": "Black",
                        "AdditionalAttribute2": "True",
                        "AdditionalAttribute3": "Test string",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": "Test set",
                        "Status": "Active",
                        "LastModifiedOn": "2018-02-02T03:37:30.39Z",
                        "Addresses": [],
                        "Contacts": []
                    }
                ]
            }  
   
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "ID": "57144411-51ce-446f-9c96-db4243c477dc",
                "Name": "PUT Supplier testing 3",
                "Currency": "AUD",
                "PaymentTerm": "30 days",
                "TaxRule": "BAS Excluded",
                "Discount": 0,
                "Comments": "",
                "AccountPayable": "800",
                "TaxNumber": "",
                "Status": "Active",
                "AdditionalAttribute1": "Black",
                "AdditionalAttribute2": "True",
                "AdditionalAttribute3": "Test string",
                "AdditionalAttribute4": null,
                "AdditionalAttribute5": null,
                "AdditionalAttribute6": null,
                "AdditionalAttribute7": null,
                "AdditionalAttribute8": null,
                "AdditionalAttribute9": null,
                "AdditionalAttribute10": null,
                "AttributeSet": "Test set",
                "Addresses": [
                    {
                        "Line1": "PUT TEST address",
                        "Line2": "",
                        "City": "",
                        "State": "",
                        "Postcode": "",
                        "Country": "Australia",
                        "Type": "Shipping",
                        "DefaultForType": false
                    }
                ],
                "Contacts": [
                    {
                        "Name": "PUT TEST contact",
                        "Phone": "",
                        "MobilePhone": "",
                        "Fax": "",
                        "Email": "",
                        "Website": "",
                        "Default": true,
                        "Comment": "",
                        "IncludeInEmail": false
                    }
                ]
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "SupplierList": [
                    {
                        "ID": "57144411-51ce-446f-9c96-db4243c477dc",
                        "Name": "PUT Supplier testing 3",
                        "Currency": "AUD",
                        "PaymentTerm": "30 days",
                        "TaxRule": "BAS Excluded",
                        "Discount": 0,
                        "Comments": "",
                        "AccountPayable": "800",
                        "TaxNumber": "",
                        "AdditionalAttribute1": "Black",
                        "AdditionalAttribute2": "True",
                        "AdditionalAttribute3": "Test string",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": "Test set",
                        "Status": "Active",
                        "LastModifiedOn": "2018-02-02T03:37:30.39Z",
                        "Addresses": [
                            {
                                "ID": "fc0029cb-8449-4588-8b75-6e52625fa593",
                                "SupplierID": "f45935e6-e77f-4319-ab51-5c2e79153737",
                                "Line1": "PUT TEST address",
                                "Line2": "",
                                "City": null,
                                "State": null,
                                "Postcode": null,
                                "Country": "Australia",
                                "Type": "Shipping",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "ID": "96af9b70-d9cd-4f05-af47-e404d4ed7129",
                                "SupplierID": "f45935e6-e77f-4319-ab51-5c2e79153737",
                                "Name": "PUT TEST contact",
                                "Phone": "",
                                "MobilePhone": "",
                                "Fax": "",
                                "Email": "",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": false
                            }
                        ]
                    }
                ]
            }                        
            

## Supplier Deposits [/ref/supplier/deposits]
### Available fields for Supplier Deposits
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `DepositID`  | Guid           |         |     |  Deposit ID, identifier unique key.  |
| `SupplierID`  | Guid           |         |     |  Supplier ID|
| `SupplierName`  | String           |         |    | Supplier name.  |
| `Account`  | String           |         |    | Deposit account.  |
| `Amount`  | Decimal           |         |     | Deposit amount.  |
| `RemainingAmount`  | Decimal           |         |    |Deposit remaining amount.  |
| `Currency`  | String           |         |    | Deposit currency name.  |
| `ConvRate`  | Decimal           |         |    | Currency conversion rate.  |
| `Date`  | Date           |         |    | Date paid |
| `Description`  | String           |         |    | Deposit description |



### GET [GET /ref/supplier/deposits?Page={Page}&Limit={Limit}&SupplierID={SupplierID}&ShowUsedDeposits={ShowUsedDeposits}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + SupplierID (optional, Guid) ... Only return Supplier Deposits for specified SupplierID.
        + Default: null
    + ShowUsedDeposits(optional, Boolean) ... Return Supplier Deposits icluded already used.
        + Default: false
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
        
+ Response 200 (application/json)
    + Body
    
            {
              "Page": 1,
              "SupplierDeposits": [
                {
                  "DepositID": "55607b9a-dc9b-4ef4-9ed3-495434e90434",
                  "SupplierID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "SupplierName": "Supplier name 1",
                  "Account": "1200",
                  "Amount": 100,
                  "RemainingAmount": 50,
                  "Currency": "USD",
                  "ConvRate": 1,
                  "Date": "2024-01-09T00:00:00",
                  "Description": ""
                },
                {
                  "DepositID": "67607b9a-dc9b-4ef4-9ed3-495434e90489",
                  "SupplierID": "ce607b9a-dc9b-4ef4-9ed3-495434e90467",
                  "SupplierName": "Supplier name 2",
                  "Account": "1300",
                  "Amount": 100,
                  "RemainingAmount": 0,
                  "Currency": "USD",
                  "ConvRate": 1,
                  "Date": "2024-04-09T00:00:00",
                  "Description": ""
                }
              ]
            }    
            



# Group Tax

Tax CRUD operations

### Available Fields for Tax
| Property              | Type      | Length    | Required  | Notes                 |
|:----------------------|-----------|-----------|-----------|-----------------------|
| `ID`                  | Guid      | 50        |           | Unique ID             |
| `Name`                | String    | 50        | Yes       | Tax name              |
| `Account`             | String    |           | Yes       | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
| `IsActive`            | Bool      |           | Yes       | Points that tax is Active |
| `TaxInclusive`        | Bool      |           | Yes       | Points that tax is Inclusive |
| `TaxPercent`          | Decimal   |           |           | Tax percentage, should be between 0 and 100. Read-only |
| `IsTaxForSale`        | Bool      |           |           | Points that tax is used for Sale |
| `IsTaxForPurchase`    | Bool      |           |           | Points that tax is used for Purchase |
| `Components` |<a href="#TaxComponentModel"><b>[] Tax Component Model</b></a>||||

## Tax [/ref/tax]

### GET [GET /ref/tax?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&IsActive={IsActive}&IsTaxForSale={IsTaxForSale}&IsTaxForPurchase={IsTaxForPurchase}&Account={Account}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Fixed Asset Type with the specific ID
    + Name (optional, string) ... Only return accounts that start with the specific name
    + IsActive (optional, bool) ... Only return ACTIVE taxation rules
    + IsTaxForSale (optional, bool) ... Only return taxation rules which are applicable for Sales
    + IsTaxForPurchase (optional, bool) ... Only return taxation rules which are applicable for Purchase
    + Account (optional, string) ... Only return taxation rules linked to specific accounte

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "TaxRuleList": [
                    {
                        "ID": "9d707beb-19cf-4d7b-a5d9-9eaff05c504c",
                        "Name": "GST on Income",
                        "Account": "820",
                        "IsActive": true,
                        "TaxInclusive": false,
                        "TaxPercent": 10,
                        "IsTaxForSale": true,
                        "IsTaxForPurchase": false,
                        "Components": [
                            {
                                "ID": "B1151EEA-3364-4534-88E6-DF2C6B59A6D8",
                                "Name": "Tax",
                                "Percent": "10.0000000000",
                                "AccountCode": "0",
                                "ComponentOrder": "1"
                            }
                        ]
                    },
                    {
                        "ID": "d4d53cdf-4b87-4b67-9c17-733fc5419a2a",
                        "Name": "Tax test",
                        "Account": "820",
                        "IsActive": true,
                        "TaxInclusive": false,
                        "TaxPercent": 0,
                        "IsTaxForSale": false,
                        "IsTaxForPurchase": true,
                        "Components": [
                            {
                                "ID": "534AC4D9-6F37-448A-971E-DF1C2B21FB64",
                                "Name": "No Tax",
                                "Percent": "0.0000000000",
                                "AccountCode": "",
                                "Compound": "0",
                                "ComponentOrder": "1"
                            }
                        ]
                    }
                ]
            }

  
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
    
            {
                "Name": "Post test",
                "Account": "800",
                "IsActive": true,
                "TaxInclusive": false,
                "TaxPercent": 35,
                "IsTaxForSale": true,
                "IsTaxForPurchase": true,
                "Components": [
                    {
                        "Name": "Tax 1st",
                        "Percent": "10.0000000000",
                        "AccountCode": "800",
                        "Compound": "1",
                        "ComponentOrder": "1"
                    },
                    {
                        "Name": "Tax 2nd",
                        "Percent": "15.0000000000",
                        "AccountCode": "800",
                        "Compound": "0",
                        "ComponentOrder": "2"
                    }
                ]
            }

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "TaxRuleList": [
                    {
                        "ID": "24551562-ebd1-4294-a04a-3ab258f5e541",
                        "Name": "Post test",
                        "Account": "800",
                        "IsActive": true,
                        "TaxInclusive": false,
                        "TaxPercent": 35,
                        "IsTaxForSale": true,
                        "IsTaxForPurchase": true,
                        "Components": [
                            {
                                "ID": "0119E1C0-504A-429B-B4E2-4EEC02A9E88A",
                                "Name": "Tax 1st",
                                "Percent": "10.0000000000",
                                "AccountCode": "800",
                                "Compound": "1",
                                "ComponentOrder": "1"
                            },
                            {
                                "ID": "0B6D5C0F-D8EF-41FF-86D2-A05E5616FC61",
                                "Name": "Tax 2nd",
                                "Percent": "15.0000000000",
                                "AccountCode": "800",
                                "Compound": "0",
                                "ComponentOrder": "2"
                            }
                        ]
                    }
                ]
            }
   
   

### PUT [PUT]
+ Updating accounts is not allowed while integration with Xero or Quickbooks enabled.
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body 
   
            {
                "ID": "24551562-ebd1-4294-a04a-3ab258f5e541",
                "Name": "PUT test",
                "Account": "800",
                "IsActive": true,
                "TaxInclusive": false,
                "TaxPercent": 55,
                "IsTaxForSale": true,
                "IsTaxForPurchase": true,
                "Components": [
                    {
                        "ID": "0119E1C0-504A-429B-B4E2-4EEC02A9E88A",
                        "Name": "Tax 1st",
                        "Percent": "20.0000000000",
                        "AccountCode": "800",
                        "Compound": "1",
                        "ComponentOrder": "1"
                    },
                    {
                        "ID": "0B6D5C0F-D8EF-41FF-86D2-A05E5616FC61",
                        "Name": "Tax 2nd",
                        "Percent": "35.0000000000",
                        "AccountCode": "800",
                        "Compound": "0",
                        "ComponentOrder": "2"
                    }
                ]
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "Total": 1,
                "Page": 1,
                "TaxRuleList": [
                    {
                        "ID": "24551562-ebd1-4294-a04a-3ab258f5e541",
                        "Name": "PUT test",
                        "Account": "800",
                        "IsActive": true,
                        "TaxInclusive": false,
                        "TaxPercent": 55,
                        "IsTaxForSale": true,
                        "IsTaxForPurchase": true,
                        "Components": [
                            {
                                "ID": "0119E1C0-504A-429B-B4E2-4EEC02A9E88A",
                                "Name": "Tax 1st",
                                "Percent": "20.0000000000",
                                "AccountCode": "800",
                                "Compound": "1",
                                "ComponentOrder": "1"
                            },
                            {
                                "ID": "0B6D5C0F-D8EF-41FF-86D2-A05E5616FC61",
                                "Name": "Tax 2nd",
                                "Percent": "35.0000000000",
                                "AccountCode": "800",
                                "Compound": "0",
                                "ComponentOrder": "2"
                            }
                        ]
                    }
                ]
            }

# Group Templates

Templates CRUD operations
### Available Fields for Templates
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TemplateID`  | GUID           |         |          |Unique Template Id.        |
| `Type`  | String             |         |          |Template type.      |
| `Name`  | String             |         |          |Template name       |
| `EmailSubject`  | String             |         |          |Email Subject for template. |
| `CustomEmail`  | String             |         |          | BCC Address field for Template form.      |

## Templates [/ref/templates]
### GET [GET /ref/templates?Page={Page}&Limit={Limit}&Type={Type}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100    
    + Type (optional, string) ... Only return templates with the specific Type
    + Name (optional, string) ... Only return templates with the specific Name
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body
    
            {
                "Page": 1,
                "Templates": [
                    {
                        "TemplateID": "43dacd9f-ad0a-4cfc-b391-e85bb8bccca4",
                        "Type": "Expense Claim Receipt",
                        "Name": "Expense claim receipt",
                        "EmailSubject": "",
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "402982a4-3d26-4b90-bf71-9bd09ad4010b",
                        "Type": "Opportunity",
                        "Name": "Opportunity",
                        "EmailSubject": "",
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "48e4329a-8a58-4d7a-bae1-7b26d9bbf4eb",
                        "Type": "Production Order",
                        "Name": "Production Order",
                        "EmailSubject": null,
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "0b96ac1f-86f4-483e-a516-9af93fe18e9d",
                        "Type": "Purchase Order",
                        "Name": "Purchase order",
                        "EmailSubject": "",
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "354e21b5-5354-4ad1-af12-fc5a82c10b9d",
                        "Type": "Receipt",
                        "Name": "Receipt",
                        "EmailSubject": "",
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "01439c5e-6d02-459c-85b8-e66a0151c831",
                        "Type": "Sale Quote",
                        "Name": "Sale Quote",
                        "EmailSubject": null,
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "0a3c1651-9ab3-495d-9d87-2cb7fa2d0f7d",
                        "Type": "Sale Quote Matrix",
                        "Name": "Sale quote matrix",
                        "EmailSubject": "",
                        "CustomEmail": null
                    },
                    {
                        "TemplateID": "0d10f43b-c5f0-4c37-a999-e9078ceded71",
                        "Type": "Stock Adjustment",
                        "Name": "Stock adjustment",
                        "EmailSubject": "",
                        "CustomEmail": null
                    }
                ]
            }
                        

# Group Transactions
## Transactions [/transactions]

### Available fields for Transactions
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `TaskID`  | Guid           |         ||Task ID     |
|`DebitAccountCode`|String|||Debit Account.|
|`CreditAccountCode`|String|||Credit Account.|
|`Amount`|Decimal|||Amount.|
|`EffectiveDate`|DateTime|||Transaction Date|
|`Reference`|String|||Custom Reference|
|`Transaction`|String|||Transaction description.|
|`Type`|String|||Transaction Type. Available values are `Purchase`,`Sale`,`MoneySpend`,`MoneyReceive`,`BankTransfer`,`ExpenseClaimTask`,`FinishedGoods`,`InventoryWriteOff`,`StockTake`,`StockAdjustment`,`Journal`,`Disassembly`,`Depreciation`|


### GET [GET /transactions?Page={Page}&Limit={Limit}&FromDate={FromDate}&ToDate={ToDate}&Account={Account}]
+ Parameters
    + Page (optional, number) ... Page (Default: 1)
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100. (Default: 100)
    + FromDate (optional) ... Only return Transactions with EffectiveDate more than FromDate (Default: null)
    + ToDate (optional) ... Only return Transactions with EffectiveDate less than ToDate (Default: null)
    + Account (optional) ... Only return Transactions filtered by debit or credit account code (Default: null)

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 29,
                "Page": 1,
                "Transactions": [
                    {
                        "TaskID": "161e64d1-a251-4112-841c-6d2075ff9141",
                        "DebitAccountCode": "610",
                        "CreditAccountCode": "200",
                        "Amount": 1800,
                        "EffectiveDate": "2017-12-15T00:00:00",
                        "Reference": "INV-00004/CR-00002",
                        "Transaction": "DIISR - Small Business Services - INV-00004",
                        "Type": "Sale"
                    },
                    {
                        "TaskID": "d080ea59-34d6-44b9-b06f-86066579dd37",
                        "DebitAccountCode": "610",
                        "CreditAccountCode": "200",
                        "Amount": 1200,
                        "EffectiveDate": "2017-12-15T00:00:00",
                        "Reference": "INV-00005/CR-00003",
                        "Transaction": "DIISR - Small Business Services - INV-00005",
                        "Type": "Sale"
                    }
                ]
            }


# Group Unit of Measure

Unit of Measure CRUD operations

### Available Fields for Unit of Measure
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |          |Required for PUT, Ignored for POST operations          |
| `Name`  | String             | 50        | Yes         |Unit of Measure name       |

## Unit of Measure [/ref/unit]
### GET [GET /ref/unit?Page={Page}&Limit={Limit}&Name={Name}]

+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + Name (optional) ... Only return units of measure that start with the specific name

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033




+ Response 200 (application/json)
    + Body

            {
                "Total": 1,
                "Page": 1,
                "UnitList": [
                    {
                        "ID": "999b3f55-78f5-4a1f-ba8b-2be682a0af61",
                        "Name": "Item"
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Name": "Item"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "999b3f55-78f5-4a1f-ba8b-2be682a0af61",
                "Name": "Item"
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {   
                "ID": "999b3f55-78f5-4a1f-ba8b-2be682a0af61",
                "Name": "Item1"
            }
        

+ Response 200 (application/json)
    + Body 
    
            {
                "ID": "999b3f55-78f5-4a1f-ba8b-2be682a0af61",
                "Name": "Item1"
            }

### DELETE [DELETE /ref/unit?ID={ID}]

+ Parameters
    + ID (required, string) ... ID of Unit of Measure to Delete

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033




+ Response 200 (application/json)
    + Body

            {
                "Success": true
            }
            


# Group  Webhooks

To be able to use webhooks, you should have automation module added to your Cin7 Core subscribtion. For details, please contact support.

There is a limit of 5 webhooks of the same type at the same time.

System will try to send webhook 6 times:
first time - in 1 minute after event.

all other attempts - will be based on current attempt number

2 -> 5 minutes after 1

3 -> 10 minutes after 2

4 -> 15 minutes after 3

5 -> 20 minutes after 4

6 -> 25 minutes after 5

if all attempts will be failed, system will deactivate this webhook

## Webhooks [/webhooks]

### Available fields for Webhooks
| Property | Type           | Length | Required |Notes       |
|:-------|----------------------|---------|----------|----------|
| `ID`  | Guid           |         |Yes*|Unique ID. Required for PUT     |
| `Type`  | String           |         |Yes|Webhook Type. Available values are  <a href="#webhookTypeValues"><b>values</b></a>   |
| `Name`  | String           |         ||Webhook Friendly Name. Read-only.    |
| `IsActive`  | Boolean           |         |Yes|Is webhook active.    |
| `ExternalURL`  | String           |         |Yes|Callback url.   |
| `ExternalAuthorizationType`  | String           |         |Yes|Authorisation type. Available values are `noauth`,`basicauth`, and `bearerauth` |
| `ExternalUserName`  | String           |         |Yes*|User name. Required if `ExternalAuthorizationType` is `basicauth` |
| `ExternalPassword`  | String           |         |Yes*|Password. Required if `ExternalAuthorizationType` is `basicauth` |
| `ExternalBearerToken`  | String           |         |Yes*|Bearer token. Required if `ExternalAuthorizationType` is `bearerauth` |
| `ExternalHeaders`  | Array of Key and Value objects.|         ||Additional headers.|

<a name="webhookTypeValues" />
### Available values for Webhook Type 
| Type     |Description|
|:-------|----------|
| `Sale/Created`  |   |
| `Sale/QuoteAuthorised`  |   |
| `Sale/OrderAuthorised`  |   |
| `Sale/Voided`  |   |
| `Sale/Backordered`  |   |
| `Sale/ShipmentAuthorised`  |   |
| `Sale/InvoiceAuthorised`  |   |
| `Sale/PickAuthorised`  |   |
| `Sale/PackAuthorised`  |   |
| `Sale/CreditNoteAuthorised`  |   |
| `Sale/Undo`  |   |
| `Sale/PartialPaymentReceived`  |   |
| `Sale/FullPaymentReceived`  |   |
| `Sale/AttachmentAdded`  |   |
| `Sale/AdditionalAttributesChanged`  |   |
| `Sale/ShipmentTrackingNumberChanged`  |   |
| `Purchase/OrderAuthorised`  |   |
| `Purchase/InvoiceAuthorised`  |   |
| `Purchase/StockReceivedAuthorised`  |   |
| `Purchase/CreditNoteAuthorised`  |   |
| `Purchase/Updated`  |   |
| `Customer/Updated`  |   |
| `Supplier/Updated`  |   |
| `Product/Updated`  |   |
| `Stock/AvailableStockLevelChanged`  |   |
| `Lead/Updated`  |   |
| `Lead/Converted`  |   |
| `Opportunity/Authorized`  |   |
| `Opportunity/AttachmentAdded`  |   |
| `Opportunity/Voided`  |   |
| `Opportunity/Converted`  |   |
| `Task/Overdue`  |   |


### Webhooks payload examples
+ Sale/Created Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "CustomerName": "Customer name",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accountstest@gmail.com",
                "SaleRepEmail":"accountstest@diisr.govt",
                "SaleOrderDate": "2025-10-27",
                "TaskTypeSign": "0",
                "IsServiceOnly": "0",
                "DownloadLink": null,
                "EventType":"Sale/Created"
            }

+ Sale/QuoteAuthorised Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "EventType":"Sale/QuoteAuthorised"
            }

+ Sale/OrderAuthorised Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "EventType":"Sale/OrderAuthorised"
            }

+ Sale/Voided Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "EventType":"Sale/Voided",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
            }    


+ Sale/Backordered Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "EventType":"Sale/Backordered"
            } 


+ Sale/ShipmentAuthorised Response 200 (application/json)

            {
                "SaleTaskID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "TenantID":"1A783F0D-810C-43C4-B61B-FA7CC293D8A0",
                "OrderNumber":"SO-00044",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                ,"EventType":"Sale/ShipmentAuthorised"
            }
    

+ Sale/InvoiceAuthorised Response 200 (application/json)

            {
                "SaleTaskID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "TenantID":"1A783F0D-810C-43C4-B61B-FA7CC293D8A0",
                "OrderNumber":"SO-00044",
                "InvoiceNumber":"INV-00039",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/InvoiceAuthorised"
            }

+ Sale/PickAuthorised Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "TaskID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/PickAuthorised"
            }
    

+ Sale/PackAuthorised Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "TaskID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/PackAuthorised"
            }

+ Sale/CreditNoteAuthorised Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "CreditNoteNumber":"CR-00004 ",
                "TaskID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/CreditNoteAuthorised"
            }

+ Sale/Undo Response 200 (application/json)

            {
                "SaleID":"91EE7B1D-BD35-4E43-B98A-DB86BE777624",
                "SaleOrderNumber":"SO-00044",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/Undo"
            }


+ Sale/PartialPaymentReceived Response 200 (application/json)

            {
                "SaleID":"91ee7b1d-bd35-4e43-b98a-db86be777624",
                "DocumentNumber":"INV-00039",
                "DocumentType":"invoice",
                "DocumentDate":"29/01/2018",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "AmountPercent":"0.00",
                "EventType":"Sale/PartialPaymentReceived"
            } 


+ Sale/FullPaymentReceived Response 200 (application/json)

            {
                "SaleID":"91ee7b1d-bd35-4e43-b98a-db86be777624",
                "DocumentNumber":"INV-00039",
                "DocumentType":"invoice",
                "DocumentDate":"29/01/2018",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/FullPaymentReceived"
            }

+ Sale/AttachmentAdded Response 200 (application/json)

            {
                "SaleID":"91ee7b1d-bd35-4e43-b98a-db86be777624",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/AttachmentAdded",
                "SaleOrderNumber":"SO-00001",
                "SaleRepEmail":"accounts@diisr.govt",
                "FileName":"1471081716149.jpg",
                "ContentType":"image/jpeg",
                "BlobGUID":"8a720cdd-7871-42bb-8bfe-13cf6ea162a5",
                "TaskTypeSign": "0",
                "IsServiceOnly": "0",
                "DownloadFileLink": "<a href=\"https://inventory.dearsystems.com/Attachment/Download?ID=8a720cdd-7871-42bb-8bfe-13cf6ea162a5&ContentType=image/jpeg&FileName=1471081716149.jpg" target=\"_blank\">1471081716149.jpg</a>",
                "DownloadFileUrl":"https://inventory.dearsystems.com/Attachment/Download?ID=8a720cdd-7871-42bb-8bfe-13cf6ea162a5&ContentType=image/jpeg&FileName=1471081716149.jpg"
            }

+ Sale/AdditionalAttributesChanged Response 200 (application/json)

            {
                "SaleID":"91ee7b1d-bd35-4e43-b98a-db86be777624",
                "CustomerName":"DIISR - Small Business Services",
                "CustomerContactName":"Sheree Bond",
                "CustomerContactEmail":"accounts@diisr.govt",
                "EventType":"Sale/AdditionalAttributesChanged",
                "SaleOrderNumber":"SO-00001",
                "SaleRepEmail":"accounts@diisr.govt",
                "Changes": {
                   "Field":"CustomField1",
                   "Result":"Attribte 1 value has changed from: ''; to: NewValue",
                   "OldValue":"",
                   "NewValue":"NewValue"
                }
            }

+ Sale/ShipmentTrackingNumberChanged Response 200 (application/json)

            { 
                "SaleID":"cb4a73ef-1682-46f5-a8c7-27accf6d3a7c",
                "TaskID":"cb4a73ef-1682-46f5-a8c7-27accf6d3a7c",
                "SaleOrderNumber":"SO-00001",
                "SaleOrderDate":"05/06/2018",
                "CustomerContact":"No Name",
                "CustomerEmail":"infodemo@hsmithdemo.co",
                "CustomerName":"Hamilton Smith Pty",
                "TaskTypeSign":0,
                "Shipments":[
                    { 
                        "ShipmentDate":"12/06/2018",
                        "TrackingNumber":"2412344123122",
                        "TrackingUrl": "",
                        "Carrier":"DEFAULT Carrier" 
                    }
                ],
                "EventType":"Sale/ShipmentTrackingNumberChanged"
            }


+ Purchase/OrderAuthorised Response 200 (application/json)

            {
                "TaskID":"8b1538e4-fa56-49c8-89c9-38d106439577",
                "PurchaseOrderNumber":"PO-00005",
                "SupplierName":"ABPA",
                "SupplierContactName":"No Name",
                "SupplierContactEmail":"test@test.com",
                "EventType":"Purchase/OrderAuthorised"
            } 

+ Purchase/InvoiceAuthorised Response 200 (application/json)

            {
                "TaskID":"8B1538E4-FA56-49C8-89C9-38D106439577",
                "PurchaseOrderNumber":"PO-00005",
                "InvoiceNumber":"1",
                "SupplierName":null,
                "SupplierContactName":null,
                "SupplierContactEmail":null,
                "EventType":"Purchase/InvoiceAuthorised"
            }

+ Purchase/StockReceivedAuthorised Response 200 (application/json)

            {
                "TaskID":"8B1538E4-FA56-49C8-89C9-38D106439577",
                "PurchaseOrderNumber":"PO-00005",
                "InvoiceNumber":"1",
                "SupplierName":null,
                "SupplierContactName":null,
                "SupplierContactEmail":null,
                "EventType":"Purchase/StockReceivedAuthorised"
            }


+ Purchase/CreditNoteAuthorised Response 200 (application/json)

            {
                "TaskID":"8B1538E4-FA56-49C8-89C9-38D106439577",
                "PurchaseOrderNumber":"PO-00005",
                "CreditNoteNumber":"2",
                "SupplierName":null,
                "SupplierContactName":null,
                "SupplierContactEmail":null,
                "EventType":"Purchase/CreditNoteAuthorised"
            }
            
+ Purchase/Updated Response 200 (application/json)

            {
                "NumberOfPurchase": 1,
                "CustomerDetailsList": [
                    {
                        "ID": "8B1538E4-FA56-49C8-89C9-38D106439577",
                        "SupplierID": "592e5eff-3c92-4a12-a275-67de1fda66ef",
                        "Supplier": "Bayside Club",
                        "Contact": "Trish Rawlings",
                        "Phone": null,
                        "InventoryAccount": null,
                        "BlindReceipt": false,
                        "Approach": "INVOICE",
                        "BillingAddress": {
                            "DisplayAddressLine1": "",
                            "DisplayAddressLine2": "",
                            "Line1": null,
                            "Line2": null,
                            "City": null,
                            "State": null,
                            "Postcode": null,
                            "Country": null
                        },
                        "ShippingAddress": {
                            "DisplayAddressLine1": "DEFAULT shipping address",
                            "DisplayAddressLine2": "DEFAULT City DEFAULT State DEFAULT Postcode",
                            "Line1": null,
                            "Line2": null,
                            "City": null,
                            "State": null,
                            "Postcode": null,
                            "Country": null,
                            "ShipToOther": false,
                            "Company": null
                        },
                        "BaseCurrency": "USD",
                        "SupplierCurrency": "USD",
                        "TaxRule": "Tax Exempt",
                        "TaxCalculation": "Exclusive",
                        "Terms": "30 days",
                        "RequiredBy": null,
                        "Location": "Main Warehouse",
                        "Note": "Note",
                        "OrderNumber": "PO-00080",
                        "Type": "Simple Purchase",
                        "CombinedInvoiceStatus": "INVOICED",
                        "CombinedReceivingStatus": "NOT RECEIVED",
                        "CombinedPaymentStatus": "PAID",
                        "IsServiceOnly": false,
                        "OrderDate": "2018-02-22T00:00:00",
                        "Status": "ORDERED",
                        "RelatedDropShipSaleTask": null,
                        "CurrencyRate": 1,
                        "LastUpdatedDate": "2018-04-19T04:03:06.52Z",
                        "AdditionalAttributes": {
                            "AdditionalAttribute1": "",
                            "AdditionalAttribute2": "",
                            "AdditionalAttribute3": "",
                            "AdditionalAttribute4": "",
                            "AdditionalAttribute5": "",
                            "AdditionalAttribute6": "",
                            "AdditionalAttribute7": "",
                            "AdditionalAttribute8": "",
                            "AdditionalAttribute9": "",
                            "AdditionalAttribute10": ""
                        }
                    }
                ],
                "EventType": "Purchase/Updated"
            }
           
+ Customer/Updated Response 200 (application/json)

            {
              "NumberOfCustomers": 1,
              "CustomerDetailsList": [
                {
                  "Customer": {
                    "ID": "b41c4eb0-7ecb-48e4-ac97-7567885976c5",
                    "Name": "114 Transport",
                    "Currency": "RUB",
                    "PaymentTerm": "30 days",
                    "Discount": 1.0000,
                    "TaxRule": "Tax Exempt",
                    "Carrier": null,
                    "SalesRepresentative": null,
                    "Location": "Main Warehouse",
                    "Comments": "",
                    "AccountReceivable": "610",
                    "RevenueAccount": "200",
                    "PriceTier": "Tier 1",
                    "TaxNumber": "",
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": "",
                    "AttributeSet": null,
                    "Tags": "",
                    "Status": "Active",
                    "LastModifiedOn": "2018-02-07T07:22:37.21",
                    "CreditLimit": 0.0000
                  },
                  "Addresses": [
                    
                  ],
                  "Contacts": [
                    {
                      "ID": "6a295b24-cf6b-4449-9de5-fb5a29431375",
                      "CustomerID": "b41c4eb0-7ecb-48e4-ac97-7567885976c5",
                      "Name": "114 Transport",
                      "JobTitle": null,
                      "Phone": null,
                      "MobilePhone": "0407409967",
                      "Fax": null,
                      "Email": null,
                      "Website": null,
                      "Default": true,
                      "Comment": null,
                      "IncludeInEmail": false
                    },
                    {
                      "ID": "c2bc4883-2ef4-4d50-a807-df5f40bb4f15",
                      "CustomerID": "b41c4eb0-7ecb-48e4-ac97-7567885976c5",
                      "Name": "No Name",
                      "JobTitle": null,
                      "Phone": "",
                      "MobilePhone": null,
                      "Fax": null,
                      "Email": "bunnivy@gmail.com",
                      "Website": null,
                      "Default": true,
                      "Comment": null,
                      "IncludeInEmail": false
                    }
                  ]
                }
              ],
              "EventType": "Customer/Updated"
            }


+ Supplier/Updated  Response 200 (application/json)

            {
              "NumberOfSuppliers": 1,
              "SupplierDetailsList": [
                {
                  "Supplier": {
                    "ID": "592e5eff-3c92-4a12-a275-67de1fda66ef",
                    "Name": "ABC Furniture",
                    "Currency": "RUB",
                    "PaymentTerm": "30 days",
                    "TaxRule": "Tax on Purchases",
                    "Discount": 2.0000,
                    "Comments": "",
                    "AccountPayable": "800",
                    "TaxNumber": "",
                    "AdditionalAttribute1": "",
                    "AdditionalAttribute2": "",
                    "AdditionalAttribute3": "",
                    "AdditionalAttribute4": "",
                    "AdditionalAttribute5": "",
                    "AdditionalAttribute6": "",
                    "AdditionalAttribute7": "",
                    "AdditionalAttribute8": "",
                    "AdditionalAttribute9": "",
                    "AdditionalAttribute10": "",
                    "AttributeSet": null,
                    "Status": "Active",
                    "LastModifiedOn": "2018-02-07T08:07:13.273"
                  },
                  "Addresses": [
                    
                  ],
                  "Contacts": [
                    {
                      "ID": "118681b4-3f01-4375-af3e-7ea73a09bb27",
                      "SupplierID": "592e5eff-3c92-4a12-a275-67de1fda66ef",
                      "Name": "Trish Rawlings",
                      "Phone": "800 124578",
                      "Fax": null,
                      "Email": "info@abfl.com",
                      "Website": null,
                      "Default": true,
                      "Comment": null,
                      "IncludeInEmail": false
                    }
                  ]
                }
              ],
              "EventType": "Supplier/Updated"
            }

+ Stock/AvailableStockLevelChanged Response 200 (application/json)

            [  
               {  
                  "ID":"3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                  "SKU":"Bread",
                  "Name":"Baked Bread",
                  "Barcode":"333",
                  "Location":"Main Warehouse",
                  "Bin":null,
                  "Batch":null,
                  "ExpiryDate":null,
                  "Category":"Other",
                  "OnHand":497.0000,
                  "Allocated":9.0000,
                  "Available":488.0000,
                  "OnOrder":0.0000,
                  "StockOnHand":2485.0000,
                  "MaxRows":3
               },
               {  
                  "ID":"3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                  "SKU":"Bread",
                  "Name":"Baked Bread",
                  "Barcode":"333",
                  "Location":"Main Warehouse",
                  "Bin":"Bin 1",
                  "Batch":null,
                  "ExpiryDate":null,
                  "Category":"Other",
                  "OnHand":10.0000,
                  "Allocated":2.0000,
                  "Available":8.0000,
                  "OnOrder":0.0000,
                  "StockOnHand":50.0000,
                  "MaxRows":3
               },
               {  
                  "ID":"3bfdf57a-bbc7-4f09-ba28-9768a09e0a60",
                  "SKU":"Bread",
                  "Name":"Baked Bread",
                  "Barcode":"333",
                  "Location":"Main Warehouse",
                  "Bin":"Bin 2",
                  "Batch":null,
                  "ExpiryDate":null,
                  "Category":"Other",
                  "OnHand":10.0000,
                  "Allocated":2.0000,
                  "Available":8.0000,
                  "OnOrder":0.0000,
                  "StockOnHand":50.0000,
                  "MaxRows":3
               }
            ]

+ Product/Updated  Response 200 (application/json)

            {
                "NumberOfProducts": 1,
                "ProductDetailsList": [
                    {
                        "Event": "Creation",
                        "ID": "cfda2bb8-ffb3-49cb-876b-769c85a26130",
                        "SKU": "SKU-TESTPRODUCT-1",
                        "Name": "SKU-TESTPRODUCT-1",
                        "Category": "TEST",
                        "Brand": null,
                        "Type": "Stock",
                        "CostingMethod": "FIFO",
                        "DropShipMode": "No Drop Ship",
                        "DefaultLocation": "Main Warehouse",
                        "Length": 0,
                        "Width": 0,
                        "Height": 0,
                        "Weight": 0,
                        "UOM": "Item",
                        "WeightUnits": "oz",
                        "DimensionsUnits": "in",
                        "Barcode": "",
                        "MinimumBeforeReorder": 0,
                        "ReorderQuantity": 0,
                        "PriceTier1": 1000,
                        "PriceTier2": 0,
                        "PriceTier3": 0,
                        "PriceTier4": 0,
                        "PriceTier5": 0,
                        "PriceTier6": 0,
                        "PriceTier7": 0,
                        "PriceTier8": 0,
                        "PriceTier9": 0,
                        "PriceTier10": 0,
                        "PriceTiers": {
                            "Tier 1": 1000,
                            "Tier 2": 0,
                            "Tier 3": 0,
                            "Tier 4": 0,
                            "Tier 5": 0,
                            "Tier 6": 0,
                            "Tier 7": 0,
                            "Tier 8": 0,
                            "Tier 9": 0,
                            "Tier 10": 0
                        },
                        "AverageCost": 0,
                        "ShortDescription": "",
                        "InternalNote": "",
                        "Description": "",
                        "AdditionalAttribute1": "",
                        "AdditionalAttribute2": "",
                        "AdditionalAttribute3": "",
                        "AdditionalAttribute4": "",
                        "AdditionalAttribute5": "",
                        "AdditionalAttribute6": "",
                        "AdditionalAttribute7": "",
                        "AdditionalAttribute8": "",
                        "AdditionalAttribute9": "",
                        "AdditionalAttribute10": "",
                        "AttributeSet": null,
                        "DiscountRule": null,
                        "Tags": "",
                        "Status": "Active",
                        "StockLocator": "",
                        "COGSAccount": null,
                        "RevenueAccount": null,
                        "ExpenseAccount": null,
                        "InventoryAccount": null,
                        "PurchaseTaxRule": null,
                        "SaleTaxRule": null,
                        "LastModifiedOn": "2025-10-08T10:21:05.087Z",
                        "Sellable": true,
                        "PickZones": "",
                        "BillOfMaterial": false,
                        "AutoAssembly": false,
                        "AutoDisassembly": false,
                        "QuantityToProduce": 1,
                        "AlwaysShowQuantity": 0,
                        "AssemblyInstructionURL": "",
                        "AssemblyCostEstimationMethod": "Average Cost",
                        "BOMType": "None",
                        "WarrantyName": null,
                        "HSCode": null,
                        "CountryOfOrigin": null,
                        "CountryOfOriginCode": null,
                        "CreatedDate": "2025-10-08T10:21:04.297"
                    }
                ],
                "EventType": "Product/Updated"
            }
            
+ Lead/Updated  Response 200 (application/json)

            {
                "NumberOfLeads": 1,
                "LeadsDetailsList": [
                        {
                            "Event": "Creation",
                            "LeadID": "78dd7322-ce73-4ecc-a8dd-db2e4d418bfb",
                            "Name": "Test Lead",
                            "Currency": "AUD",
                            "Comments": "",
                            "LeadStatus": "NEW",
                            "CloseChance": 10,
                            "PriceTier": 1,
                            "Amount": 0,
                            "CloseDate": "2025-11-27T00:00:00Z",
                            "Addresses": [],
                            "Contacts": []
                        }
                    ],
                    "EventType": "Lead/Updated"
            }

+ Lead/Converted  Response 200 (application/json)

            {
                "LeadID": "3A2FB1E4-E24B-4E9C-97A8-05E65A953B79",
                "LeadName": "Test Lead",
                "LeadContactName": null,
                "LeadContactEmail": null,
                "EventType": "Lead/Converted"
            }

+ Opportunity/Authorized  Response 200 (application/json)

            {
                "OpportunityID": "E9B5CEE9-A6FF-4215-9B25-0FB06E5E3929",
                "OpportunityNumber": "OP-00036",
                "CustomerOrLeadName": "CustomerLead",
                "CustomerOrLeadContactName": "",
                "CustomerOrLeadContactEmail": "",
                "SaleRepName": "Garry",
                "SaleRepEmail": "test@gmail.com",
                "EventType": "Opportunity/Authorized"
            }
            
+ Opportunity/AttachmentAdded  Response 200 (application/json)

            {
                "OpportunityID": "9BDF106B-7203-4C83-83EC-97257F125C27",
                "OpportunityNumber": "OP-00037",
                "CustomerOrLeadName": "CustomerLead",
                "CustomerOrLeadContactName": "",
                "CustomerOrLeadContactEmail": "",
                "SaleRepName": "Garry",
                "SaleRepEmail": "test@gmail.com",
                "FileName": "1471081716149.jpg",
                "ContentType": "image/jpeg",
                "BlobGUID": "6770AFD1-96FE-42CD-B2A1-682926BD4078",
                "DownloadFileUrl": "https://inventory.dearsystems.com/Attachment/Download?ID=8a720cdd-7871-42bb-8bfe-13cf6ea162a5&ContentType=image/jpeg&FileName=1471081716149.jpg",
                "DownloadFileLink": "<a href=\"https://inventory.dearsystems.com/Attachment/Download?ID=8a720cdd-7871-42bb-8bfe-13cf6ea162a5&ContentType=image/jpeg&FileName=1471081716149.jpg" target=\"_blank\">1471081716149.jpg</a>",
                "EventType": "Opportunity/AttachmentAdded"
            }

+ Opportunity/Voided  Response 200 (application/json)

            {
                "OpportunityID": "9BDF106B-7203-4C83-83EC-97257F125C27",
                "OpportunityNumber": "OP-00037",
                "CustomerOrLeadName": "CustomerLead",
                "CustomerOrLeadContactName": "",
                "CustomerOrLeadContactEmail": "",
                "SaleRepEmail": "test@gmail.com",
                "EventType": "Opportunity/Voided"
            }

+ Opportunity/Converted  Response 200 (application/json)

            {
                "OpportunityID": "E9B5CEE9-A6FF-4215-9B25-0FB06E5E3929",
                "OpportunityNumber": "OP-00036",
                "CustomerOrLeadName": "CustomerLead",
                "CustomerOrLeadContactName": "",
                "CustomerOrLeadContactEmail": "",
                "SaleRepEmail": "test@gmail.com",
                "SaleOrderNumber": "SO-52989",
                "EventType": "Opportunity/Converted"
            }
            
+ Task/Overdue  Response 200 (application/json)

            [
                {
                    "TaskID": "86febf5e-6704-4da8-baad-00471e99e8be",
                    "Name": "Schedule delivery",
                    "AssingedTo": "test@gmail.com",
                    "Entity": "Sale #SO-04413 for Test",
                    "DueDate": "08/06/2021",
                    "Status": "Open"
                }
            ]

### GET [GET]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
        
            {
                "Webhooks": [
                    {
                        "ID": "0bd90aa9-72f9-4f9c-bb0d-9f7cc406b07a",
                        "Type": "Sale/OrderAuthorised",
                        "Name": "Sale order has been authorised",
                        "IsActive": false,
                        "ExternalURL": "https://hookb.in/Zn8950P7",
                        "ExternalAuthorizationType": "basicauth",
                        "ExternalUserName": "Hello",
                        "ExternalPassword": "123",
                        "ExternalBearerToken": "",
                        "ExternalHeaders": [
                            {
                                "Key": "Key",
                                "Value": "123"
                            },
                            {
                                "Key": "6",
                                "Value": "0"
                            }
                        ]
                    }
                ]
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "Type": "Sale/OrderAuthorised",
                "IsActive": true,
                "ExternalURL": "https://hookb.in/Zn8950P7",
                "ExternalAuthorizationType": "basicauth",
                "ExternalUserName": "Hello",
                "ExternalPassword": "123",
                "ExternalBearerToken": "",
                "ExternalHeaders": [
                    {
                        "Key": "Key",
                        "Value": "123"
                    },
                    {
                        "Key": "6",
                        "Value": "0"
                    }
                ]
            }
           
+ Response 200 (application/json)
    + Body 
    
            {
                "Webhooks": [
                    {
                        "ID": "1cf8cb83-bf39-494b-87f9-1252b684d6d5",
                        "Type": "Sale/OrderAuthorised",
                        "Name": "Sale order has been authorised",
                        "IsActive": true,
                        "ExternalURL": "https://hookb.in/Zn8950P7",
                        "ExternalAuthorizationType": "basicauth",
                        "ExternalUserName": "Hello",
                        "ExternalPassword": "123",
                        "ExternalBearerToken": null,
                        "ExternalHeaders": [
                            {
                                "Key": "Key",
                                "Value": "123"
                            },
                            {
                                "Key": "6",
                                "Value": "0"
                            }
                        ]
                    }
                ]
            }

### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
    + Body 
    
            {
                "ID": "1cf8cb83-bf39-494b-87f9-1252b684d6d5",
                "Type": "Sale/OrderAuthorised",
                "Name": "Sale order has been authorised",
                "IsActive": true,
                "ExternalURL": "https://hookb.in/Zn8950P7",
                "ExternalAuthorizationType": "basicauth",
                "ExternalUserName": "Hello",
                "ExternalPassword": "123",
                "ExternalBearerToken": null,
                "ExternalHeaders": [
                    {
                        "Key": "Key",
                        "Value": "123"
                    },
                    {
                        "Key": "6",
                        "Value": "0"
                    },
                    {
                        "Key": "New Key",
                        "Value": "New Value"
                    }
                ]
            }
           
+ Response 200 (application/json)
    + Body 
    
            {
                "Webhooks": [
                    {
                        "ID": "1cf8cb83-bf39-494b-87f9-1252b684d6d5",
                        "Type": "Sale/OrderAuthorised",
                        "Name": "Sale order has been authorised",
                        "IsActive": true,
                        "ExternalURL": "https://hookb.in/Zn8950P7",
                        "ExternalAuthorizationType": "basicauth",
                        "ExternalUserName": "Hello",
                        "ExternalPassword": "123",
                        "ExternalBearerToken": null,
                        "ExternalHeaders": [
                            {
                                "Key": "Key",
                                "Value": "123"
                            },
                            {
                                "Key": "6",
                                "Value": "0"
                            },
                            {
                                "Key": "New Key",
                                "Value": "New Value"
                            }
                        ]
                    }
                ]
            }
            

### Delete [DELETE /webhooks?ID={ID}]
        
+ Parameters
    + ID (required) ... ID of Webhook to Delete.
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body

            {
                "Webhooks": []
            }



# Group CRM

## Lead [/crm/lead]  

Lead CRUD operations

### Available Fields for Lead
|Property               |Type       |Length     |Required   |Notes|
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
|`ID`|Guid||yes|Unique lead ID generated by Cin7 Core.|
|`LeadStatus`|string|256|yes|Lead status. Available values are NEW, ATTEMPTING TO CONTACT, QUALIFIED, DISQUALIFIED.|
|`Name`|string|256|yes|Name of the lead.|
|`Currency`|string|3|yes|Currency code of the lead.|
|`PaymentTerm`|int||yes|Payment term for the lead.|
|`PriceTier`|string|50|yes|Price tier.|
|`SalesRepresentative`|string|256|yes|Sale representative name.|
|`TaxRule`|string|255|yes|Tax rule name for the lead.|
|`Amount`|decimal|||Lead value.|
|`CloseChance`|int||yes| % chance of wining a lead. Available values are 0%, 10%, 20%, 30%..... etc.|
|`CloseDate`|DateTime||yes|Lead deal estimated close date.|
|`Comments`|string|2000||Additional comments.|
|`Contacts`|<a href="#SupplierContactModel"><b>[] Lead Contact Model</b></a>|||List of contacts.|
|`Addresses`|<a href="#SupplierAddressModel"><b>[] Lead Address Model</b></a>|||List of addresses.|


### GET [GET /crm/lead?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&ModifiedSince={ModifiedSince}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Lead with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Leads which name starts with the specific name
        + Default: null
    + ModifiedSince (optional, DateTime?) ... Only return Leads modified since specified date (UTC time) in ISO 8601 format.
        + Default: null
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
            {
                "Total": 2,
                "Page": 1,
                "LeadList": [
                    {
                        "ID": "f192e2ce-6e06-4173-bb90-fb372f07366f",
                        "Name": "new lead",
                        "Currency": "AMD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [],
                        "Contacts": [
                            {
                                "ID": "354d9f7f-76af-4170-9476-084c54c77622",
                                "Name": "David Musk",
                                "JobTitle": "Developer",
                                "Phone": "+11234567987",
                                "MobilePhone": "+148444654",
                                "Fax": "",
                                "Email": "dmusk@aol.com",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": true
                            }
                        ]
                    },
                    {
                        "ID": "e14192b1-5344-4ad1-8d20-e5a9e5b399af",
                        "Name": "Test lead 1",
                        "Currency": "USD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [
                            {
                                "ID": "a209b023-9eed-4e86-88de-16d66750ec05",
                                "Type": "Billing",
                                "Line1": "Baskov Pereulok",
                                "Line2": "Tsentralnyy rayon",
                                "City": "Sankt-Peterburg",
                                "State": "",
                                "Postcode": "191014",
                                "Country": "Russia",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": []
                    }
                ]
            }
  
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                    {
                        "Name": "new lead",
                        "Currency": "AMD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [
                            {
                                "Type": "Billing",
                                "Line1": "Baskov Pereulok",
                                "Line2": "Tsentralnyy rayon",
                                "City": "Sankt-Peterburg",
                                "State": "",
                                "Postcode": "191014",
                                "Country": "Russia",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "Name": "David Musk",
                                "JobTitle": "Developer",
                                "Phone": "+11234567987",
                                "MobilePhone": "+148444654",
                                "Fax": "",
                                "Email": "dmusk@aol.com",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": true
                            }
                        ]
                    }
                    
+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "LeadList": [
                    {
                        "Name": "new lead",
                        "Currency": "AMD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [
                            {
                                "ID": "a209b023-9eed-4e86-88de-16d66750ec05",
                                "Type": "Billing",
                                "Line1": "Baskov Pereulok",
                                "Line2": "Tsentralnyy rayon",
                                "City": "Sankt-Peterburg",
                                "State": "",
                                "Postcode": "191014",
                                "Country": "Russia",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "ID": "354d9f7f-76af-4170-9476-084c54c77622",
                                "Name": "David Musk",
                                "JobTitle": "Developer",
                                "Phone": "+11234567987",
                                "MobilePhone": "+148444654",
                                "Fax": "",
                                "Email": "dmusk@aol.com",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": true
                            }
                        ]
                    }
                ]
            }
            
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

                    {
                        "Name": "new lead",
                        "Currency": "AMD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [
                            {
                                "Type": "Billing",
                                "Line1": "Baskov Pereulok",
                                "Line2": "Tsentralnyy rayon",
                                "City": "Sankt-Peterburg",
                                "State": "",
                                "Postcode": "191014",
                                "Country": "Russia",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "Name": "David Musk",
                                "JobTitle": "Developer",
                                "Phone": "+11234567987",
                                "MobilePhone": "+148444654",
                                "Fax": "",
                                "Email": "dmusk@aol.com",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": true
                            }
                        ]
                    }
                    
+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "LeadList": [
                    {
                        "Name": "new lead",
                        "Currency": "AMD",
                        "LeadStatus": "NEW",
                        "CloseChance": 20,
                        "PaymentTerm": "COD",
                        "TaxRule": "GST Free Income",
                        "SalesRepresentative": "Nikolay Kuznetsov",
                        "Comments": "",
                        "PriceTier": "Tier 1",
                        "CloseDate": "2021-06-19T00:00:00",
                        "Amount": 0,
                        "Addresses": [
                            {
                                "ID": "a209b023-9eed-4e86-88de-16d66750ec05",
                                "Type": "Billing",
                                "Line1": "Baskov Pereulok",
                                "Line2": "Tsentralnyy rayon",
                                "City": "Sankt-Peterburg",
                                "State": "",
                                "Postcode": "191014",
                                "Country": "Russia",
                                "DefaultForType": false
                            }
                        ],
                        "Contacts": [
                            {
                                "ID": "354d9f7f-76af-4170-9476-084c54c77622",
                                "Name": "David Musk",
                                "JobTitle": "Developer",
                                "Phone": "+11234567987",
                                "MobilePhone": "+148444654",
                                "Fax": "",
                                "Email": "dmusk@aol.com",
                                "Website": "",
                                "Default": false,
                                "Comment": "",
                                "IncludeInEmail": true
                            }
                        ]
                    }
                ]
            }
            
            
## Opportunity [/crm/opportunity] 

Opportunity CRUD operations

### Available Fields for Opportunity
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
|`ID`|Guid||yes|Unique Cin7 Core opportunity ID.|
|`CustomerID`|Guid|||Customer identifier.|
|`LeadID`|Guid|||Lead identifier.|
|`CustomerName`|string|256|yes|Lead or customer name.|
|`Contact`|string|256||Lead or customer contact name.|
|`Phone`|string|50||Lead or customer phone number.|
|`DefaultAccount`|string|50||Account code used by default for invoice lines when no revenue account is defined on Product. By default it is set to default revenue account.|
|`BillingAddressLine1`|string|256|yes|Opportunity billing address line 1.|
|`BillingAddressLine2`|string|256||Opportunity billing address line 2.|
|`Currency`|string|3|yes|Opportunity Currency.|
|`TaxPercent`|decimal|||Opportunity Tax %.|
|`TaxInclusive`|bool|||Opportunity is tax Inclusive or Exclusive.|
|`TaxRule`|string|255|yes|Default Tax Rule name selected for opportunity.|
|`TermDays`|int|||Opportunity payment term number of days.|
|`Terms`|string|50|yes|Opportunity payment term name.|
|`PriceTier`|string|50|yes|Price Tier name selected for opportunity.|
|`ShippingAddressLine1`|string|256||Opportunity shipping address line 1.|
|`ShippingAddressLine2`|string|256||Opportunity shipping address line 2.|
|`OpportunityLocation`|string|256|yes|Default location to pick stock from once converted to sale.|
|`OpportunityNumber`|string|256||Number of opportunities.|
|`OpportunityDate`|DateTime|||Date opportunity is created.|
|`OpportunityComment`|string|1024||Additional comments added on opportunity.|
|`OpportunityMemo`|string|1024||Additional information for the opportunity.|
|`OpportunityStatus`|string|25||Status of the opportunity. Possible values: Draft, In Progress, Won, Lost.|
|`TaxTotal`|decimal|||Total tax amount for the opportunity.|
|`Total`|decimal|||Total opportunity.|
|`CustomerReference`|string|256||Customer reference.|
|`CurrencyConversionRate`|decimal|||Currency conversion rate.|
|`CustomerCurrency`|string|3|yes|Customer Currency.|
|`TermMethod`|int||yes||
|`SalesRepresentative`|string|256|yes|Sales Representative name.|
|`TermDueNextMonth`|int||||
|`ShipToOther`|bool||yes|If false and customer or leads' address matching Line 1 not found, then a new customer/ lead shipping address will be created.|
|`ShipToCompany`|string|128||Ship to company name when ShipToOther is true.|
|`ShipToContact`|string|512||Ship to contact name when ShipToOther is true.|
|`ShipToCountry`|string|64||Ship to country when ShipToOther is true.|
|`ShipToPostCode`|string|32||Ship to post code when ShipToOther is true.|
|`ShipToState`|string|128||Ship to state when ShipToOther is true.|
|`ShipToCity`|string|128||Ship to city when ShipToOther is true.|
|`ShipToAddress1`|string|256||Ship to address line 1.|
|`ShipToAddress2`|string|256||Ship to address line 2.|
|`CustomField1`|string|256||Value of opportunity additional attribute 1. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField2`|string|256||Value of opportunity additional attribute 2. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField3`|string|256||Value of opportunity additional attribute 3. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField4`|string|256||Value of opportunity additional attribute 4. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField5`|string|256||Value of opportunity additional attribute 5. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField6`|string|256||Value of opportunity additional attribute 6. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField7`|string|256||Value of opportunity additional attribute 7. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField8`|string|256||Value of opportunity additional attribute 8. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField9`|string|256||Value of opportunity additional attribute 9. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`CustomField10`|string|256||Value of opportunity additional attribute 10. <br> Date format: Use `yyyy-mm-dd` <br> Numeric format: Enter a number with max 4 decimal palces|
|`Lines`|Opportunity Line[]|||Opportunity line items.|
|`AdditionalCharges`|Opportunity Additional Charge[]|||Opportunity line additional charges. If true then additional charges lines displayed in Lines array.|

### Available Fields for Opportunity Line
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid|||Unique Opportunity ID.
`ProductID`|Guid||Either ProductID or ProductName or ProductSKU should be presented|Product identifier referenced by this line.
`ProductName`|string|256||Product Name referenced by this line.
`ProductSKU`|string|50||Product SKU referenced by this line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = false
`Quantity`|decimal||yes|Product or service quantity. Minimal value is 1.
`Price`|decimal||yes|Price per unit in Customer/ lead currency.
`Discount`|decimal|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0.
`Tax`|decimal||yes|Tax applicable for the opportunity line item.
`Total`|decimal||yes|Line Total. For validation.
`TaxRule`|string|255||Line Tax Rule name.
`TaxPercent`|decimal|||Tax percentage.
`Comment`|string|1024||Additional comments on line item.

### Available Fields for Opportunity Opportunity Additional Charge 
| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid||yes|Unique opportunity ID
`Description`|string|256|yes|Name of Service Product referenced by this line.
`Quantity`|decimal||yes|Product or service quantity. Minimal value is 1.
`Amount`|decimal||yes|Price per unit in Customer currency.
`Discount`|decimal|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0.
`Tax`|decimal||yes|Tax  amount for the line item.
`Total`|decimal||yes|Line Total. For validation.
`TaxRule`|string|255||Line Tax Rule name.
`TaxPercent`|decimal|||Tax percentage for line item.
`Comment`|string|1024||Additional comments on line item.

### GET [GET /crm/opportunity?Page={Page}&Limit={Limit}&ID={ID}&ModifiedSince={ModifiedSince}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Opportunity with the specific ID
        + Default: null
    + ModifiedSince (optional, DateTime?) ... Only return Opportunities modified since specified date (UTC time) in ISO 8601 format.
        + Default: null

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

+ Response 200 (application/json)
    + Body
    
                {
                "Total": 2,
                "Page": 1,
                "opportunityList": [
                    {
                        "ID": "3abd747e-a309-4558-acca-f215126b039f",
                        "CustomerID": "2043502d-4f10-4892-a935-08ab83e34f35",
                        "LeadID": null,
                        "CustomerName": "ABC Furniture",
                        "Contact": "Trish Rawlings",
                        "Phone": "800 124578",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "Cosmonauts Alley Severo-Vostochnyy administrativnyy okrug",
                        "BillingAddressLine2": "Moskva  ",
                        "Currency": "USD",
                        "TaxPercent": 10,
                        "TaxInclusive": false,
                        "TaxRule": "GST on Income",
                        "TermDays": 30,
                        "Terms": "30 days",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Zachary Taylor Highway ",
                        "ShippingAddressLine2": "Flint Hill Virginia ",
                        "OpportunityLocation": "Main Warehouse",
                        "OpportunityNumber": "OP-00008",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "IN PROGRESS",
                        "TaxTotal": 150,
                        "Total": 1650,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0.27,
                        "CustomerCurrency": "AED",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "ABC Furniture",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "",
                        "ShipToState": "Virginia",
                        "ShipToCity": "Flint Hill",
                        "ShipToAddress1": "Zachary Taylor Highway",
                        "ShipToAddress2": "",
                        "CustomField1": "",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ID": "3190da26-14f2-4720-b2d5-baae236a0d94",
                                "ProductID": "87d7bc76-11d4-43e1-b022-488dae83868b",
                                "ProductName": "101 - Gloves / Black / 14 Oz",
                                "ProductSku": "101-Gloves-016",
                                "Quantity": 3,
                                "Price": 300,
                                "Discount": 0,
                                "Tax": 90,
                                "Total": 900,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "ID": "c83d2db8-33b0-458f-bd4c-19d488909020",
                                "Description": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "Amount": 600,
                                "Discount": 0,
                                "Tax": 60,
                                "Total": 600,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ]
                    },
                    {
                        "ID": "8b36f855-28b2-443e-ba2b-eeae83d408d2",
                        "CustomerID": null,
                        "LeadID": "1ebdbff0-ac25-4937-bad4-9c59edb7f38f",
                        "CustomerName": "New Lead for API",
                        "Contact": "Vladimir Lenin",
                        "Phone": "+124234234234",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "BWI Arrivals ",
                        "BillingAddressLine2": " Maryland 21240",
                        "Currency": "USD",
                        "TaxPercent": 0,
                        "TaxInclusive": false,
                        "TaxRule": "GST Free Income",
                        "TermDays": 0,
                        "Terms": "COD",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Newbury Street ",
                        "ShippingAddressLine2": "Boston Massachusetts ",
                        "OpportunityLocation": "Mega Mart",
                        "OpportunityNumber": "OP-00009",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "DRAFT",
                        "TaxTotal": 0,
                        "Total": 5000150,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0,
                        "CustomerCurrency": "AOA",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "New Lead for API",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "21240",
                        "ShipToState": "Maryland",
                        "ShipToCity": "",
                        "ShipToAddress1": "BWI Arrivals",
                        "ShipToAddress2": "",
                        "CustomField1": "fob attr",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ID": "4a56ecf1-7797-4877-bf81-460e8ff05a71",
                                "ProductID": "c553e5b3-6a63-4ea0-a827-04f180fbb288",
                                "ProductName": "Carrera Glasses",
                                "ProductSku": "Glasses11",
                                "Quantity": 5,
                                "Price": 1000000,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 5000000,
                                "TaxRule": "GST Free Income",
                                "TaxPercent": 0,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "ID": "fa7b1b3b-815a-4433-a149-092a8369d984",
                                "Description": "Project management & implementation - branding workshop with your team",
                                "Quantity": 1,
                                "Amount": 150,
                                "Discount": 0,
                                "Tax": 0,
                                "Total": 150,
                                "TaxRule": "GST Free Income",
                                "TaxPercent": 0,
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }   
          
          
### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                     {
                        "CustomerID": "2043502d-4f10-4892-a935-08ab83e34f35",
                        "LeadID": null,
                        "CustomerName": "ABC Furniture",
                        "Contact": "Trish Rawlings",
                        "Phone": "800 124578",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "Cosmonauts Alley Severo-Vostochnyy administrativnyy okrug",
                        "BillingAddressLine2": "Moskva  ",
                        "Currency": "USD",
                        "TaxPercent": 10,
                        "TaxInclusive": false,
                        "TaxRule": "GST on Income",
                        "TermDays": 30,
                        "Terms": "30 days",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Zachary Taylor Highway ",
                        "ShippingAddressLine2": "Flint Hill Virginia ",
                        "OpportunityLocation": "Main Warehouse",
                        "OpportunityNumber": "OP-00008",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "IN PROGRESS",
                        "TaxTotal": 150,
                        "Total": 1650,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0.27,
                        "CustomerCurrency": "AED",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "ABC Furniture",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "",
                        "ShipToState": "Virginia",
                        "ShipToCity": "Flint Hill",
                        "ShipToAddress1": "Zachary Taylor Highway",
                        "ShipToAddress2": "",
                        "CustomField1": "",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ProductID": "87d7bc76-11d4-43e1-b022-488dae83868b",
                                "ProductName": "101 - Gloves / Black / 14 Oz",
                                "ProductSku": "101-Gloves-016",
                                "Quantity": 3,
                                "Price": 300,
                                "Discount": 0,
                                "Tax": 90,
                                "Total": 900,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "Amount": 600,
                                "Discount": 0,
                                "Tax": 60,
                                "Total": 600,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ]
                    }
                    
+ Response 200 (application/json)
    + Body
    
            {
                "Total": 1,
                "Page": 1,
                "opportunityList": [
                   {
                        "ID": "3abd747e-a309-4558-acca-f215126b039f",
                        "CustomerID": "2043502d-4f10-4892-a935-08ab83e34f35",
                        "LeadID": null,
                        "CustomerName": "ABC Furniture",
                        "Contact": "Trish Rawlings",
                        "Phone": "800 124578",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "Cosmonauts Alley Severo-Vostochnyy administrativnyy okrug",
                        "BillingAddressLine2": "Moskva  ",
                        "Currency": "USD",
                        "TaxPercent": 10,
                        "TaxInclusive": false,
                        "TaxRule": "GST on Income",
                        "TermDays": 30,
                        "Terms": "30 days",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Zachary Taylor Highway ",
                        "ShippingAddressLine2": "Flint Hill Virginia ",
                        "OpportunityLocation": "Main Warehouse",
                        "OpportunityNumber": "OP-00008",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "IN PROGRESS",
                        "TaxTotal": 150,
                        "Total": 1650,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0.27,
                        "CustomerCurrency": "AED",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "ABC Furniture",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "",
                        "ShipToState": "Virginia",
                        "ShipToCity": "Flint Hill",
                        "ShipToAddress1": "Zachary Taylor Highway",
                        "ShipToAddress2": "",
                        "CustomField1": "",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ID": "3190da26-14f2-4720-b2d5-baae236a0d94",
                                "ProductID": "87d7bc76-11d4-43e1-b022-488dae83868b",
                                "ProductName": "101 - Gloves / Black / 14 Oz",
                                "ProductSku": "101-Gloves-016",
                                "Quantity": 3,
                                "Price": 300,
                                "Discount": 0,
                                "Tax": 90,
                                "Total": 900,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "ID": "c83d2db8-33b0-458f-bd4c-19d488909020",
                                "Description": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "Amount": 600,
                                "Discount": 0,
                                "Tax": 60,
                                "Total": 600,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }
            
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033

    + Body

                     {
                        "CustomerID": "2043502d-4f10-4892-a935-08ab83e34f35",
                        "LeadID": null,
                        "CustomerName": "ABC Furniture",
                        "Contact": "Trish Rawlings",
                        "Phone": "800 124578",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "Cosmonauts Alley Severo-Vostochnyy administrativnyy okrug",
                        "BillingAddressLine2": "Moskva  ",
                        "Currency": "USD",
                        "TaxPercent": 10,
                        "TaxInclusive": false,
                        "TaxRule": "GST on Income",
                        "TermDays": 30,
                        "Terms": "30 days",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Zachary Taylor Highway ",
                        "ShippingAddressLine2": "Flint Hill Virginia ",
                        "OpportunityLocation": "Main Warehouse",
                        "OpportunityNumber": "OP-00008",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "IN PROGRESS",
                        "TaxTotal": 150,
                        "Total": 1650,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0.27,
                        "CustomerCurrency": "AED",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "ABC Furniture",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "",
                        "ShipToState": "Virginia",
                        "ShipToCity": "Flint Hill",
                        "ShipToAddress1": "Zachary Taylor Highway",
                        "ShipToAddress2": "",
                        "CustomField1": "",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ProductID": "87d7bc76-11d4-43e1-b022-488dae83868b",
                                "ProductName": "101 - Gloves / Black / 14 Oz",
                                "ProductSku": "101-Gloves-016",
                                "Quantity": 3,
                                "Price": 300,
                                "Discount": 0,
                                "Tax": 90,
                                "Total": 900,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "Description": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "Amount": 600,
                                "Discount": 0,
                                "Tax": 60,
                                "Total": 600,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ]
                    }
                    
+ Response 200 (application/json)
    + Body
    
               {
                "Total": 1,
                "Page": 1,
                "opportunityList": [
                    {
                        "ID": "3abd747e-a309-4558-acca-f215126b039f",
                        "CustomerID": "2043502d-4f10-4892-a935-08ab83e34f35",
                        "LeadID": null,
                        "CustomerName": "ABC Furniture",
                        "Contact": "Trish Rawlings",
                        "Phone": "800 124578",
                        "DefaultAccount": "200",
                        "BillingAddressLine1": "Cosmonauts Alley Severo-Vostochnyy administrativnyy okrug",
                        "BillingAddressLine2": "Moskva  ",
                        "Currency": "USD",
                        "TaxPercent": 10,
                        "TaxInclusive": false,
                        "TaxRule": "GST on Income",
                        "TermDays": 30,
                        "Terms": "30 days",
                        "PriceTier": "Tier 1",
                        "ShippingAddressLine1": "Zachary Taylor Highway ",
                        "ShippingAddressLine2": "Flint Hill Virginia ",
                        "OpportunityLocation": "Main Warehouse",
                        "OpportunityNumber": "OP-00008",
                        "OpportunityDate": "2021-05-19T00:00:00",
                        "OpportunityComment": "",
                        "OpportunityMemo": "",
                        "OpportunityStatus": "IN PROGRESS",
                        "TaxTotal": 150,
                        "Total": 1650,
                        "CustomerReference": "",
                        "CurrencyConversionRate": 0.27,
                        "CustomerCurrency": "AED",
                        "TermMethod": 1,
                        "SalesRepresentative": "DEFAULT business contact",
                        "TermDueNextMonth": 0,
                        "ShipToOther": false,
                        "ShipToCompany": "ABC Furniture",
                        "ShipToContact": "",
                        "ShipToCountry": "United States",
                        "ShipToPostCode": "",
                        "ShipToState": "Virginia",
                        "ShipToCity": "Flint Hill",
                        "ShipToAddress1": "Zachary Taylor Highway",
                        "ShipToAddress2": "",
                        "CustomField1": "",
                        "CustomField2": "",
                        "CustomField3": "",
                        "CustomField4": "",
                        "CustomField5": "",
                        "CustomField6": "",
                        "CustomField7": "",
                        "CustomField8": "",
                        "CustomField9": "",
                        "CustomField10": "",
                        "Lines": [
                            {
                                "ID": "3190da26-14f2-4720-b2d5-baae236a0d94",
                                "ProductID": "87d7bc76-11d4-43e1-b022-488dae83868b",
                                "ProductName": "101 - Gloves / Black / 14 Oz",
                                "ProductSku": "101-Gloves-016",
                                "Quantity": 3,
                                "Price": 300,
                                "Discount": 0,
                                "Tax": 90,
                                "Total": 900,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ],
                        "AdditionalCharges": [
                            {
                                "ID": "c83d2db8-33b0-458f-bd4c-19d488909020",
                                "Description": "Half day training - Microsoft Office",
                                "Quantity": 1,
                                "Amount": 600,
                                "Discount": 0,
                                "Tax": 60,
                                "Total": 600,
                                "TaxRule": "GST on Income",
                                "TaxPercent": 10,
                                "Comment": ""
                            }
                        ]
                    }
                ]
            }
            
## Task [/crm/task] 

Task CRUD operations

### Available Fields for Task model

| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid||yes|
`Name`|string|256|yes|
`Description`|string|||
`StartDate`|DateTime||yes|
`EndDate`|DateTime||yes|
`IsAllDay`|bool|||
`CompletedDate`|DateTime|||
`Category`|string|256||
`WorkflowName`|string|256||
`AssignedTo`|string|256||
`EntityType`|string|64|yes|See available types below
`EntityID`|Guid||yes|
`IsImportant`|bool|||
`TaskStatus`|string|64|yes|
`AssignedBy`|string|256||
`VoidDate`|DateTime|||

### Available Entity types:

"Purchase",
"Sale",
"Customer",
"Supplier",
"Lead",
"Opportunity",
"Assembly",
"Disassembly",
"Job",
"Inventory write off",
"Expense Claim Receipt",
"Expense Claim",
"Journal",
"Production"

### GET [GET /crm/task?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}&StartDateFrom={StartDateFrom}&StartDateTo={StartDateTo}&EndDateFrom={EndDateFrom}&EndDateTo={EndDateTo}&CompleteDateFrom={CompleteDateFrom}&CompleteDateTo={CompleteDateTo}&AssignedTo={AssignedTo}&Category={Category}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Task with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Tasks which name starts with the specific name
        + Default: null        
    + StartDateFrom (optional, DateTime?) ... Only return tasks which Start date and time equals or greater than specified.
        + Default: null
    + StartDateTo (optional, DateTime?) ... Only return tasks which Start date and time equals or lesser than specified.
        + Default: null
    + EndDateFrom (optional, DateTime?) ... "Only return tasks which End date and time equals or greater than specified.
        + Default: null
    + EndDateTo (optional, DateTime?) ... Only return tasks which End date and time equals or lesser than specified.
        + Default: null
    + CompleteDateFrom (optional, DateTime?) ... Only return tasks which Complete date and time equals or greater than specified.
        + Default: null
    + CompleteDateTo (optional, DateTime?) ... Only return tasks which Complete date and time equals or lesser than specified.
        + Default: null
    + AssignedTo (optional, string) ... Only return tasks assigned to specific user.
        + Default: null
    + Category (optional, string) ... Only return tasks from specific category.
        + Default: null

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
+ Response 200 (application/json)
    + Body

            {
                "Total": 2,
                "Page": 1,
                "Tasks": [
                    {
                        "ID": "7a9775ae-35ad-4319-9fa4-234bb0236657",
                        "Name": "Opportunity task",
                        "Description": null,
                        "StartDate": "2022-05-04T13:40:00Z",
                        "EndDate": "2022-05-04T13:40:00Z",
                        "IsAllDay": true,
                        "CompletedDate": null,
                        "Category": "task cat 1",
                        "WorkflowName": null,
                        "AssignedTo": "niknav@yandex.ru",
                        "EntityType": "Opportunity",
                        "EntityID": "f0b0be7b-0c9b-441c-8c0c-fe0b40697f3f",
                        "IsImportant": false,
                        "TaskStatus": "Open",
                        "AssignedBy": "niknav@yandex.ru",
                        "VoidDate": null
                    },
                    {
                        "ID": "2da00ff3-ab5d-47d0-8191-b2549c98b85d",
                        "Name": "Sale task",
                        "Description": "description!",
                        "StartDate": "2022-05-04T13:40:00Z",
                        "EndDate": "2022-05-04T13:40:00Z",
                        "IsAllDay": false,
                        "CompletedDate": null,
                        "Category": null,
                        "WorkflowName": null,
                        "AssignedTo": null,
                        "EntityType": "Sale",
                        "EntityID": "8b63c587-b411-4532-b7d9-cecee7f4dcc4",
                        "IsImportant": false,
                        "TaskStatus": "In progress",
                        "AssignedBy": "niknav@yandex.ru",
                        "VoidDate": null
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                {
                    "Name": "Opportunity task",
                    "Description": null,
                    "StartDate": "2022-05-04T13:40:00Z",
                    "EndDate": "2022-05-04T13:40:00Z",
                    "IsAllDay": true,
                    "CompletedDate": null,
                    "Category": "task cat 1",
                    "WorkflowName": null,
                    "AssignedTo": "niknav@yandex.ru",
                    "EntityType": "Opportunity",
                    "EntityID": "f0b0be7b-0c9b-441c-8c0c-fe0b40697f3f",
                    "IsImportant": false,
                    "TaskStatus": "Open",
                    "AssignedBy": "niknav@yandex.ru",
                    "VoidDate": null
               }
               
+ Response 200 (application/json)
    + Body               
    
            {
                "Total": 1,
                "Page": 1,
                "Tasks": [
                    {
                        "ID": "a6d28a43-c126-47e3-a8a2-57f84ee34a5a",
                        "Name": "Opportunity task",
                        "Description": null,
                        "StartDate": "2022-05-04T13:40:00Z",
                        "EndDate": "2022-05-04T13:40:00Z",
                        "IsAllDay": true,
                        "CompletedDate": null,
                        "Category": "task cat 1",
                        "WorkflowName": null,
                        "AssignedTo": "niknav@yandex.ru",
                        "EntityType": "Opportunity",
                        "EntityID": "f0b0be7b-0c9b-441c-8c0c-fe0b40697f3f",
                        "IsImportant": false,
                        "TaskStatus": "Open",
                        "AssignedBy": "niknav@yandex.ru",
                        "VoidDate": null
                    }
                ]
            }
            
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                {
                    "ID": "a6d28a43-c126-47e3-a8a2-57f84ee34a5a",
                    "Name": "Opportunity task",
                    "Description": null,
                    "StartDate": "2022-05-04T13:40:00Z",
                    "EndDate": "2022-05-04T13:40:00Z",
                    "IsAllDay": true,
                    "CompletedDate": null,
                    "Category": "task cat 1",
                    "WorkflowName": null,
                    "AssignedTo": "niknav@yandex.ru",
                    "EntityType": "Opportunity",
                    "EntityID": "f0b0be7b-0c9b-441c-8c0c-fe0b40697f3f",
                    "IsImportant": false,
                    "TaskStatus": "Open",
                    "AssignedBy": "niknav@yandex.ru",
                    "VoidDate": null
               }
               
+ Response 200 (application/json)
    + Body               
    
            {
                "Total": 1,
                "Page": 1,
                "Tasks": [
                    {
                        "ID": "a6d28a43-c126-47e3-a8a2-57f84ee34a5a",
                        "Name": "Opportunity task",
                        "Description": null,
                        "StartDate": "2022-05-04T13:40:00Z",
                        "EndDate": "2022-05-04T13:40:00Z",
                        "IsAllDay": true,
                        "CompletedDate": null,
                        "Category": "task cat 1",
                        "WorkflowName": null,
                        "AssignedTo": "niknav@yandex.ru",
                        "EntityType": "Opportunity",
                        "EntityID": "f0b0be7b-0c9b-441c-8c0c-fe0b40697f3f",
                        "IsImportant": false,
                        "TaskStatus": "Open",
                        "AssignedBy": "niknav@yandex.ru",
                        "VoidDate": null
                    }
                ]
            }
            
## Task Category [/crm/taskcategory] 

Task Category CRUD operations


### Available Fields for task Category model

| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid||yes|
`Name`|string|256|yes|
`Color`|string|6||RGB HEX color string, e.g. F7CAFE
`BackgroundColor`|string|6||RGB HEX color string, e.g. F7CAFE

### GET [GET /crm/task?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Task Category with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Task Categories which name starts with the specific name
        + Default: null


+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Total": 4,
                "Page": 1,
                "Categories": [
                    {
                        "ID": "3033613c-30aa-45a1-8532-76fdc14d9c14",
                        "Name": "task cat 1",
                        "Color": "675847",
                        "BackgroundColor": "F9C991"
                    },
                    {
                        "ID": "4bb9390a-e7a0-4656-ae47-7c175a8fb5a6",
                        "Name": "task cat 2",
                        "Color": "7C4242",
                        "BackgroundColor": "FEE8E8"
                    },
                    {
                        "ID": "bc410d90-260e-4841-b1f0-ad90f6a78135",
                        "Name": "tsk cat 3",
                        "Color": "396E76",
                        "BackgroundColor": "D6F0F3"
                    }
                ]
            }
            

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                {
                    "Name": "tsk cat 5",
                    "Color": "396E76",
                    "BackgroundColor": "D6F0F3"
                }
               
+ Response 200 (application/json)
    + Body         
    
            {
                "Total": 1,
                "Page": 1,
                "Categories": [
                    {
                        "ID": "bc410d90-260e-4841-b1f0-ad90f6a78135",
                        "Name": "tsk cat 5",
                        "Color": "396E76",
                        "BackgroundColor": "D6F0F3"
                    }
                ]
            }
            
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                {
                    "ID": "bc410d90-260e-4841-b1f0-ad90f6a78135",
                    "Name": "tsk cat 6",
                    "Color": "F7CAFE",
                    "BackgroundColor": "F7CAFE"
                }
               
+ Response 200 (application/json)
    + Body         
    
            {
                "Total": 1,
                "Page": 1,
                "Categories": [
                    {
                        "ID": "bc410d90-260e-4841-b1f0-ad90f6a78135",
                        "Name": "tsk cat 6",
                        "Color": "F7CAFE",
                        "BackgroundColor": "F7CAFE"
                    }
                ]
            }
    
## Workflow [/crm/workflow] 

Workflow CRUD operations

### Available Fields for Workflow model

| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid||yes|
`Name`|string|256|yes|
`IsActive`|bool|||
`EntityType`|string|64|yes|same types as for Task
`DueDaysType`|string|64|yes|can be “COMPLETED_DATE” or “START_DATE”
`Steps`|WorkflowStep[]|||

### Available Fields for WorkflowStep model

| Property              | Type      | Length    | Required  | Notes                                                         |
|:----------------------|-----------|-----------|-----------|---------------------------------------------------------------|
`ID`|Guid||yes|
`Name`|string|256|yes|
`Category`|string|256||
`Days`|int|||
`StartTime`|string|8||Time in ISO 8601 format hh:mm:ss
`EndTime`|string|8||If Start Time and End Time are the same and equal to 0:00, a task will be created for an entire day.
`UserName`|string|256||
`SkipHoliday`|string|32|yes|Available values: move_next, move_previous, leave, ph_move_next, ph_move_previous

SkipHoliday values mean:

+ “move_next” - Move to the next working day,
+ ”move_previous” - Move to the previous working day,
+ ”leave” - Leave as is,
+ ”ph_move_next” - For PH day only move to the next working day,
+ ”ph_move_previous” - For PH day only move to the previous working day


### GET [GET /crm/task?Page={Page}&Limit={Limit}&ID={ID}&Name={Name}]
+ Parameters
    + Page (optional, number) ... Page
        + Default: 1
    + Limit (optional, number) ... Specifies the page size for pagination. Default page size is 100.
        + Default: 100
    + ID (optional, Guid) ... Only return Workflow with the specific ID
        + Default: null
    + Name (optional, string) ... Only return Workflows which name starts with the specific name
        + Default: null

+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
+ Response 200 (application/json)
    + Body

            {
                "Total": 1,
                "Page": 1,
                "Workflows": [
                    {
                        "ID": "66364c4f-0480-4db0-8848-d224fffd543a",
                        "Name": "my task workflow",
                        "IsActive": true,
                        "EntityType": "Sale",
                        "DueDaysType": "COMPLETED_DATE",
                        "Steps": [
                            {
                                "ID": "80f8ab78-efd6-486d-8d50-20d7edb5b7ac",
                                "Name": "Task 1",
                                "Category": null,
                                "Days": 0,
                                "StartTime": "03:00:00",
                                "EndTime": "06:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "move_previous"
                            },
                            {
                                "ID": "b0d057e5-6bf4-48a9-af05-1147146d6242",
                                "Name": "Task 2",
                                "Category": "API test category",
                                "Days": 0,
                                "StartTime": null,
                                "EndTime": null,
                                "UserName": null,
                                "SkipHoliday": "leave"
                            }
                        ]
                    }
                ]
            }

### POST [POST]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

               {
                        "Name": "my task workflow 2",
                        "IsActive": true,
                        "EntityType": "Sale",
                        "DueDaysType": "COMPLETED_DATE",
                        "Steps": [
                            {
                                "Name": "Task 1",
                                "Category": null,
                                "Days": 0,
                                "StartTime": "03:00:00",
                                "EndTime": "06:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "move_previous"
                            },
                            {
                                "Name": "Task 2",
                                "Category": "API test category",
                                "Days": 0,
                                "StartTime": null,
                                "EndTime": null,
                                "UserName": null,
                                "SkipHoliday": "leave"
                            }
                        ]
                    }
            
               
+ Response 200 (application/json)
    + Body         
    
            {
                "Total": 1,
                "Page": 1,
                "Workflows": [
                    {
                        "ID": "66364c4f-0480-4db0-8848-d224fffd543a",
                        "Name": "my task workflow 2",
                        "IsActive": true,
                        "EntityType": "Sale",
                        "DueDaysType": "COMPLETED_DATE",
                        "Steps": [
                            {
                                "ID": "80f8ab78-efd6-486d-8d50-20d7edb5b7ac",
                                "Name": "Task 1",
                                "Category": null,
                                "Days": 0,
                                "StartTime": "03:00:00",
                                "EndTime": "06:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "move_previous"
                            },
                            {
                                "ID": "b0d057e5-6bf4-48a9-af05-1147146d6242",
                                "Name": "Task 2",
                                "Category": "API test category",
                                "Days": 0,
                                "StartTime": null,
                                "EndTime": null,
                                "UserName": null,
                                "SkipHoliday": "leave"
                            }
                        ]
                    }
                ]
            }
             
### PUT [PUT]
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body

                {
                        "ID": "66364c4f-0480-4db0-8848-d224fffd543a",
                        "Name": "my task workflow 3",
                        "IsActive": true,
                        "EntityType": "Sale",
                        "DueDaysType": "COMPLETED_DATE",
                        "Steps": [
                            {
                                "Name": "Task 1",
                                "Category": null,
                                "Days": 0,
                                "StartTime": "03:00:00",
                                "EndTime": "06:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "move_previous"
                            },
                            {
                                "Name": "Task 2",
                                "Category": "API test category",
                                "Days": 0,
                                "StartTime": "07:00:00",
                                "EndTime": "10:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "leave"
                            }
                        ]
                    }
               
+ Response 200 (application/json)
    + Body         
    
            {
                "Total": 1,
                "Page": 1,
                "Workflows": [
                    {
                        "ID": "66364c4f-0480-4db0-8848-d224fffd543a",
                        "Name": "my task workflow 3",
                        "IsActive": true,
                        "EntityType": "Sale",
                        "DueDaysType": "COMPLETED_DATE",
                        "Steps": [
                            {
                                "Name": "Task 1",
                                "Category": null,
                                "Days": 0,
                                "StartTime": "03:00:00",
                                "EndTime": "06:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "move_previous"
                            },
                            {
                                "Name": "Task 2",
                                "Category": "API test category",
                                "Days": 0,
                                "StartTime": "07:00:00",
                                "EndTime": "10:00:00",
                                "UserName": "niknav@yandex.ru",
                                "SkipHoliday": "leave"
                            }
                        ]
                    }
                ]
            }
            
## Start a Workflow [/crm/workflowstart] 

Either workflow Name or ID should be provided.

### POST [POST /crm/workflowstart?ID={ID}&Name={Name}&StartDate={StartDate}&EnityType={EnityType}&EntityID={EntityID}]
+ Parameters
    + ID (optional, string) ... ID of the Workflow to start
        + Default: null
    + Name (optional, string) ... Name of the Workflow to start
        + Default: null
    + StartDate (required, DateTime?) ... Start date
    + EnityType (required, string) ... Enity Type
    + EntityID (required, string) ... Entity ID
    
        
+ Request (application/json)
    + Headers
    
            api-auth-accountid:704ef231-cd93-49c9-a201-26b4b5d0d35b
            api-auth-applicationkey:0342a546-e0c2-0dff-f0be-6a5e17154033
            
    + Body
        
            {}
            
+ Response 200 (application/json)
    + Body         
    
             { Success : true }




# Group Other Models


## Dimension Unit Available Values <a name="DimensionUnitAvailableValues" />
|Property|Type|Abbreviation|Name|
|:-------|----|------|--------|-----|
|`WeightUnits`|weight|oz|ounces|
|`WeightUnits`|weight|mg|miligramm|
|`WeightUnits`|weight|kg|kilogramm|
|`WeightUnits`|weight|lb|pound|
|`WeightUnits`|weight|g|gram|
|`DimensionsUnits`|length|m|metre|
|`DimensionsUnits`|length|cm|centimetre|
|`DimensionsUnits`|length|mi|mile|
|`DimensionsUnits`|length|mm|millimetre|
|`DimensionsUnits`|length|in|inch|
|`DimensionsUnits`|length|ft|foot|
|`DimensionsUnits`|length|yd|yard|
|`DimensionsUnits`|length|km|kilometre|

## Address Model <a name="AddressModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID||No|Address ID, optional, applicable for sales only, POST/PUT methods. If specified then existing address is taken by ID.|
|`DisplayAddressLine1`|String|256||Address Line 1 as displayed on Sale form. = Line1 + Line2|
|`DisplayAddressLine2`|String|256||Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country|
|`Line1`|String|256|Yes|Address Line 1|
|`Line2`|String|256||Address Line 2|
|`City`|String|256||City|
|`State`|String|256||State|
|`Postcode`|String|20||Post code|
|`Country`|String|256|Yes|Country|


## Sale Shipping Address Model <a name="SaleShippingAddressModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID||No|Address ID, optional. If specified then existing address is taken by ID. Ignored if ShipToOther = true|
|`DisplayAddressLine1`|String|256||Address Line 1 as displayed on Sale form. = Line1 + Line2|
|`DisplayAddressLine2`|String|256||Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country|
|`Line1`|String|256|Yes|Address Line 1|
|`Line2`|String|256||Address Line 2|
|`City`|String|256||City|
|`State`|String|256||State|
|`Postcode`|String|20||Post code|
|`Country`|String|256|Yes|Country|
|`Company`|String|128||Company Name|
|`Contact`|String|512||Contact|
|`ShipToOther`|Boolean|||If false and Customer's address matching Line 1 not found, than new customer shipping address will be created.|


## Purchase Shipping Address Model <a name="PurchaseShippingAddressModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`DisplayAddressLine1`|String|256||Address Line 1 as displayed on Sale form. = Line1 + Line2|
|`DisplayAddressLine2`|String|256||Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country|
|`Line1`|String|256|Yes|Address Line 1|
|`Line2`|String|256||Address Line 2|
|`City`|String|256||City|
|`State`|String|256||State|
|`Postcode`|String|20||Post code|
|`Country`|String|256|Yes|Country|
|`ShipToOther`|Boolean|||Ship to different company|
|`Company`|String|128||Company name when ShipToOther is set to True|

## Additional Attribute Model <a name="AdditionalAttributeModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`AdditionalAttribute1`|String|256||Additional Attribute 1 value|
|`AdditionalAttribute2`|String|256||Additional Attribute 2 value|
|`AdditionalAttribute3`|String|256||Additional Attribute 3 value|
|`AdditionalAttribute4`|String|256||Additional Attribute 4 value|
|`AdditionalAttribute5`|String|256||Additional Attribute 5 value|
|`AdditionalAttribute6`|String|256||Additional Attribute 6 value|
|`AdditionalAttribute7`|String|256||Additional Attribute 7 value|
|`AdditionalAttribute8`|String|256||Additional Attribute 8 value|
|`AdditionalAttribute9`|String|256||Additional Attribute 9 value|
|`AdditionalAttribute10`|String|256||Additional Attribute 10 value|

 
## Sale Quote Model <a name="SaleQuoteModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Memo`|String|1024|Yes|Additional information for Quote|
|`Status`|string||Yes|Quote Status. Possible Values are <a href="#QuoteStatuses"><b>values</b></a>|
|`Prepayments`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`Lines`|<a href="#SaleQuoteLineModel"><b>[] Sale Quote Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#SaleAdditionalChargeModel"><b>[] Sale Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges without taxes|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges taxes|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of quote lines and additional charges with taxes|

 
## Sale Quote Line Model <a name="SaleQuoteLineModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`Name`|String|1024|Yes|Product Name referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`AverageCost`|Decimal with up to 4 decimal places||Yes|Average product cost|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Comment`|String|256|Yes|Comment for this line|
|`Total`|Decimal with up to 4 decimal places|||Line Total.For validation|

 
## Sale Order Model <a name="SaleOrderModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SaleOrderNumber`|String|256||Sale Order Number (auto-generated)|
|`Memo`|String|1024|Yes|Additional information for Quote|
|`Status`|string||Yes|Quote Status. Possible Values are <a href="#QuoteStatuses"><b>values</b></a>|
|`Lines`|<a href="#SaleOrderLineModel"><b>[] Sale Quote Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#SaleAdditionalChargeModel"><b>[] Sale Additional Charge Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges without taxes|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges taxes|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges with taxes|

## Sale Order Line Model <a name="SaleOrderLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`Name`|String|1024|Yes|Product Name referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`AverageCost`|Decimal with up to 4 decimal places|||Average product cost|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Comment`|String|256||Comment for this line|
|`DropShip`|Boolean|||Required if product is not a service with “Optional Drop Ship” mode. Otherwise it ignored.|
|`BackorderQuantity`|Decimal with up to 4 decimal places|||Quantity of the ordered product on backorder. Read Only for POST|
|`Total`|Decimal with up to 4 decimal places|||Line Total.For validation|

## Sale Fulfilment Model <a name="SaleFulfilmentModel"/>
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of sale fulfilment task|
|`FulfillmentNumber`|Int||Yes|Fulfillment Number (auto-generated)|
|`LinkedInvoiceNumber`|String|||Invoice number linked to this fulfilment|
|`FulFilmentStatus`|String||Yes|Fulfilment status. Possible Values are `NOT AVAILABLE`, `NOT FULFILLED`, `FULFILLED`, `PARTIALLY FULFILLED`, `VOIDED`|
|`Pick`|<a href="#SaleFulfilmentPickPackModel"><b>Sale Fulfilment Pick Pack Model</b></a>||||
|`Pack`|<a href="#SaleFulfilmentPickPackModel"><b>Sale Fulfilment Pick Pack Model</b></a>||||
|`Ship`|<a href="#SaleFulfilmentShipModel"><b>Sale Fulfilment Ship Model</b></a>||||

## Sale Fulfilment Pick Pack Model <a name="SaleFulfilmentPickPackModel"/>
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|String||Yes|Pick/Pack status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`, `VOIDED`|
|`Lines`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||

## Sale Fulfilment Pick Pack Line Model <a name="SaleFulfilmentPickPackLineModel"/>
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID|||Product identifier referenced by this Line.|
|`SKU`|String|50|Yes|Product SKU referenced by this Line.|
|`Name`|String|1024||Product Name referenced by this Line|
|`Location`|String|256|Yes*|Location from which pick product. Required if `LocationID` is empty|
|`LocationID`|GUID||Yes*|LocationID from which pick product. Required if `Location` is empty|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product quantity. Minimal value is 1.|
|`BatchSN`|String|50||Batch Serial Number|
|`ExpiryDate`|DateTime|||Expiry Date|
|`Box`|string|256||Pack box name. This field available only for packing.|
|`NonInventory`|boolean|||Indication that this line relates to non-inventory product and won't involve any stock movement.|
|`WarrantyRegistrationNumber`|string|256||Warranty registration number. This field available only for packing.|
|`RestockLocation`|String|256|No|Used only for CreditNote. Location name of return of the product.|
|`RestockLocationID`|GUID||No|Used only for CreditNote. Location ID of return of the product.|
|`RestockDate`|DateTime||No|Used only for CreditNote. Date of return of the product.|

## Sale Fulfilment Ship Model <a name="SaleFulfilmentShipModel"/>
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|String||Yes|Ship status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `PARTIALLY AUTHORISED`, `AUTHORISED`, `VOIDED`|
|`RequireBy`|Date|||Require By Date|
|`ShippingAddress`|<a href="#SaleShippingAddressModel"><b>Shipping Address Model</b></a>|||Shipping Address|
|`ShippingNotes`|String|1024||Shipping Notes|
|`Lines`|<a href="#SaleFulfilmentShipLineModel"><b>[] Sale Fulfilment Ship Line Model</b></a>||||

## Sale Fulfilment Ship Line Model <a name="SaleFulfilmentShipLineModel"/>
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID|||Shipment identifier. Not Required for POST/PUT|
|`ShipmentDate`|Date||Yes|Shipment Date|
|`Carrier`|String|256||Carrier referenced by this Line.|
|`Boxes`|String|256|Yes|Box number. Use commas to separate multiple boxes. For POST/PUT methods use `Box` as the field name.|
|`TrackingNumber`|String|256||Shipment tracking number.|
|`TrackingURL`|String|512||Shipment tracking URL. Read-only.|
|`IsShipped`|Boolean|||Is package shipped.|

## Sale Invoice Model <a name="SaleInvoiceModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of sale Invoice task|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Memo`|String|1024||Additional information for Invoice.|
|`Status`|String||Yes|Invoice status. Possible Values are <a href="#InvoiceStatuses"><b>values</b></a>. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`InvoiceDate`|DateTime||Yes|Invoice Date.|
|`InvoiceDueDate`|DateTime||Yes|Invoice Due Date.|
|`CurrencyConversionRate`|Decimal with up to 4 decimal places||||
|`BillingAddressLine1`|String|256||Billing Address Line 1|
|`BillingAddressLine2`|String|256||Billing Address Line 2|
|`LinkedFulfillmentNumber`|String|||Number of Fulfilment linked to this invoice|
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||
|`Payments`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of Invoice lines and additional charges without taxes|
|`Tax`|Decimal with up to 4 decimal places|||Sum of Invoice lines and additional charges taxes|
|`Total`|Decimal with up to 4 decimal places|||Sum of Invoice lines and additional charges with taxes|
|`Paid`|Decimal with up to 4 decimal places|||Sum of payments.|

## Sale Additional Charge Model <a name="SaleAdditionalChargeModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Description`|String|256|Yes|Name of Service Product referenced by this Line|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`Total`|Decimal with up to 4 decimal places|||Line Total. For validation|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Comment`|String|1024||Comment|

## Sale Invoice Additional Charge Model <a name="SaleInvoiceAdditionalChargeModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Description`|String|256|Yes|Name of Service Product referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`Total`|Decimal with up to 4 decimal places|||Line Total.For validation|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Account`|String|50||Revenue account|
|`Comment`|String|1024||Comment|


## Sale Invoice Line Model <a name="SaleInvoiceLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`Name`|String|1024|Yes|Product Name referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`Total`|Decimal with up to 4 decimal places||Yes|Line Total. For validation|
|`AverageCost`|Decimal with up to 4 decimal places|||Average product cost|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Account`|String|50||Revenue account|
|`Comment`|String|256||Comment for this line|

## Sale Credit Note Model <a name="SaleCreditNoteModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of sale Invoice task|
|`CreditNoteInvoiceNumber`|String||Yes|Number of Invoice linked to this Credit Note|
|`Memo`|String|1024||Additional information for Credit Note.|
|`Status`|String||Yes|Credit Note status. Possible Values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`, `VOIDED`. For `POST` available values are `DRAFT`, `AUTHORISED`|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date.|
|`CreditNoteNumber`|string|||Credit Note Number (auto-generated)|
|`CreditNoteConversionRate`|Decimal with up to 4 decimal places||||
|`Lines`|<a href="#SaleInvoiceLineModel"><b>[] Sale Invoice Line Model</b></a>||||
|`AdditionalCharges`|<a href="#SaleInvoiceAdditionalChargeModel"><b>[] Sale Invoice Additional Charge Model</b></a>||||
|`Refunds`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`Restock`|<a href="#SaleFulfilmentPickPackLineModel"><b>[] Sale Fulfilment Pick Pack Line Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of Credit Note lines and additional charges without taxes|
|`Tax`|Decimal with up to 4 decimal places|||Sum of Credit Note lines and additional charges taxes|
|`Total`|Decimal with up to 4 decimal places|||Sum of Credit Note lines and additional charges with taxes|

## Sale Payment Line Model <a name="SalePaymentLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID|||Identifier of payment|
|`Reference`|String|||Payment reference number|
|`Amount`|Decimal with up to 2 decimal places|||Payment amount in customer currency|
|`DatePaid`|DateTime|||Date when payment has been made|
|`Account`|String|||Account Code of the bank/payment account from Chart of accounts|
|`CurrencyRate`|Decimal with up to 4 decimal places|||Currency Conversion rate expressed as number of Base currency units for one Customer currency unit.|
|`DateCreated`|DateTime|||Date of creation payment record.|

## Sale Manual Journal Model <a name="SaleManualJournalModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#SaleManualJournalLineModel"><b>[] Sale Manual Journal Line Model</b></a>||||

## Sale Manual Journal Line Model <a name="SaleManualJournalLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Reference`|String|||Reference Service Product|
|`Amount`|Decimal with up to 2 decimal places||Yes|Amount in base currency for manual journal|
|`Date`|DateTime||Yes|Effective date of manual journal|
|`Debit`|String||Yes|Debit Account|
|`Credit`|String||Yes|Credit Account|

## Attachment Line Model <a name="AttachmentLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID|||Attached file ID|
|`ContentType`|String|||Attached file content type|
|`IsDefault`|Boolean|||Is this attachment will be used as default product image. Is visible only for product Attachment Endpoint.|
|`FileName`|String|||Attached file name|
|`DownloadUrl`|String|||Url to download attached File|

## Product Family Product Line Model <a name="ProductFamilyProductLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID||Yes|Unique Product ID|
|`SKU`|String|50||Must be unique across all products. Ignored in POST and PUT|
|`Name`|String|256||Product variation name. Ignored in POST and PUT|
|`Option1`|String|256|Yes|The value that corresponds to the Option 1. Should be included in Option1Values.|
|`Option2`|String|256||The value that corresponds to the Option 2. Should be included in Option2Values. Should be empty if Option 2 wasn’t set.|
|`Option3`|String|256||The value that corresponds to the Option 2. Should be included in Option3Values. Should be empty if Option 3 wasn’t set.|

## Inventory Movement Line Model <a name="InventoryMovementLineModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID|||Identifier of sale Invoice task|
|`ProductID`|GUID|||Product identifier referenced by this Line.|
|`Date`|DateTime|||Inventory Movement Date|
|`COGS`|Deciaml|||Inventory Movement Amount|

## Sale Transaction Line Model <a name="SaleTransactionLineModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID|||Identifier of sale task|
|`TransactionID`|GUID|||Identifier of transaction|
|`Debit`|String|||Debit Account|
|`Credit`|String|||Credit Account|
|`Description`|String|||Transaction description|
|`Amount`|Decimal with up to 2 decimal places|||Amount in base currency|
|`EffectiveDate`|DateTime|||Transaction Date|

## Purchase Manual Journal Model <a name="PurchaseManualJournalModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#PurchaseManualJournalLineModel"><b>[] Purchase Manual Journal Line Model</b></a>||||

## Purchase Manual Journal Line Model <a name="PurchaseManualJournalLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Reference`|String|||Reference Service Object|
|`Amount`|Decimal with up to 2 decimal places||Yes|Amount in base currency for manual journal|
|`Date`|DateTime||Yes|Effective date of manual journal|
|`Debit`|String||Yes|Debit Account|
|`Credit`|String||Yes|Credit Account|
|`IsSystem`|Boolean|||Read only. rows with `true` value cannot be deleted or modified.|

## Purchase Order Model <a name="PurchaseOrderModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Memo`|String|1024|Yes|Additional information for Order|
|`Status`|string||Yes|Purchase Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseOrderLineModel"><b>[] Purchase Order Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseAdditionalChargeModel"><b>[] Purchase Additional Charge Model</b></a>||||
|`Prepayments`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places||Yes|Sum of order lines and additional charges with taxes. Not required for POST.|

## Purchase Order Line Model <a name="PurchaseOrderLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`Name`|String|1024|Yes|Product Name referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`SupplierSKU`|String|50||Supplier SKU referenced by this line.|
|`Comment`|String|256||Comment for this line|
|`Total`|Decimal with up to 4 decimal places||Yes|Line Total. For validation|

## Purchase Additional Charge Model <a name="PurchaseAdditionalChargeModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Description`|String|256|Yes|Name of Service Product referenced by this Line|
|`Reference`|String|256||Comment for this Line|Custom reference|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`Total`|Decimal with up to 4 decimal places||Yes|Line Total. For validation|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|

## Purchase Stock Model <a name="PurchaseStockModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|string||Yes|Purchase Stock Received Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseStockLineModel"><b>[] Purchase Stock Line Model</b></a>||Yes||

## Purchase Stock Line Model <a name="PurchaseStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Date`|DateTime||Yes|Date when items were received|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line|
|`Name`|String|1024||Read-only. Product name referenced by this Line|
|`Location`|String|256|Yes*|Location where the product would be stock to/from. Required if LocationID is empty.|
|`LocationID`|GUID||Yes*|LocationID where the product would be stock to/from. Required if Location is empty.|
|`Received`|Boolean|||Flag, which indicates if items were received. Read-only.|
|`BatchSN`|String|50||Batch Serial Number|
|`SupplierSKU`|String|50||Supplier SKU referenced by this line.|
|`ExpiryDate`|DateTime|||Date when selected Batch expires|
|`CardID`|GUID|||Stock Batch ID|

## Purchase Unstock Line Model <a name="PurchaseUnStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`CardID`|GUID||Yes|Stock Batch ID|
|`Date`|DateTime|||Date when items were received|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Value should me more than zero.|
|`ProductID`|GUID|||Read-only.Product identifier referenced by this Line.|
|`SKU`|String|50||Read-only.Product SKU referenced by this Line|
|`Name`|String|1024||Read-only. Product name referenced by this Line|
|`Location`|String|256||Read-only.Location where the product would be stock to/from|
|`BatchSN`|String|50||Read-only.Batch Serial Number|
|`ExpiryDate`|DateTime|||Read-only.Date when selected Batch expires|

## Purchase Invoice Model <a name="PurchaseInvoiceModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`InvoiceDate`|DateTime||Yes|Date when invoice created. Default value is current date, used if not specified.|
|`InvoiceDueDate`|DateTime||Yes|Date until invoice is valid. If not specified, used default value from Terms.|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Status`|string||Yes|Purchase Invoice Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`, `PAID`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Payments`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|
|`Paid`|Decimal with up to 4 decimal places|||Invoice Paid Total in Supplier Currency. Not required for POST.|

## Purchase Credit Note Model <a name="PurchaseCreditNoteModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`CreditNoteNumber`|string||Yes|Credit Note Number|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date|
|`Status`|string||Yes|Purchase Credit Note Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Refunds`|<a href="#SalePaymentLineModel"><b>[] Sale Payment Line Model</b></a>||||
|`Unstock`|<a href="#PurchaseUnStockLineModel"><b>[] Purchase Unstock Line Model</b></a>||Yes||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|

## Purchase Invoice Line Model <a name="PurchaseInvoiceLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required If CombineAdditionalCharges param exist for this endpoint and it have values = `false`|
|`Name`|String|1024|Yes|Product Name referenced by this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Account`|String|50|Yes|Revenue account|
|`Comment`|String|256||Comment for this line|
|`Total`|Decimal with up to 4 decimal places||Yes|Line Total. For validation|

## Purchase Invoice Additional Charge Model <a name="PurchaseInvoiceAdditionalChargeModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Description`|String|256|Yes|Name of Service Product referenced by this Line|
|`Reference`|String|256||Comment for this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`Price`|Decimal with up to 4 decimal places||Yes|Price per unit in Customer currency|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places||Yes|Tax|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Account`|String|50|Yes|Revenue account|
|`Total`|Decimal with up to 4 decimal places|||Line Total. For validation|

## Existing Stock Line Model <a name="ExistingStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID|||Product identifier referenced by this Line|
|`SKU`|String|50||Product SKU referenced by this Line.|
|`ProductName`|String|1024||Product Name referenced by this Line|
|`QuantityOnHand`|Decimal|||Quantity of Stock ‘‘On Hand’’|
|`Available`|Decimal|||Available quantity of stock|
|`Adjustment`|Decimal|||New value for QuantityOnHand|
|`LocationID`|GUID|||Id of location where stock changes will be done|
|`Location`|String|256||Name of location where stock changes will be done|
|`BatchSN`|String|50||Batch Serial Number|
|`ExpiryDate`|DateTime|||Date when Batch expires|
|`Comments`|String|256||Comment|
|`ProductLength`|Decimal|||Length of product. Read-only.|
|`ProductWidth`|Decimal|||Width of product. Read-only.|
|`ProductHeight`|Decimal|||Height of product. Read-only.|
|`ProductWeight`|Decimal|||Weight of product. Read-only.|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1. Read-only.|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2. Read-only.|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3. Read-only.|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4. Read-only.|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5. Read-only.|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6. Read-only.|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7. Read-only.|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8. Read-only.|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9. Read-only.|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10. Read-only.|
|`Image`|<a href="#AttachmentLineModel"><b>Image</b></a>|||Product Image. Read-only. this field is available for stock take|
|`Barcode`|String|||Value of Product's Barcode. Read-only.this field is available for stock take|
|`StockLocator`|String|||Value of Product's StockLocator. Read-only.this field is available for stock take|
|`Unit`|String|||Value of Product's Default Unit of Measure. Read-only.this field is available for stock take|
|`CostingMethod`|String|||Value of Product's Costing method. Read-only.this field is available for stock take. Valid values: `FIFO`, `Special - Batch`, `Special - Serial Number`, `FIFO - Serial Number`, `FIFO - Batch`, `FEFO - Batch`, `FEFO - Serial Number` |


## New Stock Line Model <a name="NewStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required if `SKU` is empty.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required if `ProductID` is empty.|
|`ProductName`|String|1024||Product Name referenced by this Line|
|`Quantity`|Decimal||Yes|New value for QuantityOnHand|
|`UnitCost`|Decimal||Yes|Cost of 1 product unit.|
|`LocationID`|GUID||Yes*|Id of location on which stock changes will be done. Required if `Location` is empty.|
|`Location`|String|256|Yes*|Name of location on which stock changes will be done. Required if `LocationID` is empty.|
|`BatchSN`|String|50|Yes*|Batch Serial Number. Required if Product's Costing Method is not `FIFO`.|
|`ExpiryDate`|DateTime|||Date when Batch expires. Required if Product's Costing Method is `FESN`|
|`ReceivedDate`|DateTime|||Date when new stock is received|
|`Comments`|String|256||Comment|
|`ProductLength`|Decimal|||Length of product. Read-only.|
|`ProductWidth`|Decimal|||Width of product. Read-only.|
|`ProductHeight`|Decimal|||Height of product. Read-only.|
|`ProductWeight`|Decimal|||Weight of product. Read-only.|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1. Read-only.|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2. Read-only.|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3. Read-only.|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4. Read-only.|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5. Read-only.|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6. Read-only.|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7. Read-only.|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8. Read-only.|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9. Read-only.|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10. Read-only.|
|`Image`|<a href="#AttachmentLineModel"><b>Image</b></a>|||Product Image. Read-only. this field is available for stock take|
|`Barcode`|String|||Value of Product's Barcode. Read-only.this field is available for stock take|
|`StockLocator`|String|||Value of Product's StockLocator. Read-only.this field is available for stock take|
|`Unit`|String|||Value of Product's Default Unit of Measure. Read-only.this field is available for stock take|
|`CostingMethod`|String|||Value of Product's Costing method. Read-only.this field is available for stock take. Valid values: `FIFO`, `Special - Batch`, `Special - Serial Number`, `FIFO - Serial Number`, `FIFO - Batch`, `FEFO - Batch`, `FEFO - Serial Number` |


## Transaction Stock Line Model <a name="TransactionStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID|||ID of transaction.|
|`Debit`|String|||Debit Account.|
|`Credit`|String|||Credit Account.|
|`Amount`|Decimal|||Amount on which products quantity changed.|
|`EffectiveDate`|DateTime|||Transaction Date|

## Stock Transfer Line Model <a name="StockTransferLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required if `SKU` is empty.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required if `ProductID` is empty.|
|`ProductName`|String|1024||Product Name referenced by this Line|
|`QuantityOnHand`|Decimal|||Quantity of Stock ‘‘On Hand’’|
|`QuantityAvailable`|Decimal|||Available quantity of stock|
|`TransferQuantity`|Decimal||Yes|Quantity to transfer from one location to another.|
|`BatchSN`|String|50|Yes*|Batch Serial Number. Required if Product's Costing Method is not `FIFO`.|
|`ExpiryDate`|DateTime|||Date when Batch expires. Required if Product's Costing Method is `FESN`|
|`Comments`|String|256||Comment|
|`ProductLength`|Decimal|||Length of product. Read-only.|
|`ProductWidth`|Decimal|||Width of product. Read-only.|
|`ProductHeight`|Decimal|||Height of product. Read-only.|
|`ProductWeight`|Decimal|||Weight of product. Read-only.|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1. Read-only.|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2. Read-only.|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3. Read-only.|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4. Read-only.|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5. Read-only.|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6. Read-only.|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7. Read-only.|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8. Read-only.|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9. Read-only.|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10. Read-only.|

## Price Tier Model <a name="PriceTierModel" />

+ Please Note, that property Name can be changed via general settings. this model contains all 10 price tiers (10 rows).

|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Price Tier Name`|Decimal|||Product Sale Price used when Price Tier is selected in Sale Task. Up to 4 decimal places.|

## Product Supplier Model <a name="ProductSupplierModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`SupplierID`|Guid||Yes*|ID of supplier. Required if SupplierName is empty|
|`SupplierName`|String|256|Yes*|Name of supplier. Required if SupplierID is empty|
|`ProductID`|Guid||Yes*|ID of product. Required when not nested within the Product and ProductSKU is empty|
|`ProductSKU`|String|256|Yes*|SKU of product. Required when not nested within the Product and ProductID is empty|
|`ProductSupplierID`|Guid||No|ID of ProductSupplier record.|
|`SupplierInventoryCode`|String|256||Supplier Product SKU|
|`SupplierProductName`|String|256||Supplier Product Name|
|`Cost`|Decimal|||Latest purchase cost|
|`FixedCost`|Decimal|||Fixed Cost|
|`Currency`|String|||Supplier currency. Read-only.|
|`DropShip`|Boolean||`true` if this supplier should be used for drop-shipping.|
|`SupplierProductURL`|String|256||Link to supplier product specification.|
|`LastSupplied`|DateTime|||The latest supplied date of a product.|
|`ProductSupplierOptions`|<a href="#ProductSupplierOptionsModel"><b>[] Product Supplier Options</b></a>||||

## Product Supplier Options Model <a name="ProductSupplierOptionsModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes*|ID of product supplier option set.|
|`LocationID`|Guid||Yes*|ID of location. Required if LocationName is empty|
|`LocationName`|String|256|Yes*|Name of Location. Required if LocationID is empty|
|`ReorderQuantity`|Decimal|||Reorder Quantity|
|`Lead`|Integer|||Lead|
|`Safety`|Integer|||Safety.|
|`MinimumToReorder`|Decimal||Can be set for default options set only.|
|`SupplyIntervals`|<a href="#ProductSupplierOptionsIntervalModel"><b>[] Product Supplier Options Intervals </b></a>||||

## Product Supplier Options Interval Model <a name="ProductSupplierOptionsIntervalModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|Guid||Yes*|ID of product supplier option Interval settings set.|
|`DeliveryMethod`|String|256|Yes*|Delivery method: can be 'Fixed' and 'Interval'|
|`IntervalDays`|Integer|||Interval Days, required when DeliveryMethod = Interval|
|`IntervalStartDate`|Date|||Interval Start Date, required when DeliveryMethod = Interval|
|`IsMonday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsTuesday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsWednesday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsThursday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsFriday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsSaturday`|Boolean|||Required when DeliveryMethod = Fixed.|
|`IsSunday`|Boolean|||Required when DeliveryMethod = Fixed.|

## Reorder Level Model <a name="ReorderLevelModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`LocationID`|Guid||Yes*|ID of location. Required if LocationName is empty|
|`LocationName`|String|256|Yes*|Name of Location. Required if LocationID is empty|
|`MinimumBeforeReorder`|Decimal|||Minimum available product quantity for this product to appear on Reorder report/forms. Defaults to 0|
|`ReorderQuantity`|Decimal|||Default quantity to put into purchase order when reordering this product. Not applicable to reorder backordered form. Defaults to 0|
|`StockLocator`|String|256||Location of this product in your warehouse|
|`PickZones`|String|512|Yes|Comma delimited list of pick zones|

## Bill Of Material Product Model <a name="BillOfMaterialProductModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ComponentProductID`|Guid||Yes*|ID of product. Required if ProductCode is empty|
|`ProductCode`|String|256|Yes*|SKU of product. Required if ComponentProductID is empty|
|`Name`|String|256||Name of product. Read-only.|
|`Quantity`|Decimal||Yes|Quantity|
|`WastagePercent`|Decimal||| `WastagePercent` and `WastageQuantity` are mutually exclusive.|
|`WastageQuantity`|Decimal||| `WastagePercent` and `WastageQuantity` are mutually exclusive.|
|`CostPercentage`|Decimal|||Prorated cost distribution of a product that has been disassembled to current component. If left as zero equal distribution will be used between components.|

## Bill Of Material Service Model <a name="BillOfMaterialServiceModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ComponentProductID`|Guid||Yes*|ID of service product. Required if Name is empty|
|`Name`|String|256|Yes*|Name of service product. Required if ComponentProductID is empty|
|`Quantity`|Decimal||Yes|Quantity|
|`ExpenseAccount`|String|||Expense Account|
|`PriceTier`|Integer|||Price Tier Number|

## Product Movement Model <a name="ProductMovementModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|Guid|||Movement task ID|
|`Type`|String|256||Movement type. Possible values are <a href="#ProductMovementTypes"><b>Values</b></a> |
|`Date`|DateTime|||Movement date|
|`Number`|String|||Task Number|
|`Status`|Integer|||Task Status|
|`Quantity`|Decimal|||Quantity of goods reallocated|
|`Amount`|Decimal|||Cost of the reallocated goods|
|`Location`|String|||Location name|
|`BatchSN`|Decimal|||Batch #|
|`ExpiryDate`|DateTime|||Expiry Date|
|`FromTo`|String|||Supplier/CustomerName|

## Product Movement Available Types <a name="ProductMovementTypes" />
|Type|
|:-------|
|`Purchase Accrual Cost`|
|`Advanced Purchase Accrual Cost`|
|`Purchase`|
|`Advanced Purchase`|
|`Purchase Cost Chang`|
|`Advanced Purchase Cost Change`|
|`Advanced Purchase Unstock`|
|`Unstock`|
|`Sale`|
|`SaleMultiple`|
|`Sale COGS Change`|
|`SaleMultiple COGS Change`|
|`Restock`|
|`RestockMultiple`|
|`Adjustment Cost Change`|
|`Adjustment`|
|`Stocktake Cost Change`|
|`Stocktake`|
|`Transfer Out`|
|`Transfer Out Cost Change`|
|`Transfer In Cost Change`|
|`Transfer In`|
|`Finished Goods Cost Change`|
|`Finished Goods`|
|`Inventory Write-Off Cost Change`|
|`Inventory Write-Off`|
|`Disassembly Cost Change`|
|`Disassembly`|


## Finished Goods Order Line Model <a name="FinishedGoodsOrderLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|Guid||Yes*|ID of product. Required if ProductCode is empty|
|`ProductCode`|String|256|Yes*|SKU of product. Required if ProductID is empty|
|`Name`|String|256||Name of product. Read-only.|
|`ExpenseAccount`|String||Yes*|Required if product type is `Service`|
|`Quantity`|Decimal||Yes|Quantity|
|`Unit `|String|||Unit of measure. Read-only.|
|`WastagePercent`|Decimal||| `WastagePercent` and `WastageQuantity` are mutually exclusive.|
|`WastageQuantity`|Decimal||| `WastagePercent` and `WastageQuantity` are mutually exclusive.|
|`TotalQuantity`|Decimal|||Prorated cost distribution of a product that has been disassembled to current component. Read-only.|
|`TotalCost`|Decimal||Yes*|Total cost. For products with type = Stock this parameter is auto-calculated, for other type’s its required.|

## Finished Goods Pick Line Model <a name="FinishedGoodsPickLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|Guid||Yes*|ID of product. Required if ProductCode is empty|
|`ProductCode`|String|256|Yes*|SKU of product. Required if ProductID is empty|
|`Name`|String|256||Name of product. Read-only.|
|`BinID`|Guid|||ID of Bin.|
|`Bin`|String|256||Name of Bin.|
|`BatchSN`  | String           |         |          |Batch serial number       |
|`ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
|`Quantity`|Decimal||Yes|Quantity|
|`Unit `|String|||Unit of measure. Read-only.|
|`Cost `|Decimal|||Cost. Read-only.|

## Error Model <a name="ErrorModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ErrorCode`|Integer|||Error code|
|`Exception`|String|||Error text|

## Attribute Set Line Model <a name="AttributeSetLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Name`|String|||Attribute name|
|`Type`|String|||Attribute type. Available values are `Not used`, `Text`, `Checkbox`, `List`, `Date`, `Numeric`. |
|`Values`|String|||Attribute values|


## Disassembly Pick Line Model <a name="DisassemblyPickLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`BinID`|Guid|||ID of Bin.|
|`Bin`|String|256||Name of Bin|
|`Date`  | DateTime           |         |          |Date Received         |
|`BatchSN`  | String           |         |          |Batch serial number       |
|`ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
|`Available`|Decimal|||Available Quantity.|
|`UnitCost `|Decimal|||Cost.|
|`Quantity`|Decimal|||Picked Quantity.|
|`TotalCost `|Decimal|||Total Line Cost.|

## Disassembly Order Line Model <a name="DisassemblyOrderLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|Guid||Yes*|ID of product. Required if ProductCode is empty|
|`ProductCode`|String|256|Yes*|SKU of product. Required if ProductID is empty|
|`Name`|String|256||Name of product. Read-only.|
|`BinID`|Guid|||ID of Bin.|
|`Bin`|String|256||Name of Bin.|
|`Unit `|String|||Unit of measure. Read-only.|
|`BatchSN`  | String           |         |          |Batch serial number       |
|`ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
|`Account`|String|||Inventory Account|
|`Quantity`|Decimal||Yes|Quantity|
|`Cost`|Decimal||Yes|Cost.|

## Disassembly Order Service Line Model <a name="DisassemblyOrderServiceLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|Guid||Yes*|ID of product. Required if Name is empty|
|`Name`|String|256|Yes*|Name of service product. Required if ProductID is empty|
|`Account`|String||Yes|Expense Account|
|`Comments`|String|||Comment to line.|
|`Amount`|Decimal||Yes|Amount.|

## Inventory Write-Off Line Model <a name="InventoryWriteOffLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|Guid||Yes*|ID of product. Required if ProductCode is empty|
|`ProductCode`|String|256|Yes*|SKU of product. Required if ProductID is empty|
|`Name`|String|256||Name of product. Read-only.|
|`BinID`|Guid|||ID of Bin.|
|`Bin`|String|256||Name of Bin.|
|`BatchSN`  | String           |         |          |Batch serial number       |
|`ExpiryDate`  | DateTime           |         |          |Batch Expiry Date          |
|`ExpenseAccount`|String||Yes*|Required if product type is `Service`|
|`Quantity`|Decimal||Yes|Quantity|
|`Cost `|Decimal||Yes*|Cost. Required if product type is `Service`. Default value = 0.|
|`TotalCost `|Decimal|||`Cost` * `Quantity`. Read-only.|

## Tax Component Model <a name="TaxComponentModel" />
|Property           | Type      | Length | Required | Notes                         |
|:------------------|-----------|--------|----------|-------------------------------|
|`Name`             | String    | 50     | Yes      | Name of product. Read-only.   |
|`Percent `         | Decimal   |        | Yes      | Cost. Required if product type is `Service`. Default value = 0.|
|`AccountCode`      | String    |        | Yes      | ChartOfAccount Code with Class == `LIABILITY` && Status == `ACTIVE` |
|`ComponentOrder`   | Int       |        | Yes      | The order of sequence taxes components. |


## Money Task Line Model <a name="MoneyTaskLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Name`|String|256|Yes|Name|
|`Comment`|String|256||Comment for this Line|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Quantity.|
|`Price`|Decimal with up to 4 decimal places|||Price per unit in Base currency. Default value is 0|
|`Discount`|Decimal with up to 2 decimal places|||Discount. Value between 0 and 100. For free items discount is 100. Default value is 0|
|`Tax`|Decimal with up to 4 decimal places|||Tax. Default value is 0|
|`TaxRule`|String|50|Yes|Line Tax Rule name.|
|`Account`|String|50|Yes|Revenue account|
|`Total`|Decimal with up to 4 decimal places||Yes|Line Total. For validation|

## Supplier/Customer Address Model <a name="SupplierAddressModel" /> 
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ID`           | Guid    |    |           | If passed in `PUT` method, entry will be searched by id, found entry will be updated, otherwise created.      |
| `Line1`           | String    | 256   | Yes       | Address Line 1.       |
| `Line2`           | String    | 256   |           | Address Line 2.       |
| `City`            | String    | 256   |           | City / Suburb.        |
| `State`           | String    | 256   |           | State / Province.     |
| `Postcode`        | String    | 20    |           | Zip / PostCode.       |
| `Country`         | String    |       | Yes       | Country name          |
| `Type`            | String    |       | Yes       | Address Type. Should be one of the following values: `Billing`, `Business` or `Shipping`. |
| `DefaultForType`  | Bool      |       |           | Points that Address is used as default for chosen Type. `False` as default. |

## Supplier/Customer Contact Model <a name="SupplierContactModel" /> 
| Property          | Type      | Length    | Required  | Notes                 |
|:------------------|-----------|-----------|-----------|-----------------------|
| `ID`           | Guid    |    |           | If passed in `PUT` method, entry will be searched by id, found entry will be updated, otherwise created.      |
| `Name`            | String    | 256       | Yes       | Name of Contact.      |
| `Phone`           | String    | 50        |           | Phone                 |
| `MobilePhone`           | String    | 50        |           | Mobile Phone                 |
| `Fax`             | String    | 50        |           | Fax                   |
| `Email`           | String    | 256       |           | Email                 |
| `Website`         | String    | 256       |           | Website               |
| `Comment`         | String    | 256       |           | Comment               |
| `Default`         | Bool      |           |           | Points that Contact is used as default. `False` as default. |
| `IncludeInEmail`  | Bool      |           |           | Points that Contact is included in Email. `false` as default.|
| `MarketingConsent`  | Int      |           |           | Customer’s consent to receive marketing emails and communications. Available values are 1 - Unknown, 2 - Opt in, 3 - Opt out.

## Child Customer Model <a name="ChildCustomerModel" /> 
| Property          | Type      | Length    | Required  | Notes                 |
|:------------------|-----------|-----------|-----------|-----------------------|
| `CustomerID`           | Guid    |    |           | Customer ID      |
| `CustomerName`            | String    |        |        | Customer name    |  

## Customer specific Product Price Model <a name="ProductPriceModel" /> 
| Property          | Type      | Length| Required  | Notes                 |
|:------------------|-----------|-------|-----------|-----------------------|
| `ProductID`       | Guid      |       | Yes*      |                       |
| `CustomerID`      | Guid      |       | Yes*      |                       |
| `CustomerName`    | String    | 256   | Yes*      |                       |
| `ProductSKU`      | String    | 50    | Yes*      |                        |
| `ProductName`     | String    |       |           | Readonly                |
| `Price`           | Decimal   |       |   Yes     |      |

* required either ProductID or ProductSKU and either CustomerID or CustomerName field.

## Journal Line Model <a name="JournalLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Debit`|String||Yes|Debit Account|
|`Credit`|String||Yes|Credit Account|
|`Reference`|String|||Custom Reference|
|`Amount`|Decimal with up to 2 decimal places||Yes|Amount in selected currency.|
|`BaseAmount`|Decimal with up to 2 decimal places||Yes|Amount in base currency.|



## Purchase Payment Line Model <a name="PurchasePaymentLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`PurchaseID`|GUID|||Identifier of Master Purchase Task|
|`TaskID`|GUID|||Identifier of Purchase Task|
|`ID`|GUID|||Identifier of payment|
|`Reference`|String|||Payment reference number|
|`Amount`|Decimal with up to 2 decimal places|||Payment amount in customer currency|
|`DatePaid`|DateTime|||Date when payment has been made|
|`Account`|String|||Account Code of the bank/payment account from Chart of accounts|
|`CurrencyRate`|Decimal with up to 4 decimal places|||Currency Conversion rate expressed as number of Base currency units for one Customer currency unit.|
|`DateCreated`|DateTime|||Date of creation payment record.|

## Advanced Purchase Stock Model <a name="AdvancedPurchaseStockModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of Purchase Stock Receiving Task|
|`Status`|string|50|Yes|Purchase Stock Received Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#AdvancedPurchaseStockLineModel"><b>[] Advanced Purchase Stock Line Model</b></a>||Yes||

## Advanced Purchase Stock Line Model <a name="AdvancedPurchaseStockLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Date`|DateTime||Yes|Date when items were received|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line|
|`Name`|String|1024||Read-only. Product name referenced by this Line|
|`Location`|String|256|No|Location where the product would be stock to/from.|
|`LocationID`|GUID||No|LocationID where the product would be stock to/from.|
|`Received`|Boolean|||Flag, which indicates if items were received. Read-only.|
|`BatchSN`|String|50||Batch Serial Number|
|`SupplierSKU`|String|50||Supplier SKU referenced by this line.|
|`ExpiryDate`|DateTime|||Date when selected Batch expires|

## Advanced Purchase Put Away Model <a name="AdvancedPurchasePutAwayModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of Purchase Put Away Task|
|`Status`|string|50|Yes|Purchase Put Away Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#AdvancedPurchasePutAwayLineModel"><b>[] Advanced Purchase Put Away Line Model</b></a>||Yes||

## Advanced Purchase Put Away Line Model <a name="AdvancedPurchasePutAwayLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Date`|DateTime||Yes|Date when items were received|
|`Quantity`|Decimal with up to 4 decimal places||Yes|Product or service quantity. Minimal value is 1.|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line|
|`Name`|String|1024||Read-only. Product name referenced by this Line|
|`Location`|String|256|Yes*|Location where the product would be stock to/from. Required if LocationID is empty.|
|`LocationID`|GUID||Yes*|LocationID where the product would be stock to/from. Required if Location is empty.|
|`Received`|Boolean|||Flag, which indicates if items were received. Read-only.|
|`BatchSN`|String|50||Batch Serial Number|
|`SupplierSKU`|String|50||Supplier SKU referenced by this line.|
|`ExpiryDate`|DateTime|||Date when selected Batch expires|
|`CardID`|GUID|||Stock Batch ID|

## Advanced Purchase Invoice Model <a name="AdvancedPurchaseInvoiceModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of Purchase Invoice Task|
|`InvoiceDate`|DateTime||Yes|Date when invoice created. Default value is current date, used if not specified.|
|`InvoiceDueDate`|DateTime||Yes|Date until invoice is valid. If not specified, used default value from Terms.|
|`InvoiceNumber`|string|||Invoice Number (auto-generated)|
|`Status`|string||Yes|Purchase Invoice Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`, `PAID`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Payments`|<a href="#PurchasePaymentLineModel"><b>[] Purchase Payment Line Model</b></a>||||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|
|`Paid`|Decimal with up to 4 decimal places|||Invoice Paid Total in Supplier Currency. Not required for POST.|

## Advanced Purchase Credit Note Model <a name="AdvancedPurchaseCreditNoteModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of Purchase Credit Note Task|
|`CreditNoteNumber`|string||Yes|Credit Note Number|
|`CreditNoteDate`|DateTime||Yes|Credit Note Date|
|`Status`|string||Yes|Purchase Credit Note Status. Possible Values are `NOT AVAILABLE`,`DRAFT`,`AUTHORISED`,`VOIDED`. For POST only `DRAFT` and `AUTHORISED` values accepted|
|`Lines`|<a href="#PurchaseInvoiceLineModel"><b>[] Purchase Invoice Line Model</b></a>||Yes||
|`AdditionalCharges`|<a href="#PurchaseInvoiceAdditionalChargeModel"><b>[] Purchase Invoice Additional Charge Model</b></a>||||
|`Refunds`|<a href="#PurchasePaymentLineModel"><b>[] Purchase Payment Line Model</b></a>||||
|`Unstock`|<a href="#PurchaseUnStockLineModel"><b>[] Purchase Unstock Line Model</b></a>||Yes||
|`TotalBeforeTax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges without taxes. Not required for POST.|
|`Tax`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges taxes. Not required for POST.|
|`Total`|Decimal with up to 4 decimal places|||Sum of order lines and additional charges with taxes. Not required for POST.|

## Advanced Purchase Manual Journal Model <a name="'AdvancedPurchaseManualJournalModel" />
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`TaskID`|GUID||Yes|Identifier of Purchase Invoice Task|
|`Status`|String||Yes|Manual Journal Status. Available values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`. Available values for POST are `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#PurchaseManualJournalLineModel"><b>[] Purchase Manual Journal Line Model</b></a>||||



## IDName Model <a name="IDNameModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ID`|GUID|||Identifier|
|`Name`|String|||Name|

## Stock Transfer Order Model <a name="StockTransferOrderModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`Status`|String|50|Yes|Status of stock transfer order. Passible values are `NOT AVAILABLE`, `DRAFT`, `AUTHORISED`|
|`Lines`|<a href="#StockTransferOrderLineModel"><b>[] Stock Transfer Order Line Model</b></a>||||

## Stock Transfer Order Line Model <a name="StockTransferOrderLineModel" /> 
|Property|Type|Length|Required|Notes|
|:-------|----|------|--------|-----|
|`ProductID`|GUID||Yes*|Product identifier referenced by this Line. Required if `SKU` is empty.|
|`SKU`|String|50|Yes*|Product SKU referenced by this Line. Required if `ProductID` is empty.|
|`ProductName`|String|1024||Product Name referenced by this Line|
|`QuantityOnHand`|Decimal|||Quantity of Stock ‘‘On Hand’’|
|`QuantityAvailable`|Decimal|||Available quantity of stock|
|`TransferQuantity`|Decimal||Yes|Quantity to transfer from one location to another.|
|`Comments`|String|256||Comment|
|`ProductLength`|Decimal|||Length of product. Read-only.|
|`ProductWidth`|Decimal|||Width of product. Read-only.|
|`ProductHeight`|Decimal|||Height of product. Read-only.|
|`ProductWeight`|Decimal|||Weight of product. Read-only.|
| `WeightUnits`  | String             | 10        |          |Unit of measure for unit weight. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
| `DimensionsUnits`  | String             | 10        |      |Unit of measure for unit length/width/height. Available Values are <a href="#DimensionUnitAvailableValues"><b>values</b></a>|
|`ProductCustomField1`|String|||Value of Product's additional attribute 1. Read-only.|
|`ProductCustomField2`|String|||Value of Product's additional attribute 2. Read-only.|
|`ProductCustomField3`|String|||Value of Product's additional attribute 3. Read-only.|
|`ProductCustomField4`|String|||Value of Product's additional attribute 4. Read-only.|
|`ProductCustomField5`|String|||Value of Product's additional attribute 5. Read-only.|
|`ProductCustomField6`|String|||Value of Product's additional attribute 6. Read-only.|
|`ProductCustomField7`|String|||Value of Product's additional attribute 7. Read-only.|
|`ProductCustomField8`|String|||Value of Product's additional attribute 8. Read-only.|
|`ProductCustomField9`|String|||Value of Product's additional attribute 9. Read-only.|
|`ProductCustomField10`|String|||Value of Product's additional attribute 10. Read-only.|