Form tính công nợ theo kỳ trên màn hình Chỉ số điện nước
1
Mở màn hình tính công nợ
Chọn tòa nhà cần làm việc. Mở Công nợ - thanh toán → Chỉ số điện nước và tìm phần Tính công nợ theo kỳ ở cuối trang. Phần này chỉ hiển thị khi tài khoản có quyền tính phí.
2
Nhập kỳ và hạn thanh toán
Chọn Kỳ tính phí (ví dụ tháng 7/2026) và Hạn thanh toán (ví dụ 15/08/2026). Để trống Mã căn hộ nếu muốn tính cho toàn bộ tòa nhà, hoặc nhập danh sách mã căn hộ cần tính (phân cách bằng dấu phẩy).
3
Bấm Tính công nợ
Bấm nút Tính công nợ. Hệ thống sẽ đọc dịch vụ đang áp dụng cùng chỉ số điện nước đã chốt của kỳ để tạo bảng kê nháp.
4
Kiểm tra thông báo kết quả
Khi hoàn tất, hệ thống hiện thông báo xác nhận: Đã tính công nợ và tạo bảng kê nháp kèm các dòng phí.
Thông báo thành công sau khi hoàn tất tính công nợ nháp
Bảng kê mới tạo ở trạng thái Chờ duyệt; tiếp tục mở Duyệt bảng kê để kiểm tra số liệu trước khi thu tiền.
Ví dụ: Ban quản lý tính phí tháng 07/2026 cho tòa nhà:
Căn hộ A0101: Có chỉ số Nước tiêu thụ 15 m³ (225.000 đ) và Điện tiêu thụ 132 kWh (462.000 đ). Hệ thống tạo bảng kê nháp tổng phát sinh 687.000 đ.
Căn hộ A0102: Có chỉ số Nước tiêu thụ 12 m³ (180.000 đ). Hệ thống tạo bảng kê nháp tổng phát sinh 180.000 đ.
Cả 2 bảng kê được đưa vào danh sách Duyệt số liệu để người phụ trách kiểm tra lại.
Để trống Mã căn hộ (không bắt buộc) nghĩa là tính cho tất cả căn hộ đang hoạt động trong tòa nhà. Nếu bất kỳ căn hộ nào trong phạm vi đã có bảng kê còn hiệu lực cùng kỳ, toàn bộ yêu cầu bị từ chối.
Nếu chỉ một số căn hộ không có dòng phí hợp lệ, hệ thống bỏ qua các căn hộ đó và tạo bảng kê cho những căn hộ còn lại. Nếu không căn hộ nào tạo được dòng phí, yêu cầu trả lỗi.Xem sơ đồ, User Story và Acceptance Criteria tại Use case và workflow.
POST /admin/workflow → intent calculate-billing → calculateBillingPeriod() → Prisma transaction.Các trường hợp dòng phí cố định, theo chỉ số, dịch vụ phương tiện và kỳ khóa nằm trong test/financial-workflows.test.ts.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Taho","description":"Tài liệu hành vi hiện tại của hệ thống Taho, được xác minh từ source code.","colors":{"primary":"#8A5A00","light":"#F3BA2F","dark":"#B08020"},"logo":{"light":"https://mintcdn.com/taho-a5b7eb2b/qpXbhngqabQW8FVI/logo/light.svg?fit=max\u0026auto=format\u0026n=qpXbhngqabQW8FVI\u0026q=85\u0026s=9c77740b78f781548956801966e2e927","dark":"https://mintcdn.com/taho-a5b7eb2b/qpXbhngqabQW8FVI/logo/dark.svg?fit=max\u0026auto=format\u0026n=qpXbhngqabQW8FVI\u0026q=85\u0026s=64873ec19459d1629b770ec7d16f99aa","href":"/"},"favicon":"https://mintcdn.com/taho-a5b7eb2b/qpXbhngqabQW8FVI/favicon.svg?fit=max\u0026auto=format\u0026n=qpXbhngqabQW8FVI\u0026q=85\u0026s=9762ba4d8b5241abbb0517f9e2d1d43d","api":{"playground":{"display":"simple"}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"icon":"globe","href":"https://taho.com.vn/","label":"Trang chủ"},{"icon":"mail","href":"mailto:contact@taho.com.vn","label":"Liên hệ"}]},"footer":{"socials":{"website":"https://taho.com.vn/"},"links":[{"header":"Taho","items":[{"label":"Trang chủ","href":"https://taho.com.vn/"},{"label":"contact@taho.com.vn","href":"mailto:contact@taho.com.vn"}]}]},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"taho-a5b7eb2b","hasAudioNarration":false,"actualSubdomain":"taho-a5b7eb2b","customDomains":["docs.taho.com.vn"],"gitSource":{"type":"github","owner":"taho-vn","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ac5fbcf78c1c22ae0f122ec","collectionId":"a5207557-1faf-4071-89fd-270931402be2","liveDeploymentHistoryId":"6ac5fbcf78c1c22ae0f122ec","schemaVersion":"v3"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adad01462b6f64d97e13178","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Nghiệp vụ","count":20},{"language":"default","tag":"Kỹ thuật","count":11},{"language":"default","tag":"Công nợ và thanh toán","count":10},{"language":"default","tag":"API / Swagger","count":9},{"language":"default","tag":"Tra cứu","count":8},{"language":"default","tag":"Phát triển","count":7},{"language":"default","tag":"Mini App","count":6},{"language":"default","tag":"Danh mục kỹ thuật","count":5},{"language":"default","tag":"Trợ lý AI","count":4},{"language":"default","tag":"Bắt đầu","count":4}],"searchSettings":{"showContentSnippets":true,"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".taho-home{--taho-ink:#191a1d;--taho-muted:#545861;--taho-line:#e5e5e1;--taho-accent:#f3ba2f;color:var(--taho-ink);max-width:1180px;margin:0 auto;padding:56px 28px 96px}.taho-home *{box-sizing:border-box}.taho-home a:focus-visible{outline:3px solid #8a5a00;outline-offset:3px}.taho-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:clamp(28px,5vw,70px);align-items:center;padding:clamp(34px,6vw,72px);border:1px solid #e8e4d8;border-radius:24px;background:radial-gradient(circle at 96% 5%,#fff0c6 0,transparent 40%),#faf9f6}.taho-eyebrow{color:#8a5a00;font-size:11px;font-weight:800;letter-spacing:.14em;margin:0 0 18px}.taho-home h1,.taho-home h2,.taho-home h3{color:var(--taho-ink);letter-spacing:-.035em}.taho-home h1{font-size:clamp(40px,5vw,65px);line-height:1.06;margin:0 0 22px;font-weight:760}.taho-home h1 span{background:var(--taho-accent);border-radius:13px;padding:0 .13em;white-space:nowrap}.taho-lead{color:var(--taho-muted);font-size:17px;line-height:1.7;max-width:580px;margin:0 0 32px}.taho-hero-actions{display:flex;flex-wrap:wrap;gap:11px}.taho-button,.taho-hero-map a{align-items:center;text-decoration:none!important}.taho-button{display:inline-flex;justify-content:center;gap:18px;min-height:45px;border-radius:9px;padding:11px 16px;font-size:13px;font-weight:750;transition:transform .18s ease,box-shadow .18s ease}.taho-button:hover{transform:translateY(-2px);box-shadow:0 8px 18px #17171718}.taho-button-primary{background:var(--taho-accent);color:#171717!important}.taho-button-secondary{border:1px solid #cfcfc9;background:#fff;color:var(--taho-ink)!important}.taho-hero-map{background:#1d1f22;color:#fff;border-radius:16px;padding:20px 24px 17px;box-shadow:0 18px 40px #1111111e}.taho-map-label{color:#f3ba2f;font-size:11px;font-weight:800;letter-spacing:.14em;margin:0 0 6px}.taho-hero-map a{display:grid;grid-template-columns:32px 1fr auto;gap:9px;padding:17px 0;border-bottom:1px solid #414247;color:#fff!important;font-size:14px;font-weight:700}.taho-hero-map a:hover{color:#f3ba2f!important}.taho-map-index{color:#f3ba2f;font-size:12px}.taho-hero-map small{display:block;margin-top:3px;color:#bdc0c5;font-size:12px;font-weight:400;line-height:1.45}.taho-map-note{color:#bdc0c5;font-size:11px;margin:14px 0 0}.taho-section{padding-top:84px}.taho-home h2{font-size:clamp(28px,3.1vw,39px);line-height:1.16;margin:0 0 13px}.taho-section-intro{color:var(--taho-muted);margin:0 0 28px}.taho-path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.taho-path-card{display:flex;flex-direction:column;align-items:flex-start;min-height:228px;gap:13px;padding:24px;border:1px solid var(--taho-line);border-radius:14px;color:var(--taho-muted)!important;text-decoration:none!important;background:#fff;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.taho-path-card:hover{transform:translateY(-3px);border-color:#d4a520;box-shadow:0 12px 30px #17171712}.taho-card-number{color:#8a5a00;font-size:10px;font-weight:800;letter-spacing:.1em}.taho-path-card strong{color:var(--taho-ink);font-size:19px;line-height:1.2;letter-spacing:-.02em}.taho-path-card>span:nth-of-type(2){font-size:13px;line-height:1.6}.taho-card-link{margin-top:auto;color:#72500a;font-size:12px;font-weight:800}.taho-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:23px;border-top:1px solid var(--taho-line)}.taho-topic{padding:26px 0 0}.taho-topic h3{font-size:19px;margin:0 0 8px}.taho-topic p{color:var(--taho-muted);font-size:13px;line-height:1.6;min-height:62px;margin:0 0 16px}.taho-topic div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.taho-topic a{color:#72500a!important;font-size:13px;font-weight:700;text-decoration:none!important}.taho-reference-links a:hover,.taho-topic a:hover{text-decoration:underline!important}.taho-reference{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding:36px;margin-top:84px;background:#f6f6f3;border-radius:16px}.taho-reference .taho-eyebrow{margin-bottom:12px}.taho-reference h2{font-size:27px}.taho-reference p:last-child{color:var(--taho-muted);line-height:1.65;font-size:13px;margin:0}.taho-reference-links{display:flex;flex-direction:column;justify-content:center}.taho-reference-links a{padding:13px 0;display:flex;justify-content:space-between;border-bottom:1px solid #d9d9d4;color:var(--taho-ink)!important;font-weight:700;font-size:13px;text-decoration:none!important}@media (max-width:900px){.taho-hero{grid-template-columns:1fr}.taho-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.taho-topic-grid{grid-template-columns:1fr;gap:0}.taho-topic p{min-height:0}}@media (max-width:600px){.taho-home{padding:24px 16px 70px}.taho-hero{padding:28px 20px;border-radius:16px}.taho-section{padding-top:60px}.taho-path-grid{grid-template-columns:1fr}.taho-path-card{min-height:170px}.taho-reference{margin-top:60px;padding:24px;grid-template-columns:1fr;gap:16px}}"}],"page":{"pagePath":"finance/calculate-billing","slug":"/finance/calculate-billing","pageMetadata":{"title":"Tính công nợ","description":"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.","keywords":["calculate billing","bảng kê","BillLines"],"href":"/finance/calculate-billing"},"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: \"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\"\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`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,Frame,Heading,Info,OptimizedImage,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Bạn tạo bảng kê nháp tại `,_jsx(_components.strong,{children:`Công nợ - thanh toán`}),` → `,_jsx(_components.strong,{children:`Chỉ số điện nước`}),`, trong phần `,_jsx(_components.strong,{children:`Tính công nợ theo kỳ`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tóm tắt`}),_jsx(_components.th,{children:`Nội dung`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Trạng thái`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Implemented`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Người thực hiện`}),_jsx(_components.td,{children:`Tài khoản có quyền tính công nợ và đã chọn tòa nhà`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Kết quả`}),_jsxs(_components.td,{children:[`Tạo bảng kê `,_jsx(_components.code,{children:`draft`}),`, dòng phí `,_jsx(_components.code,{children:`open`}),` và audit log`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`trước-khi-thực-hiện`,children:`Trước khi thực hiện`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Kỳ tính công nợ đang mở.`}),`\n`,_jsxs(_components.li,{children:[`Có ít nhất một căn hộ `,_jsx(_components.code,{children:`active`}),` trong phạm vi được chọn.`]}),`\n`,_jsx(_components.li,{children:`Chưa có bảng kê còn hiệu lực cho cùng căn hộ và kỳ.`}),`\n`,_jsx(_components.li,{children:`Dữ liệu dịch vụ hoặc chỉ số tạo được ít nhất một dòng phí.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`các-bước`,children:`Các bước`}),`\n`,_jsx(Frame,{caption:`Form tính công nợ theo kỳ trên màn hình Chỉ số điện nước`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=ed670ed357bc122978d75e3b3ce5ad02`,alt:`Form tính công nợ theo kỳ`,\"data-og-width\":`549`,width:`549`,\"data-og-height\":`351`,height:`351`,\"data-path\":`images/finance/calculate-billing-form.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=280\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=1527659e9fcdc30a385ecfe7026b195c 280w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=560\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=9113dd2e9429c343895cbe2a2f6df372 560w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=840\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=41f92c6f63aafaf57855ba4e515acc3a 840w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=1100\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=a88e957660e5400e855e785f27e2d81b 1100w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=1650\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=a6cc567315338ada47090d0f27346435 1650w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-form.png?w=2500\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=570fc94cadbba6450d0e555f9f175bab 2500w`})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Mở màn hình tính công nợ`,children:[`Chọn tòa nhà cần làm việc. Mở `,_jsx(_components.strong,{children:`Công nợ - thanh toán`}),` → `,_jsx(_components.strong,{children:`Chỉ số điện nước`}),` và tìm phần `,_jsx(_components.strong,{children:`Tính công nợ theo kỳ`}),` ở cuối trang. Phần này chỉ hiển thị khi tài khoản có quyền tính phí.`]}),_jsxs(Step,{title:`Nhập kỳ và hạn thanh toán`,children:[`Chọn `,_jsx(_components.strong,{children:`Kỳ tính phí`}),` (ví dụ tháng 7/2026) và `,_jsx(_components.strong,{children:`Hạn thanh toán`}),` (ví dụ 15/08/2026). Để trống `,_jsx(_components.strong,{children:`Mã căn hộ`}),` nếu muốn tính cho toàn bộ tòa nhà, hoặc nhập danh sách mã căn hộ cần tính (phân cách bằng dấu phẩy).`]}),_jsxs(Step,{title:`Bấm Tính công nợ`,children:[`Bấm nút `,_jsx(_components.strong,{children:`Tính công nợ`}),`. Hệ thống sẽ đọc dịch vụ đang áp dụng cùng chỉ số điện nước đã chốt của kỳ để tạo bảng kê nháp.`]}),_jsxs(Step,{title:`Kiểm tra thông báo kết quả`,children:[_jsxs(_components.p,{children:[`Khi hoàn tất, hệ thống hiện thông báo xác nhận: `,_jsx(_components.strong,{children:`Đã tính công nợ và tạo bảng kê nháp kèm các dòng phí.`})]}),_jsx(Frame,{caption:`Thông báo thành công sau khi hoàn tất tính công nợ nháp`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=4cb17b1580ca2f19af407ded3daed630`,alt:`Thông báo tính công nợ thành công`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/finance/calculate-billing-result.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=280\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=0e2c4a5a56e9737c4f1c725533687e50 280w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=560\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=65ca912249784d540297c6dfea23a4f8 560w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=840\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=d3bd33a12215269dec9e7178e72060c9 840w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=1100\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=4e7d13681d61751185ed6c5d4dff064a 1100w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=1650\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=8cf5f45649bf19334462f038c5c0b149 1650w, https://mintcdn.com/taho-a5b7eb2b/EvnCrV7SdQSoqqYy/images/finance/calculate-billing-result.png?w=2500\u0026fit=max\u0026auto=format\u0026n=EvnCrV7SdQSoqqYy\u0026q=85\u0026s=1581331d327d1e476830d89a2fb89664 2500w`})}),_jsxs(_components.p,{children:[`Bảng kê mới tạo ở trạng thái `,_jsx(_components.strong,{children:`Chờ duyệt`}),`; tiếp tục mở `,_jsx(_components.a,{href:`/finance/approve-bill`,children:`Duyệt bảng kê`}),` để kiểm tra số liệu trước khi thu tiền.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`tình-huống-thực-tế`,children:`Tình huống thực tế`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Ví dụ:`}),` Ban quản lý tính phí tháng `,_jsx(_components.code,{children:`07/2026`}),` cho tòa nhà:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Căn hộ A0101`}),`: Có chỉ số Nước tiêu thụ 15 m³ (225.000 đ) và Điện tiêu thụ 132 kWh (462.000 đ). Hệ thống tạo bảng kê nháp tổng phát sinh `,_jsx(_components.code,{children:`687.000 đ`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Căn hộ A0102`}),`: Có chỉ số Nước tiêu thụ 12 m³ (180.000 đ). Hệ thống tạo bảng kê nháp tổng phát sinh `,_jsx(_components.code,{children:`180.000 đ`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Cả 2 bảng kê được đưa vào danh sách `,_jsx(_components.strong,{children:`Duyệt số liệu`}),` để người phụ trách kiểm tra lại.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Để trống `,_jsx(_components.strong,{children:`Mã căn hộ (không bắt buộc)`}),` nghĩa là tính cho tất cả căn hộ đang hoạt động trong tòa nhà. Nếu bất kỳ căn hộ nào trong phạm vi đã có bảng kê còn hiệu lực cùng kỳ, toàn bộ yêu cầu bị từ chối.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`khi-hệ-thống-không-tạo-bảng-kê`,children:`Khi hệ thống không tạo bảng kê`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Điều kiện`}),_jsx(_components.th,{children:`Kết quả`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Kỳ đã khóa`}),_jsx(_components.td,{children:`Không tạo dữ liệu`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Không có căn hộ active phù hợp`}),_jsx(_components.td,{children:`Trả lỗi`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Đã có bảng kê còn hiệu lực cho cùng căn hộ và kỳ`}),_jsx(_components.td,{children:`Trả lỗi`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Không tạo được dòng phí`}),_jsx(_components.td,{children:`Không tạo bảng kê`})]})]})]}),`\n`,_jsx(_components.p,{children:`Nếu chỉ một số căn hộ không có dòng phí hợp lệ, hệ thống bỏ qua các căn hộ đó và tạo bảng kê cho những căn hộ còn lại. Nếu không căn hộ nào tạo được dòng phí, yêu cầu trả lỗi.`}),`\n`,_jsxs(_components.p,{children:[`Xem sơ đồ, User Story và Acceptance Criteria tại `,_jsx(_components.a,{href:`/product-specs/workflow-specifications`,children:`Use case và workflow`}),`.`]}),`\n`,_jsxs(Accordion,{title:`Dành cho BA, QA và kỹ thuật`,id:`danh-cho-ba-qa-va-ky-thuat`,children:[_jsx(Heading,{level:`3`,id:`user-story`,children:`User story`}),_jsxs(_components.p,{children:[`Với tài khoản có quyền `,_jsx(_components.code,{children:`action:calculate_billing`}),`, người dùng có thể tạo bảng kê nháp và dòng phí cho một kỳ đang mở trong `,_jsx(_components.code,{children:`activeTowerId`}),`.`]}),_jsx(Heading,{level:`3`,id:`acceptance-criteria`,children:`Acceptance criteria`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Given`}),` kỳ đang mở và dữ liệu nguồn hợp lệ, `,_jsx(_components.strong,{children:`when`}),` gửi intent `,_jsx(_components.code,{children:`calculate-billing`}),`, `,_jsx(_components.strong,{children:`then`}),` hệ thống tạo `,_jsx(_components.code,{children:`Bills`}),`, `,_jsx(_components.code,{children:`BillLines`}),` và `,_jsx(_components.code,{children:`AuditLogs`}),` trong một transaction.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Given`}),` kỳ đã khóa, `,_jsx(_components.strong,{children:`when`}),` gửi yêu cầu, `,_jsx(_components.strong,{children:`then`}),` hệ thống không tạo dữ liệu.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Given`}),` đã có bảng kê còn hiệu lực cho cùng căn hộ và kỳ, `,_jsx(_components.strong,{children:`when`}),` gửi yêu cầu, `,_jsx(_components.strong,{children:`then`}),` hệ thống trả lỗi.`]}),`\n`]}),_jsx(Heading,{level:`3`,id:`call-path-v%C3%A0-ki%E1%BB%83m-th%E1%BB%AD`,children:`Call path và kiểm thử`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /admin/workflow`}),` → intent `,_jsx(_components.code,{children:`calculate-billing`}),` → `,_jsx(_components.code,{children:`calculateBillingPeriod()`}),` → Prisma transaction.`]}),_jsxs(_components.p,{children:[`Các trường hợp dòng phí cố định, theo chỉ số, dịch vụ phương tiện và kỳ khóa nằm trong `,_jsx(_components.code,{children:`test/financial-workflows.test.ts`}),`.`]})]})]})}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":"Tính công nợ","description":"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.","keywords":["calculate billing","bảng kê","BillLines"],"href":"/finance/calculate-billing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Trước khi thực hiện","slug":"trước-khi-thực-hiện","depth":2,"children":[]},{"title":"Các bước","slug":"các-bước","depth":2,"children":[]},{"title":"Tình huống thực tế","slug":"tình-huống-thực-tế","depth":2,"children":[]},{"title":"Khi hệ thống không tạo bảng kê","slug":"khi-hệ-thống-không-tạo-bảng-kê","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"taho-a5b7eb2b","siteName":"Taho","title":"Tính công nợ - Taho","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T07:59:18.301Z","originalFileLocation":"finance/calculate-billing.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Taho\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Tính công nợ - Taho\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Taho\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.taho.com.vn/finance/calculate-billing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://taho-a5b7eb2b.mintlify.app/_mintlify/api/og/v2?division=C%C3%B4ng+n%E1%BB%A3+v%C3%A0+thanh+to%C3%A1n\u0026amp;title=T%C3%ADnh+c%C3%B4ng+n%E1%BB%A3\u0026amp;description=C%C3%A1ch+t%E1%BA%A1o+b%E1%BA%A3ng+k%C3%AA+nh%C3%A1p+v%C3%A0+d%C3%B2ng+ph%C3%AD+cho+m%E1%BB%99t+k%E1%BB%B3+%C4%91ang+m%E1%BB%9F.\u0026amp;theme=b39568b17f0020cbd4c9afa8\u0026amp;signature=f16425631b1a79860ce19b131db338279574d9908923aa49bc97e28e3b8fe0ff\">\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=\"Tính công nợ - Taho\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://taho-a5b7eb2b.mintlify.app/_mintlify/api/og/v2?division=C%C3%B4ng+n%E1%BB%A3+v%C3%A0+thanh+to%C3%A1n\u0026amp;title=T%C3%ADnh+c%C3%B4ng+n%E1%BB%A3\u0026amp;description=C%C3%A1ch+t%E1%BA%A1o+b%E1%BA%A3ng+k%C3%AA+nh%C3%A1p+v%C3%A0+d%C3%B2ng+ph%C3%AD+cho+m%E1%BB%99t+k%E1%BB%B3+%C4%91ang+m%E1%BB%9F.\u0026amp;theme=b39568b17f0020cbd4c9afa8\u0026amp;signature=f16425631b1a79860ce19b131db338279574d9908923aa49bc97e28e3b8fe0ff\">\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/taho-a5b7eb2b/FZaR2m99oriv2xkR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Taho\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8A5A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.taho.com.vn/finance/calculate-billing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/finance/calculate-billing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.taho.com.vn/#organization\",\"name\":\"Taho\",\"url\":\"https://docs.taho.com.vn\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/taho-a5b7eb2b/qpXbhngqabQW8FVI/logo/light.svg?fit=max\u0026auto=format\u0026n=qpXbhngqabQW8FVI\u0026q=85\u0026s=9c77740b78f781548956801966e2e927\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.taho.com.vn#website\",\"name\":\"Taho\",\"url\":\"https://docs.taho.com.vn\",\"publisher\":{\"@id\":\"https://docs.taho.com.vn/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.taho.com.vn/finance/calculate-billing#webpage\",\"url\":\"https://docs.taho.com.vn/finance/calculate-billing\",\"name\":\"Tính công nợ\",\"description\":\"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\",\"dateModified\":\"2026-10-07T07:59:18.301Z\",\"isPartOf\":{\"@id\":\"https://docs.taho.com.vn#website\"},\"breadcrumb\":{\"@id\":\"https://docs.taho.com.vn/finance/calculate-billing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.taho.com.vn/finance/calculate-billing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Công nợ và thanh toán\",\"item\":\"https://docs.taho.com.vn/operations/debt-payments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tính công nợ\",\"item\":\"https://docs.taho.com.vn/finance/calculate-billing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.taho.com.vn/finance/calculate-billing#article\",\"headline\":\"Tính công nợ\",\"name\":\"Tính công nợ\",\"description\":\"Cách tạo bảng kê nháp và dòng phí cho một kỳ đang mở.\",\"url\":\"https://docs.taho.com.vn/finance/calculate-billing\",\"mainEntityOfPage\":{\"@id\":\"https://docs.taho.com.vn/finance/calculate-billing#webpage\"},\"dateModified\":\"2026-10-07T07:59:18.301Z\",\"keywords\":\"calculate billing, bảng kê, BillLines\",\"publisher\":{\"@id\":\"https://docs.taho.com.vn/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.taho.com.vn#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Taho\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Taho","nav":{"global":null,"tabs":[{"tab":"Bắt đầu","pages":[{"title":"Bắt đầu","href":""}]},{"tab":"Nghiệp vụ","pages":[{"group":"Căn hộ và dịch vụ","pages":[{"title":"Căn hộ và cư dân","href":"/operations/apartments-residents"},{"title":"Dịch vụ và phương tiện","href":"/operations/services-vehicles"}]},{"group":"Công nợ và thanh toán","pages":[{"title":"Công nợ và thanh toán","description":"Trang wiki tổng hợp các use case công nợ, bảng kê, phiếu thu, điều chỉnh và nhắc phí.","href":"/operations/debt-payments"},{"title":"Tính công nợ","href":"/finance/calculate-billing"},{"title":"Duyệt bảng kê","description":"Cách chuyển một bảng kê nháp sang trạng thái approved.","href":"/finance/approve-bill"},{"title":"Lập phiếu thu","href":"/finance/create-receipt"},{"title":"Tạo điều chỉnh công nợ","href":"/finance/create-adjustment"},{"title":"Duyệt điều chỉnh công nợ","href":"/finance/approve-adjustment"},{"title":"Hủy điều chỉnh công nợ","href":"/finance/cancel-adjustment"},{"title":"Hủy phiếu thu","href":"/finance/cancel-receipt"},{"title":"Gửi nhắc công nợ","href":"/finance/send-debt-reminders"},{"title":"Báo cáo và sổ quỹ","href":"/operations/reports-ledgers"}]},{"group":"Tương tác cư dân","pages":[{"title":"Tương tác cư dân","href":"/operations/resident-interactions"},{"title":"Duyệt truy cập Mini App","href":"/operations/resident-miniapp"}]},{"group":"Tài khoản và cấu hình","pages":[{"title":"Thêm tòa nhà cho công ty","href":"/operations/add-tower"},{"title":"Tài khoản và phân quyền","href":"/operations/accounts-permissions"},{"title":"Cấu hình hệ thống","href":"/operations/system-configuration"}]},{"group":"Quy tắc dùng chung","pages":[{"title":"Use case và workflow","href":"/product-specs/workflow-specifications"},{"title":"Quy tắc nghiệp vụ","href":"/product-specs/business-rules"},{"title":"Vòng đời trạng thái","href":"/product-specs/state-machines"}]}]},{"tab":"AI","pages":[{"title":"AI","href":"/ai"}]},{"tab":"Mini App","pages":[{"title":"Mini App","href":"/mini-app"}]},{"tab":"API / Swagger","pages":[{"title":"API / Swagger","href":"/api-reference"}]},{"tab":"Kỹ thuật","pages":[{"title":"Kỹ thuật","href":"/product-specs/domain-model"}]},{"tab":"Tra cứu","pages":[{"title":"Tra cứu","href":"/reference/route-catalog"}]}]},"basePath":"","title":"Tính công nợ - Taho","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Bpq2Z6jK.js","DynamicMarkdown-D5M2At0B.js","zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}