# Module Bán Hàng

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales PriceReports

#### Primary Key: `Code`

#### Schema

| Field                   | Type     | Description               |
| ----------------------- | -------- | ------------------------- |
| Amount                  | string   | Amount                    |
| Approved                | datetime | Approved                  |
| Approver                | string   | Approver                  |
| ApproverName            | string   | Approver Name             |
| ApproverUser            | string   | Approver User             |
| AttachImageId           | numeric  | Attach Image Id           |
| Branch                  | string   | Branch                    |
| Code                    | string   | Code                      |
| Completed               | string   | Completed                 |
| Completer               | string   | Completer                 |
| CompleteRequested       | string   | Complete Requested        |
| CompleteRequester       | string   | Complete Requester        |
| CompleteRequesterName   | string   | Complete Requester Name   |
| CompleterName           | string   | Completer Name            |
| Contact                 | string   | Contact                   |
| ContactAddress          | string   | Contact Address           |
| ContactEmail            | string   | Contact Email             |
| ContactIdentifiedNumber | string   | Contact Identified Number |
| ContactName             | string   | Contact Name              |
| ContactPhone            | string   | Contact Phone             |
| Created                 | datetime | Created                   |
| Creator                 | string   | Creator                   |
| CreatorId               | numeric  | Creator Id                |
| CustomerId              | numeric  | Customer Id               |
| DeliveryAddress         | string   | Delivery Address          |
| DeliveryLatitude        | string   | Delivery Latitude         |
| DeliveryLongitude       | string   | Delivery Longitude        |
| DirectReceiverName      | string   | Direct Receiver Name      |
| Employee                | string   | Employee                  |
| FileName                | string   | File Name                 |
| Id                      | numeric  | Id                        |
| Implemented             | string   | Implemented               |
| Implementer             | string   | Implementer               |
| ImplementerName         | string   | Implementer Name          |
| IncludeTax              | boolean  | Include Tax               |
| IsApprove               | numeric  | Is Approve                |
| IsIncludeVat            | numeric  | Is Include Vat            |
| Note                    | string   | Note                      |
| Object                  | string   | Object                    |
| ObjectAddress           | string   | Object Address            |
| ObjectBankCode          | string   | Object Bank Code          |
| ObjectBankName          | string   | Object Bank Name          |
| ObjectEmail             | string   | Object Email              |
| ObjectIdentifiedNumber  | string   | Object Identified Number  |
| ObjectName              | string   | Object Name               |
| ObjectPhone             | string   | Object Phone              |
| ObjectTaxCode           | string   | Object Tax Code           |
| PaymentStep             | string   | Payment Step              |
| Permission              | string   | Permission                |
| PriceTable              | string   | Price Table               |
| Recipient               | string   | Recipient                 |
| Reported                | datetime | Reported                  |
| RequireInvoice          | boolean  | Require Invoice           |
| SequenceNumber          | numeric  | Sequence Number           |
| StaffCreatorId          | numeric  | Staff Creator Id          |
| State                   | string   | State                     |
| StoreId                 | numeric  | Store Id                  |
| SubNote                 | string   | Sub Note                  |
| Tax                     | string   | Tax                       |
| Thread                  | string   | Thread                    |
| Title                   | string   | Title                     |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/price-reports/{Code}`: for get exacly item
* `GET /v4/sales/price-reports`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/price-reports`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/price-reports/{Code}`: for put exacly item
* `PUT /v4/sales/price-reports`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/price-reports/{Code}`: for delete exacly item
* `DELETE /v4/sales/price-reports?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales PriceReports

#### Primary Key: `Code`

#### Schema

| Field                   | Type     | Description               |
| ----------------------- | -------- | ------------------------- |
| Amount                  | string   | Amount                    |
| Approved                | datetime | Approved                  |
| Approver                | string   | Approver                  |
| ApproverName            | string   | Approver Name             |
| ApproverUser            | string   | Approver User             |
| AttachImageId           | numeric  | Attach Image Id           |
| Branch                  | string   | Branch                    |
| Code                    | string   | Code                      |
| Completed               | string   | Completed                 |
| Completer               | string   | Completer                 |
| CompleteRequested       | string   | Complete Requested        |
| CompleteRequester       | string   | Complete Requester        |
| CompleteRequesterName   | string   | Complete Requester Name   |
| CompleterName           | string   | Completer Name            |
| Contact                 | string   | Contact                   |
| ContactAddress          | string   | Contact Address           |
| ContactEmail            | string   | Contact Email             |
| ContactIdentifiedNumber | string   | Contact Identified Number |
| ContactName             | string   | Contact Name              |
| ContactPhone            | string   | Contact Phone             |
| Created                 | datetime | Created                   |
| Creator                 | string   | Creator                   |
| CreatorId               | numeric  | Creator Id                |
| CustomerId              | numeric  | Customer Id               |
| DeliveryAddress         | string   | Delivery Address          |
| DeliveryLatitude        | string   | Delivery Latitude         |
| DeliveryLongitude       | string   | Delivery Longitude        |
| DirectReceiverName      | string   | Direct Receiver Name      |
| Employee                | string   | Employee                  |
| FileName                | string   | File Name                 |
| Id                      | numeric  | Id                        |
| Implemented             | string   | Implemented               |
| Implementer             | string   | Implementer               |
| ImplementerName         | string   | Implementer Name          |
| IncludeTax              | boolean  | Include Tax               |
| IsApprove               | numeric  | Is Approve                |
| IsIncludeVat            | numeric  | Is Include Vat            |
| Note                    | string   | Note                      |
| Object                  | string   | Object                    |
| ObjectAddress           | string   | Object Address            |
| ObjectBankCode          | string   | Object Bank Code          |
| ObjectBankName          | string   | Object Bank Name          |
| ObjectEmail             | string   | Object Email              |
| ObjectIdentifiedNumber  | string   | Object Identified Number  |
| ObjectName              | string   | Object Name               |
| ObjectPhone             | string   | Object Phone              |
| ObjectTaxCode           | string   | Object Tax Code           |
| PaymentStep             | string   | Payment Step              |
| Permission              | string   | Permission                |
| PriceTable              | string   | Price Table               |
| Recipient               | string   | Recipient                 |
| Reported                | datetime | Reported                  |
| RequireInvoice          | boolean  | Require Invoice           |
| SequenceNumber          | numeric  | Sequence Number           |
| StaffCreatorId          | numeric  | Staff Creator Id          |
| State                   | string   | State                     |
| StoreId                 | numeric  | Store Id                  |
| SubNote                 | string   | Sub Note                  |
| Tax                     | string   | Tax                       |
| Thread                  | string   | Thread                    |
| Title                   | string   | Title                     |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/price-quotations/{Code}`: for get exacly item
* `GET /v4/sales/price-quotations`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/price-quotations`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/price-quotations/{Code}`: for put exacly item
* `PUT /v4/sales/price-quotations`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/price-quotations/{Code}`: for delete exacly item
* `DELETE /v4/sales/price-quotations?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales PriceReportDetails

