{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-batch-update-chart-of-account-v2-response-dto-schema.json", "title": "BatchUpdateChartOfAccountV2ResponseDto", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/fis-accountcontrollerv2-api-openapi.yml#/components/schemas/BatchUpdateChartOfAccountV2ResponseDto", "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/UpdateChartOfAccountIndividualResponseV2Dto" } } }, "required": [ "connectionUuid", "businessName", "serviceName", "batchId", "batch" ], "$defs": { "BatchUpdateChartOfAccount": { "type": "object", "properties": { "nominalCode": { "type": "string", "maxLength": 10, "minLength": 5 }, "name": { "type": "string", "maxLength": 100 }, "description": { "type": "string", "maxLength": 100 }, "classification": { "type": "string", "enum": [ "asset", "equity", "expense", "liability", "revenue", "nonPosting" ] }, "currency": { "type": "string" }, "type": { "type": "string", "enum": [ "bank", "currentAsset", "fixedAsset", "inventory", "nonCurrentAsset", "accountReceivable", "equity", "expense", "otherExpense", "cogs", "accountPayable", "creditCard", "nonCurrentLiability", "currentLiability", "income", "incomeGeneral", "otherIncome", "unbilledReceivable", "deferredExpense", "deferredIncome" ] }, "bankAccountNumber": { "type": "string" }, "taxRateRef": { "$ref": "#/$defs/TaxRateRefDto" }, "parentRef": { "$ref": "#/$defs/ParentRefDtoV2" }, "subsidiaryRefs": { "type": "array", "items": { "$ref": "#/$defs/SubsidiaryRefDto" } }, "passThrough": { "type": "object", "additionalProperties": true }, "accountRef": { "type": "string", "description": "id of account to be updated" } }, "required": [ "accountRef" ] }, "ParentRefDtoV2": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id" ] }, "SubsidiaryRefDto": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "TaxRateRefDto": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "UpdateChartOfAccountIndividualResponseV2Dto": { "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/BatchUpdateChartOfAccount" } ] } }, "required": [ "pushCommunicationId", "requestedOn", "status", "data" ] } } }