eboekhouden 1.0.2

OpenAPI client for e-Boekhouden.
Documentation
# CreateProduct

## Properties

| Name                    | Type             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Notes                       |
| ----------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
| **code**                | **String**       | The code of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_004\">ART_004</a></td><td>Product Code is missing.</td><tr><td><a href=\"#ART_007\">ART_007</a></td><td>Product Code is too long.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **description**         | **String**       | The description of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_005\">ART_005</a></td><td>Product Description is missing.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **unit_id**             | Option<**i32**>  | The unit ID of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_011\">ART_011</a></td><td>Product Unit could not be found.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | [optional]                  |
| **active**              | Option<**bool**> | Whether the product is active.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | [optional][default to true] |
| **group_id**            | Option<**i32**>  | The group ID of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_012\">ART_012</a></td><td>Product Group could not be found.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | [optional]                  |
| **purchase_price_excl** | Option<**f64**>  | The purchase price (excluding VAT) of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_027\">ART_027</a></td><td>The value of PurchasePriceExcl exceeds the maximum value of 999999999999.00.</td><tr><td><a href=\"#ART_032\">ART_032</a></td><td>The value of PurchasePriceExcl is below the minimum value of -999999999999.00.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | [optional]                  |
| **price_excl**          | Option<**f64**>  | The price (excluding VAT) of the product. This field can not be combined with `priceIncl`.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_018\">ART_018</a></td><td>Either priceExcl or priceIncl is required.</td><tr><td><a href=\"#ART_019\">ART_019</a></td><td>Both priceExcl and priceIncl are required with current VAT code.</td><tr><td><a href=\"#ART_024\">ART_024</a></td><td>The value of PriceExcl exceeds the maximum value of 999999999999.00.</td><tr><td><a href=\"#ART_026\">ART_026</a></td><td>The value of PriceIncl after applying VAT exceeds the maximum value of 999999999999.00.</td><tr><td><a href=\"#ART_029\">ART_029</a></td><td>The value of PriceExcl is below the minimum value of -999999999999.00.</td><tr><td><a href=\"#ART_031\">ART_031</a></td><td>The value of PriceIncl after applying VAT is below the minimum value of -999999999999.00.</td></table></div> | [optional]                  |
| **price_incl**          | Option<**f64**>  | The price (including VAT) of the product. This field can not be combined with `priceExcl`.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_016\">ART_016</a></td><td>priceIncl cannot have a value when priceExcl is passed.</td><tr><td><a href=\"#ART_018\">ART_018</a></td><td>Either priceExcl or priceIncl is required.</td><tr><td><a href=\"#ART_019\">ART_019</a></td><td>Both priceExcl and priceIncl are required with current VAT code.</td><tr><td><a href=\"#ART_025\">ART_025</a></td><td>The value of PriceIncl exceeds the maximum value of 999999999999.00.</td><tr><td><a href=\"#ART_030\">ART_030</a></td><td>The value of PriceIncl is below the minimum value of -999999999999.00.</td></table></div>                                                                                                                                                                                | [optional]                  |
| **vat**                 | **String**       | The VAT code of the product. Only supports VAT codes of type 'Sale'.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_013\">ART_013</a></td><td>Product VAT code could not be found.</td><tr><td><a href=\"#ART_017\">ART_017</a></td><td>Product VAT code is required.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **ledger_id**           | **i32**          | The ledger ID of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_006\">ART_006</a></td><td>Product Ledger ID is missing.</td><tr><td><a href=\"#ART_009\">ART_009</a></td><td>Product Ledger could not be found.</td><tr><td><a href=\"#ART_028\">ART_028</a></td><td>Ledger category must be 'BAL' or 'VW'.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **cost_center_id**      | Option<**i32**>  | The cost center ID of the product.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#ART_010\">ART_010</a></td><td>Product Cost center is inactive.</td><tr><td><a href=\"#ART_015\">ART_015</a></td><td>Product cost center could not be found.</td></table></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [optional]                  |
| **in_stock_management** | Option<**bool**> | Whether the product will be Included in automatic inventory management.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | [optional]                  |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)