#### Primary Key: `Voucher, SystemUuid`

#### Schema

| Field                | Type         | Description             |
| -------------------- | ------------ | ----------------------- |
| Business             | indexobjects | Business                |
| CustomerProductName  | string       | Customer Product Name   |
| CustomerSku          | string       | Customer Sku            |
| Description          | string       | Description             |
| DiscountPercent      | string       | Discount Percent        |
| Id                   | numeric      | Id                      |
| Image                | serialize    | Image                   |
| ImageBk              | numeric      | Image Bk                |
| ImageStore           | string       | Image Store             |
| IncludeTax           | numeric      | Include Tax             |
| No                   | numeric      | No                      |
| Price                | double       | Price                   |
| PriceReportVoucherId | numeric      | Price Report Voucher Id |
| Product              | string       | Product                 |
| ProductIdBk          | numeric      | Product Id Bk           |
| ProductName          | string       | Product Name            |
| ProductPicture       | string       | Product Picture         |
| ProductPictureIdBk   | numeric      | Product Picture Id Bk   |
| ProductTaxName       | string       | Product Tax Name        |
| Quantity             | double       | Quantity                |
| Reason               | string       | Reason                  |
| SystemUuid           | string       | System Uuid             |
| Tax                  | string       | Tax                     |
| ToMoney              | string       | To Money                |
| Type                 | string       | Type                    |
| Unit                 | string       | Unit                    |
| VatTax               | string       | Vat Tax                 |
| Voucher              | string       | Voucher                 |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/price-quotation-details/{Voucher}-{SystemUuid}`: for get exacly item
* `GET /v4/sales/price-quotation-details`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/price-quotation-details`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/price-quotation-details/{Voucher}-{SystemUuid}`: for put exacly item
* `PUT /v4/sales/price-quotation-details`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/price-quotation-details/{Voucher}-{SystemUuid}`: for delete exacly item
* `DELETE /v4/sales/price-quotation-details?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales PriceTables

#### Primary Key: `Code`

#### Schema

| Field                 | Type    | Description              |
| --------------------- | ------- | ------------------------ |
| AppliedClosingDate    | string  | Applied Closing Date     |
| AppliedStartDate      | string  | Applied Start Date       |
| Branch                | string  | Branch                   |
| Code                  | string  | Code                     |
| Contract              | string  | Contract                 |
| Creator               | string  | Creator                  |
| CustomerGroup         | string  | Customer Group           |
| DateOfApprove         | string  | Date Of Approve          |
| DateOfCreate          | string  | Date Of Create           |
| DateOfUpdate          | string  | Date Of Update           |
| Description           | string  | Description              |
| File                  | numeric | File                     |
| Id                    | numeric | Id                       |
| IsApprove             | numeric | Is Approve               |
| MasterSalesPriceTable | string  | Master Sales Price Table |
| Object                | string  | Object                   |
| ObjectAddress         | string  | Object Address           |
| ObjectEmail           | string  | Object Email             |
| ObjectName            | string  | Object Name              |
| ObjectPhone           | string  | Object Phone             |
| Parent                | string  | Parent                   |
| PrintTemplate         | string  | Print Template           |
| Tax                   | string  | Tax                      |
| Title                 | string  | Title                    |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/price-tables/{Code}`: for get exacly item
* `GET /v4/sales/price-tables`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/price-tables`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/price-tables/{Code}`: for put exacly item
* `PUT /v4/sales/price-tables`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/price-tables/{Code}`: for delete exacly item
* `DELETE /v4/sales/price-tables?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales SalesVouchers

#### Primary Key: `Code`

#### Schema

