QuickBooks Online CLI - CRUD for invoices, payments, customers, and products
npm install dc-qb-cliCRUD operations for QuickBooks Online: invoices, payments, customers, and products.
``bash`
pnpm install
pnpm build
npm link # optional: makes 'qb' available globally
1. Create an app at developer.intuit.com
2. Set environment variables:
`bash`
export QB_CLIENT_ID="your-client-id"
export QB_CLIENT_SECRET="your-client-secret"
export QB_SANDBOX=1 # optional: default when unset
3. Authenticate:
`bash`
qb auth login
``
qb [global flags]
| Flag | Env Var | Description |
|------|---------|-------------|
| -h, --help | | Show help |--version
| | | Print version |-q, --quiet
| | QB_QUIET=1 | Suppress non-essential output |-v, --verbose
| | QB_VERBOSE=1 | Show debug information |--format
|