A contact is an individual or company that buys or sells goods or services from a business. Commonly referred to a customer on a corresponding invoice or a vendor for a bill
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Integrations by Commenda","colors":{"primary":"#026EB9","light":"#026EB9","dark":"#026EB9"},"logo":{"light":"https://mintcdn.com/rootfi-commenda/JtuWvvYArO9DY7fx/images/logo/light.svg?fit=max\u0026auto=format\u0026n=JtuWvvYArO9DY7fx\u0026q=85\u0026s=c4be5f750642af21c9e7cadb00956f3d","dark":"https://mintcdn.com/rootfi-commenda/JtuWvvYArO9DY7fx/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=JtuWvvYArO9DY7fx\u0026q=85\u0026s=97898e15d7a4d649ed69d5fe9fb44de8"},"favicon":"https://mintcdn.com/rootfi-commenda/TwcBuJbylfnuRx_I/images/logo/Favicon%20(1).ico?fit=max\u0026auto=format\u0026n=TwcBuJbylfnuRx_I\u0026q=85\u0026s=03509b4fe29370432ab2dd3eb18a553e","api":{"openapi":["openapi_v3.yml","openapi_v4_core.json"]},"navbar":{"links":[{"href":"https://integrations.docs.commenda.io/openapi_v4_core.json","label":"OpenAPI Spec"}],"primary":{"type":"button","label":"Log In","href":"https://integrations.commenda.io"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/commenda","website":"https://www.commenda.io/"}},"search":{"prompt":"Ask any question (powered by ChatGPT)"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Data Coverage Tool","icon":"globe","href":"https://coverage.integrationlabs.co/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rootfi-commenda","hasAudioNarration":false,"actualSubdomain":"rootfi-commenda","customDomains":["integrations.docs.commenda.io"],"gitSource":{"type":"github","owner":"commenda-eng","repo":"rootfi-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af2ececfbd1ac70aabe40fc","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":390},{"language":"default","tag":"Unified API","count":317},{"language":"default","tag":"Accounting","count":208},{"language":"default","tag":"Payments","count":72},{"language":"default","tag":"CRM","count":54},{"language":"default","tag":"Core","count":47},{"language":"default","tag":"Documentation","count":41},{"language":"default","tag":"Accounting Integrations","count":36},{"language":"default","tag":"E-Commerce","count":30},{"language":"default","tag":"Core API","count":21}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v3/accounting/contacts/update-contacts","slug":"/api-reference/v3/accounting/contacts/update-contacts","pageMetadata":{"version":"v3","openapi":"PUT /accounting/contacts","title":"Update Contact","description":"Update a contact.","href":"/api-reference/v3/accounting/contacts/update-contacts"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a contact.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`contact`}),` is an individual or company that buys or sells goods or services from a business. Commonly referred to a customer on a corresponding invoice or a vendor for a bill`]}),`\n`,_jsx(Info,{children:`Only supported for Zoho Books, Quickbooks, Xero`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"version":"v3","openapi":"PUT /accounting/contacts","title":"Update Contact","description":"Update a contact.","href":"/api-reference/v3/accounting/contacts/update-contacts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Update a contact.","operationId":"accounting_contacts_update","tags":["AccountingContacts"],"parameters":[],"responses":{"200":"e7d4f13c-02f5-426e-86b7-7719f92f073c","401":"baae5daf-7787-4f50-a705-190957ef5e18","403":"f50f0b5d-30a5-40f2-bea2-be5be6fd4af2","404":"d510d3ba-0f93-4884-a9e4-0532c4ad4ed8","500":"789f195d-efbf-4642-b401-53ba1857a5e9"},"summary":"Update Contact","security":["2cca3b72-5ae9-4b21-bc82-b72f4d2d9589"],"requestBody":"a4808a24-5da6-42dc-bb02-2e35f3386dd2","method":"put","type":"path","servers":["97bff7ca-e457-4659-86a1-2368dd2b01be","84d7b989-c46b-4ee9-bff6-0798bdc6a783"],"path":"/accounting/contacts","baseUrlOptions":["https://api.rootfi.dev/v3","https://api.sa.rootfi.dev/v3"],"title":"Update Contact","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"accountingUpdateContactsRequest","required":["data","company_id"],"properties":{"company_id":{"type":"integer","description":"The ID of the company in the accounting platform","isRequired":true,"uniqueKey":"company_id","typeLabel":"integer"},"data":{"type":"array","items":{"title":"accountingUpdateContactFields","type":"object","properties":{"platform_id":{"type":"string","description":"The platform ID of the contact","example":"f940c3c4-ada3-ee11-a568-6045bd732efb","isRequired":true,"uniqueKey":"data.items.[INDEX].platform_id","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.items.[INDEX].contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.items.[INDEX].contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.items.[INDEX].contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.items.[INDEX].contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.items.[INDEX].tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.items.[INDEX].tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.items.[INDEX].registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.items.[INDEX].registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.items.[INDEX].status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring> | null"},"email":{"oneOf":[{"type":"string","description":"The email of the contact","uniqueKey":"data.items.[INDEX].email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The email of the contact","uniqueKey":"data.items.[INDEX].email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].email","typeLabel":"string | null"},"website":{"oneOf":[{"type":"string","description":"The website of the contact","uniqueKey":"data.items.[INDEX].website.oneOf.0","typeLabel":"string"},{"type":"null","description":"The website of the contact","uniqueKey":"data.items.[INDEX].website.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].website","typeLabel":"string | null"},"telephone":{"oneOf":[{"type":"string","description":"The telephone of the contact","uniqueKey":"data.items.[INDEX].telephone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The telephone of the contact","uniqueKey":"data.items.[INDEX].telephone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].telephone","typeLabel":"string | null"},"mobile":{"oneOf":[{"type":"string","description":"The mobile of the contact","uniqueKey":"data.items.[INDEX].mobile.oneOf.0","typeLabel":"string"},{"type":"null","description":"The mobile of the contact","uniqueKey":"data.items.[INDEX].mobile.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].mobile","typeLabel":"string | null"},"fax":{"oneOf":[{"type":"string","description":"The fax of the contact","uniqueKey":"data.items.[INDEX].fax.oneOf.0","typeLabel":"string"},{"type":"null","description":"The fax of the contact","uniqueKey":"data.items.[INDEX].fax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].fax","typeLabel":"string | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.items.[INDEX].addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.items.[INDEX].addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].addresses","typeLabel":"Addresses · object[] | null"}},"required":["platform_id"],"uniqueKey":"data.items.[INDEX]","typeLabel":"accountingUpdateContactFields · object"},"description":"The data of the Contacts endpoint","isRequired":true,"uniqueKey":"data","typeLabel":"accountingUpdateContactFields · object[]"},"run_async":{"oneOf":[{"type":"boolean","description":"Run the request asynchronously","uniqueKey":"run_async.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Run the request asynchronously","uniqueKey":"run_async.oneOf.1","typeLabel":"null"}],"uniqueKey":"run_async","typeLabel":"boolean | null"}},"uniqueKey":"","typeLabel":"accountingUpdateContactsRequest · object"},"examples":{"Example1":{"title":"Example1","value":{"company_id":123,"data":[{"platform_id":"f940c3c4-ada3-ee11-a568-6045bd732efb","name":"fguvkhg","contact_name":null,"contact_type":"CUSTOMER","currency_id":"00000000-0000-0000-0000-000000000000","tax_number":null,"registration_number":null,"status":null,"email":"abc@gmail.com","website":"www.abc.com","telephone":"1234567890","mobile":"1234567890","fax":"1234567890","addresses":[{"rootfi_id":278264,"platform_id":"CONTACTS_1af68894-ea9f-ee11-be36-7c1e520f50bc_ADDRESS","street":"123 Main Street","locality":"Main Street","city":"New York","state":"New York","pincode":"123456","country":"USA"}]}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"e7d4f13c-02f5-426e-86b7-7719f92f073c":{"description":"","content":{"application/json":{"schema":{"title":"accountingCreateContactsResponse","type":"object","properties":{"data":{"oneOf":[{"type":"object","title":"accountingContactObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the contact","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"},"invoices":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoiceObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency ID of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact ID of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].amount_due.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount due of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].amount_due.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].amount_due","typeLabel":"number\u003cdouble> | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The posted date of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].posted_date","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","description":"The due date of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].due_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The due date of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].due_date","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].status","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency_rate","typeLabel":"number\u003cdouble> | null"},"sales_order_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sales_order_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The sales order IDs of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sales_order_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The sales order IDs of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sales_order_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].sales_order_ids","typeLabel":"string[] | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].line_items","typeLabel":"LineItemFields · object[] | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].documents","typeLabel":"accountingDocumentObject · object[] | null"},"invoice_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].invoice_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble> | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingInvoicePaymentsAllFields · object"},"description":"The invoice payments of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.0","typeLabel":"accountingInvoicePaymentsAllFields · object[]"},{"type":"null","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice","uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX].invoice_payments","typeLabel":"accountingInvoicePaymentsAllFields · object[] | null"}},"uniqueKey":"data.oneOf.0.invoices.oneOf.0.items.[INDEX]","typeLabel":"accountingInvoiceObject · object"},"description":"Invoices for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.0","typeLabel":"accountingInvoiceObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingInvoiceObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the invoice"},{"type":"null","description":"The currency ID of the invoice"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the invoice"},{"type":"null","description":"The contact ID of the invoice"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the invoice"},{"type":"null","format":"double","description":"The total discount of the invoice"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the invoice"},{"type":"null","format":"double","description":"The sub total of the invoice"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the invoice"},{"type":"null","format":"double","description":"The tax amount of the invoice"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the invoice"},{"type":"null","format":"double","description":"The total amount of the invoice"}]},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the invoice"},{"type":"null","format":"double","description":"The amount due of the invoice"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice"},{"type":"null","description":"The document number of the invoice"}]},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the invoice"},{"type":"null","description":"The posted date of the invoice"}]},"due_date":{"oneOf":[{"type":"string","description":"The due date of the invoice"},{"type":"null","description":"The due date of the invoice"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice"},{"type":"null","description":"The memo of the invoice"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the invoice"},{"type":"null","description":"The updated at of the invoice"}]},"status":{"oneOf":[{"type":"string","description":"The status of the invoice"},{"type":"null","description":"The status of the invoice"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the invoice"},{"type":"null","format":"double","description":"The currency rate of the invoice"}]},"sales_order_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The sales order IDs of the invoice"},{"type":"null","items":{"type":"string"},"description":"The sales order IDs of the invoice"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice"}]},"invoice_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice"},{"type":"null","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice"}]}}},"description":"Invoices for the contact","uniqueKey":"data.oneOf.0.invoices.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoices","typeLabel":"accountingInvoiceObject · object[] | null"},"bills":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillObject","required":["updated_at","rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"updated_at":{"type":"string","description":"The updated at of the bill","example":"2024-01-25T09:00:00Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].updated_at","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency ID of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact ID of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].amount_due.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount due of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].amount_due.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].amount_due","typeLabel":"number\u003cdouble> | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The posted date of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].posted_date","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","description":"The due date of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].due_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The due date of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].due_date","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].status","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency_rate","typeLabel":"number\u003cdouble> | null"},"purchase_order_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].purchase_order_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The purchase order IDs of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].purchase_order_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The purchase order IDs of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].purchase_order_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].purchase_order_ids","typeLabel":"string[] | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].line_items","typeLabel":"LineItemFields · object[] | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].documents","typeLabel":"accountingDocumentObject · object[] | null"},"bill_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].bill_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].amount","typeLabel":"string | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingBillPaymentsAllFields · object"},"description":"The bill payments of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.0","typeLabel":"accountingBillPaymentsAllFields · object[]"},{"type":"null","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill","uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX].bill_payments","typeLabel":"accountingBillPaymentsAllFields · object[] | null"}},"uniqueKey":"data.oneOf.0.bills.oneOf.0.items.[INDEX]","typeLabel":"accountingBillObject · object"},"description":"Bills for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.0","typeLabel":"accountingBillObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingBillObject","required":["updated_at","rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the bill"},{"type":"null","description":"The currency ID of the bill"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the bill"},{"type":"null","description":"The contact ID of the bill"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the bill"},{"type":"null","format":"double","description":"The total discount of the bill"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the bill"},{"type":"null","format":"double","description":"The sub total of the bill"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the bill"},{"type":"null","format":"double","description":"The tax amount of the bill"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the bill"},{"type":"null","format":"double","description":"The total amount of the bill"}]},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the bill"},{"type":"null","format":"double","description":"The amount due of the bill"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill"},{"type":"null","description":"The document number of the bill"}]},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the bill"},{"type":"null","description":"The posted date of the bill"}]},"due_date":{"oneOf":[{"type":"string","description":"The due date of the bill"},{"type":"null","description":"The due date of the bill"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill"},{"type":"null","description":"The memo of the bill"}]},"updated_at":{"type":"string","description":"The updated at of the bill","example":"2024-01-25T09:00:00Z"},"status":{"oneOf":[{"type":"string","description":"The status of the bill"},{"type":"null","description":"The status of the bill"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the bill"},{"type":"null","format":"double","description":"The currency rate of the bill"}]},"purchase_order_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The purchase order IDs of the bill"},{"type":"null","items":{"type":"string"},"description":"The purchase order IDs of the bill"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill"}]},"bill_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill"},{"type":"null","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill"}]}}},"description":"Bills for the contact","uniqueKey":"data.oneOf.0.bills.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bills","typeLabel":"accountingBillObject · object[] | null"},"invoice_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoicePaymentsObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble> | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"invoice":{"oneOf":[{"type":"object","title":"accountingInvoiceObject","description":"The invoice object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.data_hash","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency ID of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_id","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact ID of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact_id","typeLabel":"string | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_discount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.tax_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.total_amount","typeLabel":"number\u003cdouble> | null"},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.amount_due.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount due of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.amount_due.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.amount_due","typeLabel":"number\u003cdouble> | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.document_number","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The posted date of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.posted_date","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","description":"The due date of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.due_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The due date of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.due_date","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.status","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency_rate","typeLabel":"number\u003cdouble> | null"},"sales_order_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sales_order_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The sales order IDs of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sales_order_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The sales order IDs of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sales_order_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.sales_order_ids","typeLabel":"string[] | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.line_items","typeLabel":"LineItemFields · object[] | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.contact","typeLabel":"accountingContactAllFields · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.documents","typeLabel":"accountingDocumentObject · object[] | null"},"invoice_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The invoice id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble> | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the invoice payments","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingInvoicePaymentsAllFields · object"},"description":"The invoice payments of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.0","typeLabel":"accountingInvoicePaymentsAllFields · object[]"},{"type":"null","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0.invoice_payments","typeLabel":"accountingInvoicePaymentsAllFields · object[] | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.0","typeLabel":"accountingInvoiceObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].invoice","typeLabel":"accountingInvoiceObject · object | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"}},"uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingInvoicePaymentsObject · object"},"description":"Invoice payments for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.0","typeLabel":"accountingInvoicePaymentsObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingInvoicePaymentsObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]},"invoice":{"oneOf":[{"type":"object","title":"accountingInvoiceObject","description":"The invoice object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the invoice"},{"type":"null","description":"The currency ID of the invoice"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the invoice"},{"type":"null","description":"The contact ID of the invoice"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the invoice"},{"type":"null","format":"double","description":"The total discount of the invoice"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the invoice"},{"type":"null","format":"double","description":"The sub total of the invoice"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the invoice"},{"type":"null","format":"double","description":"The tax amount of the invoice"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the invoice"},{"type":"null","format":"double","description":"The total amount of the invoice"}]},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the invoice"},{"type":"null","format":"double","description":"The amount due of the invoice"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice"},{"type":"null","description":"The document number of the invoice"}]},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the invoice"},{"type":"null","description":"The posted date of the invoice"}]},"due_date":{"oneOf":[{"type":"string","description":"The due date of the invoice"},{"type":"null","description":"The due date of the invoice"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice"},{"type":"null","description":"The memo of the invoice"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the invoice"},{"type":"null","description":"The updated at of the invoice"}]},"status":{"oneOf":[{"type":"string","description":"The status of the invoice"},{"type":"null","description":"The status of the invoice"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the invoice"},{"type":"null","format":"double","description":"The currency rate of the invoice"}]},"sales_order_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The sales order IDs of the invoice"},{"type":"null","items":{"type":"string"},"description":"The sales order IDs of the invoice"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the invoice"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the invoice","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the invoice"}]},"invoice_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice"},{"type":"null","items":{"type":"object","title":"accountingInvoicePaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the invoice payments"},{"type":"null","description":"The payment id of the invoice payments"}]},"invoice_id":{"oneOf":[{"type":"string","description":"The invoice id of the invoice payments"},{"type":"null","description":"The invoice id of the invoice payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the invoice payments"},{"type":"null","description":"The account id of the invoice payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the invoice payments"},{"type":"null","description":"The credit note id of the invoice payments"}]},"amount":{"oneOf":[{"type":"number","format":"double","description":"The amount of the invoice payments"},{"type":"null","format":"double","description":"The amount of the invoice payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the invoice payments"},{"type":"null","description":"The payment mode of the invoice payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the invoice payments"},{"type":"null","description":"The currency id of the invoice payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the invoice payments"},{"type":"null","description":"The currency rate of the invoice payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the invoice payments"},{"type":"null","description":"The memo of the invoice payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the invoice payments"},{"type":"null","description":"The updated date of the invoice payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the invoice payments"},{"type":"null","description":"The payment date of the invoice payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the invoice payments"},{"type":"null","description":"The contact id of the invoice payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the invoice payments"},{"type":"null","description":"The document number of the invoice payments"}]}}},"description":"The invoice payments of the invoice"}]}}},{"type":"null"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact object of the invoice payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]}}},"description":"Invoice payments for the contact","uniqueKey":"data.oneOf.0.invoice_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.invoice_payments","typeLabel":"accountingInvoicePaymentsObject · object[] | null"},"bill_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillPaymentsObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount","typeLabel":"string | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"bill":{"oneOf":[{"type":"object","title":"accountingBillObject","description":"The bill of the bill payments","required":["updated_at","rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.platform_id","typeLabel":"string"},"updated_at":{"type":"string","description":"The updated at of the bill","example":"2024-01-25T09:00:00Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.updated_at","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.data_hash","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency ID of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_id","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact ID of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact_id","typeLabel":"string | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_discount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.tax_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.total_amount","typeLabel":"number\u003cdouble> | null"},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.amount_due.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The amount due of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.amount_due.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.amount_due","typeLabel":"number\u003cdouble> | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.document_number","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The posted date of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.posted_date","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","description":"The due date of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.due_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The due date of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.due_date","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.memo","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.status","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency_rate","typeLabel":"number\u003cdouble> | null"},"purchase_order_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.purchase_order_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The purchase order IDs of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.purchase_order_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The purchase order IDs of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.purchase_order_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.purchase_order_ids","typeLabel":"string[] | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.line_items","typeLabel":"LineItemFields · object[] | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.contact","typeLabel":"accountingContactAllFields · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.documents","typeLabel":"accountingDocumentObject · object[] | null"},"bill_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_id","typeLabel":"string | null"},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bill id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The credit note id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].credit_note_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"string"},{"type":"null","description":"The amount of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].amount","typeLabel":"string | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency rate of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency_rate","typeLabel":"string | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment date of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].payment_date","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the bill payments","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingBillPaymentsAllFields · object"},"description":"The bill payments of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.0","typeLabel":"accountingBillPaymentsAllFields · object[]"},{"type":"null","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0.bill_payments","typeLabel":"accountingBillPaymentsAllFields · object[] | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.0","typeLabel":"accountingBillObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].bill","typeLabel":"accountingBillObject · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"}},"uniqueKey":"data.oneOf.0.bill_payments.oneOf.0.items.[INDEX]","typeLabel":"accountingBillPaymentsObject · object"},"description":"Bill payments for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.0","typeLabel":"accountingBillPaymentsObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingBillPaymentsObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"bill":{"oneOf":[{"type":"object","title":"accountingBillObject","description":"The bill of the bill payments","required":["updated_at","rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency ID of the bill"},{"type":"null","description":"The currency ID of the bill"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the bill"},{"type":"null","description":"The contact ID of the bill"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the bill"},{"type":"null","format":"double","description":"The total discount of the bill"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the bill"},{"type":"null","format":"double","description":"The sub total of the bill"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the bill"},{"type":"null","format":"double","description":"The tax amount of the bill"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the bill"},{"type":"null","format":"double","description":"The total amount of the bill"}]},"amount_due":{"oneOf":[{"type":"number","format":"double","description":"The amount due of the bill"},{"type":"null","format":"double","description":"The amount due of the bill"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill"},{"type":"null","description":"The document number of the bill"}]},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the bill"},{"type":"null","description":"The posted date of the bill"}]},"due_date":{"oneOf":[{"type":"string","description":"The due date of the bill"},{"type":"null","description":"The due date of the bill"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill"},{"type":"null","description":"The memo of the bill"}]},"updated_at":{"type":"string","description":"The updated at of the bill","example":"2024-01-25T09:00:00Z"},"status":{"oneOf":[{"type":"string","description":"The status of the bill"},{"type":"null","description":"The status of the bill"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the bill"},{"type":"null","format":"double","description":"The currency rate of the bill"}]},"purchase_order_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The purchase order IDs of the bill"},{"type":"null","items":{"type":"string"},"description":"The purchase order IDs of the bill"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the bill"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the bill"}]},"bill_payments":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill"},{"type":"null","items":{"type":"object","title":"accountingBillPaymentsAllFields","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"payment_id":{"oneOf":[{"type":"string","description":"The payment id of the bill payments"},{"type":"null","description":"The payment id of the bill payments"}]},"bill_id":{"oneOf":[{"type":"string","description":"The bill id of the bill payments"},{"type":"null","description":"The bill id of the bill payments"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bill payments"},{"type":"null","description":"The account id of the bill payments"}]},"credit_note_id":{"oneOf":[{"type":"string","description":"The credit note id of the bill payments"},{"type":"null","description":"The credit note id of the bill payments"}]},"amount":{"oneOf":[{"type":"string","description":"The amount of the bill payments"},{"type":"null","description":"The amount of the bill payments"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the bill payments"},{"type":"null","description":"The payment mode of the bill payments"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bill payments"},{"type":"null","description":"The currency id of the bill payments"}]},"currency_rate":{"oneOf":[{"type":"string","description":"The currency rate of the bill payments"},{"type":"null","description":"The currency rate of the bill payments"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the bill payments"},{"type":"null","description":"The memo of the bill payments"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the bill payments"},{"type":"null","description":"The updated date of the bill payments"}]},"payment_date":{"oneOf":[{"type":"string","description":"The payment date of the bill payments"},{"type":"null","description":"The payment date of the bill payments"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bill payments"},{"type":"null","description":"The contact id of the bill payments"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the bill payments"},{"type":"null","description":"The document number of the bill payments"}]},"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]}}},"description":"The bill payments of the bill"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bill payments","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]}}},"description":"Bill payments for the contact","uniqueKey":"data.oneOf.0.bill_payments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bill_payments","typeLabel":"accountingBillPaymentsObject · object[] | null"},"expenses":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingExpenseObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact ID of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account ID of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account ID of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The posted date of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].posted_date","typeLabel":"string | null"},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].payment_mode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The payment mode of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].payment_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].payment_mode","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency_rate","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"memo":{"oneOf":[{"type":"string","description":"The memo of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].memo.oneOf.0","typeLabel":"string"},{"type":"null","description":"The memo of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].memo.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].memo","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].line_items","typeLabel":"LineItemFields · object[] | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Expense","uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX].documents","typeLabel":"accountingDocumentObject · object[] | null"}},"uniqueKey":"data.oneOf.0.expenses.oneOf.0.items.[INDEX]","typeLabel":"accountingExpenseObject · object"},"description":"Expenses for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.0","typeLabel":"accountingExpenseObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingExpenseObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact ID of the Expense"},{"type":"null","description":"The contact ID of the Expense"}]},"account_id":{"oneOf":[{"type":"string","description":"The account ID of the Expense"},{"type":"null","description":"The account ID of the Expense"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the Expense"},{"type":"null","description":"The document number of the Expense"}]},"posted_date":{"oneOf":[{"type":"string","description":"The posted date of the Expense"},{"type":"null","description":"The posted date of the Expense"}]},"payment_mode":{"oneOf":[{"type":"string","description":"The payment mode of the Expense"},{"type":"null","description":"The payment mode of the Expense"}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code of the Expense"},{"type":"null","description":"The ISO-4217 currency code of the Expense"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the Expense"},{"type":"null","format":"double","description":"The currency rate of the Expense"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the Expense"},{"type":"null","format":"double","description":"The total amount of the Expense"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the Expense"},{"type":"null","format":"double","description":"The sub total of the Expense"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the Expense"},{"type":"null","format":"double","description":"The tax amount of the Expense"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the Expense"},{"type":"null","format":"double","description":"The total discount of the Expense"}]},"memo":{"oneOf":[{"type":"string","description":"The memo of the Expense"},{"type":"null","description":"The memo of the Expense"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the Expense"},{"type":"null","description":"The updated at of the Expense"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Expense"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Expense"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the Expense","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Expense"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Expense"}]}}},"description":"Expenses for the contact","uniqueKey":"data.oneOf.0.expenses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.expenses","typeLabel":"accountingExpenseObject · object[] | null"},"purchase_orders":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingPurchaseOrdersObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The date the Purchase order was posted","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the Purchase order was posted","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].posted_date","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"The description of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency_rate","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"bill_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].bill_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The bill ids of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].bill_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The bill ids of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].bill_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].bill_ids","typeLabel":"string[] | null"},"delivery_date":{"oneOf":[{"type":"string","description":"The delivery date of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].delivery_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The delivery date of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].delivery_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].delivery_date","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].status","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].line_items","typeLabel":"LineItemFields · object[] | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Purchase order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Purchase order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Purchase order","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX].documents","typeLabel":"accountingDocumentObject · object[] | null"}},"uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0.items.[INDEX]","typeLabel":"accountingPurchaseOrdersObject · object"},"description":"Purchase orders for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.0","typeLabel":"accountingPurchaseOrdersObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingPurchaseOrdersObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"posted_date":{"oneOf":[{"type":"string","description":"The date the Purchase order was posted"},{"type":"null","description":"The date the Purchase order was posted"}]},"description":{"oneOf":[{"type":"string","description":"The description of the Purchase order"},{"type":"null","description":"The description of the Purchase order"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency of the Purchase order"},{"type":"null","description":"The currency of the Purchase order"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the Purchase order"},{"type":"null","format":"double","description":"The currency rate of the Purchase order"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the Purchase order"},{"type":"null","format":"double","description":"The sub total of the Purchase order"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the Purchase order"},{"type":"null","format":"double","description":"The total amount of the Purchase order"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the Purchase order"},{"type":"null","format":"double","description":"The total discount of the Purchase order"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the Purchase order"},{"type":"null","format":"double","description":"The tax amount of the Purchase order"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the Purchase order"},{"type":"null","description":"The updated at of the Purchase order"}]},"bill_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The bill ids of the Purchase order"},{"type":"null","items":{"type":"string"},"description":"The bill ids of the Purchase order"}]},"delivery_date":{"oneOf":[{"type":"string","description":"The delivery date of the Purchase order"},{"type":"null","description":"The delivery date of the Purchase order"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the Purchase order"},{"type":"null","description":"The document number of the Purchase order"}]},"status":{"oneOf":[{"type":"string","description":"The status of the Purchase order"},{"type":"null","description":"The status of the Purchase order"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the Purchase order"},{"type":"null","description":"The contact id of the Purchase order"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Purchase order"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the Purchase order"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Purchase order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Purchase order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Purchase order"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Purchase order"}]}}},"description":"Purchase orders for the contact","uniqueKey":"data.oneOf.0.purchase_orders.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.purchase_orders","typeLabel":"accountingPurchaseOrdersObject · object[] | null"},"sales_orders":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingSalesOrdersObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"posted_date":{"oneOf":[{"type":"string","description":"The date the sales order was posted","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].posted_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the sales order was posted","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].posted_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].posted_date","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"The description of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The currency rate of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency_rate","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"invoice_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].invoice_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The invoice ids of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].invoice_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The invoice ids of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].invoice_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].invoice_ids","typeLabel":"string[] | null"},"delivery_date":{"oneOf":[{"type":"string","description":"The delivery date of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].delivery_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The delivery date of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].delivery_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].delivery_date","typeLabel":"string | null"},"document_number":{"oneOf":[{"type":"string","description":"The document number of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].document_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document number of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].document_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].document_number","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].status","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble> | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type","typeLabel":"enum\u003cstring> | null"},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The line item type id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].line_item_type_id","typeLabel":"string | null"},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tracking_category_ids","typeLabel":"string[] | null"},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The project id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].project_id","typeLabel":"string | null"},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The item id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item_id","typeLabel":"string | null"},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.description","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Reference code of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reference code of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.code","typeLabel":"string | null"},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Quantity on hand","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.quantity_on_hand","typeLabel":"integer | null"},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_bill_item","typeLabel":"boolean | null"},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.bill_item","typeLabel":"accountingItemDetail · object | null"},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.is_invoice_item","typeLabel":"boolean | null"},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax id of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.tax_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.account_id","typeLabel":"string | null"},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Unit price of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.unit_price","typeLabel":"number\u003cdouble> | null"},"description":{"oneOf":[{"type":"string","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0.description","typeLabel":"string | null"}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.0","typeLabel":"accountingItemDetail · object"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.invoice_item","typeLabel":"accountingItemDetail · object | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the item was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.0","typeLabel":"accountingItemObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].item","typeLabel":"accountingItemObject · object | null"},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_id","typeLabel":"string | null"},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simple ID for the tax rate","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.code","typeLabel":"string | null"},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of tax as mentioned in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.tax_type","typeLabel":"string | null"},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.effective_tax_rate","typeLabel":"number\u003cdouble> | null"},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sum of all the tax rate components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.total_tax_rate","typeLabel":"number\u003cdouble> | null"},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].rate","typeLabel":"number\u003cdouble> | null"},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.0","typeLabel":"string"},{"type":"null","description":"The tax agency of the tax rate component","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].tax_agency","typeLabel":"string | null"},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the tax rate component is compound","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX].is_compound","typeLabel":"boolean | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0.items.[INDEX]","typeLabel":"accountingTaxRateComponent · object"},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.0","typeLabel":"accountingTaxRateComponent · object[]"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.components","typeLabel":"accountingTaxRateComponent · object[] | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last time the tax rate was updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.0","typeLabel":"accountingTaxRateObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax","typeLabel":"accountingTaxRateObject · object | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"description":{"oneOf":[{"type":"string","description":"The description of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The quantity of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].quantity","typeLabel":"number\u003cdouble> | null"},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The unit amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].unit_amount","typeLabel":"number\u003cdouble> | null"},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_amount","typeLabel":"number\u003cdouble> | null"},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The sub total of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].sub_total","typeLabel":"number\u003cdouble> | null"},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The tax amount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].tax_amount","typeLabel":"number\u003cdouble> | null"},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The total discount of the line item","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].total_discount","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0.items.[INDEX]","typeLabel":"LineItemFields · object"},"description":"The line items of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.0","typeLabel":"LineItemFields · object[]"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].line_items","typeLabel":"LineItemFields · object[] | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Sales order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Sales order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file name of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_name","typeLabel":"string | null"},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file type of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_type","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file size of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].file_size","typeLabel":"string | null"},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to.","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type_id","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The document type of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_type","typeLabel":"string | null"},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The document uploaded of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].document_uploaded","typeLabel":"boolean | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated date of the document","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0.items.[INDEX]","typeLabel":"accountingDocumentObject · object"},"description":"The documents of the Sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.0","typeLabel":"accountingDocumentObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Sales order","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX].documents","typeLabel":"accountingDocumentObject · object[] | null"}},"uniqueKey":"data.oneOf.0.sales_orders.oneOf.0.items.[INDEX]","typeLabel":"accountingSalesOrdersObject · object"},"description":"Sales orders for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.0","typeLabel":"accountingSalesOrdersObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingSalesOrdersObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"posted_date":{"oneOf":[{"type":"string","description":"The date the sales order was posted"},{"type":"null","description":"The date the sales order was posted"}]},"description":{"oneOf":[{"type":"string","description":"The description of the sales order"},{"type":"null","description":"The description of the sales order"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency of the sales order"},{"type":"null","description":"The currency of the sales order"}]},"currency_rate":{"oneOf":[{"type":"number","format":"double","description":"The currency rate of the sales order"},{"type":"null","format":"double","description":"The currency rate of the sales order"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the sales order"},{"type":"null","format":"double","description":"The sub total of the sales order"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the sales order"},{"type":"null","format":"double","description":"The total amount of the sales order"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the sales order"},{"type":"null","format":"double","description":"The total discount of the sales order"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the sales order"},{"type":"null","format":"double","description":"The tax amount of the sales order"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the sales order"},{"type":"null","description":"The updated at of the sales order"}]},"invoice_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The invoice ids of the sales order"},{"type":"null","items":{"type":"string"},"description":"The invoice ids of the sales order"}]},"delivery_date":{"oneOf":[{"type":"string","description":"The delivery date of the sales order"},{"type":"null","description":"The delivery date of the sales order"}]},"document_number":{"oneOf":[{"type":"string","description":"The document number of the sales order"},{"type":"null","description":"The document number of the sales order"}]},"status":{"oneOf":[{"type":"string","description":"The status of the sales order"},{"type":"null","description":"The status of the sales order"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the sales order"},{"type":"null","description":"The contact id of the sales order"}]},"line_items":{"oneOf":[{"type":"array","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the sales order"},{"type":"null","items":{"title":"LineItemFields","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"number","format":"double","description":"The unique ID we assign for that data's information"},{"type":"null","format":"double","description":"The unique ID we assign for that data's information"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform id of the line item"},{"type":"null","description":"The platform id of the line item"}]},"line_item_type":{"oneOf":[{"title":"AccountingLineItemtype","type":"string","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"},{"title":"AccountingLineItemtype","type":"null","enum":["BILLS","INVOICES","BILL_CREDIT_NOTES","INVOICE_CREDIT_NOTES","EXPENSES","PURCHASE_ORDERS","SALES_ORDERS"],"description":"The line item type of the line item"}]},"line_item_type_id":{"oneOf":[{"type":"string","description":"The line item type id of the line item"},{"type":"null","description":"The line item type id of the line item"}]},"tracking_category_ids":{"oneOf":[{"type":"array","items":{"type":"string"},"description":"The tracking category ids of the line item"},{"type":"null","items":{"type":"string"},"description":"The tracking category ids of the line item"}]},"project_id":{"oneOf":[{"type":"string","description":"The project id of the line item"},{"type":"null","description":"The project id of the line item"}]},"item_id":{"oneOf":[{"type":"string","description":"The item id of the line item"},{"type":"null","description":"The item id of the line item"}]},"item":{"oneOf":[{"type":"object","title":"accountingItemObject","description":"The item of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the item"},{"type":"null","description":"Name of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"Status of the item. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"type":{"oneOf":[{"title":"ItemType","type":"string","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"},{"title":"ItemType","type":"null","enum":["INVENTORY","NON_INVENTORY","SERVICE","UNKNOWN"],"description":"Type of the item. Values are INVENTORY, NON_INVENTORY, SERVICE, UNKNOWN"}]},"code":{"oneOf":[{"type":"string","description":"Reference code of the item"},{"type":"null","description":"Reference code of the item"}]},"quantity_on_hand":{"oneOf":[{"type":"integer","description":"Quantity on hand"},{"type":"null","description":"Quantity on hand"}]},"is_bill_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (bill_item) of this item getting purchased"},{"type":"null","description":"Check if there are details (bill_item) of this item getting purchased"}]},"bill_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting purchased"}]},"is_invoice_item":{"oneOf":[{"type":"boolean","description":"Check if there are details (invoice_item) of this item getting sold"},{"type":"null","description":"Check if there are details (invoice_item) of this item getting sold"}]},"invoice_item":{"oneOf":[{"title":"accountingItemDetail","type":"object","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"},{"title":"accountingItemDetail","type":"null","properties":{"tax_id":{"oneOf":[{"type":"string","description":"Tax id of the item"},{"type":"null","description":"Tax id of the item"}]},"account_id":{"oneOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"oneOf":[{"type":"number","format":"double","description":"Unit price of the item"},{"type":"null","format":"double","description":"Unit price of the item"}]},"description":{"oneOf":[{"type":"string","description":"Description of the item"},{"type":"null","description":"Description of the item"}]}},"description":"Item details of this item getting sold"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the item was last updated"},{"type":"null","description":"The date the item was last updated"}]}}},{"type":"null"}]},"tax_id":{"oneOf":[{"type":"string","description":"The tax id of the line item"},{"type":"null","description":"The tax id of the line item"}]},"tax":{"oneOf":[{"type":"object","title":"accountingTaxRateObject","description":"The tax of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"code":{"oneOf":[{"type":"string","description":"Simple ID for the tax rate"},{"type":"null","description":"Simple ID for the tax rate"}]},"tax_type":{"oneOf":[{"type":"string","description":"The type of tax as mentioned in the accounting platform"},{"type":"null","description":"The type of tax as mentioned in the accounting platform"}]},"effective_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"total_tax_rate":{"oneOf":[{"type":"number","format":"double","description":"The sum of all the tax rate components"},{"type":"null","format":"double","description":"The sum of all the tax rate components"}]},"components":{"oneOf":[{"type":"array","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"},{"type":"null","items":{"title":"accountingTaxRateComponent","type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"Display name"},{"type":"null","description":"Display name"}]},"rate":{"oneOf":[{"type":"number","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"},{"type":"null","format":"double","description":"The total tax rate after accounting for the compounding effects of the all tax components"}]},"tax_agency":{"oneOf":[{"type":"string","description":"The tax agency of the tax rate component"},{"type":"null","description":"The tax agency of the tax rate component"}]},"is_compound":{"oneOf":[{"type":"boolean","description":"Whether the tax rate component is compound"},{"type":"null","description":"Whether the tax rate component is compound"}]}}},"description":"The list of tax rate components"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last time the tax rate was updated"},{"type":"null","description":"The last time the tax rate was updated"}]}}},{"type":"null"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the line item"},{"type":"null","description":"The account id of the line item"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the line item","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"description":{"oneOf":[{"type":"string","description":"The description of the line item"},{"type":"null","description":"The description of the line item"}]},"quantity":{"oneOf":[{"type":"number","format":"double","description":"The quantity of the line item"},{"type":"null","format":"double","description":"The quantity of the line item"}]},"unit_amount":{"oneOf":[{"type":"number","format":"double","description":"The unit amount of the line item"},{"type":"null","format":"double","description":"The unit amount of the line item"}]},"total_amount":{"oneOf":[{"type":"number","format":"double","description":"The total amount of the line item"},{"type":"null","format":"double","description":"The total amount of the line item"}]},"sub_total":{"oneOf":[{"type":"number","format":"double","description":"The sub total of the line item"},{"type":"null","format":"double","description":"The sub total of the line item"}]},"tax_amount":{"oneOf":[{"type":"number","format":"double","description":"The tax amount of the line item"},{"type":"null","format":"double","description":"The tax amount of the line item"}]},"total_discount":{"oneOf":[{"type":"number","format":"double","description":"The total discount of the line item"},{"type":"null","format":"double","description":"The total discount of the line item"}]},"updated_at":{"oneOf":[{"type":"string","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","format":"date-time","description":"The last ISO 8601 timestamp that the data was updated at"}]}}},"description":"The line items of the sales order"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the Sales order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the Sales order","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]},"documents":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Sales order"},{"type":"null","items":{"type":"object","title":"accountingDocumentObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"file_name":{"oneOf":[{"type":"string","description":"The file name of the document"},{"type":"null","description":"The file name of the document"}]},"file_type":{"oneOf":[{"type":"string","description":"The file type of the document"},{"type":"null","description":"The file type of the document"}]},"file_size":{"oneOf":[{"type":"string","description":"The file size of the document"},{"type":"null","description":"The file size of the document"}]},"document_type_id":{"oneOf":[{"type":"string","description":"The platform_id of the voucher to which the file will be linked to."},{"type":"null","description":"The platform_id of the voucher to which the file will be linked to."}]},"document_type":{"oneOf":[{"type":"string","description":"The document type of the document"},{"type":"null","description":"The document type of the document"}]},"document_uploaded":{"oneOf":[{"type":"boolean","description":"The document uploaded of the document"},{"type":"null","description":"The document uploaded of the document"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated date of the document"},{"type":"null","description":"The updated date of the document"}]}}},"description":"The documents of the Sales order"}]}}},"description":"Sales orders for the contact","uniqueKey":"data.oneOf.0.sales_orders.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.sales_orders","typeLabel":"accountingSalesOrdersObject · object[] | null"},"bank_transactions":{"oneOf":[{"type":"array","items":{"type":"object","title":"accountingBankTransactionObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].data_hash","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact_id","typeLabel":"string | null"},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account_id","typeLabel":"string | null"},"from_account_id":{"oneOf":[{"type":"string","description":"The from account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The from account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account_id","typeLabel":"string | null"},"to_account_id":{"oneOf":[{"type":"string","description":"The to account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The to account id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account_id","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_id","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"integer","description":"The amount of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].amount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The amount of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].amount","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The type of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].type","typeLabel":"string | null"},"debit_or_credit":{"oneOf":[{"type":"string","description":"The debit or credit of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].debit_or_credit.oneOf.0","typeLabel":"string"},{"type":"null","description":"The debit or credit of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].debit_or_credit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].debit_or_credit","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].status","typeLabel":"string | null"},"currency_rate":{"oneOf":[{"type":"integer","description":"The currency rate of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_rate.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The currency rate of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency_rate","typeLabel":"integer | null"},"transaction_date":{"oneOf":[{"type":"string","description":"The transaction date of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].transaction_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The transaction date of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].transaction_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].transaction_date","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The updated at of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].updated_at","typeLabel":"string | null"},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account_id","typeLabel":"string | null"},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","description":"Description of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.description","typeLabel":"string | null"},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The nominal code of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.nominal_code","typeLabel":"string | null"},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The current balance of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.current_balance","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the account was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.updated_at","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"The status of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The status of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.status","typeLabel":"string | null"},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.category","typeLabel":"enum\u003cstring> | null"},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sub category of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.sub_category","typeLabel":"string | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.currency_id","typeLabel":"string | null"},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent account id of the account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0.parent_account_id","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.0","typeLabel":"accountingAccountAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.parent_account","typeLabel":"accountingAccountAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.0","typeLabel":"accountingAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].account","typeLabel":"accountingAccountObject · object | null"},"from_account":{"oneOf":[{"type":"object","title":"accountingBankAccountObject","description":"The from account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.data_hash","typeLabel":"string | null"},"institution_name":{"oneOf":[{"type":"string","description":"The name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.institution_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.institution_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.institution_name","typeLabel":"string | null"},"account_name":{"oneOf":[{"type":"string","description":"Name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_name","typeLabel":"string | null"},"account_number":{"oneOf":[{"type":"string","description":"The bank account number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bank account number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.account_number","typeLabel":"string | null"},"balance":{"oneOf":[{"type":"number","format":"double","description":"Balance of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Balance of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.balance","typeLabel":"number\u003cdouble> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency_id","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","description":"The category of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The category of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.category","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.updated_at","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bank account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.0","typeLabel":"accountingBankAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].from_account","typeLabel":"accountingBankAccountObject · object | null"},"to_account":{"oneOf":[{"type":"object","title":"accountingBankAccountObject","description":"The to account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.data_hash","typeLabel":"string | null"},"institution_name":{"oneOf":[{"type":"string","description":"The name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.institution_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.institution_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.institution_name","typeLabel":"string | null"},"account_name":{"oneOf":[{"type":"string","description":"Name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_name","typeLabel":"string | null"},"account_number":{"oneOf":[{"type":"string","description":"The bank account number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The bank account number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.account_number","typeLabel":"string | null"},"balance":{"oneOf":[{"type":"number","format":"double","description":"Balance of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.balance.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Balance of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.balance","typeLabel":"number\u003cdouble> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency id of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency_id","typeLabel":"string | null"},"category":{"oneOf":[{"type":"string","description":"The category of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.category.oneOf.0","typeLabel":"string"},{"type":"null","description":"The category of the bank account","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.category","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.updated_at","typeLabel":"string | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bank account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0.currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.0","typeLabel":"accountingBankAccountObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].to_account","typeLabel":"accountingBankAccountObject · object | null"},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.name","typeLabel":"string | null"},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the contact person for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_name","typeLabel":"string | null"},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.contact_type","typeLabel":"enum\u003cstring> | null"},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ISO-4217 currency code","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.currency_id","typeLabel":"string | null"},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s tax number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.tax_number","typeLabel":"string | null"},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact’s identifying number","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.registration_number","typeLabel":"string | null"},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.status","typeLabel":"enum\u003cstring> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date the contact was last updated","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.updated_at","typeLabel":"string | null"},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"link":{"oneOf":[{"type":"string","description":"The link to the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.0","typeLabel":"string"},{"type":"null","description":"The link to the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].link","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0.items.[INDEX]","typeLabel":"ExternalLinks · object"},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.0","typeLabel":"ExternalLinks · object[]"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.external_links","typeLabel":"ExternalLinks · object[] | null"},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"number":{"oneOf":[{"type":"string","description":"The number to the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number to the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].number","typeLabel":"string | null"},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0.items.[INDEX]","typeLabel":"PhoneNumbers · object"},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.0","typeLabel":"PhoneNumbers · object[]"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.phone_numbers","typeLabel":"PhoneNumbers · object[] | null"},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The RootFi ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].rootfi_id","typeLabel":"integer | null"},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The platform ID of the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].platform_id","typeLabel":"string | null"},"street":{"oneOf":[{"type":"string","description":"The street of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.0","typeLabel":"string"},{"type":"null","description":"The street of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].street","typeLabel":"string | null"},"locality":{"oneOf":[{"type":"string","description":"The locality of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locality of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].locality","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"The city of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.0","typeLabel":"string"},{"type":"null","description":"The city of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"The state of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.0","typeLabel":"string"},{"type":"null","description":"The state of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].state","typeLabel":"string | null"},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pincode of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].pincode","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"The country of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.0","typeLabel":"string"},{"type":"null","description":"The country of the address","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX].country","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0.items.[INDEX]","typeLabel":"Addresses · object"},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.0","typeLabel":"Addresses · object[]"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0.addresses","typeLabel":"Addresses · object[] | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.0","typeLabel":"accountingContactAllFields · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].contact","typeLabel":"accountingContactAllFields · object | null"},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_id","typeLabel":"number\u003cdouble>"},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_created_at","typeLabel":"string\u003cdate-time>"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_updated_at","typeLabel":"string\u003cdate-time>"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089,"isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_company_id","typeLabel":"number\u003cdouble>"},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456","isRequired":true,"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.platform_id","typeLabel":"string"},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.rootfi_deleted_at","typeLabel":"string\u003cdate-time> | null"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The ID of the data in the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.platform_unique_id","typeLabel":"string | null"},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.raw_data","typeLabel":"object | null"},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hash of the data","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.data_hash","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The name of the currency","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.name","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The currency code.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.code","typeLabel":"string | null"},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.symbol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.symbol","typeLabel":"string | null"},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the currency is the base currency for the company.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.is_base_currency","typeLabel":"boolean | null"},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"The exchange rate for the currency.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.exchange_rate","typeLabel":"number\u003cdouble> | null"},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at.","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0.updated_at","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.0","typeLabel":"accountingCurrencyObject · object"},{"type":"null","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX].currency","typeLabel":"accountingCurrencyObject · object | null"}},"uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0.items.[INDEX]","typeLabel":"accountingBankTransactionObject · object"},"description":"Bank transactions for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.0","typeLabel":"accountingBankTransactionObject · object[]"},{"type":"null","items":{"type":"object","title":"accountingBankTransactionObject","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"contact_id":{"oneOf":[{"type":"string","description":"The contact id of the bank account"},{"type":"null","description":"The contact id of the bank account"}]},"account_id":{"oneOf":[{"type":"string","description":"The account id of the bank account"},{"type":"null","description":"The account id of the bank account"}]},"from_account_id":{"oneOf":[{"type":"string","description":"The from account id of the bank account"},{"type":"null","description":"The from account id of the bank account"}]},"to_account_id":{"oneOf":[{"type":"string","description":"The to account id of the bank account"},{"type":"null","description":"The to account id of the bank account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account"},{"type":"null","description":"The currency id of the bank account"}]},"amount":{"oneOf":[{"type":"integer","description":"The amount of the bank account"},{"type":"null","description":"The amount of the bank account"}]},"type":{"oneOf":[{"type":"string","description":"The type of the bank account"},{"type":"null","description":"The type of the bank account"}]},"debit_or_credit":{"oneOf":[{"type":"string","description":"The debit or credit of the bank account"},{"type":"null","description":"The debit or credit of the bank account"}]},"status":{"oneOf":[{"type":"string","description":"The status of the bank account"},{"type":"null","description":"The status of the bank account"}]},"currency_rate":{"oneOf":[{"type":"integer","description":"The currency rate of the bank account"},{"type":"null","description":"The currency rate of the bank account"}]},"transaction_date":{"oneOf":[{"type":"string","description":"The transaction date of the bank account"},{"type":"null","description":"The transaction date of the bank account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The updated at of the bank account"},{"type":"null","description":"The updated at of the bank account"}]},"account":{"oneOf":[{"type":"object","title":"accountingAccountObject","description":"The account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]},"parent_account":{"oneOf":[{"type":"object","title":"accountingAccountAllFields","description":"The parent account of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the account"},{"type":"null","description":"Name of the account"}]},"description":{"oneOf":[{"type":"string","description":"Description of the account"},{"type":"null","description":"Description of the account"}]},"nominal_code":{"oneOf":[{"type":"string","description":"The nominal code of the account"},{"type":"null","description":"The nominal code of the account"}]},"current_balance":{"oneOf":[{"type":"number","format":"double","description":"The current balance of the account"},{"type":"null","format":"double","description":"The current balance of the account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the account was last updated"},{"type":"null","description":"The date the account was last updated"}]},"status":{"oneOf":[{"type":"string","description":"The status of the account"},{"type":"null","description":"The status of the account"}]},"category":{"oneOf":[{"title":"AccountCategory","type":"string","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"},{"title":"AccountCategory","type":"null","enum":["ASSET","EXPENSE","LIABILITY","EQUITY","INCOME","BANK","UNKNOWN"],"description":"The category of the account"}]},"sub_category":{"oneOf":[{"type":"string","description":"The sub category of the account"},{"type":"null","description":"The sub category of the account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the account"},{"type":"null","description":"The currency id of the account"}]},"parent_account_id":{"oneOf":[{"type":"string","description":"The parent account id of the account"},{"type":"null","description":"The parent account id of the account"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"from_account":{"oneOf":[{"type":"object","title":"accountingBankAccountObject","description":"The from account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"institution_name":{"oneOf":[{"type":"string","description":"The name of the bank account"},{"type":"null","description":"The name of the bank account"}]},"account_name":{"oneOf":[{"type":"string","description":"Name of the bank account"},{"type":"null","description":"Name of the bank account"}]},"account_number":{"oneOf":[{"type":"string","description":"The bank account number"},{"type":"null","description":"The bank account number"}]},"balance":{"oneOf":[{"type":"number","format":"double","description":"Balance of the bank account"},{"type":"null","format":"double","description":"Balance of the bank account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account"},{"type":"null","description":"The currency id of the bank account"}]},"category":{"oneOf":[{"type":"string","description":"The category of the bank account"},{"type":"null","description":"The category of the bank account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bank account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"to_account":{"oneOf":[{"type":"object","title":"accountingBankAccountObject","description":"The to account of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"institution_name":{"oneOf":[{"type":"string","description":"The name of the bank account"},{"type":"null","description":"The name of the bank account"}]},"account_name":{"oneOf":[{"type":"string","description":"Name of the bank account"},{"type":"null","description":"Name of the bank account"}]},"account_number":{"oneOf":[{"type":"string","description":"The bank account number"},{"type":"null","description":"The bank account number"}]},"balance":{"oneOf":[{"type":"number","format":"double","description":"Balance of the bank account"},{"type":"null","format":"double","description":"Balance of the bank account"}]},"currency_id":{"oneOf":[{"type":"string","description":"The currency id of the bank account"},{"type":"null","description":"The currency id of the bank account"}]},"category":{"oneOf":[{"type":"string","description":"The category of the bank account"},{"type":"null","description":"The category of the bank account"}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at"},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the bank account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},{"type":"null"}]},"contact":{"oneOf":[{"type":"object","title":"accountingContactAllFields","description":"The contact of the bank transaction.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"Name of the contact"},{"type":"null","description":"Name of the contact"}]},"contact_name":{"oneOf":[{"type":"string","description":"Name of the contact person for the contact"},{"type":"null","description":"Name of the contact person for the contact"}]},"contact_type":{"oneOf":[{"title":"ContactType","type":"string","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."},{"title":"ContactType","type":"null","enum":["CUSTOMER","VENDOR","BOTH","UNKNOWN"],"description":"The type of contact: CUSTOMER, VENDOR, BOTH (customer and vendor), or UNKNOWN (the platform marks it as neither). Null when the platform sends no role information."}]},"currency_id":{"oneOf":[{"type":"string","description":"The ISO-4217 currency code"},{"type":"null","description":"The ISO-4217 currency code"}]},"tax_number":{"oneOf":[{"type":"string","description":"Contact’s tax number"},{"type":"null","description":"Contact’s tax number"}]},"registration_number":{"oneOf":[{"type":"string","description":"Contact’s identifying number"},{"type":"null","description":"Contact’s identifying number"}]},"status":{"oneOf":[{"title":"BaseStatus","type":"string","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"},{"title":"BaseStatus","type":"null","enum":["ACTIVE","ARCHIVED","UNKNOWN"],"description":"The status of the contact. Values are ACTIVE, ARCHIVED, UNKNOWN"}]},"updated_at":{"oneOf":[{"type":"string","description":"The date the contact was last updated"},{"type":"null","description":"The date the contact was last updated"}]},"external_links":{"oneOf":[{"type":"array","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"},{"type":"null","items":{"title":"ExternalLinks","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"link":{"oneOf":[{"type":"string","description":"The link to the contact"},{"type":"null","description":"The link to the contact"}]},"type":{"oneOf":[{"title":"ExternalLinkType","type":"string","enum":["EMAIL","WEBSITE"],"description":"The type of the link."},{"title":"ExternalLinkType","type":"null","enum":["EMAIL","WEBSITE"],"description":"The type of the link."}]}}},"description":"External links for the contact"}]},"phone_numbers":{"oneOf":[{"type":"array","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"},{"type":"null","items":{"title":"PhoneNumbers","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"number":{"oneOf":[{"type":"string","description":"The number to the contact"},{"type":"null","description":"The number to the contact"}]},"type":{"oneOf":[{"title":"ContactNumberType","type":"string","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."},{"title":"ContactNumberType","type":"null","enum":["MOBILE","TELEPHONE","FAX"],"description":"The type of the link."}]}}},"description":"Phone numbers for the contact"}]},"addresses":{"oneOf":[{"type":"array","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"},{"type":"null","items":{"title":"Addresses","type":"object","properties":{"rootfi_id":{"oneOf":[{"type":"integer","description":"The RootFi ID of the contact"},{"type":"null","description":"The RootFi ID of the contact"}]},"platform_id":{"oneOf":[{"type":"string","description":"The platform ID of the contact"},{"type":"null","description":"The platform ID of the contact"}]},"street":{"oneOf":[{"type":"string","description":"The street of the address"},{"type":"null","description":"The street of the address"}]},"locality":{"oneOf":[{"type":"string","description":"The locality of the address"},{"type":"null","description":"The locality of the address"}]},"city":{"oneOf":[{"type":"string","description":"The city of the address"},{"type":"null","description":"The city of the address"}]},"state":{"oneOf":[{"type":"string","description":"The state of the address"},{"type":"null","description":"The state of the address"}]},"pincode":{"oneOf":[{"type":"string","description":"The pincode of the address"},{"type":"null","description":"The pincode of the address"}]},"country":{"oneOf":[{"type":"string","description":"The country of the address"},{"type":"null","description":"The country of the address"}]}}},"description":"Addresses for the contact"}]}}},{"type":"null"}]},"currency":{"oneOf":[{"type":"object","title":"accountingCurrencyObject","description":"The currency of the account.","required":["rootfi_id","rootfi_created_at","rootfi_updated_at","rootfi_company_id","platform_id"],"properties":{"rootfi_id":{"type":"number","format":"double","description":"The unique ID we assign for that data's information","example":157},"rootfi_deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"The date at which the data was deleted in the accounting platform"},{"type":"null","format":"date-time","description":"The date at which the data was deleted in the accounting platform"}]},"rootfi_created_at":{"type":"string","format":"date-time","description":"The date at which RootFi first synced this data","example":"2024-01-22T05:07:31.465Z"},"rootfi_updated_at":{"type":"string","format":"date-time","description":"The latest date at which RootFi updated this data","example":"2024-01-22T05:07:31.000Z"},"rootfi_company_id":{"type":"number","format":"double","description":"The ID of the company in the accounting platform","example":1089},"platform_id":{"type":"string","description":"An unique custom RootFi ID made from platform's unique_id.","example":"123456"},"platform_unique_id":{"oneOf":[{"type":"string","description":"The ID of the data in the accounting platform."},{"type":"null","description":"The ID of the data in the accounting platform."}]},"raw_data":{"oneOf":[{"type":"object","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."},{"type":"null","additionalProperties":true,"description":"A JSON containing fields that you can directly get from the accounting platform."}]},"data_hash":{"oneOf":[{"type":"string","description":"The hash of the data"},{"type":"null","description":"The hash of the data"}]},"name":{"oneOf":[{"type":"string","description":"The name of the currency"},{"type":"null","description":"The name of the currency"}]},"code":{"oneOf":[{"type":"string","description":"The currency code."},{"type":"null","description":"The currency code."}]},"symbol":{"oneOf":[{"type":"string","description":"The symbol that represents the currency. Not applicable for many currencies."},{"type":"null","description":"The symbol that represents the currency. Not applicable for many currencies."}]},"is_base_currency":{"oneOf":[{"type":"boolean","description":"Whether the currency is the base currency for the company."},{"type":"null","description":"Whether the currency is the base currency for the company."}]},"exchange_rate":{"oneOf":[{"type":"number","format":"double","description":"The exchange rate for the currency."},{"type":"null","format":"double","description":"The exchange rate for the currency."}]},"updated_at":{"oneOf":[{"type":"string","description":"The last ISO 8601 timestamp that the data was updated at."},{"type":"null","description":"The last ISO 8601 timestamp that the data was updated at."}]}}},{"type":"null"}]}}},"description":"Bank transactions for the contact","uniqueKey":"data.oneOf.0.bank_transactions.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.bank_transactions","typeLabel":"accountingBankTransactionObject · object[] | null"}},"uniqueKey":"data.oneOf.0","typeLabel":"accountingContactObject · object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"accountingContactObject · object | null"},"sync_id":{"oneOf":[{"type":"string","description":"The sync id of the request","uniqueKey":"sync_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sync id of the request","uniqueKey":"sync_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"sync_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"accountingCreateContactsResponse · object"},"examples":{"Example1":{"title":"Example1","value":{"data":{"rootfi_id":238858,"rootfi_deleted_at":null,"rootfi_created_at":"2024-01-24T11:11:59.779Z","rootfi_updated_at":"2024-01-24T11:11:59.000Z","rootfi_company_id":1109,"platform_id":"123456_1","platform_unique_id":"123456","currency_id":"00000000-0000-0000-0000-000000000000","name":"fguvkhg","contact_name":null,"contact_type":"CUSTOMER","tax_number":null,"registration_number":null,"status":null,"updated_at":"2023-12-26T00:00:00.000Z","external_links":[{"rootfi_id":278264,"platform_id":"CONTACTS_1af68894-ea9f-ee11-be36-7c1e520f50bc_WEBSITE","link":"https://www.google.com","type":"WEBSITE"}],"phone_numbers":[{"rootfi_id":278264,"platform_id":"CONTACTS_1af68894-ea9f-ee11-be36-7c1e520f50bc_PHONE","number":"1234567890","type":"MOBILE"}],"addresses":[{"rootfi_id":278264,"platform_id":"CONTACTS_1af68894-ea9f-ee11-be36-7c1e520f50bc_ADDRESS","street":"123 Main Street","locality":"Main Street","city":"New York","state":"New York","pincode":"123456","country":"USA"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"baae5daf-7787-4f50-a705-190957ef5e18":{"description":"","content":{"application/json":{"schema":{"title":"RootFiAPIResponseType","type":"object","properties":{"error":{"title":"RootFiAPIResponseErrorType","type":"object","properties":{"message":{"type":"string","description":"The error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"The error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"field":{"type":"string","description":"The status of the error","isRequired":true,"uniqueKey":"error.field","typeLabel":"string"}},"required":["message","code","field"],"description":"The error message","isRequired":true,"uniqueKey":"error","typeLabel":"RootFiAPIResponseErrorType · object"}},"required":["error"],"uniqueKey":"","typeLabel":"RootFiAPIResponseType · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>","field":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f50f0b5d-30a5-40f2-bea2-be5be6fd4af2":{"description":"","content":{"application/json":{"schema":{"title":"RootFiAPIResponseType","type":"object","properties":{"error":{"title":"RootFiAPIResponseErrorType","type":"object","properties":{"message":{"type":"string","description":"The error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"The error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"field":{"type":"string","description":"The status of the error","isRequired":true,"uniqueKey":"error.field","typeLabel":"string"}},"required":["message","code","field"],"description":"The error message","isRequired":true,"uniqueKey":"error","typeLabel":"RootFiAPIResponseErrorType · object"}},"required":["error"],"uniqueKey":"","typeLabel":"RootFiAPIResponseType · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>","field":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d510d3ba-0f93-4884-a9e4-0532c4ad4ed8":{"description":"","content":{"application/json":{"schema":{"title":"RootFiAPIResponseType","type":"object","properties":{"error":{"title":"RootFiAPIResponseErrorType","type":"object","properties":{"message":{"type":"string","description":"The error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"The error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"field":{"type":"string","description":"The status of the error","isRequired":true,"uniqueKey":"error.field","typeLabel":"string"}},"required":["message","code","field"],"description":"The error message","isRequired":true,"uniqueKey":"error","typeLabel":"RootFiAPIResponseErrorType · object"}},"required":["error"],"uniqueKey":"","typeLabel":"RootFiAPIResponseType · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>","field":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"789f195d-efbf-4642-b401-53ba1857a5e9":{"description":"","content":{"application/json":{"schema":{"title":"RootFiAPIResponseType","type":"object","properties":{"error":{"title":"RootFiAPIResponseErrorType","type":"object","properties":{"message":{"type":"string","description":"The error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"The error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"field":{"type":"string","description":"The status of the error","isRequired":true,"uniqueKey":"error.field","typeLabel":"string"}},"required":["message","code","field"],"description":"The error message","isRequired":true,"uniqueKey":"error","typeLabel":"RootFiAPIResponseErrorType · object"}},"required":["error"],"uniqueKey":"","typeLabel":"RootFiAPIResponseType · object"},"examples":{"Example":{"title":"Example","value":{"error":{"message":"\u003cstring>","code":"\u003cstring>","field":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2cca3b72-5ae9-4b21-bc82-b72f4d2d9589":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"api_key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"97bff7ca-e457-4659-86a1-2368dd2b01be":{"url":"https://api.rootfi.dev/v3","description":"global"},"84d7b989-c46b-4ee9-bff6-0798bdc6a783":{"url":"https://api.sa.rootfi.dev/v3","description":"saudi"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api_key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"api_key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"api_key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi_v3.yml"},"subdomain":"rootfi-commenda","siteName":"Integrations by Commenda","title":"Update Contact - Integrations by Commenda","navMaps":{"firstHrefInVersion":{"v4":{"href":"/api-reference/v4/unified/accounts/overview","matchLevel":2},"v3":{"href":"/api-reference/v3/accounting/contacts/update-contacts","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2025-12-29T19:08:38.249Z","originalFileLocation":"api-reference/v3/accounting/contacts/update-contacts.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update a contact.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Integrations by Commenda\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Contact - Integrations by Commenda\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a contact.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Integrations by Commenda\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rootfi-commenda.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Update+Contact\u0026amp;description=Update+a+contact.\u0026amp;theme=4fb0ac713ba6df3adf7808e7\u0026amp;signature=233d3001ddae6d56cf46d0497d72a3a0a8467ac65dec23e8040ae5bd397794e1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Contact - Integrations by Commenda\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a contact.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rootfi-commenda.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Update+Contact\u0026amp;description=Update+a+contact.\u0026amp;theme=4fb0ac713ba6df3adf7808e7\u0026amp;signature=233d3001ddae6d56cf46d0497d72a3a0a8467ac65dec23e8040ae5bd397794e1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rootfi-commenda/hW8169fi4IOqrs3e/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Integrations by Commenda\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#026EB9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/accounting/contacts/update-contacts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://integrations.docs.commenda.io/#organization\",\"name\":\"Integrations by Commenda\",\"url\":\"https://integrations.docs.commenda.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rootfi-commenda/JtuWvvYArO9DY7fx/images/logo/light.svg?fit=max\u0026auto=format\u0026n=JtuWvvYArO9DY7fx\u0026q=85\u0026s=c4be5f750642af21c9e7cadb00956f3d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://integrations.docs.commenda.io#website\",\"name\":\"Integrations by Commenda\",\"url\":\"https://integrations.docs.commenda.io\",\"publisher\":{\"@id\":\"https://integrations.docs.commenda.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts#webpage\",\"url\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts\",\"name\":\"Update Contact\",\"description\":\"Update a contact.\",\"dateModified\":\"2025-12-29T19:08:38.249Z\",\"isPartOf\":{\"@id\":\"https://integrations.docs.commenda.io#website\"},\"breadcrumb\":{\"@id\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unified API\",\"item\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/accounts/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accounting\",\"item\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/accounts/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Contacts\",\"item\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/overview\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update Contact\",\"item\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts#apireference\",\"headline\":\"Update Contact\",\"name\":\"Update Contact\",\"description\":\"Update a contact.\",\"url\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts\",\"mainEntityOfPage\":{\"@id\":\"https://integrations.docs.commenda.io/api-reference/v3/accounting/contacts/update-contacts#webpage\"},\"dateModified\":\"2025-12-29T19:08:38.249Z\",\"publisher\":{\"@id\":\"https://integrations.docs.commenda.io/#organization\"},\"isPartOf\":{\"@id\":\"https://integrations.docs.commenda.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Integrations by Commenda\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Integrations by Commenda","nav":{"global":{"anchors":[{"anchor":"Data Coverage Tool","icon":"globe","href":"https://coverage.integrationlabs.co/"}]},"versions":[{"version":"v4","pages":[{"title":"v4","href":"/api-reference/v4/unified/accounts/overview"}]},{"version":"v3","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/v3/documentation/general/introduction"}]},{"tab":"API Reference","groups":[{"group":"General","pages":[{"version":"v3","title":"Overview","href":"/api-reference/v3/overview/environments"}]},{"group":"Server Side SDKs","pages":[{"title":"Typescript SDK","version":"v3","icon":"code","href":"/api-reference/v3/sdk/nodejs"}]},{"group":"Core API","pages":[{"group":"Companies","pages":[{"version":"v3","openapi":"GET /core/companies","title":"Get Companies","href":"/api-reference/v3/core/companies/get-all-companies"},{"version":"v3","openapi":"GET /core/companies/{company_id}","title":"Get Company","href":"/api-reference/v3/core/companies/get-company"},{"version":"v3","openapi":"PUT /core/companies/{company_id}","title":"Update Company","href":"/api-reference/v3/core/companies/edit-company"},{"version":"v3","openapi":"DELETE /core/companies/{company_id}","title":"Delete Company","href":"/api-reference/v3/core/companies/delete-company"}]},{"group":"Invite Links","pages":[{"version":"v3","openapi":"GET /core/invite_links","title":"Get Invite Links","href":"/api-reference/v3/core/invite-links/get-all-invite-links"},{"version":"v3","openapi":"GET /core/invite_links/{invite_link_id}","title":"Get Invite Link","href":"/api-reference/v3/core/invite-links/get-invite-link"},{"version":"v3","openapi":"POST /core/invite_links","title":"Create Invite Link","href":"/api-reference/v3/core/invite-links/create-invite-link"},{"version":"v3","openapi":"PUT /core/invite_links/{invite_link_id}","title":"Update Invite Link","href":"/api-reference/v3/core/invite-links/update-invite-link"},{"version":"v3","openapi":"DELETE /core/invite_links/{invite_link_id}","title":"Delete Invite Link","href":"/api-reference/v3/core/invite-links/delete-invite-link"}]},{"group":"Sync","pages":[{"version":"v3","openapi":"GET /core/syncs/config","title":"Get Sync Config","href":"/api-reference/v3/core/sync/get-sync-config"},{"version":"v3","openapi":"POST /core/syncs","title":"Create Sync","href":"/api-reference/v3/core/sync/sync-data"},{"version":"v3","openapi":"GET /core/syncs","title":"Get Syncs","href":"/api-reference/v3/core/sync/get-all-sync"},{"version":"v3","openapi":"GET /core/syncs/{sync_id}","title":"Get Sync","href":"/api-reference/v3/core/sync/get-all-sync-by-id"},{"version":"v3","openapi":"GET /core/syncs/{sync_id}/jobs","title":"Get Sync Jobs","href":"/api-reference/v3/core/sync/get-sync-jobs"},{"version":"v3","openapi":"GET /core/syncs/jobs/{job_id}","title":"Get Job","href":"/api-reference/v3/core/sync/get-job"}]},{"group":"Passthrough","pages":[{"version":"v3","openapi":"POST /core/passthrough","title":"Get Passthrough Data","href":"/api-reference/v3/core/passthrough/passthrough"}]},{"group":"Real Time","pages":[{"version":"v3","openapi":"POST /core/real_time","title":"Get Real time Data","href":"/api-reference/v3/core/realtime/realtime"}]},{"group":"Webhooks","pages":[{"version":"v3","openapi":"GET /core/webhooks","title":"Get Webhooks","href":"/api-reference/v3/core/webhooks/get-all-webhooks"},{"version":"v3","openapi":"POST /core/webhooks","title":"Create Webhook","href":"/api-reference/v3/core/webhooks/create-webhooks"},{"version":"v3","openapi":"PUT /core/webhooks/{webhook_id}","title":"Update Webhook","href":"/api-reference/v3/core/webhooks/update-webhook"},{"version":"v3","openapi":"DELETE /core/webhooks/{webhook_id}","title":"Delete Webhook","href":"/api-reference/v3/core/webhooks/delete-webhook"}]}]},{"group":"Unified API","pages":[{"group":"Accounting","pages":[{"group":"Accounts","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/accounts/overview"},{"version":"v3","openapi":"GET /accounting/accounts","title":"Get All Accounts","href":"/api-reference/v3/accounting/accounts/get-all-accounts"},{"version":"v3","openapi":"POST /accounting/accounts","title":"Create Account","href":"/api-reference/v3/accounting/accounts/create-accounts"}]},{"group":"Bank Accounts","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/bank-accounts/overview"},{"version":"v3","openapi":"GET /accounting/bank_accounts","title":"Get All Bank Accounts","href":"/api-reference/v3/accounting/bank-accounts/get-all-bank-accounts"},{"version":"v3","openapi":"POST /accounting/bank_accounts","title":"Create Bank Account","href":"/api-reference/v3/accounting/bank-accounts/create-bank-accounts"}]},{"group":"Bank Transactions","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/bank-transactions/overview"},{"version":"v3","openapi":"GET /accounting/bank_transactions","title":"Get All Bank Transactions","href":"/api-reference/v3/accounting/bank-transactions/get-all-bank-transactions"},{"version":"v3","openapi":"POST /accounting/bank_transactions","title":"Create Bank Transaction","href":"/api-reference/v3/accounting/bank-transactions/create-bank-transactions"}]},{"group":"Bills","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/bills/overview"},{"version":"v3","openapi":"GET /accounting/bills","title":"Get All Bills","href":"/api-reference/v3/accounting/bills/get-all-bills"},{"version":"v3","openapi":"POST /accounting/bills","title":"Create Bill","href":"/api-reference/v3/accounting/bills/create-bills"},{"version":"v3","openapi":"PUT /accounting/bills","title":"Update Bill","href":"/api-reference/v3/accounting/bills/update-bills"}]},{"group":"Bill Payments","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/bill-payments/overview"},{"version":"v3","openapi":"GET /accounting/bill_payments","title":"Get All Bill Payments","href":"/api-reference/v3/accounting/bill-payments/get-all-bill-payments"},{"version":"v3","openapi":"POST /accounting/bill_payments","title":"Create Bill Payments","href":"/api-reference/v3/accounting/bill-payments/create-bill-payments"}]},{"group":"Bill Credit Notes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/bill-credit-notes/overview"},{"version":"v3","openapi":"GET /accounting/bill_credit_notes","title":"Get All Bill Credit Notes","href":"/api-reference/v3/accounting/bill-credit-notes/get-all-bill-credit-notes"},{"version":"v3","openapi":"POST /accounting/bill_credit_notes","title":"Create Bill Credit Note","href":"/api-reference/v3/accounting/bill-credit-notes/create-bill-credit-notes"}]},{"group":"Contacts","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/contacts/overview"},{"version":"v3","openapi":"GET /accounting/contacts","title":"Get All Contacts","href":"/api-reference/v3/accounting/contacts/get-all-contacts"},{"version":"v3","openapi":"POST /accounting/contacts","title":"Create Contact","description":"Create a contact.","href":"/api-reference/v3/accounting/contacts/create-contacts"},{"version":"v3","openapi":"PUT /accounting/contacts","title":"Update Contact","href":"/api-reference/v3/accounting/contacts/update-contacts"}]},{"group":"Company Info","pages":[{"version":"v3","title":"Overview","description":"The Company Info Data Model is designed to simplify the management and retrieval of company-related information across various accounting platforms. ","icon":"hand-wave","href":"/api-reference/v3/accounting/company-info/overview"},{"version":"v3","openapi":"GET /accounting/company_info","title":"Get All Company Info","href":"/api-reference/v3/accounting/company-info/get-all-company-info"}]},{"group":"Currencies","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/currencies/overview"},{"version":"v3","openapi":"GET /accounting/currencies","title":"Get All Currencies","href":"/api-reference/v3/accounting/currencies/get-all-currencies"}]},{"group":"Documents","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/documents/overview"},{"version":"v3","openapi":"GET /accounting/documents","title":"Get All Documents","href":"/api-reference/v3/accounting/documents/get-all-documents"},{"version":"v3","openapi":"POST /accounting/documents","title":"Create Document","href":"/api-reference/v3/accounting/documents/create-documents"},{"version":"v3","openapi":"GET /download_document/{document_id}","title":"Download Document","href":"/api-reference/v3/accounting/documents/download-document"}]},{"group":"Expenses","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/expenses/overview"},{"version":"v3","openapi":"GET /accounting/expenses","title":"Get All Expenses","href":"/api-reference/v3/accounting/expenses/get-all-expenses"},{"version":"v3","openapi":"POST /accounting/expenses","title":"Create Expense","href":"/api-reference/v3/accounting/expenses/create-expenses"}]},{"group":"Invoice Credit Notes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/invoice-credit-notes/overview"},{"version":"v3","openapi":"GET /accounting/invoice_credit_notes","title":"Get All Invoice Credit Notes","href":"/api-reference/v3/accounting/invoice-credit-notes/get-all-invoice-credit-notes"},{"version":"v3","openapi":"POST /accounting/invoice_credit_notes","title":"Create Invoice Credit Note","href":"/api-reference/v3/accounting/invoice-credit-notes/create-invoice-credit-notes"}]},{"group":"Invoices","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/invoices/overview"},{"version":"v3","openapi":"GET /accounting/invoices","title":"Get All Invoices","href":"/api-reference/v3/accounting/invoices/get-all-invoices"},{"version":"v3","openapi":"POST /accounting/invoices","title":"Create Invoice","href":"/api-reference/v3/accounting/invoices/create-invoices"},{"version":"v3","openapi":"PUT /accounting/invoices","title":"Update Invoice","href":"/api-reference/v3/accounting/invoices/update-invoices"}]},{"group":"Invoice Payments","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/invoice-payments/overview"},{"version":"v3","openapi":"GET /accounting/invoice_payments","title":"Get All Invoice Payments","href":"/api-reference/v3/accounting/invoice-payments/get-all-invoice-payments"},{"version":"v3","openapi":"POST /accounting/invoice_payments","title":"Create Invoice Payments","href":"/api-reference/v3/accounting/invoice-payments/create-invoice-payments"}]},{"group":"Items","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/items/overview"},{"version":"v3","openapi":"GET /accounting/items","title":"Get All Items","href":"/api-reference/v3/accounting/items/get-all-items"},{"version":"v3","openapi":"POST /accounting/items","title":"Create Item","href":"/api-reference/v3/accounting/items/create-items"},{"version":"v3","openapi":"PUT /accounting/items","title":"Update an Item","href":"/api-reference/v3/accounting/items/update-items"}]},{"group":"Journal Entries","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/journal-entries/overview"},{"version":"v3","openapi":"GET /accounting/journal_entries","title":"Get All Journal Entries","href":"/api-reference/v3/accounting/journal-entries/get-all-journal-entries"},{"version":"v3","openapi":"POST /accounting/journal_entries","title":"Create Journal Entry","href":"/api-reference/v3/accounting/journal-entries/create-journal-entries"}]},{"group":"Purchase Orders","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/purchase-orders/overview"},{"version":"v3","openapi":"GET /accounting/purchase_orders","title":"Get All Purchase Orders","href":"/api-reference/v3/accounting/purchase-orders/get-all-purchase-orders"},{"version":"v3","openapi":"POST /accounting/purchase_orders","title":"Create Purchase Orders","href":"/api-reference/v3/accounting/purchase-orders/create-purchase-orders"}]},{"group":"Sales Orders","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/sales-orders/overview"},{"version":"v3","openapi":"GET /accounting/sales_orders","title":"Get All Sales Orders","href":"/api-reference/v3/accounting/sales-orders/get-all-sales-orders"},{"version":"v3","openapi":"POST /accounting/sales_orders","title":"Create Sales Orders","href":"/api-reference/v3/accounting/sales-orders/create-sales-orders"}]},{"group":"Goods Receipt Notes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/goods-receipt-notes/overview"},{"version":"v3","openapi":"GET /accounting/goods_receipt_notes","title":"Get All Goods Receipt Notes","href":"/api-reference/v3/accounting/goods-receipt-notes/get-all-goods-receipt-notes"}]},{"group":"Projects","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/projects/overview"},{"version":"v3","openapi":"GET /accounting/projects","title":"Get All Projects","href":"/api-reference/v3/accounting/projects/get-all-projects"}]},{"group":"Tax Rates","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/tax-rates/overview"},{"version":"v3","openapi":"GET /accounting/tax_rates","title":"Get All Tax Rates","href":"/api-reference/v3/accounting/tax-rates/get-all-tax-rates"},{"version":"v3","openapi":"POST /accounting/tax_rates","title":"Create Tax Rate","href":"/api-reference/v3/accounting/tax-rates/create-tax-rates"}]},{"group":"Tracking Categories","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/tracking-categories/overview"},{"version":"v3","openapi":"GET /accounting/tracking_categories","title":"Get All Tracking Categories","href":"/api-reference/v3/accounting/tracking-categories/get-all-tracking-categories"}]},{"group":"Balance Sheet","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/balance-sheet/overview"},{"version":"v3","openapi":"GET /accounting/balance_sheet","title":"Get Balance Sheet","href":"/api-reference/v3/accounting/balance-sheet/get-balance-sheet"}]},{"group":"Cash Flow Statements","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/cash-flow-statements/overview"},{"version":"v3","openapi":"GET /accounting/cash_flow_statement","title":"Get Cash Flow Statement","href":"/api-reference/v3/accounting/cash-flow-statements/get-cashflow-statements"}]},{"group":"Income Statements","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/accounting/income-statements/overview"},{"version":"v3","openapi":"GET /accounting/income_statement","title":"Get Income Statement","href":"/api-reference/v3/accounting/income-statements/get-income-statements"}]}]},{"group":"Payments","pages":[{"group":"Customers","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/customers/overview"},{"version":"v3","openapi":"GET /payments/customers","title":"Get All Customers","href":"/api-reference/v3/payments/customers/get-all-customers"}]},{"group":"Credit Notes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/credit-notes/overview"},{"version":"v3","openapi":"GET /payments/credit-notes","title":"Get All Credit Notes","href":"/api-reference/v3/payments/credit-notes/get-all-credit-notes"}]},{"group":"Disputes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/disputes/overview"},{"version":"v3","openapi":"GET /payments/disputes","title":"Get All Disputes","href":"/api-reference/v3/payments/disputes/get-all-disputes"}]},{"group":"Invoices","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/invoices/overview"},{"version":"v3","openapi":"GET /payments/invoices","title":"Get All Invoices","href":"/api-reference/v3/payments/invoices/get-all-invoices"}]},{"group":"Items","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/items/overview"},{"version":"v3","openapi":"GET /payments/items","title":"Get All Items","href":"/api-reference/v3/payments/items/get-all-items"}]},{"group":"Products","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/products/overview"},{"version":"v3","openapi":"GET /payments/products","title":"Get All Products","href":"/api-reference/v3/payments/products/get-all-products"}]},{"group":"Orders","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/orders/overview"},{"version":"v3","openapi":"GET /payments/orders","title":"Get All Orders","href":"/api-reference/v3/payments/orders/get-all-orders"}]},{"group":"Payment Links","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/payment-links/overview"},{"version":"v3","openapi":"GET /payments/payment_links","title":"Get All Payment Links","href":"/api-reference/v3/payments/payment-links/get-all-payment-links"}]},{"group":"Payments","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/payments/overview"},{"version":"v3","openapi":"GET /payments/payments","title":"Get All Payments","href":"/api-reference/v3/payments/payments/get-all-payments"}]},{"group":"Payouts","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/payouts/overview"},{"version":"v3","openapi":"GET /payments/payouts","title":"Get All Payouts","href":"/api-reference/v3/payments/payouts/get-all-payouts"}]},{"group":"Refunds","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/refunds/overview"},{"version":"v3","openapi":"GET /payments/refunds","title":"Get All Refunds","href":"/api-reference/v3/payments/refunds/get-all-refunds"}]},{"group":"Tax Rates","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/tax-rates/overview"},{"version":"v3","openapi":"GET /payments/tax_rates","title":"Get All Tax Rates","href":"/api-reference/v3/payments/tax-rates/get-all-tax-rates"}]},{"group":"Balances","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/balances/overview"},{"version":"v3","openapi":"GET /payments/balances","title":"Get All Balances","href":"/api-reference/v3/payments/balances/get-all-balances"}]},{"group":"Subscriptions","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/subscriptions/overview"},{"version":"v3","openapi":"GET /payments/subscriptions","title":"Get All Subscriptions","href":"/api-reference/v3/payments/subscriptions/get-all-subscriptions"}]},{"group":"Transactions","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/payments/transactions/overview"},{"version":"v3","openapi":"GET /payments/transactions","title":"Get All Transactions","href":"/api-reference/v3/payments/transactions/get-all-transactions"}]}]},{"group":"Ecommerce","pages":[{"group":"Customers","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/customers/overview"},{"version":"v3","openapi":"GET /ecommerce/customers","title":"Get All Customers","href":"/api-reference/v3/ecommerce/customers/get-all-customers"},{"version":"v3","openapi":"POST /ecommerce/customers","title":"Create Customer","href":"/api-reference/v3/ecommerce/customers/create-customers"}]},{"group":"Orders","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/orders/overview"},{"version":"v3","openapi":"GET /ecommerce/orders","title":"Get All Orders","href":"/api-reference/v3/ecommerce/orders/get-all-orders"}]},{"group":"Products","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/products/overview"},{"version":"v3","openapi":"GET /ecommerce/products","title":"Get All Products","href":"/api-reference/v3/ecommerce/products/get-all-products"},{"version":"v3","openapi":"POST /ecommerce/products","title":"Create a Product","href":"/api-reference/v3/ecommerce/products/create-products"}]},{"group":"Balances","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/balances/overview"},{"version":"v3","openapi":"GET /ecommerce/balances","title":"Get All Balances","href":"/api-reference/v3/ecommerce/balances/get-all-balances"}]},{"group":"Company Info","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/company_info/overview"},{"version":"v3","openapi":"GET /ecommerce/company_info","title":"Get All Company Info","href":"/api-reference/v3/ecommerce/company_info/get-all-company-info"}]},{"group":"Fulfillments","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/fulfillments/overview"},{"version":"v3","openapi":"GET /ecommerce/fulfillments","title":"Get All Fulfillments","href":"/api-reference/v3/ecommerce/fulfillments/get-all-fulfillments"}]},{"group":"Inventories","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/inventories/overview"},{"version":"v3","openapi":"GET /ecommerce/inventories","title":"Get All Inventories","href":"/api-reference/v3/ecommerce/inventories/get-all-inventories"}]},{"group":"Transactions","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/transactions/overview"},{"version":"v3","openapi":"GET /ecommerce/transactions","title":"Get All Transactions","href":"/api-reference/v3/ecommerce/transactions/get-all-transactions"}]},{"group":"Refunds","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/ecommerce/refunds/overview"},{"version":"v3","openapi":"GET /ecommerce/refunds","title":"Get All Refunds","href":"/api-reference/v3/ecommerce/refunds/get-all-refunds"}]}]},{"group":"CRM","pages":[{"group":"Activities","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/activities/overview"},{"version":"v3","openapi":"GET /crm/activities","title":"Get All Activities","href":"/api-reference/v3/crm/activities/get-all-activities"}]},{"group":"Companies","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/companies/overview"},{"version":"v3","openapi":"GET /crm/companies","title":"Get All Companies","href":"/api-reference/v3/crm/companies/get-all-companies"}]},{"group":"Contacts","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/contacts/overview"},{"version":"v3","openapi":"GET /crm/contacts","title":"Get All Contacts","href":"/api-reference/v3/crm/contacts/get-all-contacts"}]},{"group":"Deals","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/deals/overview"},{"version":"v3","openapi":"GET /crm/deals","title":"Get All Deals","href":"/api-reference/v3/crm/deals/get-all-deals"}]},{"group":"Leads","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/leads/overview"},{"version":"v3","openapi":"GET /crm/leads","title":"Get All Leads","href":"/api-reference/v3/crm/leads/get-all-leads"}]},{"group":"Notes","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/notes/overview"},{"version":"v3","openapi":"GET /crm/notes","title":"Get All Notes","href":"/api-reference/v3/crm/notes/get-all-notes"}]},{"group":"Pipelines","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/pipelines/overview"},{"version":"v3","openapi":"GET /crm/pipelines","title":"Get All Pipelines","href":"/api-reference/v3/crm/pipelines/get-all-pipelines"}]},{"group":"Stages","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/stages/overview"},{"version":"v3","openapi":"GET /crm/stages","title":"Get All Stages","href":"/api-reference/v3/crm/stages/get-all-stages"}]},{"group":"Tasks","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/tasks/overview"},{"version":"v3","openapi":"GET /crm/tasks","title":"Get All Tasks","href":"/api-reference/v3/crm/tasks/get-all-tasks"}]},{"group":"Users","pages":[{"version":"v3","title":"Overview","icon":"hand-wave","href":"/api-reference/v3/crm/users/overview"},{"version":"v3","openapi":"GET /crm/users","title":"Get All Users","href":"/api-reference/v3/crm/users/get-all-users"}]}]}]}]},{"tab":"Accounting","pages":[{"title":"Accounting","href":"/v3/accounting-integrations/accounting-integrations-overview"}]},{"tab":"E-Commerce","pages":[{"title":"E-Commerce","href":"/v3/ecommerce-integrations/ecommerce-integrations-overview"}]},{"tab":"Payments","pages":[{"title":"Payments","href":"/v3/payment-integrations/payment-integrations-overview"}]},{"tab":"CRM","pages":[{"title":"CRM","href":"/v3/crm-integrations/crm-integrations-overview"}]}]}]},"basePath":"","title":"Update Contact - Integrations by Commenda","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}