| Field                    | Type     | Description                |
| ------------------------ | -------- | -------------------------- |
| Account                  | string   | Account                    |
| Amount                   | string   | Amount                     |
| Approved                 | string   | Approved                   |
| Approver                 | string   | Approver                   |
| Branch                   | string   | Branch                     |
| Code                     | string   | Code                       |
| CodeTax                  | string   | Code Tax                   |
| Contact                  | string   | Contact                    |
| ContactAddress           | string   | Contact Address            |
| ContactEmail             | string   | Contact Email              |
| ContactIdentifiedNumber  | string   | Contact Identified Number  |
| ContactName              | string   | Contact Name               |
| ContactPhone             | string   | Contact Phone              |
| Created                  | datetime | Created                    |
| Creator                  | string   | Creator                    |
| DateOfDelivery           | datetime | Date Of Delivery           |
| DateOfSale               | datetime | Date Of Sale               |
| DeliveryAddress          | string   | Delivery Address           |
| DeliveryLocation         | numeric  | Delivery Location          |
| DirectReceiverName       | string   | Direct Receiver Name       |
| Employee                 | string   | Employee                   |
| Id                       | numeric  | Id                         |
| IncludeTax               | boolean  | Include Tax                |
| InventoryDeliveryVoucher | string   | Inventory Delivery Voucher |
| Invoice                  | string   | Invoice                    |
| InvoiceAddress           | string   | Invoice Address            |
| InvoiceLocation          | numeric  | Invoice Location           |
| IsExportVatInvoice       | numeric  | Is Export Vat Invoice      |
| IsObjectRevenue          | boolean  | Is Object Revenue          |
| IsPaid                   | numeric  | Is Paid                    |
| LastUpdate               | string   | Last Update                |
| Money                    | string   | Money                      |
| No                       | numeric  | No                         |
| Note                     | string   | Note                       |
| Object                   | string   | Object                     |
| ObjectAddress            | string   | Object Address             |
| ObjectBankCode           | string   | Object Bank Code           |
| ObjectBankName           | string   | Object Bank Name           |
| ObjectEmail              | string   | Object Email               |
| ObjectIdentifiedNumber   | string   | Object Identified Number   |
| ObjectName               | string   | Object Name                |
| ObjectPhone              | string   | Object Phone               |
| ObjectTaxCode            | string   | Object Tax Code            |
| PaidMoney                | string   | Paid Money                 |
| Permission               | string   | Permission                 |
| PriceReportVoucher       | string   | Price Report Voucher       |
| PriceTable               | string   | Price Table                |
| PromotePrograme          | string   | Promote Programe           |
| RelativeVouchers         | string   | Relative Vouchers          |
| RequireInvoice           | numeric  | Require Invoice            |
| Revision                 | numeric  | Revision                   |
| SalesStaff               | string   | Sales Staff                |
| State                    | string   | State                      |
| SubNote                  | string   | Sub Note                   |
| Tax                      | string   | Tax                        |
| Thread                   | string   | Thread                     |
| Title                    | string   | Title                      |
| Type                     | string   | Type                       |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/sales-vouchers/{Code}`: for get exacly item
* `GET /v4/sales/sales-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/sales-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/sales-vouchers/{Code}`: for put exacly item
* `PUT /v4/sales/sales-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/sales-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/sales/sales-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales SalesReturnsVouchers

#### Primary Key: `Code`

#### Schema

| Field                   | Type     | Description               |
| ----------------------- | -------- | ------------------------- |
| Amount                  | string   | Amount                    |
| Approved                | string   | Approved                  |
| Approver                | string   | Approver                  |
| Branch                  | string   | Branch                    |
| Code                    | string   | Code                      |
| Contact                 | string   | Contact                   |
| ContactAddress          | string   | Contact Address           |
| ContactEmail            | string   | Contact Email             |
| ContactIdentifiedNumber | string   | Contact Identified Number |
| ContactName             | string   | Contact Name              |
| ContactPhone            | string   | Contact Phone             |
| Created                 | datetime | Created                   |
| Creator                 | string   | Creator                   |
| DateOfReturn            | datetime | Date Of Return            |
| Employee                | string   | Employee                  |
| Id                      | numeric  | Id                        |
| IncludeTax              | boolean  | Include Tax               |
| Invoice                 | string   | Invoice                   |
| InvoiceAddress          | string   | Invoice Address           |
| InvoiceLocation         | numeric  | Invoice Location          |
| IsImportVatInvoice      | numeric  | Is Import Vat Invoice     |
| IsObjectRevenue         | numeric  | Is Object Revenue         |
| LastUpdate              | string   | Last Update               |
| No                      | numeric  | No                        |
| Note                    | string   | Note                      |
| Object                  | string   | Object                    |
| ObjectAddress           | string   | Object Address            |
| ObjectBankCode          | string   | Object Bank Code          |
| ObjectBankName          | string   | Object Bank Name          |
| ObjectEmail             | string   | Object Email              |
| ObjectIdentifiedNumber  | string   | Object Identified Number  |
| ObjectName              | string   | Object Name               |
| ObjectPhone             | string   | Object Phone              |
| ObjectTaxCode           | string   | Object Tax Code           |
| Permission              | string   | Permission                |
| Revision                | numeric  | Revision                  |
| State                   | string   | State                     |
| SubNote                 | string   | Sub Note                  |
| Tax                     | string   | Tax                       |
| Thread                  | string   | Thread                    |
| Title                   | string   | Title                     |
| Type                    | string   | Type                      |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/sales-returns-vouchers/{Code}`: for get exacly item
* `GET /v4/sales/sales-returns-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/sales-returns-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/sales-returns-vouchers/{Code}`: for put exacly item
* `PUT /v4/sales/sales-returns-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/sales-returns-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/sales/sales-returns-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales MasterPriceTables

#### Primary Key: `Code`

#### Schema

