{"id":92000,"plugin_id":"plugin_asdk_app_69ff1dc7c6fc8191812c4f6ce41f6189","kind":"skill","collection_source":"plugin_package","comparison_source":"plugin_package","observed_at":"2026-11-12T00:08:33.473Z","digest":"5166b1b3725b4c2825fa92e68700731e2fa08052c2e1b3b6be479ab95c00da4e","against":66715,"payload":{"description":"Review the economy of one housing community in Solibo Home: expenses waiting for approval, supplier invoices to approve or reject, accounting actuals against budget, liquidity and bank balances, the accounting entries behind a number, produced customer invoices and their payments, loans and insurance. Use when the user asks about money, bills, invoices, budget, økonomi, regnskap, fakturaer, lån or forsikring for a company, or wants to approve or reject an expense or a supplier invoice.","included_files":[{"relative_path":"references/tool-notes.md","size_in_bytes":7878}],"name":"economy-review","skill_md_contents":"---\nname: economy-review\ndescription: \"Review the economy of one housing community in Solibo Home: expenses waiting for approval, supplier invoices to approve or reject, accounting actuals against budget, liquidity and bank balances, the accounting entries behind a number, produced customer invoices and their payments, loans and insurance. Use when the user asks about money, bills, invoices, budget, økonomi, regnskap, fakturaer, lån or forsikring for a company, or wants to approve or reject an expense or a supplier invoice.\"\n---\n\n# Economy review\n\nWork on one company at a time: resolve it and call `set_working_company`, then omit `companyId`. Money\nquestions across many companies belong to the portfolio-sweeps skill; the one cross-company read that fits\nhere is `get_unapproved_invoices_overview`.\n\n## Start with what exists\n\n1. `get_economy_readiness`: `accountingAvailable`, `invoicingActive`, `unattestedExpenseCount`,\n   `unattestedSupplierInvoiceCount`. A missing flag means unknown, and `accountingAvailable` false means\n   \"could not be confirmed\", not \"no accounting\".\n2. `get_company_economy_overview` for the picture: `economyStatus`, `loans[]` and `insurances[]` (samples of\n   up to 20), `economicReports[]`, `unpaidInvoices[]` (supplier invoices).\n3. `get_economy_status` for available funds and bank balances. `availability` is AVAILABLE, UNAVAILABLE,\n   NOT_CONFIGURED, FORBIDDEN or UNKNOWN and describes bank statements only; an omitted amount is not zero;\n   `source` SYNTHETIC means fixture data, say so.\n\n## Periodic review\n\nThe usual monthly set is `search_expenses`, `get_accounting_overview`, `get_invoices`,\n`get_company_economy_overview` and, if the user wants the board view, `get_board_report`.\n\n- `get_accounting_overview`: `companyId` as an integer, `periodStart` inclusive and `periodEnd` exclusive\n  (YYYY-MM-DD, 1 to 1096 days). `totals[]` per currency holds actual and budget income, expenses and net\n  with variances; `dimensions[]` are projects and departments; `liquidity[]`. Amounts are decimal strings.\n  Compare currencies separately. `budgetAvailable` false means \"no budget\", never zero. Report\n  `company.dataAsOf` and `company.dataStatus` with the numbers.\n- `search_accounting_entries` for the lines behind a figure: same period arguments, `companyId` (integer),\n  `accountNumbers` (1000 to 9999), `projectIds`, `departmentIds` or `supplierIds` (one company only),\n  `search` of 3 to 100 characters matching account, project, department or supplier names, not voucher\n  text. Pages hold at most 100 rows: follow `paging.next`. Do not page through everything to compute a total\n  that the overview already gives.\n- `get_accounting_project` for one project; `projectId` comes from `dimensions[].id` in the overview.\n- `search_expenses` with `status` FOR_APPROVAL, APPROVED or REJECTED and `dateOfPurchaseFrom` or\n  `dateOfPurchaseTo`. `companyId` on an item is filled only when `companyIds` named one company; when\n  `companyScopeResolved` is false, search again with one company before `get_expense` or any decision.\n- `get_invoices` lists supplier invoices: `archive` false is the approval queue, a `year` implies the\n  archive (0 means every year). `tripletexId` is the id that approve and reject take.\n- Produced customer invoices: `get_company_invoice_history` with `periodStart` and `periodEnd`, or\n  `get_invoice_history_for_companies` with `companyIds`; `open` true for unpaid. Cursors may start with\n  \"portfolio:\", pass them back unchanged. `get_invoice_payments` lists the payments of one customer invoice\n  (`invoiceId` from the history). Keep supplier invoices and customer invoices apart in the answer.\n- `get_loans`, `get_insurances` and `get_economic_reports` with `companyId`; loan and policy numbers are\n  masked to the last four digits.\n\n## Expense claims and receipts\n\n- `create_expense` takes the claim fields and optional `files[]` plus `attachments[]`: each source is\n  exactly one `fileId` matching `files[].file_id` or an existing `sourceDocumentId` from document\n  discovery. It accepts attachments only, with no image, inline documents or removals. Preview the\n  claim and receipts together, then after approval `confirm_pending_write` with only `previewId` and\n  `confirmed` true.\n- A new file needs a downloadable HTTPS `file.download_url` on a public host and a caller-chosen `file.file_id`.\n  Signed links work without extra authorization headers. A client attachment, including a Claude local\n  attachment, works only if the client supplies that URL. Never invent URLs, pass base64 or ask the user\n  to publish private receipts. Limits: configured per-file maximum (default 20 MB), ten new files,\n  fifty document sources and 50 MB of total transfers, counting each repeated use.\n- If the client cannot transfer bytes, use `get_document_upload_options` with the company and optionally\n  `documentType` EXPENSE and an existing expense ID as `belongsToId`. It checks company access and\n  returns an authenticated Home link plus instructions. It opens the expenses area, not an upload modal;\n  the user selects the existing expense and uploads manually. Discover the resulting `sourceDocumentId`\n  with `browse_document_folder` before reusing it.\n- Expense creation precedes sequential receipt attachments. Check `expenseCreated`, `attachmentsComplete`,\n  `documentIds` and `attachmentResults` (ATTACHED, REFUSED, OUTCOME_UNKNOWN, NOT_ATTEMPTED).\n  `attachmentRecovery` identifies the existing claim when receipts are incomplete. Never recreate the\n  expense to retry a receipt. First inspect `browse_document_folder` with `documentType` EXPENSE and\n  `belongsToId` the expense ID before retrying any OUTCOME_UNKNOWN receipt. Attach only missing receipts\n  with `upload_document` using that category/owner and exactly one `file` or `sourceDocumentId`, or\n  use the Home upload handoff. Reuse downloads no bytes; do not set `fileName` or `parentId` for it.\n\n## Approvals\n\nEvery approval or rejection is a preview followed by a confirmation. The user names the exact item\n(supplier or submitter, amount, date) before you preview. One item per preview; never \"approve all\".\n\n- Expenses: find the item with `search_expenses` scoped to the company, then `accept_expense` or\n  `reject_expense` (`reason` is shown to the submitter; rejecting needs board-member access). Show the\n  preview, and after the user approves call `confirm_pending_write` with `previewId` and `confirmed` true.\n  An expense needs two approvals from different people: after `accept_expense` read `fullyApproved` and\n  `approvalsGiven` in the result and say \"approved\" only when `fullyApproved` is true. A second approval by\n  the same person, an expense without a receipt and an already approved expense are refused before a preview.\n- Supplier invoices: `get_company_supplier_invoice_approval_status` gives `forApprovalInvoiceIds` and\n  `invoices[].tripletexId`. If `invoiceRowsUnavailable` is true there are no ids and approval must happen in\n  Solibo Home; say so. `approve_supplier_invoice` or `reject_supplier_invoice` take `invoiceId` set to the\n  `tripletexId`; an id outside the queue is refused before anything changes.\n- Across companies: `get_unapproved_invoices_overview` with `companyIds` (narrow it if it reports too many\n  rows), `get_supplier_invoice_approval_counts` for cached counts. Companies listed as unverified are\n  unknown, not zero.\n\nA confirmation result with `pendingAction.status` DRY_RUN changed nothing. An outcome-unknown error means\ncheck Solibo Home before repeating.\n\n## Identifiers\n\nKID numbers, bank account numbers (also an expense's payout `account`), loan numbers and policy numbers are\nmasked by default. Use `reveal_loan_numbers`, `reveal_insurance_policy_numbers` or\n`reveal_expense_account_numbers` only for one narrow purpose the user has stated and approved; they are\naudited and default to five rows. Decline \"all identifiers\" exports and offer a masked\nreport instead.\n\n## Answer shape\n\nA table with period, currency, actual, budget and variance where available; the data freshness; a list of\ndecisions waiting with ids and amounts; then what could not be read. Never present unverified or\nunavailable data as zero.\n\n`references/tool-notes.md` lists the arguments and result fields of every tool named here.\n"},"changes":[{"path":"/included_files","type":"changed","before":[{"relative_path":"references/tool-notes.md","size_in_bytes":5387}],"after":[{"relative_path":"references/tool-notes.md","size_in_bytes":7878}]},{"path":"/skill_md_contents","type":"changed","before":"---\nname: economy-review\ndescription: \"Review the economy of one housing community in Solibo Home: expenses waiting for approval, supplier invoices to approve or reject, accounting actuals against budget, liquidity and bank balances, the accounting entries behind a number, produced customer invoices and their payments, loans and insurance. Use when the user asks about money, bills, invoices, budget, økonomi, regnskap, fakturaer, lån or forsikring for a company, or wants to approve or reject an expense or a supplier invoice.\"\n---\n\n# Economy review\n\nWork on one company at a time: resolve it and call `set_working_company`, then omit `companyId`. Money\nquestions across many companies belong to the portfolio-sweeps skill; the one cross-company read that fits\nhere is `get_unapproved_invoices_overview`.\n\n## Start with what exists\n\n1. `get_economy_readiness`: `accountingAvailable`, `invoicingActive`, `unattestedExpenseCount`,\n   `unattestedSupplierInvoiceCount`. A missing flag means unknown, and `accountingAvailable` false means\n   \"could not be confirmed\", not \"no accounting\".\n2. `get_company_economy_overview` for the picture: `economyStatus`, `loans[]` and `insurances[]` (samples of\n   up to 20), `economicReports[]`, `unpaidInvoices[]` (supplier invoices).\n3. `get_economy_status` for available funds and bank balances. `availability` is AVAILABLE, UNAVAILABLE,\n   NOT_CONFIGURED, FORBIDDEN or UNKNOWN and describes bank statements only; an omitted amount is not zero;\n   `source` SYNTHETIC means fixture data, say so.\n\n## Periodic review\n\nThe usual monthly set is `search_expenses`, `get_accounting_overview`, `get_invoices`,\n`get_company_economy_overview` and, if the user wants the board view, `get_board_report`.\n\n- `get_accounting_overview`: `companyId` as an integer, `periodStart` inclusive and `periodEnd` exclusive\n  (YYYY-MM-DD, 1 to 1096 days). `totals[]` per currency holds actual and budget income, expenses and net\n  with variances; `dimensions[]` are projects and departments; `liquidity[]`. Amounts are decimal strings.\n  Compare currencies separately. `budgetAvailable` false means \"no budget\", never zero. Report\n  `company.dataAsOf` and `company.dataStatus` with the numbers.\n- `search_accounting_entries` for the lines behind a figure: same period arguments, `companyId` (integer),\n  `accountNumbers` (1000 to 9999), `projectIds`, `departmentIds` or `supplierIds` (one company only),\n  `search` of 3 to 100 characters matching account, project, department or supplier names, not voucher\n  text. Pages hold at most 100 rows: follow `paging.next`. Do not page through everything to compute a total\n  that the overview already gives.\n- `get_accounting_project` for one project; `projectId` comes from `dimensions[].id` in the overview.\n- `search_expenses` with `status` FOR_APPROVAL, APPROVED or REJECTED and `dateOfPurchaseFrom` or\n  `dateOfPurchaseTo`. `companyId` on an item is filled only when `companyIds` named one company; when\n  `companyScopeResolved` is false, search again with one company before `get_expense` or any decision.\n- `get_invoices` lists supplier invoices: `archive` false is the approval queue, a `year` implies the\n  archive (0 means every year). `tripletexId` is the id that approve and reject take.\n- Produced customer invoices: `get_company_invoice_history` with `periodStart` and `periodEnd`, or\n  `get_invoice_history_for_companies` with `companyIds`; `open` true for unpaid. Cursors may start with\n  \"portfolio:\", pass them back unchanged. `get_invoice_payments` lists the payments of one customer invoice\n  (`invoiceId` from the history). Keep supplier invoices and customer invoices apart in the answer.\n- `get_loans`, `get_insurances` and `get_economic_reports` with `companyId`; loan and policy numbers are\n  masked to the last four digits.\n\n## Approvals\n\nEvery approval or rejection is a preview followed by a confirmation. The user names the exact item\n(supplier or submitter, amount, date) before you preview. One item per preview; never \"approve all\".\n\n- Expenses: find the item with `search_expenses` scoped to the company, then `accept_expense` or\n  `reject_expense` (`reason` is shown to the submitter; rejecting needs board-member access). Show the\n  preview, and after the user approves call `confirm_pending_write` with `previewId` and `confirmed` true.\n- Supplier invoices: `get_company_supplier_invoice_approval_status` gives `forApprovalInvoiceIds` and\n  `invoices[].tripletexId`. If `invoiceRowsUnavailable` is true there are no ids and approval must happen in\n  Solibo Home; say so. `approve_supplier_invoice` or `reject_supplier_invoice` take `invoiceId` set to the\n  `tripletexId`; an id outside the queue is refused before anything changes.\n- Across companies: `get_unapproved_invoices_overview` with `companyIds` (narrow it if it reports too many\n  rows), `get_supplier_invoice_approval_counts` for cached counts. Companies listed as unverified are\n  unknown, not zero.\n\nA confirmation result with `pendingAction.status` DRY_RUN changed nothing. An outcome-unknown error means\ncheck Solibo Home before repeating.\n\n## Identifiers\n\nKID numbers, bank account numbers, loan numbers and policy numbers are masked by default. Use\n`reveal_loan_numbers` or `reveal_insurance_policy_numbers` only for one narrow purpose the user has stated\nand approved; they are audited and default to five rows. Decline \"all identifiers\" exports and offer a masked\nreport instead.\n\n## Answer shape\n\nA table with period, currency, actual, budget and variance where available; the data freshness; a list of\ndecisions waiting with ids and amounts; then what could not be read. Never present unverified or\nunavailable data as zero.\n\n`references/tool-notes.md` lists the arguments and result fields of every tool named here.\n","after":"---\nname: economy-review\ndescription: \"Review the economy of one housing community in Solibo Home: expenses waiting for approval, supplier invoices to approve or reject, accounting actuals against budget, liquidity and bank balances, the accounting entries behind a number, produced customer invoices and their payments, loans and insurance. Use when the user asks about money, bills, invoices, budget, økonomi, regnskap, fakturaer, lån or forsikring for a company, or wants to approve or reject an expense or a supplier invoice.\"\n---\n\n# Economy review\n\nWork on one company at a time: resolve it and call `set_working_company`, then omit `companyId`. Money\nquestions across many companies belong to the portfolio-sweeps skill; the one cross-company read that fits\nhere is `get_unapproved_invoices_overview`.\n\n## Start with what exists\n\n1. `get_economy_readiness`: `accountingAvailable`, `invoicingActive`, `unattestedExpenseCount`,\n   `unattestedSupplierInvoiceCount`. A missing flag means unknown, and `accountingAvailable` false means\n   \"could not be confirmed\", not \"no accounting\".\n2. `get_company_economy_overview` for the picture: `economyStatus`, `loans[]` and `insurances[]` (samples of\n   up to 20), `economicReports[]`, `unpaidInvoices[]` (supplier invoices).\n3. `get_economy_status` for available funds and bank balances. `availability` is AVAILABLE, UNAVAILABLE,\n   NOT_CONFIGURED, FORBIDDEN or UNKNOWN and describes bank statements only; an omitted amount is not zero;\n   `source` SYNTHETIC means fixture data, say so.\n\n## Periodic review\n\nThe usual monthly set is `search_expenses`, `get_accounting_overview`, `get_invoices`,\n`get_company_economy_overview` and, if the user wants the board view, `get_board_report`.\n\n- `get_accounting_overview`: `companyId` as an integer, `periodStart` inclusive and `periodEnd` exclusive\n  (YYYY-MM-DD, 1 to 1096 days). `totals[]` per currency holds actual and budget income, expenses and net\n  with variances; `dimensions[]` are projects and departments; `liquidity[]`. Amounts are decimal strings.\n  Compare currencies separately. `budgetAvailable` false means \"no budget\", never zero. Report\n  `company.dataAsOf` and `company.dataStatus` with the numbers.\n- `search_accounting_entries` for the lines behind a figure: same period arguments, `companyId` (integer),\n  `accountNumbers` (1000 to 9999), `projectIds`, `departmentIds` or `supplierIds` (one company only),\n  `search` of 3 to 100 characters matching account, project, department or supplier names, not voucher\n  text. Pages hold at most 100 rows: follow `paging.next`. Do not page through everything to compute a total\n  that the overview already gives.\n- `get_accounting_project` for one project; `projectId` comes from `dimensions[].id` in the overview.\n- `search_expenses` with `status` FOR_APPROVAL, APPROVED or REJECTED and `dateOfPurchaseFrom` or\n  `dateOfPurchaseTo`. `companyId` on an item is filled only when `companyIds` named one company; when\n  `companyScopeResolved` is false, search again with one company before `get_expense` or any decision.\n- `get_invoices` lists supplier invoices: `archive` false is the approval queue, a `year` implies the\n  archive (0 means every year). `tripletexId` is the id that approve and reject take.\n- Produced customer invoices: `get_company_invoice_history` with `periodStart` and `periodEnd`, or\n  `get_invoice_history_for_companies` with `companyIds`; `open` true for unpaid. Cursors may start with\n  \"portfolio:\", pass them back unchanged. `get_invoice_payments` lists the payments of one customer invoice\n  (`invoiceId` from the history). Keep supplier invoices and customer invoices apart in the answer.\n- `get_loans`, `get_insurances` and `get_economic_reports` with `companyId`; loan and policy numbers are\n  masked to the last four digits.\n\n## Expense claims and receipts\n\n- `create_expense` takes the claim fields and optional `files[]` plus `attachments[]`: each source is\n  exactly one `fileId` matching `files[].file_id` or an existing `sourceDocumentId` from document\n  discovery. It accepts attachments only, with no image, inline documents or removals. Preview the\n  claim and receipts together, then after approval `confirm_pending_write` with only `previewId` and\n  `confirmed` true.\n- A new file needs a downloadable HTTPS `file.download_url` on a public host and a caller-chosen `file.file_id`.\n  Signed links work without extra authorization headers. A client attachment, including a Claude local\n  attachment, works only if the client supplies that URL. Never invent URLs, pass base64 or ask the user\n  to publish private receipts. Limits: configured per-file maximum (default 20 MB), ten new files,\n  fifty document sources and 50 MB of total transfers, counting each repeated use.\n- If the client cannot transfer bytes, use `get_document_upload_options` with the company and optionally\n  `documentType` EXPENSE and an existing expense ID as `belongsToId`. It checks company access and\n  returns an authenticated Home link plus instructions. It opens the expenses area, not an upload modal;\n  the user selects the existing expense and uploads manually. Discover the resulting `sourceDocumentId`\n  with `browse_document_folder` before reusing it.\n- Expense creation precedes sequential receipt attachments. Check `expenseCreated`, `attachmentsComplete`,\n  `documentIds` and `attachmentResults` (ATTACHED, REFUSED, OUTCOME_UNKNOWN, NOT_ATTEMPTED).\n  `attachmentRecovery` identifies the existing claim when receipts are incomplete. Never recreate the\n  expense to retry a receipt. First inspect `browse_document_folder` with `documentType` EXPENSE and\n  `belongsToId` the expense ID before retrying any OUTCOME_UNKNOWN receipt. Attach only missing receipts\n  with `upload_document` using that category/owner and exactly one `file` or `sourceDocumentId`, or\n  use the Home upload handoff. Reuse downloads no bytes; do not set `fileName` or `parentId` for it.\n\n## Approvals\n\nEvery approval or rejection is a preview followed by a confirmation. The user names the exact item\n(supplier or submitter, amount, date) before you preview. One item per preview; never \"approve all\".\n\n- Expenses: find the item with `search_expenses` scoped to the company, then `accept_expense` or\n  `reject_expense` (`reason` is shown to the submitter; rejecting needs board-member access). Show the\n  preview, and after the user approves call `confirm_pending_write` with `previewId` and `confirmed` true.\n  An expense needs two approvals from different people: after `accept_expense` read `fullyApproved` and\n  `approvalsGiven` in the result and say \"approved\" only when `fullyApproved` is true. A second approval by\n  the same person, an expense without a receipt and an already approved expense are refused before a preview.\n- Supplier invoices: `get_company_supplier_invoice_approval_status` gives `forApprovalInvoiceIds` and\n  `invoices[].tripletexId`. If `invoiceRowsUnavailable` is true there are no ids and approval must happen in\n  Solibo Home; say so. `approve_supplier_invoice` or `reject_supplier_invoice` take `invoiceId` set to the\n  `tripletexId`; an id outside the queue is refused before anything changes.\n- Across companies: `get_unapproved_invoices_overview` with `companyIds` (narrow it if it reports too many\n  rows), `get_supplier_invoice_approval_counts` for cached counts. Companies listed as unverified are\n  unknown, not zero.\n\nA confirmation result with `pendingAction.status` DRY_RUN changed nothing. An outcome-unknown error means\ncheck Solibo Home before repeating.\n\n## Identifiers\n\nKID numbers, bank account numbers (also an expense's payout `account`), loan numbers and policy numbers are\nmasked by default. Use `reveal_loan_numbers`, `reveal_insurance_policy_numbers` or\n`reveal_expense_account_numbers` only for one narrow purpose the user has stated and approved; they are\naudited and default to five rows. Decline \"all identifiers\" exports and offer a masked\nreport instead.\n\n## Answer shape\n\nA table with period, currency, actual, budget and variance where available; the data freshness; a list of\ndecisions waiting with ids and amounts; then what could not be read. Never present unverified or\nunavailable data as zero.\n\n`references/tool-notes.md` lists the arguments and result fields of every tool named here.\n"}],"summary":"Fields changed: 2. /included_files, /skill_md_contents.","summary_kind":"deterministic","summary_metadata":{}}