Model that describes invoice operations.
| Name | Type | Description |
|---|---|---|
| amount | Decimal | Line amount without added VAT. |
| document_id | Int64 | Invoice document ID. |
| id | Int64 | Invoice operation ID. |
| item | Item | Item included in the invoice operation. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| price | Decimal | Item unit price. Stored with up to three decimal places. |
| quantity | Decimal | Item quantity. Stored with up to three decimal places. |
| total | Decimal | Total line amount due after VAT calculation. |
| vat_amount | Decimal | Calculated VAT amount for the operation. |
| vat_calculation_type | String | VAT calculation mode: No - do not accrue, Exclude - included in the amount, Include - added on top. Allowed values: No, Exclude, Include. |
| vat_value | Decimal | VAT rate value in percent. -1 means without VAT. |