| Field              | Type     | Description          |
| ------------------ | -------- | -------------------- |
| Approved           | boolean  | Approved             |
| Branch             | string   | Branch               |
| Code               | string   | Code                 |
| Creator            | string   | Creator              |
| DateOfApproved     | datetime | Date Of Approved     |
| DateOfCreated      | datetime | Date Of Created      |
| Description        | string   | Description          |
| Discount           | string   | Discount             |
| Id                 | numeric  | Id                   |
| LastUpdate         | string   | Last Update          |
| Object             | string   | Object               |
| ObjectAddress      | string   | Object Address       |
| ObjectEmailAddress | string   | Object Email Address |
| ObjectName         | string   | Object Name          |
| ObjectPhone        | string   | Object Phone         |
| State              | string   | State                |
| Tax                | string   | Tax                  |
| Title              | string   | Title                |
| Type               | string   | Type                 |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/master-price-tables/{Code}`: for get exacly item
* `GET /v4/sales/master-price-tables`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/master-price-tables`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/master-price-tables/{Code}`: for put exacly item
* `PUT /v4/sales/master-price-tables`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/master-price-tables/{Code}`: for delete exacly item
* `DELETE /v4/sales/master-price-tables?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales V2 MasterPriceTableDetails

#### Primary Key: `Id`

#### Schema

| Field                  | Type      | Description                |
| ---------------------- | --------- | -------------------------- |
| Barcode                | string    | Barcode                    |
| Brand                  | string    | Brand                      |
| BrandName              | string    | Brand Name                 |
| Categories             | objects   | Categories                 |
| Code                   | string    | Code                       |
| CostOfGoodsSoldX       | string    | Cost Of Goods Sold X       |
| Created                | datetime  | Created                    |
| Creator                | string    | Creator                    |
| CreatorName            | string    | Creator Name               |
| Description            | string    | Description                |
| ExchangeProduct        | string    | Exchange Product           |
| FeaturePicture         | serialize | Feature Picture            |
| Groups                 | objects   | Groups                     |
| Id                     | numeric   | Id                         |
| IsApprove              | numeric   | Is Approve                 |
| IsRegenerateCode       | numeric   | Is Regenerate Code         |
| IsRegenerateSku        | numeric   | Is Regenerate Sku          |
| IsStopBusiness         | numeric   | Is Stop Business           |
| Keyword                | string    | Keyword                    |
| Keywords               | serialize | Keywords                   |
| LastUpdate             | datetime  | Last Update                |
| LastUpdateBy           | string    | Last Update By             |
| LastUpdateByName       | string    | Last Update By Name        |
| ManualCode             | string    | Manual Code                |
| ManufactureId          | numeric   | Manufacture Id             |
| MarketingPrice         | string    | Marketing Price            |
| Name                   | string    | Name                       |
| OldCode                | string    | Old Code                   |
| OldCode2               | string    | Old Code2                  |
| Page                   | string    | Page                       |
| ParentId               | numeric   | Parent Id                  |
| Permission             | string    | Permission                 |
| PictureId              | string    | Picture Id                 |
| PictureIdBk            | numeric   | Picture Id Bk              |
| Pictures               | serialize | Pictures                   |
| PurchaseCost           | string    | Purchase Cost              |
| PurchasePrice          | string    | Purchase Price             |
| RequireVatTax          | numeric   | Require Vat Tax            |
| Revisions              | string    | Revisions                  |
| SearchRank             | numeric   | Search Rank                |
| Sequence               | numeric   | Sequence                   |
| Sku                    | string    | Sku                        |
| State                  | numeric   | State                      |
| Tags                   | serialize | Tags                       |
| Tax                    | string    | Tax                        |
| TaxName                | string    | Tax Name                   |
| Technical              | string    | Technical                  |
| Type                   | string    | Type                       |
| TypeCode               | string    | Type Code                  |
| UniqueKey              | string    | Unique Key                 |
| UnitRatio              | string    | Unit Ratio                 |
| VatTax                 | string    | Vat Tax                    |
| WarehouseUnit          | string    | Warehouse Unit             |
| WarehouseUnitLabel     | string    | Warehouse Unit Label       |
| IsManageByAccessNumber | boolean   | Is Manage By Access Number |
| IsAutoAdjustInventory  | boolean   | Is Auto Adjust Inventory   |
| IsDefaultPurchase      | boolean   | Is Default Purchase        |
| IsDefaultSales         | boolean   | Is Default Sales           |
| IsExpirationGoods      | boolean   | Is Expiration Goods        |
| LastPurchaseDate       | datetime  | Last Purchase Date         |
| LastPurchasePrice      | double    | Last Purchase Price        |
| Price                  | double    | Price                      |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/master-price-table-details/{Id}`: for get exacly item
* `GET /v4/sales/master-price-table-details`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/master-price-table-details`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/master-price-table-details/{Id}`: for put exacly item
* `PUT /v4/sales/master-price-table-details`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/master-price-table-details/{Id}`: for delete exacly item
* `DELETE /v4/sales/master-price-table-details?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### API thao tác Lấy (GET), Thêm (POST), Xóa (DELETE), Sửa (PUT) với thông tin sản phẩm

#### Primary Key: `Code, WarehouseUnit`

#### Schema

| Field              | Type      | Description                                             |
| ------------------ | --------- | ------------------------------------------------------- |
| Barcode            | string    | Barcode                                                 |
| Brand              | string    | Brand                                                   |
| BrandName          | string    | Brand Name                                              |
| Categories         | array     | children schema defined in Categories Schema below      |
| Code               | string    | Code                                                    |
| CostOfGoodsSoldX   | string    | Cost Of Goods Sold X                                    |
| Created            | datetime  | Created                                                 |
| Creator            | string    | Creator                                                 |
| CreatorName        | string    | Creator Name                                            |
| Description        | string    | Description                                             |
| ExchangeProduct    | string    | Exchange Product                                        |
| FeaturePicture     | serialize | Feature Picture                                         |
| Groups             | array     | children schema defined in Groups Schema below          |
| IsApprove          | numeric   | Is Approve                                              |
| IsRegenerateCode   | numeric   | Is Regenerate Code                                      |
| IsRegenerateSku    | numeric   | Is Regenerate Sku                                       |
| IsStopBusiness     | boolean   | Is Stop Business                                        |
| Keyword            | string    | Keyword                                                 |
| Keywords           | serialize | Keywords                                                |
| LastUpdate         | datetime  | Last Update                                             |
| LastUpdateBy       | string    | Last Update By                                          |
| LastUpdateByName   | string    | Last Update By Name                                     |
| ManualCode         | string    | Manual Code                                             |
| ManufactureId      | numeric   | Manufacture Id                                          |
| MarketingPrice     | string    | Marketing Price                                         |
| Name               | string    | Name                                                    |
| OldCode            | string    | Old Code                                                |
| OldCode2           | string    | Old Code2                                               |
| Page               | string    | Page                                                    |
| ParentId           | numeric   | Parent Id                                               |
| Permission         | string    | Permission                                              |
| PictureId          | string    | Picture Id                                              |
| PictureIdBk        | numeric   | Picture Id Bk                                           |
| Pictures           | serialize | Pictures                                                |
| PurchaseCost       | string    | Purchase Cost                                           |
| PurchasePrice      | string    | Purchase Price                                          |
| RequireVatTax      | boolean   | Require Vat Tax                                         |
| Revisions          | string    | Revisions                                               |
| SearchRank         | numeric   | Search Rank                                             |
| Sequence           | numeric   | Sequence                                                |
| Sku                | string    | Sku                                                     |
| State              | numeric   | State                                                   |
| Tags               | serialize | Tags                                                    |
| Tax                | string    | Tax                                                     |
| TaxName            | string    | Tax Name                                                |
| Technical          | string    | Technical                                               |
| Type               | string    | Type                                                    |
| TypeCode           | string    | Type Code                                               |
| UniqueKey          | string    | Unique Key                                              |
| UnitRatio          | string    | Unit Ratio                                              |
| VatTax             | string    | Vat Tax                                                 |
| WarehouseUnit      | string    | Warehouse Unit                                          |
| WarehouseUnitLabel | string    | Warehouse Unit Label                                    |
| UnitConversions    | array     | children schema defined in UnitConversions Schema below |
| CostOfGoodsSold    | double    | Cost Of Goods Sold                                      |
| Inventory          | double    | Inventory                                               |
| Properties         | array     | children schema defined in Properties Schema below      |
| ProductParts       | array     | children schema defined in ProductParts Schema below    |

