{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-batch-update-bank-transaction-response-v2-dto-schema.json", "title": "BatchUpdateBankTransactionResponseV2Dto", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/fis-bankcontrollerv2-api-openapi.yml#/components/schemas/BatchUpdateBankTransactionResponseV2Dto", "type": "object", "properties": { "connectionUuid": { "type": "string", "readOnly": true }, "businessName": { "type": "string", "readOnly": true }, "serviceName": { "type": "string", "readOnly": true, "enum": [ "freshbooks", "quickbooks", "quickbooksDesktop", "xero", "oracleNetsuite", "sageBusinessCloud", "sageIntacct", "dynamicsBusinessCentral", "dynamics365Finance", "wave", "myob", "zohoBooks", "byod" ] }, "batchId": { "type": "string", "readOnly": true }, "batch": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/UpdateBankTransactionIndividualResponseV2Dto" } } }, "required": [ "connectionUuid", "businessName", "serviceName", "batchId", "batch" ], "$defs": { "AccountRefDto": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "BankAccountRefDto": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "BaseTaxRateRef": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "BatchUpdateBankTransaction": { "type": "object", "properties": { "passThrough": { "type": "object", "additionalProperties": true }, "currencyRate": { "type": "number" }, "currency": { "type": "string" }, "transactionType": { "type": "string", "enum": [ "payment", "refund", "deposit", "expense", "transfer", "overPayment", "unknown", "salesReturn", "ownerDrawings", "salesWithoutInvoices", "interestIncome", "otherIncome", "expenseRefund", "depositFromOtherAccounts", "ownersContribution" ] }, "transactionDirection": { "type": "string", "enum": [ "outgoing", "incoming" ] }, "bankAccountRef": { "$ref": "#/$defs/BankAccountRefDto" }, "entityRef": { "$ref": "#/$defs/EntityRefDto" }, "totalAmount": { "type": "number", "format": "float" }, "lines": { "type": "array", "items": { "$ref": "#/$defs/UpdateBankTransactionLine" } }, "memo": { "type": "string", "maxLength": 4000 }, "postedDate": { "format": "date-time", "type": "string" }, "bankTransactionRef": { "type": "string", "description": "reference to the bank transaction to be updated" } }, "required": [ "transactionType", "bankTransactionRef" ] }, "EntityRefDto": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "customer", "vendor" ] }, "id": { "type": "string" } }, "required": [ "id" ] }, "TrackingCategoryRefV2Dto": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": [ "class", "department", "location", "unknown" ] } } }, "UpdateBankTransactionIndividualResponseV2Dto": { "type": "object", "properties": { "pushCommunicationId": { "type": "string", "readOnly": true }, "requestedOn": { "type": "string", "readOnly": true, "format": "date-time" }, "status": { "type": "string", "readOnly": true, "enum": [ "success", "failed", "pending" ] }, "data": { "readOnly": true, "allOf": [ { "$ref": "#/$defs/BatchUpdateBankTransaction" } ] } }, "required": [ "pushCommunicationId", "requestedOn", "status", "data" ] }, "UpdateBankTransactionLine": { "type": "object", "properties": { "quantity": { "type": "number", "format": "float" }, "unitAmount": { "type": "number", "format": "float" }, "id": { "type": "string" }, "description": { "type": "string", "maxLength": 4000 }, "accountRef": { "$ref": "#/$defs/AccountRefDto" }, "taxRateRef": { "$ref": "#/$defs/BaseTaxRateRef" }, "trackingCategoryRefs": { "type": "array", "items": { "$ref": "#/$defs/TrackingCategoryRefV2Dto" } } } } } }