# MutationRow
## Properties
| Name | Type | Description | Notes |
| ------------------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| **ledger_id** | Option<**i32**> | The ledger ID of the row. Required in combination with `type`: 1, 2, 5, 6, 7. </br> For `type` 1, 2, 5, 6 ledger cannot be in the category: `FIN`, `CRED`, `DEB`. </br> For `type` 7 ledger can be any.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#MUTA_004\">MUTA_004</a></td><td>Ledger ID for row is missing.</td><tr><td><a href=\"#MUT_007\">MUT_007</a></td><td>Unknown ledger for mutation.</td><tr><td><a href=\"#MUT_104\">MUT_104</a></td><td>Unknown ledger for row.</td><tr><td><a href=\"#MUT_106\">MUT_106</a></td><td>Invalid ledger category for row.</td></table></div> | [optional] |
| **vat_code** | Option<**String**> | The VAT code of the row.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#MUT_109\">MUT_109</a></td><td>Invalid VAT code.</td></table></div> | [optional] |
| **vat_amount** | Option<**f64**> | The VAT amount of the row. Will only be returned when VAT is calculated per row for the given mutation. | [optional] |
| **cost_center_id** | Option<**i32**> | The cost center id of the row. | [optional] |
| **amount** | Option<**f64**> | The amount of the row. This value includes or excludes VAT depending on the `inExVat` value of the mutation. | [optional] |
| **description** | Option<**String**> | The description of the row. | [optional] |
| **invoice_number** | Option<**String**> | The invoice number of the row. Required for type 'Invoice payment received' and 'Invoice payment sent'.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#MUT_115\">MUT_115</a></td><td>Invoice not found.</td><tr><td><a href=\"#MUT_120\">MUT_120</a></td><td>Invoice number is missing.</td></table></div> | [optional] |
| **relation_id** | Option<**i32**> | The relation id of the row.<br><div><h3>Error codes</h3><table><tr><td><a href=\"#MUT_112\">MUT_112</a></td><td>Relation is missing.</td><tr><td><a href=\"#MUT_113\">MUT_113</a></td><td>Relation not found.</td></table></div> | [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)