#### Categories Schema

| Field        | Type    | Description   |
| ------------ | ------- | ------------- |
| Category     | string  | Category      |
| CategoryName | string  | Category Name |
| Id           | numeric | Id            |
| Product      | string  | Product       |
| ProductName  | string  | Product Name  |

#### Groups Schema

| Field       | Type    | Description  |
| ----------- | ------- | ------------ |
| Group       | string  | Group        |
| GroupName   | string  | Group Name   |
| Id          | numeric | Id           |
| Product     | string  | Product      |
| ProductName | string  | Product Name |

#### UnitConversions Schema

| Field                  | Type    | Description                |
| ---------------------- | ------- | -------------------------- |
| Containers             | string  | Containers                 |
| ConversionRatio        | string  | Conversion Ratio           |
| Id                     | numeric | Id                         |
| IsAutoAdjustInventory  | boolean | Is Auto Adjust Inventory   |
| IsDefaultPurchase      | boolean | Is Default Purchase        |
| IsDefaultSales         | boolean | Is Default Sales           |
| IsExpirationGoods      | boolean | Is Expiration Goods        |
| IsManageByAccessNumber | boolean | Is Manage By Access Number |
| IsManageBySerialNumber | boolean | Is Manage By Serial Number |
| LastGoodsRecdeiptNote  | string  | Last Goods Recdeipt Note   |
| LastPurchaseDate       | string  | Last Purchase Date         |
| LastPurchaseObject     | string  | Last Purchase Object       |
| LastPurchaseObjectName | string  | Last Purchase Object Name  |
| LastPurchasePrice      | string  | Last Purchase Price        |
| LastPurchaseVoucher    | string  | Last Purchase Voucher      |
| No                     | numeric | No                         |
| Product                | string  | Product                    |
| ProductName            | string  | Product Name               |
| RelativeObjectIds      | string  | Relative Object Ids        |
| RelativeObjects        | string  | Relative Objects           |
| SearchRank             | numeric | Search Rank                |
| Unit                   | string  | Unit                       |
| UnitLabel              | string  | Unit Label                 |

#### Properties Schema

| Field          | Type      | Description     |
| -------------- | --------- | --------------- |
| Id             | numeric   | Id              |
| Product        | string    | Product         |
| ProductName    | string    | Product Name    |
| Property       | string    | Property        |
| PropertyName   | string    | Property Name   |
| PropertyValue  | string    | Property Value  |
| PropertyValues | serialize | Property Values |

#### ProductParts Schema

| Field          | Type      | Description     |
| -------------- | --------- | --------------- |
| Id             | numeric   | Id              |
| Product        | string    | Product         |
| ProductName    | string    | Product Name    |
| Property       | string    | Property        |
| PropertyName   | string    | Property Name   |
| PropertyValue  | string    | Property Value  |
| PropertyValues | serialize | Property Values |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/products/{Code}-{WarehouseUnit}`: for get exacly item
* `GET /v4/sales/products`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/products`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/products/{Code}-{WarehouseUnit}`: for put exacly item
* `PUT /v4/sales/products`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/products/{Code}-{WarehouseUnit}`: for delete exacly item
* `DELETE /v4/sales/products?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales SalesProducts

#### Primary Key: `Id`

#### Schema

| Field            | Type      | Description       |
| ---------------- | --------- | ----------------- |
| Customer         | string    | Customer          |
| CustomerName     | string    | Customer Name     |
| DiscountPercent  | double    | Discount Percent  |
| Id               | numeric   | Id                |
| LastUpdate       | string    | Last Update       |
| Name             | string    | Name              |
| OriginalName     | string    | Original Name     |
| OriginalSku      | string    | Original Sku      |
| Price            | double    | Price             |
| Product          | string    | Product           |
| ReferenceVoucher | string    | Reference Voucher |
| Sku              | string    | Sku               |
| TaxName          | string    | Tax Name          |
| TaxValue         | string    | Tax Value         |
| Pictures         | serialize | Pictures          |
| FeaturePicture   | serialize | Feature Picture   |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/sales-products/{Id}`: for get exacly item
* `GET /v4/sales/sales-products`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/sales-products`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/sales-products/{Id}`: for put exacly item
* `PUT /v4/sales/sales-products`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/sales-products/{Id}`: for delete exacly item
* `DELETE /v4/sales/sales-products?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales MasterPriceTableUpdateNotes

