@go-labs-sg/bb 2.34.0 → 2.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-labs-sg/bb",
3
- "version": "2.34.0",
3
+ "version": "2.35.0",
4
4
  "description": "Budget Builder CLI for AI agents — manage budgets, bills, claims, quotations, and customer invoices with explicit workflow previews for sensitive changes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -101,6 +101,8 @@ This table highlights the role-sensitive command groups an agent is most likely
101
101
  | `bb bill status update ... CHECKED` | `ACCOUNTING_TEAM` or `ADMIN`. |
102
102
  | `bb bill status update ... APPROVED` or `... PAID` | `ADMIN`; state, integration, payment-reference, and payment-proof requirements still apply. |
103
103
  | `bb bill payment patch`; `bb bill invoice-number patch` | `ACCOUNTING_TEAM` or `ADMIN`, with the procedure's bill-state constraints. |
104
+ | `bb customer-invoice splits`, `preview-splits`, `save-splits`, `create-splits` | Any project-authorised active user. Creation writes QBO first, then automatically requests admin invoice approval for non-admin creators; admin creation auto-approves. No separate split approval. |
105
+ | `bb customer-invoice send-group` | Any project-authorised active user, but only approved invoices may be selected. `--all-approved` selects approved unsent rows. Sends one email containing the selection; creation/approval never sends automatically. |
104
106
  | `bb customer-invoice approve` and `bb customer-invoice reject` | `ADMIN` batch operations selected by batch ID; the API resolves the internal pending Admin approval record. |
105
107
  | `bb customer-invoice pdf download` | `ADMIN` for pending-approval batches; other roles may download after pending approval. QuickBooks sync errors cannot be previewed or downloaded. |
106
108
  | Dashboard/performance, supplier analytics, errors, integration operations | `ADMIN`. |