eboekhouden 1.0.2

OpenAPI client for e-Boekhouden.
Documentation
# CreateInvoiceItem

## Properties

| Name                    | Type                              | Description                                                                                                                                                                                                                                                                                                                                 | Notes                    |
| ----------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| **quantity**            | Option<**f64**>                   | The item quantity, with up to 4 decimal places.                                                                                                                                                                                                                                                                                             | [optional][default to 0] |
| **amount**              | Option<**f64**>                   | The item quantity. To keep your code ready for future API versions it is recommended to use `quantity` instead.                                                                                                                                                                                                                             | [optional]               |
| **unit_id**             | Option<**i32**>                   | The ID of an existing unit.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_010\">FACT_ITEM_010</a></td><td>Unit not found.</td></table></div>                                                                                                                                                                              | [optional]               |
| **code**                | Option<**String**>                | <br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_003\">FACT_ITEM_003</a></td><td>Code invoice item is too long.</td></table></div>                                                                                                                                                                                          | [optional]               |
| **product_id**          | Option<**i32**>                   | The ID of an existing product. If given, `Code` is ignored.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_011\">FACT_ITEM_011</a></td><td>Product not found.</td></table></div>                                                                                                                                           | [optional]               |
| **description**         | **String**                        | <br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_001\">FACT_ITEM_001</a></td><td>Description invoice item is missing.</td><tr><td><a href=\"#FACT_ITEM_002\">FACT_ITEM_002</a></td><td>Description invoice item is too long.</td></table></div>                                                                             |
| **price_per_unit**      | Option<**f64**>                   | <br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_004\">FACT_ITEM_004</a></td><td>Price per unit excl. VAT is missing.</td><tr><td><a href=\"#FACT_ITEM_008\">FACT_ITEM_008</a></td><td>Total price is too high.</td><tr><td><a href=\"#FACT_ITEM_009\">FACT_ITEM_009</a></td><td>Total price is too low.</td></table></div> | [optional]               |
| **vat_code**            | [**models::VatCode**]VatCode.md |                                                                                                                                                                                                                                                                                                                                             |
| **vat_amount**          | Option<**f64**>                   | The VAT amount of the invoice item. Only use in combination with vatCode: 'AFW_VERK'. Only applicable for NL.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_015\">FACT_ITEM_015</a></td><td>VAT amount must be used with VAT code: 'AFW_VERK'</td></table></div>                                                          | [optional]               |
| **ledger_id**           | **i32**                           | The ID of an existing ledger account<br><div><h3>Error codes</h3><table><tr><td><a href=\"#FACT_ITEM_007\">FACT_ITEM_007</a></td><td>Ledger ID is missing</td><tr><td><a href=\"#FACT_ITEM_012\">FACT_ITEM_012</a></td><td>Ledger account not found.</td></table></div>                                                                     |
| **cost_center_id**      | Option<**i32**>                   |                                                                                                                                                                                                                                                                                                                                             | [optional]               |
| **discount_amount**     | Option<**f64**>                   | A fixed discount on the `pricePerUnit`. This field can not be combined with `discountPercentage`.                                                                                                                                                                                                                                           | [optional]               |
| **discount_percentage** | Option<**f64**>                   | A percentage discount on the `pricePerUnit`. This field can not be combined with `discountAmount`.                                                                                                                                                                                                                                          | [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)