#### Primary Key: `Code`

#### Schema

| Field    | Type     | Description |
| -------- | -------- | ----------- |
| Approved | datetime | Approved    |
| Approver | string   | Approver    |
| Code     | string   | Code        |
| Created  | datetime | Created     |
| Creator  | string   | Creator     |
| Id       | numeric  | Id          |
| No       | numeric  | No          |
| Note     | string   | Note        |
| State    | string   | State       |
| Title    | string   | Title       |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/master-price-table-notes/{Code}`: for get exacly item
* `GET /v4/sales/master-price-table-notes`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/master-price-table-notes`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/master-price-table-notes/{Code}`: for put exacly item
* `PUT /v4/sales/master-price-table-notes`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/master-price-table-notes/{Code}`: for delete exacly item
* `DELETE /v4/sales/master-price-table-notes?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales MasterPriceTableQueue

#### Primary Key: `Id`

#### Schema

| Field                      | Type     | Description                   |
| -------------------------- | -------- | ----------------------------- |
| Context                    | string   | Context                       |
| Id                         | numeric  | Id                            |
| OldPrice                   | double   | Old Price                     |
| PreviousPurchasePrice      | string   | Previous Purchase Price       |
| Product                    | string   | Product                       |
| ProductName                | string   | Product Name                  |
| PurchasePrice              | double   | Purchase Price                |
| RelativeDetail             | string   | Relative Detail               |
| RelativePurchaseObject     | string   | Relative Purchase Object      |
| RelativePurchaseObjectName | string   | Relative Purchase Object Name |
| RelativeVoucher            | string   | Relative Voucher              |
| RelativeVoucherTitle       | string   | Relative Voucher Title        |
| RequestBy                  | string   | Request By                    |
| RequestByName              | string   | Request By Name               |
| RequestDate                | datetime | Request Date                  |
| RequestPrice               | double   | Request Price                 |
| Unit                       | string   | Unit                          |
| UnitLabel                  | string   | Unit Label                    |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/master-price-table-queue/{Id}`: for get exacly item
* `GET /v4/sales/master-price-table-queue`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/master-price-table-queue`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/master-price-table-queue/{Id}`: for put exacly item
* `PUT /v4/sales/master-price-table-queue`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/master-price-table-queue/{Id}`: for delete exacly item
* `DELETE /v4/sales/master-price-table-queue?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales MasterPriceTableEntries

#### Primary Key: `Id`

#### Schema

| Field            | Type     | Description        |
| ---------------- | -------- | ------------------ |
| ApprovedBy       | string   | Approved By        |
| Branch           | string   | Branch             |
| Id               | numeric  | Id                 |
| MasterPriceTable | string   | Master Price Table |
| Note             | string   | Note               |
| NoteDate         | datetime | Note Date          |
| Price            | string   | Price              |
| PriceType        | string   | Price Type         |
| Product          | string   | Product            |
| ProductName      | string   | Product Name       |
| RequestBy        | string   | Request By         |
| RequestByName    | string   | Request By Name    |
| Unit             | string   | Unit               |
| WriteNo          | numeric  | Write No           |
| WriteUuid        | string   | Write Uuid         |
| RequestDate      | datetime | Request Date       |
| PurchasePrice    | double   | Purchase Price     |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/master-price-table-entries/{Id}`: for get exacly item
* `GET /v4/sales/master-price-table-entries`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/master-price-table-entries`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/master-price-table-entries/{Id}`: for put exacly item
* `PUT /v4/sales/master-price-table-entries`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/master-price-table-entries/{Id}`: for delete exacly item
* `DELETE /v4/sales/master-price-table-entries?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales DiscountTables

#### Primary Key: `Code`

#### Schema

| Field          | Type     | Description      |
| -------------- | -------- | ---------------- |
| Branch         | string   | Branch           |
| Code           | string   | Code             |
| Creator        | string   | Creator          |
| DateOfApproved | datetime | Date Of Approved |
| DateOfCreated  | datetime | Date Of Created  |
| Description    | string   | Description      |
| Id             | numeric  | Id               |
| LastUpdate     | string   | Last Update      |
| State          | string   | State            |
| Title          | string   | Title            |
| Type           | string   | Type             |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/discount-tables/{Code}`: for get exacly item
* `GET /v4/sales/discount-tables`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/discount-tables`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/discount-tables/{Code}`: for put exacly item
* `PUT /v4/sales/discount-tables`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/discount-tables/{Code}`: for delete exacly item
* `DELETE /v4/sales/discount-tables?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales DiscountTableDetails

#### Primary Key: `Id`

#### Schema

