simple finance line.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SimpleFinanceLine", "description": "simple finance line.", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-simple-finance-line-schema.json", "type": "object", "properties": { "subType": { "type": "string", "nullable": false, "enum": [ "VALUE", "TAX", "VALUE_WITH_TAX", "VAT" ], "description": "type of the finance line.", "example": "VALUE" }, "name": { "type": "string", "nullable": false, "description": "name of the finance line.", "example": "sales tax." }, "value": { "type": "number", "nullable": false, "description": "money amount.", "example": 3.4 } }, "required": [ "subType", "name", "value" ] }