amount nunca lleva signo; direction dice si entró o salió. Es el mismo
contrato de Fintoc v2, así que si ya integraste un agregador no cambias nada.
Entero en CLP; con decimales en otras monedas.
status: pending mientras el banco no lo contabiliza, posted cuando sí,
removed si el banco lo revirtió. posted_movement_id enlazará una
pendiente con la posteada que la reemplazó cuando llegue la sincronización
por cursor; hoy viene null, igual que balance_after.
description es la glosa tal cual la entrega el banco. No la normalizamos.
counterparty: la contraparte resuelta. Un agregador entrega la glosa;
Tupana además identifica el RUT, la razón social, el banco y la cuenta
enmascarada de quien pagó o cobró, con el dato estructurado del banco o, si
no viene, con lo que dice la glosa. null cuando no hay nada que resolver.
El número de cuenta de la contraparte completo nunca sale.
category: qué es el dinero según la clasificación de Tupana:
customer_payment, supplier_payment, payroll, taxes, bank_fees,
internal_transfer, card_settlement. null si todavía no se clasificó o
no se identificó.
Acá no hay nada de documentos tributarios ni de conciliación: ni facturas
asociadas, ni estado contable. La API bancaria habla de dinero.
API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tupana","description":"Documentación de la API de facturación electrónica de Tupana para Chile: emite facturas, boletas, notas de crédito y guías (DTE) al SII como facturador de mercado, cobra con link de pago, cede facturas, consulta libros del SII y conecta agentes de IA por MCP.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4","dark":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4"},"favicon":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4","search":{"prompt":"Busca en la documentación de Tupana..."},"seo":{"metatags":{"canonical":"https://docs.tupana.ai","og:site_name":"Tupana Docs","og:type":"website","og:locale":"es_CL","twitter:card":"summary_large_image","keywords":"API facturación electrónica, Chile, SII, DTE, factura electrónica, boleta electrónica, facturador de mercado, MCP, Tupana","application-name":"Tupana Docs"},"organization":{"id":"https://www.tupana.ai/#organization","name":"Tupana","url":"https://www.tupana.ai","sameAs":["https://www.tupana.ai","https://developers.tupana.ai","https://github.com/tupana-ai"]},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tupana","hasAudioNarration":false,"actualSubdomain":"tupana","customDomains":["docs.tupana.ai"],"gitSource":{"type":"github","owner":"afgil","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae26f72d710c44dbd167e78","collectionId":"6d2954c9-9f7a-4786-b0bb-cf8c7827c485","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae26f72d710c44dbd167e78"},"entitlements":{},"buildId":"6ae27da52c31e92815946eeb","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Facturación","count":32},{"language":"default","tag":"API Consultas","count":30},{"language":"default","tag":"Guía de Usuario","count":26},{"language":"default","tag":"API Bancaria","count":17},{"language":"default","tag":"Referencia","count":16},{"language":"default","tag":"Folios","count":15},{"language":"default","tag":"Introducción","count":14},{"language":"default","tag":"API Recaudación","count":13},{"language":"default","tag":"Documentos Programados","count":12},{"language":"default","tag":"API Cesiones","count":10}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/movements/list","slug":"/api-reference/v2/movements/list","pageMetadata":{"title":"Listar movimientos de una cuenta","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/movements/","description":"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige `banking:read` explícito.","href":"/api-reference/v2/movements/list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige \", _jsx(_components.code, {\n children: \"banking:read\"\n }), \" explícito.\"]\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Los movimientos de una cuenta bancaria tal como quedaron en la última lectura\ndel banco, los más nuevos primero. El GET nunca toca al banco.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.tupana.ai/v2/bank-accounts/bacc_7Hk2938475610293/movements/?since=2026-10-01\u0026until=2026-10-31\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Api-Key TU_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"move_Qm8102938475612\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bacc_7Hk2938475610293\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"company_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ment_3672486436546233854\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`450000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CLP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"posted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"posted_movement_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transaction_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-25\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TRANSFERENCIA DE COMERCIAL ANDINA SPA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"balance_after\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"counterparty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tax_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"76.543.169-7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Comercial Andina SpA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"institution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cl_banco_de_chile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Banco de Chile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_number_mask\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0912\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer_payment\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total_pages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"links\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"prev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Necesitas `,_jsx(_components.code,{children:`banking:read`}),` explícito en la API key (ver\n`,_jsx(_components.a,{href:`/api-reference/v2/banking/introduction#permiso`,children:`Introducción`}),`). Una cuenta de\notra empresa responde `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`filtros`,children:`Filtros`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parámetro`}),_jsx(_components.th,{children:`Qué hace`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`since`}),`, `,_jsx(_components.code,{children:`until`})]}),_jsxs(_components.td,{children:[`Rango de `,_jsx(_components.code,{children:`transaction_date`}),`, inclusivo, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`direction`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`inbound`}),` (entra dinero) o `,_jsx(_components.code,{children:`outbound`}),` (sale).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pending`}),` o `,_jsx(_components.code,{children:`posted`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`min_amount`}),`, `,_jsx(_components.code,{children:`max_amount`})]}),_jsx(_components.td,{children:`Sobre el monto sin signo.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Un valor inválido responde `,_jsx(_components.code,{children:`400`}),` con `,_jsx(_components.code,{children:`code: parameter_invalid`}),` y `,_jsx(_components.code,{children:`param`}),`.\n`,_jsx(_components.code,{children:`page`}),` y `,_jsx(_components.code,{children:`page_size`}),` (tope 200) paginan; `,_jsx(_components.code,{children:`?fields=`}),` recorta los campos.`]}),`\n`,_jsx(Heading,{level:`2`,id:`el-dato-crudo`,children:`El dato crudo`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),` nunca lleva signo; `,_jsx(_components.code,{children:`direction`}),` dice si entró o salió. Es el mismo\ncontrato de Fintoc v2, así que si ya integraste un agregador no cambias nada.\nEntero en CLP; con decimales en otras monedas.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status`}),`: `,_jsx(_components.code,{children:`pending`}),` mientras el banco no lo contabiliza, `,_jsx(_components.code,{children:`posted`}),` cuando sí,\n`,_jsx(_components.code,{children:`removed`}),` si el banco lo revirtió. `,_jsx(_components.code,{children:`posted_movement_id`}),` enlazará una\npendiente con la posteada que la reemplazó cuando llegue la sincronización\npor cursor; hoy viene `,_jsx(_components.code,{children:`null`}),`, igual que `,_jsx(_components.code,{children:`balance_after`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`description`}),` es la glosa tal cual la entrega el banco. No la normalizamos.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`lo-que-tupana-agrega`,children:`Lo que Tupana agrega`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`counterparty`}),`: la contraparte resuelta. Un agregador entrega la glosa;\nTupana además identifica el RUT, la razón social, el banco y la cuenta\nenmascarada de quien pagó o cobró, con el dato estructurado del banco o, si\nno viene, con lo que dice la glosa. `,_jsx(_components.code,{children:`null`}),` cuando no hay nada que resolver.\nEl número de cuenta de la contraparte completo nunca sale.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`category`}),`: qué es el dinero según la clasificación de Tupana:\n`,_jsx(_components.code,{children:`customer_payment`}),`, `,_jsx(_components.code,{children:`supplier_payment`}),`, `,_jsx(_components.code,{children:`payroll`}),`, `,_jsx(_components.code,{children:`taxes`}),`, `,_jsx(_components.code,{children:`bank_fees`}),`,\n`,_jsx(_components.code,{children:`internal_transfer`}),`, `,_jsx(_components.code,{children:`card_settlement`}),`. `,_jsx(_components.code,{children:`null`}),` si todavía no se clasificó o\nno se identificó.`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Acá no hay nada de documentos tributarios ni de conciliación: ni facturas\nasociadas, ni estado contable. La API bancaria habla de dinero.`})})]})}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":{"title":"Listar movimientos de una cuenta","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/movements/","description":"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige `banking:read` explícito.","href":"/api-reference/v2/movements/list"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Filtros","slug":"filtros","depth":2,"children":[]},{"title":"El dato crudo","slug":"el-dato-crudo","depth":2,"children":[]},{"title":"Lo que Tupana agrega","slug":"lo-que-tupana-agrega","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listBankAccountMovements_v2","tags":["Movimientos"],"security":["ed8f83eb-affd-47da-a191-4e9f21f4a966"],"summary":"Listar movimientos de una cuenta","description":"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige `banking:read` explícito.","parameters":["6ad93c4e-a0f6-4900-9564-a8e3c8328fc1","f4b3cd4d-3be6-427a-bf77-9cf8baa2e753","6c4f7ef8-78bd-4729-95ec-46ddb76f2e1e","4edff07a-4d73-4b5f-a4e9-21d89581c157","1e71fb0b-35e5-480d-afeb-03fce57d594e","1e90c564-645c-4888-a353-f67b5f357b1e","049df700-38fa-4740-9eea-1a22fd058411","e0226a96-b29b-461a-b5a1-a890a1dc3005","7a9c42f0-8818-4995-b98a-0c447e9ca970","628a3e0a-b936-49da-b3e5-6fc6bf1a18ff"],"responses":{"200":"ca5968c4-2ee4-460c-bed3-4b2341e83bc1","400":"ae659486-ce91-43d6-acbe-e773a70527af","403":"8924d53b-4da6-481c-a646-0f3e87e9d34e","404":"58bff4f3-0e07-4cc6-b4ac-b0842f610bd4"},"method":"get","type":"path","servers":["fe80e45d-5448-4bc3-89de-987094540d3d"],"path":"/bank-accounts/{account_id}/movements/","baseUrlOptions":["https://api.tupana.ai/v2"],"title":"Listar movimientos de una cuenta","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6ad93c4e-a0f6-4900-9564-a8e3c8328fc1":{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"bacc_7Hk2938475610293","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"f4b3cd4d-3be6-427a-bf77-9cf8baa2e753":{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date","isRequired":false,"description":"Desde esta `transaction_date`, inclusive.","uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"Desde esta `transaction_date`, inclusive."},"6c4f7ef8-78bd-4729-95ec-46ddb76f2e1e":{"name":"until","in":"query","required":false,"schema":{"type":"string","format":"date","isRequired":false,"description":"Hasta esta `transaction_date`, inclusive.","uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"Hasta esta `transaction_date`, inclusive."},"4edff07a-4d73-4b5f-a4e9-21d89581c157":{"name":"direction","in":"query","required":false,"schema":{"type":"string","enum":["inbound","outbound"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"1e71fb0b-35e5-480d-afeb-03fce57d594e":{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","posted"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"1e90c564-645c-4888-a353-f67b5f357b1e":{"name":"min_amount","in":"query","required":false,"schema":{"type":"number","isRequired":false,"description":"Sobre el monto sin signo.","uniqueKey":"","typeLabel":"number"},"description":"Sobre el monto sin signo."},"049df700-38fa-4740-9eea-1a22fd058411":{"name":"max_amount","in":"query","required":false,"schema":{"type":"number","isRequired":false,"description":"Sobre el monto sin signo.","uniqueKey":"","typeLabel":"number"},"description":"Sobre el monto sin signo."},"e0226a96-b29b-461a-b5a1-a890a1dc3005":{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"isRequired":false,"uniqueKey":"","typeLabel":"integer"}},"7a9c42f0-8818-4995-b98a-0c447e9ca970":{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"maximum":200,"isRequired":false,"uniqueKey":"","typeLabel":"integer"}},"628a3e0a-b936-49da-b3e5-6fc6bf1a18ff":{"name":"fields","in":"query","required":false,"schema":{"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"responses":{"ca5968c4-2ee4-460c-bed3-4b2341e83bc1":{"description":"Movimientos","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"move_Qm8102938475612","uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"account_id":{"type":"string","example":"bacc_7Hk2938475610293","uniqueKey":"data.items.[INDEX].account_id","typeLabel":"string"},"company_id":{"type":"string","example":"ment_3672486436546233854","uniqueKey":"data.items.[INDEX].company_id","typeLabel":"string"},"amount":{"type":"number","example":450000,"description":"Sin signo. Entero en CLP.","uniqueKey":"data.items.[INDEX].amount","typeLabel":"number"},"direction":{"type":"string","enum":["inbound","outbound"],"uniqueKey":"data.items.[INDEX].direction","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","example":"CLP","uniqueKey":"data.items.[INDEX].currency","typeLabel":"string"},"status":{"type":"string","enum":["pending","posted","removed"],"uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"posted_movement_id":{"oneOf":[{"type":"string","description":"En una pendiente retirada: el id del movimiento posteado que la reemplazó.","uniqueKey":"data.items.[INDEX].posted_movement_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"En una pendiente retirada: el id del movimiento posteado que la reemplazó.","uniqueKey":"data.items.[INDEX].posted_movement_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].posted_movement_id","typeLabel":"string | null"},"transaction_date":{"oneOf":[{"type":"string","format":"date","uniqueKey":"data.items.[INDEX].transaction_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","uniqueKey":"data.items.[INDEX].transaction_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].transaction_date","typeLabel":"string\u003cdate> | null"},"post_date":{"oneOf":[{"type":"string","format":"date","uniqueKey":"data.items.[INDEX].post_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","uniqueKey":"data.items.[INDEX].post_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].post_date","typeLabel":"string\u003cdate> | null"},"description":{"type":"string","description":"La glosa tal cual la entrega el banco.","uniqueKey":"data.items.[INDEX].description","typeLabel":"string"},"balance_after":{"oneOf":[{"type":"number","description":"Saldo de la cuenta tras el movimiento, cuando la fuente lo entrega (cartolas).","uniqueKey":"data.items.[INDEX].balance_after.oneOf.0","typeLabel":"number"},{"type":"null","description":"Saldo de la cuenta tras el movimiento, cuando la fuente lo entrega (cartolas).","uniqueKey":"data.items.[INDEX].balance_after.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].balance_after","typeLabel":"number | null"},"counterparty":{"oneOf":[{"type":"object","description":"La contraparte resuelta por Tupana. `null` cuando no hay nada que resolver.","properties":{"tax_id":{"oneOf":[{"type":"string","example":"76.543.169-7","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"76.543.169-7","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.tax_id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","example":"Comercial Andina SpA","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Comercial Andina SpA","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.name","typeLabel":"string | null"},"institution":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","example":"cl_banco_de_chile","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.institution.oneOf.0.code","typeLabel":"string"},"name":{"type":"string","example":"Banco de Chile","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.institution.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.institution.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string","example":"cl_banco_de_chile"},"name":{"type":"string","example":"Banco de Chile"}},"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.institution.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.institution","typeLabel":"object | null"},"account_number_mask":{"oneOf":[{"type":"string","example":"0912","description":"Últimos 4 dígitos. El número completo nunca sale.","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.account_number_mask.oneOf.0","typeLabel":"string"},{"type":"null","example":"0912","description":"Últimos 4 dígitos. El número completo nunca sale.","uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.account_number_mask.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0.account_number_mask","typeLabel":"string | null"}},"uniqueKey":"data.items.[INDEX].counterparty.oneOf.0","typeLabel":"object"},{"type":"null","description":"La contraparte resuelta por Tupana. `null` cuando no hay nada que resolver.","properties":{"tax_id":{"oneOf":[{"type":"string","example":"76.543.169-7"},{"type":"null","example":"76.543.169-7"}]},"name":{"oneOf":[{"type":"string","example":"Comercial Andina SpA"},{"type":"null","example":"Comercial Andina SpA"}]},"institution":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","example":"cl_banco_de_chile"},"name":{"type":"string","example":"Banco de Chile"}}},{"type":"null","properties":{"code":{"type":"string","example":"cl_banco_de_chile"},"name":{"type":"string","example":"Banco de Chile"}}}]},"account_number_mask":{"oneOf":[{"type":"string","example":"0912","description":"Últimos 4 dígitos. El número completo nunca sale."},{"type":"null","example":"0912","description":"Últimos 4 dígitos. El número completo nunca sale."}]}},"uniqueKey":"data.items.[INDEX].counterparty.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].counterparty","typeLabel":"object | null"},"category":{"oneOf":[{"type":"string","enum":["customer_payment","supplier_payment","payroll","taxes","bank_fees","internal_transfer","card_settlement"],"description":"Clasificación Tupana del movimiento. `null` si no se clasificó o no se identificó.","uniqueKey":"data.items.[INDEX].category.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["customer_payment","supplier_payment","payroll","taxes","bank_fees","internal_transfer","card_settlement"],"description":"Clasificación Tupana del movimiento. `null` si no se clasificó o no se identificó.","uniqueKey":"data.items.[INDEX].category.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].category","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object[]"},"meta":{"type":"object","properties":{"page":{"type":"integer","uniqueKey":"meta.page","typeLabel":"integer"},"page_size":{"type":"integer","uniqueKey":"meta.page_size","typeLabel":"integer"},"total":{"type":"integer","uniqueKey":"meta.total","typeLabel":"integer"},"total_pages":{"type":"integer","uniqueKey":"meta.total_pages","typeLabel":"integer"}},"uniqueKey":"meta","typeLabel":"object"},"links":{"type":"object","properties":{"next":{"oneOf":[{"type":"string","uniqueKey":"links.next.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"links.next.oneOf.1","typeLabel":"null"}],"uniqueKey":"links.next","typeLabel":"string | null"},"prev":{"oneOf":[{"type":"string","uniqueKey":"links.prev.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"links.prev.oneOf.1","typeLabel":"null"}],"uniqueKey":"links.prev","typeLabel":"string | null"}},"uniqueKey":"links","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":"move_Qm8102938475612","account_id":"bacc_7Hk2938475610293","company_id":"ment_3672486436546233854","amount":450000,"direction":"inbound","currency":"CLP","status":"pending","posted_movement_id":"\u003cstring>","transaction_date":"2023-12-25","post_date":"2023-12-25","description":"\u003cstring>","balance_after":123,"counterparty":{"tax_id":"76.543.169-7","name":"Comercial Andina SpA","institution":{"code":"cl_banco_de_chile","name":"Banco de Chile"},"account_number_mask":"0912"},"category":"customer_payment"}],"meta":{"page":123,"page_size":123,"total":123,"total_pages":123},"links":{"next":"\u003cstring>","prev":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ae659486-ce91-43d6-acbe-e773a70527af":{"description":"Un filtro inválido (`code: parameter_invalid`, `param`)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"8924d53b-4da6-481c-a646-0f3e87e9d34e":{"description":"La API key no tiene `banking:read` explícito (`code: banking_permission_required`)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"58bff4f3-0e07-4cc6-b4ac-b0842f610bd4":{"description":"La cuenta no existe para esta API key","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"ed8f83eb-affd-47da-a191-4e9f21f4a966":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"fe80e45d-5448-4bc3-89de-987094540d3d":{"url":"https://api.tupana.ai/v2","description":"Producción (v2)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"Authorization","type":"string","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi-v2.json"},"subdomain":"tupana","siteName":"Tupana","title":"Listar movimientos de una cuenta - Tupana","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/movements/list","matchLevel":0},"v1":{"href":"/","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T21:57:26.986Z","originalFileLocation":"api-reference/v2/movements/list.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=\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige banking:read explícito.\">\u003cmeta data-mint-head name=\"keywords\" content=\"API facturación electrónica, Chile, SII, DTE, factura electrónica, boleta electrónica, facturador de mercado, MCP, Tupana\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tupana\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Listar movimientos de una cuenta - Tupana\">\u003cmeta data-mint-head property=\"og:description\" content=\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige banking:read explícito.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tupana Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tupana.ai/api-reference/v2/movements/list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tupana.mintlify.app/_mintlify/api/og/v2?division=Movimientos\u0026amp;title=Listar+movimientos+de+una+cuenta\u0026amp;description=Los+movimientos+de+la+cuenta+como+quedaron+en+la+%C3%BAltima+lectura+del+banco%2C+m%C3%A1s+nuevos+primero.+Exige+%60banking%3Aread%60+expl%C3%ADcito.\u0026amp;theme=8f794ab3ff62e6ef205888a5\u0026amp;signature=8d5288917fcb3adcf39e3b480d5b975ac5e48d2467f6b844c89e1fab998bf74d\">\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=\"Listar movimientos de una cuenta - Tupana\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige banking:read explícito.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tupana.mintlify.app/_mintlify/api/og/v2?division=Movimientos\u0026amp;title=Listar+movimientos+de+una+cuenta\u0026amp;description=Los+movimientos+de+la+cuenta+como+quedaron+en+la+%C3%BAltima+lectura+del+banco%2C+m%C3%A1s+nuevos+primero.+Exige+%60banking%3Aread%60+expl%C3%ADcito.\u0026amp;theme=8f794ab3ff62e6ef205888a5\u0026amp;signature=8d5288917fcb3adcf39e3b480d5b975ac5e48d2467f6b844c89e1fab998bf74d\">\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/tupana/fowjLNjN54KnVxEj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tupana\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"es_CL\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tupana Docs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tupana.ai/api-reference/v2/movements/list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/movements/list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.tupana.ai/#organization\",\"name\":\"Tupana\",\"url\":\"https://www.tupana.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4\"},\"sameAs\":[\"https://www.tupana.ai\",\"https://developers.tupana.ai\",\"https://github.com/tupana-ai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tupana.ai#website\",\"name\":\"Tupana\",\"url\":\"https://docs.tupana.ai\",\"publisher\":{\"@id\":\"https://www.tupana.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tupana.ai/api-reference/v2/movements/list#webpage\",\"url\":\"https://docs.tupana.ai/api-reference/v2/movements/list\",\"name\":\"Listar movimientos de una cuenta\",\"description\":\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige banking:read explícito.\",\"dateModified\":\"2026-10-28T21:57:26.986Z\",\"isPartOf\":{\"@id\":\"https://docs.tupana.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tupana.ai/api-reference/v2/movements/list#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tupana.ai/api-reference/v2/movements/list#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tupana\",\"item\":\"https://docs.tupana.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Listar movimientos de una cuenta\",\"item\":\"https://docs.tupana.ai/api-reference/v2/movements/list\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tupana.ai/api-reference/v2/movements/list#apireference\",\"headline\":\"Listar movimientos de una cuenta\",\"name\":\"Listar movimientos de una cuenta\",\"description\":\"Los movimientos de la cuenta como quedaron en la última lectura del banco, más nuevos primero. Exige banking:read explícito.\",\"url\":\"https://docs.tupana.ai/api-reference/v2/movements/list\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tupana.ai/api-reference/v2/movements/list#webpage\"},\"dateModified\":\"2026-10-28T21:57:26.986Z\",\"publisher\":{\"@id\":\"https://www.tupana.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tupana.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tupana\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tupana","nav":{"global":null,"versions":[{"version":"v2","tabs":[{"tab":"Guía de Usuario","pages":[{"title":"Guía de Usuario","href":""}]},{"tab":"API Facturación","pages":[{"title":"API Facturación","href":"/api-reference/v2/introduction"}]},{"tab":"API Bancaria","groups":[{"group":"Introducción","pages":[{"title":"API Bancaria — Introducción","href":"/api-reference/v2/banking/introduction"},{"title":"Primera lectura de un banco","href":"/api-reference/v2/banking/guides/first-sync"},{"title":"Sincronizar con cursor","href":"/api-reference/v2/banking/guides/sync"},{"title":"Sandbox bancario","href":"/api-reference/v2/banking/guides/sandbox"}]},{"group":"Conexiones","pages":[{"title":"Tupana Link: conectar empresas al SII desde tu SaaS","sidebarTitle":"Tupana Link","href":"/api-reference/v2/connect/tupana-link"},{"title":"Listar conexiones de empresas (API v2)","sidebarTitle":"Listar conexiones","openapi":"api-reference/openapi-v2.json GET /connections/","href":"/api-reference/v2/connections/list"},{"title":"Reautorizar una conexión","openapi":"api-reference/openapi-v2.json POST /connections/{connection_id}/reauthorizations/","href":"/api-reference/v2/connections/reauthorize"},{"title":"Desactivar una conexión de empresa (API v2)","sidebarTitle":"Desactivar una conexión","openapi":"api-reference/openapi-v2.json DELETE /connections/{connection_id}/","href":"/api-reference/v2/connections/delete"}]},{"group":"Instituciones","pages":[{"title":"Listar instituciones","openapi":"api-reference/openapi-v2.json GET /institutions/","href":"/api-reference/v2/institutions/list"}]},{"group":"Cuentas","pages":[{"title":"Listar cuentas bancarias","openapi":"api-reference/openapi-v2.json GET /bank-accounts/","href":"/api-reference/v2/bank-accounts/list"},{"title":"Obtener una cuenta bancaria","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/","description":"Una cuenta por su id. Una cuenta de otra empresa es `404`.","href":"/api-reference/v2/bank-accounts/get"}]},{"group":"Movimientos","pages":[{"title":"Listar movimientos de una cuenta","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/movements/","href":"/api-reference/v2/movements/list"},{"title":"Obtener un movimiento","openapi":"api-reference/openapi-v2.json GET /movements/{movement_id}/","description":null,"href":"/api-reference/v2/movements/get"},{"title":"Sincronizar movimientos (cursor)","openapi":"api-reference/openapi-v2.json GET /movements/sync/","href":"/api-reference/v2/movements/sync"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/v2/banking/webhooks"},{"title":"Crear un webhook (API v2)","sidebarTitle":"Crear webhook","openapi":"api-reference/openapi-v2.json POST /webhooks/","href":"/api-reference/v2/webhooks-pages/create"}]},{"group":"Eventos","pages":[{"title":"Listar eventos","openapi":"api-reference/openapi-v2.json GET /events/","href":"/api-reference/v2/events/list"},{"title":"Obtener un evento","openapi":"api-reference/openapi-v2.json GET /events/{event_id}/","href":"/api-reference/v2/events/get"}]},{"group":"Errores","pages":[{"title":"Errores de la API v2","sidebarTitle":"Errores","href":"/api-reference/v2/errors"}]}]},{"tab":"API Cesiones","pages":[{"title":"API Cesiones","href":"/api-reference/v2/cessions/introduction"}]},{"tab":"API Recaudación","pages":[{"title":"API Recaudación","href":"/api-reference/payment-requests/introduction"}]},{"tab":"API Consultas","pages":[{"title":"API Consultas","href":"/api-reference/v2/consultas/introduction"}]},{"tab":"Bases de Datos Gratuitas","pages":[{"title":"Bases de Datos Gratuitas","href":"/api-reference/v2/free-databases/introduction"}]},{"tab":"API Boleta de Honorarios","pages":[{"title":"API Boleta de Honorarios","href":"/api-reference/v2/honorary/introduction"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/"}]}]},"title":"Listar movimientos de una cuenta - Tupana","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}