| Field                  | Type      | Description                |
| ---------------------- | --------- | -------------------------- |
| Barcode                | string    | Barcode                    |
| Brand                  | string    | Brand                      |
| BrandName              | string    | Brand Name                 |
| Categories             | objects   | Categories                 |
| Code                   | string    | Code                       |
| CostOfGoodsSoldX       | string    | Cost Of Goods Sold X       |
| Created                | datetime  | Created                    |
| Creator                | string    | Creator                    |
| CreatorName            | string    | Creator Name               |
| Description            | string    | Description                |
| ExchangeProduct        | string    | Exchange Product           |
| FeaturePicture         | serialize | Feature Picture            |
| Groups                 | objects   | Groups                     |
| Id                     | numeric   | Id                         |
| IsApprove              | numeric   | Is Approve                 |
| IsRegenerateCode       | numeric   | Is Regenerate Code         |
| IsRegenerateSku        | numeric   | Is Regenerate Sku          |
| IsStopBusiness         | numeric   | Is Stop Business           |
| Keyword                | string    | Keyword                    |
| Keywords               | serialize | Keywords                   |
| LastUpdate             | datetime  | Last Update                |
| LastUpdateBy           | string    | Last Update By             |
| LastUpdateByName       | string    | Last Update By Name        |
| ManualCode             | string    | Manual Code                |
| ManufactureId          | numeric   | Manufacture Id             |
| MarketingPrice         | string    | Marketing Price            |
| Name                   | string    | Name                       |
| OldCode                | string    | Old Code                   |
| OldCode2               | string    | Old Code2                  |
| Page                   | string    | Page                       |
| ParentId               | numeric   | Parent Id                  |
| Permission             | string    | Permission                 |
| PictureId              | string    | Picture Id                 |
| PictureIdBk            | numeric   | Picture Id Bk              |
| Pictures               | serialize | Pictures                   |
| PurchaseCost           | string    | Purchase Cost              |
| PurchasePrice          | string    | Purchase Price             |
| RequireVatTax          | numeric   | Require Vat Tax            |
| Revisions              | string    | Revisions                  |
| SearchRank             | numeric   | Search Rank                |
| Sequence               | numeric   | Sequence                   |
| Sku                    | string    | Sku                        |
| State                  | numeric   | State                      |
| Tags                   | serialize | Tags                       |
| Tax                    | string    | Tax                        |
| TaxName                | string    | Tax Name                   |
| Technical              | string    | Technical                  |
| Type                   | string    | Type                       |
| TypeCode               | string    | Type Code                  |
| UniqueKey              | string    | Unique Key                 |
| UnitRatio              | string    | Unit Ratio                 |
| VatTax                 | string    | Vat Tax                    |
| WarehouseUnit          | string    | Warehouse Unit             |
| WarehouseUnitLabel     | string    | Warehouse Unit Label       |
| IsManageByAccessNumber | boolean   | Is Manage By Access Number |
| IsAutoAdjustInventory  | boolean   | Is Auto Adjust Inventory   |
| IsDefaultPurchase      | boolean   | Is Default Purchase        |
| IsDefaultSales         | boolean   | Is Default Sales           |
| IsExpirationGoods      | boolean   | Is Expiration Goods        |
| LastPurchaseDate       | datetime  | Last Purchase Date         |
| LastPurchasePrice      | double    | Last Purchase Price        |
| Price                  | double    | Price                      |
| DiscountPrice          | double    | Discount Price             |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/discount-table-details/{Id}`: for get exacly item
* `GET /v4/sales/discount-table-details`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/discount-table-details`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/discount-table-details/{Id}`: for put exacly item
* `PUT /v4/sales/discount-table-details`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/discount-table-details/{Id}`: for delete exacly item
* `DELETE /v4/sales/discount-table-details?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales DiscountTableEntries

#### Primary Key: `Id`

#### Schema

| Field             | Type     | Description         |
| ----------------- | -------- | ------------------- |
| ApprovedBy        | string   | Approved By         |
| Branch            | string   | Branch              |
| CustomerGroup     | string   | Customer Group      |
| CustomerGroupName | string   | Customer Group Name |
| Description       | string   | Description         |
| DiscountPercent   | string   | Discount Percent    |
| DiscountPrice     | string   | Discount Price      |
| DiscountTable     | string   | Discount Table      |
| DiscountType      | string   | Discount Type       |
| Id                | numeric  | Id                  |
| Note              | string   | Note                |
| NoteDate          | datetime | Note Date           |
| Price             | string   | Price               |
| Product           | string   | Product             |
| ProductName       | string   | Product Name        |
| RequestBy         | string   | Request By          |
| RequestByName     | string   | Request By Name     |
| Unit              | string   | Unit                |
| UnitLabel         | string   | Unit Label          |
| WriteNo           | numeric  | Write No            |
| WriteUuid         | string   | Write Uuid          |
| RequestDate       | datetime | Request Date        |
| PurchasePrice     | double   | Purchase Price      |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/discount-table-entries/{Id}`: for get exacly item
* `GET /v4/sales/discount-table-entries`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/discount-table-entries`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/discount-table-entries/{Id}`: for put exacly item
* `PUT /v4/sales/discount-table-entries`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/discount-table-entries/{Id}`: for delete exacly item
* `DELETE /v4/sales/discount-table-entries?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales DiscountUpdateNotes

#### Primary Key: `Code`

#### Schema

