Create journal entries using natural language or file attachments.
lim add
The add command is lim’s signature feature. Describe a transaction in plain language and lim creates the correct journal entry, including tax decomposition.
Basic Usage
lim add "<description>"
Examples
# Simple expenselim add "AWS 11000 yen credit card"
✅ Communication 10,000 / Accounts payable 11,000 Input VAT 1,000📚 Learned rule for "AWS" (auto-suggest next time)
# Revenuelim add "Received 550,000 yen from Acme Corp for consulting"
Images are automatically resized before sending to the vision API. Files larger than 20MB are
rejected. For best results, ensure receipts are well-lit and text is readable.
The 3-Step Judgment Process
When you run lim add, the engine processes your input through three steps:
Rule Match — checks learned rules from previous entries. Zero AI cost. Instant.
History Match — searches past journal entries with similar descriptions. Zero AI cost.
AI Inference — calls an LLM to classify the transaction. Only used as a last resort.
If all three steps produce low confidence, the entry is created in draft status for human review.
# First time: AI inference (step 3)lim add "GitHub 1100 yen credit card"# => ✅ Communication 1,000 / Accounts payable 1,100 (AI inference, 87% confidence)# 📚 Learned rule for "GitHub"# Second time: Rule match (step 1)lim add "GitHub 1100 yen credit card"# => ✅ Communication 1,000 / Accounts payable 1,100 (Rule match, 88% confidence)
Flags
Flag
Description
Example
--file, -f
Attach a file (receipt, invoice, screenshot)
--file receipt.jpg
--date, -d
Override the transaction date (YYYY-MM-DD)
--date 2026-03-01
--draft
Create as draft (skip auto-posting)
--draft
--yes, -y
Skip confirmation prompt
-y
--format
Output format: table, json
--format json
Interactive Confirmation
By default, lim add shows the proposed journal entry and asks for confirmation:
When autoPost is true, the entry is posted without confirmation. This happens when a rule has been confirmed enough times (confidence >= 0.95). Use --draft to override this behavior.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"lim","colors":{"primary":"#18181B","light":"#F4F4F5","dark":"#18181B"},"logo":{"light":"https://mintcdn.com/ship-81dac153/mOROYUi8HgK4gxX2/images/logo-light.svg?fit=max\u0026auto=format\u0026n=mOROYUi8HgK4gxX2\u0026q=85\u0026s=5cbee52fbb53f79b9c10eddcf5863726","dark":"https://mintcdn.com/ship-81dac153/mOROYUi8HgK4gxX2/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=mOROYUi8HgK4gxX2\u0026q=85\u0026s=46d582a37762e2c7bff74aca9107a0e3"},"favicon":"/images/favicon.svg","navbar":{"primary":{"type":"button","label":"Get Started","href":"https://app.uselim.com"}},"footer":{},"seo":{"metatags":{"canonical":"https://docs.uselim.com"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"ja","href":"ja/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ship-81dac153","hasAudioNarration":false,"actualSubdomain":"ship-81dac153","customDomains":["docs.uselim.com"],"gitSource":{"type":"github","owner":"ship-hq","repo":"lim","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae940148e17361c5bf925f3:success","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"en","tag":"Guides","count":34},{"language":"ja","tag":"ガイド","count":34},{"language":"en","tag":"CLI","count":17},{"language":"ja","tag":"CLI","count":17},{"language":"en","tag":"CLI Basics","count":9},{"language":"ja","tag":"CLI 基本","count":9},{"language":"en","tag":"AI Agents","count":8},{"language":"en","tag":"Money In \u0026 Money Out","count":4},{"language":"en","tag":"Operations \u0026 Compliance","count":4},{"language":"en","tag":"Concepts","count":4},{"language":"ja","tag":"AI Agent","count":4},{"language":"ja","tag":"AI Agent連携","count":4},{"language":"ja","tag":"入出金と書類","count":4},{"language":"ja","tag":"運用と内部統制","count":4},{"language":"ja","tag":"コンセプト","count":4},{"language":"en","tag":"Getting Started","count":2},{"language":"ja","tag":"はじめに","count":2},{"language":"en","tag":"API","count":1},{"language":"en","tag":"API Reference","count":1},{"language":"ja","tag":"API","count":1}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"cli/add","slug":"/cli/add","pageMetadata":{"title":"lim add","sidebarTitle":"add","description":"Create journal entries using natural language or file attachments.","href":"/cli/add"},"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: \"Create journal entries using natural language or file attachments.\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`lim-add`,children:`lim add`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`add`}),` command is lim’s signature feature. Describe a transaction in plain language and lim creates the correct journal entry, including tax decomposition.`]}),`\n`,_jsx(Heading,{level:`2`,id:`basic-usage`,children:`Basic Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cdescription>\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),`\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:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Simple expense`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AWS 11000 yen credit card\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✅ Communication 10,000 / Accounts payable 11,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Input VAT 1,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`📚 Learned rule for \"AWS\" (auto-suggest next time)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\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:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Revenue`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Received 550,000 yen from Acme Corp for consulting\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✅ Accounts receivable 550,000 / Sales revenue 500,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Output VAT 50,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\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:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Payroll`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"March salary for Tanaka, gross 400000, withholding 20000, social insurance 50000\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✅ Salary expense 400,000 / Withholding tax payable 20,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Social insurance payable 50,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Cash 330,000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`file-attachments`,children:`File Attachments`}),`\n`,_jsx(_components.p,{children:`Attach receipts, invoices, or screenshots. lim extracts vendor, amount, date, and description using vision AI.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expense\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` receipt.jpg`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`📎 Analyzing receipt.jpg...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Vendor: Starbucks Shibuya`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Amount: ¥680 (tax-inclusive)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Date: 2026-03-15`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✅ Meeting expense 618 / Cash 680`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Input VAT 62`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`📎 Document attached to journal entry`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multiple-files`,children:`Multiple Files`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"office supplies\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` receipt1.jpg`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` receipt2.png`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`supported-formats`,children:`Supported Formats`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Extensions`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Images`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`.jpg`}),`, `,_jsx(_components.code,{children:`.jpeg`}),`, `,_jsx(_components.code,{children:`.png`}),`, `,_jsx(_components.code,{children:`.gif`}),`, `,_jsx(_components.code,{children:`.webp`})]}),_jsx(_components.td,{children:`Auto-resized to max 1568px (long edge)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`PDF`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.pdf`})}),_jsx(_components.td,{children:`Multi-page supported, first 5 pages processed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`CSV`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.csv`})}),_jsx(_components.td,{children:`Bank statement import`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Images are automatically resized before sending to the vision API. Files larger than 20MB are\nrejected. For best results, ensure receipts are well-lit and text is readable.`})}),`\n`,_jsx(Heading,{level:`2`,id:`the-3-step-judgment-process`,children:`The 3-Step Judgment Process`}),`\n`,_jsxs(_components.p,{children:[`When you run `,_jsx(_components.code,{children:`lim add`}),`, the engine processes your input through three steps:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rule Match`}),` — checks learned rules from previous entries. Zero AI cost. Instant.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`History Match`}),` — searches past journal entries with similar descriptions. Zero AI cost.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AI Inference`}),` — calls an LLM to classify the transaction. Only used as a last resort.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If all three steps produce low confidence, the entry is created in `,_jsx(_components.code,{children:`draft`}),` status for human review.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# First time: AI inference (step 3)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"GitHub 1100 yen credit card\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# => ✅ Communication 1,000 / Accounts payable 1,100 (AI inference, 87% confidence)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 📚 Learned rule for \"GitHub\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Second time: Rule match (step 1)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"GitHub 1100 yen credit card\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# => ✅ Communication 1,000 / Accounts payable 1,100 (Rule match, 88% confidence)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`flags`,children:`Flags`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--file`}),`, `,_jsx(_components.code,{children:`-f`})]}),_jsx(_components.td,{children:`Attach a file (receipt, invoice, screenshot)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--file receipt.jpg`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--date`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Override the transaction date (YYYY-MM-DD)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--date 2026-03-01`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--draft`})}),_jsx(_components.td,{children:`Create as draft (skip auto-posting)`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--draft`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--yes`}),`, `,_jsx(_components.code,{children:`-y`})]}),_jsx(_components.td,{children:`Skip confirmation prompt`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`-y`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--format`})}),_jsxs(_components.td,{children:[`Output format: `,_jsx(_components.code,{children:`table`}),`, `,_jsx(_components.code,{children:`json`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--format json`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`interactive-confirmation`,children:`Interactive Confirmation`}),`\n`,_jsxs(_components.p,{children:[`By default, `,_jsx(_components.code,{children:`lim add`}),` shows the proposed journal entry and asks for confirmation:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Uber 2500 yen\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Proposed journal entry:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Travel expense 2,273 / Cash 2,500`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Input VAT 227`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Confidence: 85% (AI inference)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`? Confirm this entry? (Y/n/edit)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Options:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Y`}),` (default) — confirm and post. The entry is learned for next time.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`n`}),` — cancel.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`edit`}),` — open an interactive editor to modify accounts or amounts.`]}),`\n`]}),`\n`,_jsxs(Tip,{children:[`Use `,_jsx(_components.code,{children:`--yes`}),` or `,_jsx(_components.code,{children:`-y`}),` to skip the confirmation prompt in scripts and automation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`json-output`,children:`JSON Output`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lim`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AWS 11000 yen credit card\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,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:`16`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"01926f3a-...\"`}),_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:` \"effectiveDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-16\"`}),_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:` \"memo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AWS 11000 yen credit card\"`}),_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:` \"lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"debit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Communication\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"debit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Input VAT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"credit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Accounts payable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`11000`}),_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:` \"judgment\"`}),_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:` \"step\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rule\"`}),_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:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.91`}),_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:` \"autoPost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\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`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`autoPost`}),` is `,_jsx(_components.code,{children:`true`}),`, the entry is posted without confirmation. This happens when a rule has been confirmed enough times (confidence >= 0.95). Use `,_jsx(_components.code,{children:`--draft`}),` to override this behavior.`]})})]})}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":"lim add","sidebarTitle":"add","description":"Create journal entries using natural language or file attachments.","href":"/cli/add"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"lim add","slug":"lim-add","depth":1,"children":[]},{"title":"Basic Usage","slug":"basic-usage","depth":2,"children":[{"title":"Examples","slug":"examples","depth":3,"children":[]}]},{"title":"File Attachments","slug":"file-attachments","depth":2,"children":[{"title":"Multiple Files","slug":"multiple-files","depth":3,"children":[]},{"title":"Supported Formats","slug":"supported-formats","depth":3,"children":[]}]},{"title":"The 3-Step Judgment Process","slug":"the-3-step-judgment-process","depth":2,"children":[]},{"title":"Flags","slug":"flags","depth":2,"children":[]},{"title":"Interactive Confirmation","slug":"interactive-confirmation","depth":2,"children":[]},{"title":"JSON Output","slug":"json-output","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ship-81dac153","siteName":"lim","title":"lim add - lim","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/cli/add","matchLevel":0},"ja":{"href":"/ja/cli/add","matchLevel":1}}},"lastModified":"2026-03-20T12:49:43.507Z","originalFileLocation":"cli/add.mdx","locale":"en"},"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=\"Create journal entries using natural language or file attachments.\">\u003cmeta data-mint-head name=\"application-name\" content=\"lim\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_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/ship-81dac153/ocalmLxiSejS9oPG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"lim add - lim\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create journal entries using natural language or file attachments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"lim\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.uselim.com/cli/add\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ship-81dac153.mintlify.site/_mintlify/api/og/v2?division=CLI+Basics\u0026amp;title=lim+add\u0026amp;description=Create+journal+entries+using+natural+language+or+file+attachments.\u0026amp;theme=c8bcb6cabcf1745c835da490\u0026amp;signature=a65506b9722a45b9c4996e7ad871aacd83529547df116b4b5e50470d7f9e6d1d\">\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=\"lim add - lim\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create journal entries using natural language or file attachments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ship-81dac153.mintlify.site/_mintlify/api/og/v2?division=CLI+Basics\u0026amp;title=lim+add\u0026amp;description=Create+journal+entries+using+natural+language+or+file+attachments.\u0026amp;theme=c8bcb6cabcf1745c835da490\u0026amp;signature=a65506b9722a45b9c4996e7ad871aacd83529547df116b4b5e50470d7f9e6d1d\">\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/ship-81dac153/ocalmLxiSejS9oPG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"lim\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.uselim.com/cli/add\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/add.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.uselim.com/cli/add\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.uselim.com/ja/cli/add\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.uselim.com/cli/add\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.uselim.com/#organization\",\"name\":\"lim\",\"url\":\"https://docs.uselim.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ship-81dac153/mOROYUi8HgK4gxX2/images/logo-light.svg?fit=max\u0026auto=format\u0026n=mOROYUi8HgK4gxX2\u0026q=85\u0026s=5cbee52fbb53f79b9c10eddcf5863726\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.uselim.com#website\",\"name\":\"lim\",\"url\":\"https://docs.uselim.com\",\"publisher\":{\"@id\":\"https://docs.uselim.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.uselim.com/cli/add#webpage\",\"url\":\"https://docs.uselim.com/cli/add\",\"name\":\"lim add\",\"description\":\"Create journal entries using natural language or file attachments.\",\"dateModified\":\"2026-03-20T12:49:43.507Z\",\"isPartOf\":{\"@id\":\"https://docs.uselim.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.uselim.com/cli/add#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.uselim.com/cli/add#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI Basics\",\"item\":\"https://docs.uselim.com/cli/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"lim add\",\"item\":\"https://docs.uselim.com/cli/add\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.uselim.com/cli/add#article\",\"headline\":\"lim add\",\"name\":\"lim add\",\"description\":\"Create journal entries using natural language or file attachments.\",\"url\":\"https://docs.uselim.com/cli/add\",\"mainEntityOfPage\":{\"@id\":\"https://docs.uselim.com/cli/add#webpage\"},\"dateModified\":\"2026-03-20T12:49:43.507Z\",\"publisher\":{\"@id\":\"https://docs.uselim.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.uselim.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"lim\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"lim\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli/add.md","siteName":"lim","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"CLI","groups":[{"group":"CLI Basics","pages":[{"title":"CLI Overview","sidebarTitle":"Overview","href":"/cli/overview"},{"title":"auth, doctor, and env","sidebarTitle":"auth \u0026 diagnostics","href":"/cli/auth-and-diagnostics"},{"title":"lim dashboard","sidebarTitle":"dashboard","description":"Inspect runway, P\u0026L, and learning flywheel metrics from the CLI.","href":"/cli/dashboard"},{"title":"lim add","sidebarTitle":"add","href":"/cli/add"},{"title":"lim companies","sidebarTitle":"companies","description":"Create, inspect, update, and switch between companies.","href":"/cli/companies"},{"title":"lim accounts","sidebarTitle":"accounts","href":"/cli/accounts"},{"title":"lim journals","sidebarTitle":"journals","href":"/cli/journals"},{"title":"lim reports","sidebarTitle":"reports","href":"/cli/reports"},{"title":"lim stats \u0026 dashboard","sidebarTitle":"stats","href":"/cli/stats"}]},{"group":"Money In \u0026 Money Out","pages":[{"title":"invoices and payments","sidebarTitle":"invoices \u0026 payments","href":"/cli/invoices-and-payments"},{"title":"lim bank","sidebarTitle":"banking","href":"/cli/banking"},{"title":"lim docs","sidebarTitle":"documents","href":"/cli/documents"},{"title":"lim import and export","sidebarTitle":"import \u0026 export","href":"/cli/import-and-export"}]},{"group":"Operations \u0026 Compliance","pages":[{"title":"people, payroll, and approvals","sidebarTitle":"people \u0026 payroll","href":"/cli/people-and-payroll"},{"title":"dispatch and worker alerts","sidebarTitle":"dispatch \u0026 workers","href":"/cli/dispatch-and-workers"},{"title":"close, fx, labels, tax codes, and events","sidebarTitle":"close \u0026 compliance","href":"/cli/periods-and-compliance"},{"title":"contracts, assets, scenarios, and accruals","sidebarTitle":"planning \u0026 automation","href":"/cli/planning-and-automation"}]}]},{"tab":"API","pages":[{"title":"API","href":"/api/overview"}]},{"tab":"AI Agents","pages":[{"title":"AI Agents","href":"/agents/overview"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/cli/add"}]}]},"basePath":"","title":"lim add - lim","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":[],"chunks":[]}