Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as ‘skipped’ (no DB writes) if the current value matches, ‘inserted’ if no prior mapping existed, or ‘updated’ if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Quanta","colors":{"primary":"#3A6573","light":"#557D8C","dark":"#2A4F5C"},"appearance":{"default":"light"},"background":{"decoration":"windows"},"search":{"prompt":"Search Quanta docs..."},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"quanta-d085b69f","hasAudioNarration":false,"actualSubdomain":"quanta-d085b69f","customDomains":["docs.usequanta.com"],"gitSource":{"type":"github","owner":"quantadevs","repo":"quanta","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8da6c1c56b051db074cc2","collectionId":"f7f794a4-9e98-41b1-ae16-322a963d4863","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8da6c1c56b051db074cc2"},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6ae8da6c1c56b051db074cc2","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":98},{"language":"default","tag":"onboarding","count":11},{"language":"default","tag":"invoice_admin","count":9},{"language":"default","tag":"tasks","count":8},{"language":"default","tag":"billpays","count":7},{"language":"default","tag":"leaf_admin","count":7},{"language":"default","tag":"reimbursements","count":7},{"language":"default","tag":"admin_manual_tasks","count":6},{"language":"default","tag":"close_review_admin","count":6},{"language":"default","tag":"gl_accounts","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/quanta-services-api/bulk-upsert-mappings","slug":"/api-reference/quanta-services-api/bulk-upsert-mappings","pageMetadata":{"title":"Bulk-upsert mappings","description":"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as 'skipped' (no DB writes) if the current value matches, 'inserted' if no prior mapping existed, or 'updated' if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/mappings/bulk-upsert","href":"/api-reference/quanta-services-api/bulk-upsert-mappings","autogeneratedByOpenApi":true},"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: \"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as ‘skipped’ (no DB writes) if the current value matches, ‘inserted’ if no prior mapping existed, or ‘updated’ if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Bulk-upsert mappings","description":"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as 'skipped' (no DB writes) if the current value matches, 'inserted' if no prior mapping existed, or 'updated' if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/mappings/bulk-upsert","href":"/api-reference/quanta-services-api/bulk-upsert-mappings","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["quanta-services-api"],"summary":"Bulk-upsert mappings","description":"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as 'skipped' (no DB writes) if the current value matches, 'inserted' if no prior mapping existed, or 'updated' if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.","operationId":"bulk_upsert_mappings_route","requestBody":"49ac7a79-3f93-42a0-91aa-8de93789d3f4","responses":{"200":"10fcef3e-d9bc-4285-b091-b0db3feedf7a","422":"3549de54-b4cd-4baa-a094-274abc9bd8f2"},"security":["0cde8dd0-2212-4c85-b66d-29c3def26cc7"],"method":"post","type":"path","servers":["3a91589e-ef52-4272-83ce-48f637fab1c4"],"path":"/api/mappings/bulk-upsert","baseUrlOptions":["https://app.usequanta.com"],"title":"Bulk-upsert mappings","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"mapping_type":{"type":"string","enum":["VENDOR_TO_GL_ACCOUNT","VENDOR_TO_DEPARTMENT","VENDOR_NAME_ALIAS_TO_VENDOR_QID","GL_ACCOUNT_TO_DEPARTMENT","SOURCE_QID_TO_FOREX_RATE","WARP_EMPLOYEE_TO_DEPARTMENT","GENERIC_PAYROLL_ACCOUNT_TO_GL_ACCOUNT_QID","GLOBAL_RIPPLING_COMPANY_NAME_TO_ORG","PRODUCT_QID_TO_REVENUE_GL_ACCOUNT_QID","PRODUCT_QID_TO_REFUND_GL_ACCOUNT_QID","PRODUCT_QID_TO_DISCOUNT_GL_ACCOUNT_QID","PRODUCT_QID_TO_LEDGER_REVENUE_POLICY","RIPPLING_R_AND_D_TAX_CREDIT","ORG_IGNORE_MERCURY_INVOICES","PARAFORM_PAYMENT_TYPE_TO_GL_ACCOUNT_QID"],"title":"MappingType","description":"Mapping type to upsert.","isRequired":true,"uniqueKey":"mapping_type","typeLabel":"enum\u003cstring>"},"mappings":{"items":{"properties":{"from_value":{"type":"string","maxLength":512,"minLength":1,"title":"From Value","description":"Stable identifier the caller is mapping from.","isRequired":true,"uniqueKey":"mappings.items.[INDEX].from_value","typeLabel":"string"},"to_value":{"type":"string","maxLength":512,"minLength":1,"title":"To Value","description":"Target value the from_value should map to.","isRequired":true,"uniqueKey":"mappings.items.[INDEX].to_value","typeLabel":"string"}},"type":"object","required":["from_value","to_value"],"title":"LegacyBulkMappingPairInput","uniqueKey":"mappings.items.[INDEX]","typeLabel":"LegacyBulkMappingPairInput · object"},"type":"array","maxItems":5000,"minItems":1,"title":"Mappings","description":"Mappings to upsert. Duplicate from_values are rejected.","isRequired":true,"uniqueKey":"mappings","typeLabel":"LegacyBulkMappingPairInput · object[]"},"effective_date":{"oneOf":[{"type":"string","title":"Effective Date","description":"Date to stamp on newly inserted mapping rows. Optional.","format":"date","uniqueKey":"effective_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Effective Date","description":"Date to stamp on newly inserted mapping rows. Optional.","uniqueKey":"effective_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"effective_date","typeLabel":"string\u003cdate> | null"}},"type":"object","required":["mapping_type","mappings"],"title":"LegacyBulkUpsertMappingsRequest","uniqueKey":"","typeLabel":"LegacyBulkUpsertMappingsRequest · object"},"examples":{"Example":{"title":"Example","value":{"mappings":[{"from_value":"\u003cstring>","to_value":"\u003cstring>"}],"effective_date":"2023-12-25"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"10fcef3e-d9bc-4285-b091-b0db3feedf7a":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"mapping_type":{"type":"string","enum":["VENDOR_TO_GL_ACCOUNT","VENDOR_TO_DEPARTMENT","VENDOR_NAME_ALIAS_TO_VENDOR_QID","GL_ACCOUNT_TO_DEPARTMENT","SOURCE_QID_TO_FOREX_RATE","WARP_EMPLOYEE_TO_DEPARTMENT","GENERIC_PAYROLL_ACCOUNT_TO_GL_ACCOUNT_QID","GLOBAL_RIPPLING_COMPANY_NAME_TO_ORG","PRODUCT_QID_TO_REVENUE_GL_ACCOUNT_QID","PRODUCT_QID_TO_REFUND_GL_ACCOUNT_QID","PRODUCT_QID_TO_DISCOUNT_GL_ACCOUNT_QID","PRODUCT_QID_TO_LEDGER_REVENUE_POLICY","RIPPLING_R_AND_D_TAX_CREDIT","ORG_IGNORE_MERCURY_INVOICES","PARAFORM_PAYMENT_TYPE_TO_GL_ACCOUNT_QID"],"title":"MappingType","isRequired":true,"uniqueKey":"mapping_type","typeLabel":"enum\u003cstring>"},"inserted":{"type":"integer","title":"Inserted","isRequired":true,"uniqueKey":"inserted","typeLabel":"integer"},"updated":{"type":"integer","title":"Updated","isRequired":true,"uniqueKey":"updated","typeLabel":"integer"},"skipped":{"type":"integer","title":"Skipped","isRequired":true,"uniqueKey":"skipped","typeLabel":"integer"},"rows":{"items":{"properties":{"from_value":{"type":"string","title":"From Value","isRequired":true,"uniqueKey":"rows.items.[INDEX].from_value","typeLabel":"string"},"to_value":{"type":"string","title":"To Value","isRequired":true,"uniqueKey":"rows.items.[INDEX].to_value","typeLabel":"string"},"outcome":{"type":"string","enum":["inserted","updated","skipped"],"title":"MappingUpsertOutcome","isRequired":true,"uniqueKey":"rows.items.[INDEX].outcome","typeLabel":"enum\u003cstring>"},"mapping_qid":{"oneOf":[{"type":"string","title":"Mapping Qid","uniqueKey":"rows.items.[INDEX].mapping_qid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Mapping Qid","uniqueKey":"rows.items.[INDEX].mapping_qid.oneOf.1","typeLabel":"null"}],"uniqueKey":"rows.items.[INDEX].mapping_qid","typeLabel":"string | null"},"effective_date":{"oneOf":[{"type":"string","title":"Effective Date","format":"date","uniqueKey":"rows.items.[INDEX].effective_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Effective Date","uniqueKey":"rows.items.[INDEX].effective_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"rows.items.[INDEX].effective_date","typeLabel":"string\u003cdate> | null"}},"type":"object","required":["from_value","to_value","outcome"],"title":"LegacyBulkMappingUpsertResultModel","uniqueKey":"rows.items.[INDEX]","typeLabel":"LegacyBulkMappingUpsertResultModel · object"},"type":"array","title":"Rows","isRequired":true,"uniqueKey":"rows","typeLabel":"LegacyBulkMappingUpsertResultModel · object[]"}},"type":"object","required":["mapping_type","inserted","updated","skipped","rows"],"title":"LegacyBulkUpsertMappingsResponse","uniqueKey":"","typeLabel":"LegacyBulkUpsertMappingsResponse · object"},"examples":{"Example":{"title":"Example","value":{"mapping_type":"VENDOR_TO_GL_ACCOUNT","inserted":123,"updated":123,"skipped":123,"rows":[{"from_value":"\u003cstring>","to_value":"\u003cstring>","outcome":"inserted","mapping_qid":"\u003cstring>","effective_date":"2023-12-25"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"3549de54-b4cd-4baa-a094-274abc9bd8f2":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0cde8dd0-2212-4c85-b66d-29c3def26cc7":{"HTTPBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Quanta Services API scoped bearer token. Supported only on Services API routes.","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"3a91589e-ef52-4272-83ce-48f637fab1c4":{"url":"https://app.usequanta.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Quanta Services API scoped bearer token. Supported only on Services API routes.","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Quanta Services API scoped bearer token. Supported only on Services API routes.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json"},"subdomain":"quanta-d085b69f","siteName":"Quanta","title":"Bulk-upsert mappings - Quanta","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T18:46:10.357Z","originalFileLocation":"api-reference/quanta-services-api/bulk-upsert-mappings.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=\"light\"}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=\"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as \u0026#x27;skipped\u0026#x27; (no DB writes) if the current value matches, \u0026#x27;inserted\u0026#x27; if no prior mapping existed, or \u0026#x27;updated\u0026#x27; if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Quanta\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/quanta-d085b69f/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/quanta-d085b69f/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/quanta-d085b69f/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/quanta-d085b69f/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Bulk-upsert mappings - Quanta\">\u003cmeta data-mint-head property=\"og:description\" content=\"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as \u0026#x27;skipped\u0026#x27; (no DB writes) if the current value matches, \u0026#x27;inserted\u0026#x27; if no prior mapping existed, or \u0026#x27;updated\u0026#x27; if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Quanta\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://quanta-d085b69f.mintlify.app/_mintlify/api/og/v2?division=quanta-services-api\u0026amp;title=Bulk-upsert+mappings\u0026amp;description=Idempotent+batch+upsert+of+mappings+for+the+authenticated+org.+For+each+input+row%2C+looks+up+the+current+active+to_value+for+%28claims.org_qid%2C+mapping_type%2C+from_\u0026amp;theme=04c2dbdf74c4f918533e1946\u0026amp;signature=6e8f7c5f4afbd276475c6d9e5117a88005c8719d497d17215534cb07ae1deece\">\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=\"Bulk-upsert mappings - Quanta\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as \u0026#x27;skipped\u0026#x27; (no DB writes) if the current value matches, \u0026#x27;inserted\u0026#x27; if no prior mapping existed, or \u0026#x27;updated\u0026#x27; if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://quanta-d085b69f.mintlify.app/_mintlify/api/og/v2?division=quanta-services-api\u0026amp;title=Bulk-upsert+mappings\u0026amp;description=Idempotent+batch+upsert+of+mappings+for+the+authenticated+org.+For+each+input+row%2C+looks+up+the+current+active+to_value+for+%28claims.org_qid%2C+mapping_type%2C+from_\u0026amp;theme=04c2dbdf74c4f918533e1946\u0026amp;signature=6e8f7c5f4afbd276475c6d9e5117a88005c8719d497d17215534cb07ae1deece\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/quanta-d085b69f/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Quanta\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3A6573\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/quanta-services-api/bulk-upsert-mappings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.usequanta.com/#organization\",\"name\":\"Quanta\",\"url\":\"https://docs.usequanta.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.usequanta.com#website\",\"name\":\"Quanta\",\"url\":\"https://docs.usequanta.com\",\"publisher\":{\"@id\":\"https://docs.usequanta.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings#webpage\",\"url\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings\",\"name\":\"Bulk-upsert mappings\",\"description\":\"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as 'skipped' (no DB writes) if the current value matches, 'inserted' if no prior mapping existed, or 'updated' if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\",\"dateModified\":\"2026-11-02T18:46:10.357Z\",\"isPartOf\":{\"@id\":\"https://docs.usequanta.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"quanta-services-api\",\"item\":\"https://docs.usequanta.com/api-reference/quanta-services-api/verify-scoped-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bulk-upsert mappings\",\"item\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings#apireference\",\"headline\":\"Bulk-upsert mappings\",\"name\":\"Bulk-upsert mappings\",\"description\":\"Idempotent batch upsert of mappings for the authenticated org. For each input row, looks up the current active to_value for (claims.org_qid, mapping_type, from_value): the row is reported as 'skipped' (no DB writes) if the current value matches, 'inserted' if no prior mapping existed, or 'updated' if a prior mapping existed with a different to_value. The whole batch runs in a single transaction; any failure rolls back all writes.\",\"url\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.usequanta.com/api-reference/quanta-services-api/bulk-upsert-mappings#webpage\"},\"dateModified\":\"2026-11-02T18:46:10.357Z\",\"publisher\":{\"@id\":\"https://docs.usequanta.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.usequanta.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Quanta\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Quanta","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"admin_bank_balances","pages":[{"title":"Pull Mercury Treasury","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/pull_mercury_treasury","href":"/api-reference/admin_bank_balances/pull-mercury-treasury"}]},{"group":"accruals","pages":[{"title":"List Accruals","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/accruals/list","href":"/api-reference/accruals/list-accruals"},{"title":"Get Accrual","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/accruals/{accrual_qid}","href":"/api-reference/accruals/get-accrual"},{"title":"Create Accrual","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/accruals","href":"/api-reference/accruals/create-accrual"}]},{"group":"billpays","pages":[{"title":"List Billpays","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/billpays/list","href":"/api-reference/billpays/list-billpays"},{"title":"Get Billpay Aging","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/billpays/aging","href":"/api-reference/billpays/get-billpay-aging"},{"title":"Get Billpay","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/billpays/{billpay_qid}","href":"/api-reference/billpays/get-billpay"},{"title":"Create Billpay","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/billpays","href":"/api-reference/billpays/create-billpay"},{"title":"Archive Billpay","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/billpays/{billpay_qid}/archive","href":"/api-reference/billpays/archive-billpay"},{"title":"Create Billpay Memo","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/billpays/{billpay_qid}/memos","href":"/api-reference/billpays/create-billpay-memo"},{"title":"Accrue Billpay","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/billpays/{billpay_qid}/accrue","href":"/api-reference/billpays/accrue-billpay"}]},{"group":"booking","pages":[{"title":"Get Booking Item","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/booking/item/{qid}","href":"/api-reference/booking/get-booking-item"},{"title":"Update Booking","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/booking/update","href":"/api-reference/booking/update-booking"}]},{"group":"reimbursements","pages":[{"title":"List Reimbursements","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/reimbursements/list","href":"/api-reference/reimbursements/list-reimbursements"},{"title":"Get Reimbursement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/reimbursements/{reimbursement_qid}","href":"/api-reference/reimbursements/get-reimbursement"},{"title":"Create Reimbursement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/reimbursements","href":"/api-reference/reimbursements/create-reimbursement"},{"title":"Archive Reimbursement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/reimbursements/{reimbursement_qid}/archive","href":"/api-reference/reimbursements/archive-reimbursement"},{"title":"Create Reimbursement Memo","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/reimbursements/{reimbursement_qid}/memos","href":"/api-reference/reimbursements/create-reimbursement-memo"},{"title":"Update Reimbursement Booking","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/reimbursements/{reimbursement_qid}/update_booking","href":"/api-reference/reimbursements/update-reimbursement-booking"},{"title":"Accrue Reimbursement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/reimbursements/{reimbursement_qid}/accrue","href":"/api-reference/reimbursements/accrue-reimbursement"}]},{"group":"quanta-services-api","pages":[{"title":"Verify scoped token","description":"Validates the scoped token in the Authorization header and returns the org and user it is bound to.","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/auth/services/check-token","href":"/api-reference/quanta-services-api/verify-scoped-token"},{"title":"Bulk-upsert mappings","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/mappings/bulk-upsert","href":"/api-reference/quanta-services-api/bulk-upsert-mappings"}]},{"group":"bulk_actions","pages":[{"title":"List the org's persisted bulk action history","description":null,"deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/bulk_actions/history","href":"/api-reference/bulk_actions/list-the-orgs-persisted-bulk-action-history"},{"title":"Start a supported bulk accounting action","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/bulk_actions","href":"/api-reference/bulk_actions/start-a-supported-bulk-accounting-action"},{"title":"Poll the org's running or last-finished bulk action","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/bulk_actions/status","href":"/api-reference/bulk_actions/poll-the-orgs-running-or-last-finished-bulk-action"}]},{"group":"payroll","pages":[{"title":"Get Pay Statements","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/payroll/pay_statements","href":"/api-reference/payroll/get-pay-statements"}]},{"group":"mappings","pages":[{"title":"Upsert mappings","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/mappings/upsert","href":"/api-reference/mappings/upsert-mappings"}]},{"group":"rules","pages":[{"title":"Create Vendor Trait","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/rules/create_vendor_trait","href":"/api-reference/rules/create-vendor-trait"},{"title":"Update Vendor Mapping","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/rules/update_vendor_mapping","href":"/api-reference/rules/update-vendor-mapping"}]},{"group":"admin_manual_tasks","pages":[{"title":"Upload Bank Transactions","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/manual_task/upload_bank_transactions","href":"/api-reference/admin_manual_tasks/upload-bank-transactions"},{"title":"Upload Reimbursements Json","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/manual_task/upload_reimbursements_json","href":"/api-reference/admin_manual_tasks/upload-reimbursements-json"},{"title":"Upload Pay Statements Json","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/manual_task/upload_pay_statements_json","href":"/api-reference/admin_manual_tasks/upload-pay-statements-json"},{"title":"Update Fiscal Year Start Month","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/manual_task/update_fiscal_year_start_month","href":"/api-reference/admin_manual_tasks/update-fiscal-year-start-month"},{"title":"Ignore source transactions so the booking pipeline never books them","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/manual_task/ignore_source_transactions","href":"/api-reference/admin_manual_tasks/ignore-source-transactions-so-the-booking-pipeline-never-books-them"},{"title":"List the most recent active ignore entries for the org","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/manual_task/get_ignore_source_transactions","href":"/api-reference/admin_manual_tasks/list-the-most-recent-active-ignore-entries-for-the-org"}]},{"group":"manual_adjustments","pages":[{"title":"Create a manual journal entry","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/manual_adjustments/create","href":"/api-reference/manual_adjustments/create-a-manual-journal-entry"}]},{"group":"close_workbooks_admin","pages":[{"title":"Get Close Workbook Overview","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_workbooks/workbook_overview","href":"/api-reference/close_workbooks_admin/get-close-workbook-overview"},{"title":"Get Close Workbook Recon Summary","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_workbooks/recon_summary","href":"/api-reference/close_workbooks_admin/get-close-workbook-recon-summary"}]},{"group":"close_review_admin","pages":[{"title":"List Close Review Runs","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_review/runs","href":"/api-reference/close_review_admin/list-close-review-runs"},{"title":"Start Close Review Run","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/close_review/runs","href":"/api-reference/close_review_admin/start-close-review-run"},{"title":"Get Close Review Run","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_review/runs/{qid}","href":"/api-reference/close_review_admin/get-close-review-run"},{"title":"Resolve Close Review Decision","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/close_review/runs/{qid}/resolutions","href":"/api-reference/close_review_admin/resolve-close-review-decision"},{"title":"List Close Review Check Enablement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_review/check_enablement","href":"/api-reference/close_review_admin/list-close-review-check-enablement"},{"title":"Set Close Review Check Enablement","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json put /admin_api/close_review/check_enablement","href":"/api-reference/close_review_admin/set-close-review-check-enablement"}]},{"group":"leaf_admin","pages":[{"title":"List Leaves","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/leaves","href":"/api-reference/leaf_admin/list-leaves"},{"title":"Create Leaf","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/leaves","href":"/api-reference/leaf_admin/create-leaf"},{"title":"Publish Leaf","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/leaves/publish","href":"/api-reference/leaf_admin/publish-leaf"},{"title":"Prepare Text","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/leaves/text/prepare","href":"/api-reference/leaf_admin/prepare-text"},{"title":"Apply Text","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/leaves/text/apply","href":"/api-reference/leaf_admin/apply-text"},{"title":"Set Leaf Archived","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/leaves/archive","href":"/api-reference/leaf_admin/set-leaf-archived"},{"title":"Get Leaf Versions","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/leaves/{slug}/versions","href":"/api-reference/leaf_admin/get-leaf-versions"}]},{"group":"control_panel","pages":[{"title":"Override Recon Success","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/control_panel/override_recon_success","href":"/api-reference/control_panel/override-recon-success"},{"title":"Advance or reopen the caller org's GL closed period","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/update_org_closed_period","href":"/api-reference/control_panel/advance-or-reopen-the-caller-orgs-gl-closed-period"},{"title":"Run Recon","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/run_recon","href":"/api-reference/control_panel/run-recon"}]},{"group":"close_message","pages":[{"title":"Read the caller org's close state and close message draft for a month","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/close_message","href":"/api-reference/close_message/read-the-caller-orgs-close-state-and-close-message-draft-for-a-month"},{"title":"Close the caller org's books for a month and draft the close message","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/close_message/prepare","href":"/api-reference/close_message/close-the-caller-orgs-books-for-a-month-and-draft-the-close-message"},{"title":"Post the reviewed close message to the caller org's Slack channel","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/close_message/send","href":"/api-reference/close_message/post-the-reviewed-close-message-to-the-caller-orgs-slack-channel"}]},{"group":"tasks","pages":[{"title":"List Tasks","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Get Period Task Review","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/tasks/period-review","href":"/api-reference/tasks/get-period-task-review"},{"title":"Get Task","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/tasks/{occurrence_qid}","href":"/api-reference/tasks/get-task"},{"title":"List Task Artifacts","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/tasks/{occurrence_qid}/artifacts","href":"/api-reference/tasks/list-task-artifacts"},{"title":"Set Task Artifact Status","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json put /admin_api/tasks/{occurrence_qid}/artifacts/{artifact_qid}","href":"/api-reference/tasks/set-task-artifact-status"},{"title":"Run Task","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/tasks/{occurrence_qid}/run","href":"/api-reference/tasks/run-task"},{"title":"Create Task Feedback","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/tasks/{occurrence_qid}/feedback","href":"/api-reference/tasks/create-task-feedback"},{"title":"Set Task Completion","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json put /admin_api/tasks/{occurrence_qid}/completion","href":"/api-reference/tasks/set-task-completion"}]},{"group":"revenue_customers","pages":[{"title":"Create Customer","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/revenue/customers/create","href":"/api-reference/revenue_customers/create-customer"}]},{"group":"invoice_admin","pages":[{"title":"Create Credit Note","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/create_credit_note","href":"/api-reference/invoice_admin/create-credit-note"},{"title":"Get Invoice Customer Credit","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /admin_api/invoices/invoice/{invoice_qid}/customer_credit","href":"/api-reference/invoice_admin/get-invoice-customer-credit"},{"title":"Set Invoice Customer Credit","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/set_invoice_customer_credit","href":"/api-reference/invoice_admin/set-invoice-customer-credit"},{"title":"Correct an invoice's service period and re-derive its revenue","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/update_invoice_service_period","href":"/api-reference/invoice_admin/correct-an-invoices-service-period-and-re-derive-its-revenue"},{"title":"Update Invoice Metadata","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/update_invoice_metadata","href":"/api-reference/invoice_admin/update-invoice-metadata"},{"title":"Update Invoice Metadata Async","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/update_invoice_metadata_async","href":"/api-reference/invoice_admin/update-invoice-metadata-async"},{"title":"Create Manual Invoice","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/create_manual_invoice","href":"/api-reference/invoice_admin/create-manual-invoice"},{"title":"Replay Invoice","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/replay_invoice","href":"/api-reference/invoice_admin/replay-invoice"},{"title":"Replay Invoices Bulk","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /admin_api/invoices/replay_invoices_bulk","href":"/api-reference/invoice_admin/replay-invoices-bulk"}]},{"group":"organizations","pages":[{"title":"Get Org Entities","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/organization/entities","href":"/api-reference/organizations/get-org-entities"}]},{"group":"onboarding","pages":[{"title":"Discover Source Accounts","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/discover_source_accounts","href":"/api-reference/onboarding/discover-source-accounts"},{"title":"Run Qbo Backfill","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/qbo/backfill","href":"/api-reference/onboarding/run-qbo-backfill"},{"title":"Get Qbo Backfill Status","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/onboarding/qbo/backfill/status","href":"/api-reference/onboarding/get-qbo-backfill-status"},{"title":"Pull Qbo Coa","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/qbo/pull_coa","href":"/api-reference/onboarding/pull-qbo-coa"},{"title":"Backfill Sources","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/backfill_sources","href":"/api-reference/onboarding/backfill-sources"},{"title":"Get Backfill Sources Status","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/onboarding/backfill_sources/status","href":"/api-reference/onboarding/get-backfill-sources-status"},{"title":"Process Source Data","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/process_source_data","href":"/api-reference/onboarding/process-source-data"},{"title":"Get Process Source Data Status","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/onboarding/process_source_data/status","href":"/api-reference/onboarding/get-process-source-data-status"},{"title":"Prepare Org For Onboarding","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/prepare","href":"/api-reference/onboarding/prepare-org-for-onboarding"},{"title":"Transition Onboarding","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/onboarding/transition","href":"/api-reference/onboarding/transition-onboarding"},{"title":"Check Account Mapping","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/onboarding/check_account_mapping","href":"/api-reference/onboarding/check-account-mapping"}]},{"group":"gl_accounts","pages":[{"title":"List Accounts","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/general_ledger/accounts/list","href":"/api-reference/gl_accounts/list-accounts"},{"title":"Create Gl Account","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/general_ledger/accounts/create","href":"/api-reference/gl_accounts/create-gl-account"},{"title":"Update Gl Accounts","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/general_ledger/accounts/update","href":"/api-reference/gl_accounts/update-gl-accounts"},{"title":"Get Account Lookup Ids","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/general_ledger/accounts/lookup_ids","href":"/api-reference/gl_accounts/get-account-lookup-ids"},{"title":"Merge Accounts","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/general_ledger/accounts/merge","href":"/api-reference/gl_accounts/merge-accounts"}]},{"group":"journal_entry","pages":[{"title":"Update Journal Entry","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/alpha/general_ledger/journal_entry/update","href":"/api-reference/journal_entry/update-journal-entry"}]},{"group":"sources","pages":[{"title":"List Connected","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/alpha/sources/list_connected","href":"/api-reference/sources/list-connected"}]},{"group":"vendors","pages":[{"title":"Get Vendor Mapping Transaction Count","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/vendor/mapping_transaction_count","href":"/api-reference/vendors/get-vendor-mapping-transaction-count"},{"title":"Get explicit vendor mapping evidence","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json get /api/vendor/mapping_evidence","href":"/api-reference/vendors/get-explicit-vendor-mapping-evidence"},{"title":"Prepare Vendor Mapping","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/vendor/mapping/prepare","href":"/api-reference/vendors/prepare-vendor-mapping"},{"title":"Apply Vendor Mapping","deprecated":null,"version":null,"openapi":"https://app.usequanta.com/openapi/quanta-services-api/openapi.json post /api/vendor/mapping/apply","href":"/api-reference/vendors/apply-vendor-mapping"}]}]}]},"basePath":"","title":"Bulk-upsert mappings - Quanta","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}