| Field          | Type     | Description     |
| -------------- | -------- | --------------- |
| Approved       | datetime | Approved        |
| Approver       | string   | Approver        |
| Code           | string   | Code            |
| Created        | datetime | Created         |
| Creator        | string   | Creator         |
| CustomerGroups | objects  | Customer Groups |
| Id             | numeric  | Id              |
| No             | numeric  | No              |
| Note           | string   | Note            |
| State          | string   | State           |
| Title          | string   | Title           |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/discount-update-notes/{Code}`: for get exacly item
* `GET /v4/sales/discount-update-notes`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/discount-update-notes`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/discount-update-notes/{Code}`: for put exacly item
* `PUT /v4/sales/discount-update-notes`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/discount-update-notes/{Code}`: for delete exacly item
* `DELETE /v4/sales/discount-update-notes?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales SaleByCommissionVouchers

#### Primary Key: `Code`

#### Schema

| Field                 | Type     | Description             |
| --------------------- | -------- | ----------------------- |
| Amount                | double   | Amount                  |
| Approver              | string   | Approver                |
| ApproverName          | string   | Approver Name           |
| Code                  | string   | Code                    |
| Creator               | string   | Creator                 |
| CreatorName           | string   | Creator Name            |
| Customer              | string   | Customer                |
| CustomerAddress       | string   | Customer Address        |
| CustomerEmail         | string   | Customer Email          |
| CustomerName          | string   | Customer Name           |
| CustomerPhone         | string   | Customer Phone          |
| DateOfApproved        | datetime | Date Of Approved        |
| DateOfCreated         | datetime | Date Of Created         |
| DateOfDelivery        | datetime | Date Of Delivery        |
| DateOfSale            | datetime | Date Of Sale            |
| DateOfTransport       | datetime | Date Of Transport       |
| DeliveryAddress       | string   | Delivery Address        |
| DeliveryCountry       | string   | Delivery Country        |
| DeliveryCountryLabel  | string   | Delivery Country Label  |
| DeliveryDistrict      | string   | Delivery District       |
| DeliveryDistrictLabel | string   | Delivery District Label |
| DeliveryProvince      | string   | Delivery Province       |
| DeliveryProvinceLabel | string   | Delivery Province Label |
| DeliveryWard          | string   | Delivery Ward           |
| DeliveryWardLabel     | string   | Delivery Ward Label     |
| DirectReceiver        | string   | Direct Receiver         |
| DirectReceiverEmail   | string   | Direct Receiver Email   |
| DirectReceiverName    | string   | Direct Receiver Name    |
| DirectReceiverPhone   | string   | Direct Receiver Phone   |
| Employee              | string   | Employee                |
| EmployeeName          | string   | Employee Name           |
| FullDeliveryAddress   | string   | Full Delivery Address   |
| Id                    | numeric  | Id                      |
| Note                  | string   | Note                    |
| Permission            | string   | Permission              |
| State                 | string   | State                   |
| SubNote               | string   | Sub Note                |
| Supplier              | string   | Supplier                |
| SupplierAddress       | string   | Supplier Address        |
| SupplierEmail         | string   | Supplier Email          |
| SupplierName          | string   | Supplier Name           |
| SupplierPhone         | string   | Supplier Phone          |
| SupplierTaxCode       | string   | Supplier Tax Code       |
| Thread                | string   | Thread                  |
| Title                 | string   | Title                   |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/sale-by-commission-vouchers/{Code}`: for get exacly item
* `GET /v4/sales/sale-by-commission-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/sale-by-commission-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/sale-by-commission-vouchers/{Code}`: for put exacly item
* `PUT /v4/sales/sale-by-commission-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/sale-by-commission-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/sales/sale-by-commission-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales AuthorizedSaleVouchers

#### Primary Key: `Code`

#### Schema

| Field                 | Type     | Description             |
| --------------------- | -------- | ----------------------- |
| Amount                | double   | Amount                  |
| Approver              | string   | Approver                |
| ApproverName          | string   | Approver Name           |
| Code                  | string   | Code                    |
| Creator               | string   | Creator                 |
| CreatorName           | string   | Creator Name            |
| Customer              | string   | Customer                |
| CustomerAddress       | string   | Customer Address        |
| CustomerEmail         | string   | Customer Email          |
| CustomerName          | string   | Customer Name           |
| CustomerPhone         | string   | Customer Phone          |
| DateOfApproved        | datetime | Date Of Approved        |
| DateOfCreated         | datetime | Date Of Created         |
| DateOfDelivery        | datetime | Date Of Delivery        |
| DateOfSale            | datetime | Date Of Sale            |
| DateOfTransport       | datetime | Date Of Transport       |
| DeliveryAddress       | string   | Delivery Address        |
| DeliveryCountry       | string   | Delivery Country        |
| DeliveryCountryLabel  | string   | Delivery Country Label  |
| DeliveryDistrict      | string   | Delivery District       |
| DeliveryDistrictLabel | string   | Delivery District Label |
| DeliveryMapLink       | string   | Delivery Map Link       |
| DeliveryProvince      | string   | Delivery Province       |
| DeliveryProvinceLabel | string   | Delivery Province Label |
| DeliveryWard          | string   | Delivery Ward           |
| DeliveryWardLabel     | string   | Delivery Ward Label     |
| DirectReceiver        | string   | Direct Receiver         |
| DirectReceiverEmail   | string   | Direct Receiver Email   |
| DirectReceiverName    | string   | Direct Receiver Name    |
| DirectReceiverPhone   | string   | Direct Receiver Phone   |
| Employee              | string   | Employee                |
| EmployeeName          | string   | Employee Name           |
| FullDeliveryAddress   | string   | Full Delivery Address   |
| Id                    | numeric  | Id                      |
| IsAuthorizedObject    | boolean  | Is Authorized Object    |
| Note                  | string   | Note                    |
| Permission            | string   | Permission              |
| State                 | string   | State                   |
| SubNote               | string   | Sub Note                |
| Supplier              | string   | Supplier                |
| SupplierAddress       | string   | Supplier Address        |
| SupplierEmail         | string   | Supplier Email          |
| SupplierName          | string   | Supplier Name           |
| SupplierPhone         | string   | Supplier Phone          |
| SupplierTaxCode       | string   | Supplier Tax Code       |
| Thread                | string   | Thread                  |
| Title                 | string   | Title                   |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/authorized-sale-vouchers/{Code}`: for get exacly item
* `GET /v4/sales/authorized-sale-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/authorized-sale-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/authorized-sale-vouchers/{Code}`: for put exacly item
* `PUT /v4/sales/authorized-sale-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/authorized-sale-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/sales/authorized-sale-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Sales PriceTableQuotation Vouchers

#### Primary Key: `Code`

#### Schema

| Field         | Type     | Description     |
| ------------- | -------- | --------------- |
| Approved      | datetime | Approved        |
| Approver      | string   | Approver        |
| Code          | string   | Code            |
| Created       | datetime | Created         |
| Creator       | string   | Creator         |
| DateOfApplied | datetime | Date Of Applied |
| Id            | numeric  | Id              |
| No            | numeric  | No              |
| Note          | string   | Note            |
| State         | string   | State           |
| Title         | string   | Title           |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/sales/price-table-quotations/{Code}`: for get exacly item
* `GET /v4/sales/price-table-quotations`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/sales/price-table-quotations`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/sales/price-table-quotations/{Code}`: for put exacly item
* `PUT /v4/sales/price-table-quotations`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/sales/price-table-quotations/{Code}`: for delete exacly item
* `DELETE /v4/sales/price-table-quotations?id0=123&id1=456&...`: for delete multiple items with id0 id1,...
