Shopify Auto Invoicing & Inventory
by @gaelbuenobarthe
Lightweight Shopify order invoicing and inventory operations workflow for detecting new orders, preparing invoice-ready billing data, updating stock tables,...
clawhub install shopify-auto-invoicing-inventoryπ About This Skill
name: shopify-auto-invoicing-inventory description: Lightweight Shopify order invoicing and inventory operations workflow for detecting new orders, preparing invoice-ready billing data, updating stock tables, and producing simple monthly summaries. Use when building a review-first Shopify back-office process, preparing invoice exports from new orders, reconciling stock after sales, or generating easy e-commerce operations reports for a free ClawHub edition.
Shopify Auto Invoicing & Inventory
Run a simple, review-first Shopify operations workflow focused on order detection, invoice preparation, stock updates, and clear monthly reporting.
Keep outputs professional, merchant-friendly, and easy to validate before any external action.
Workflow
Use this sequence for complete requests:
1. collect store context 2. detect new or relevant orders 3. prepare invoice-ready billing data 4. update stock tables 5. summarize exceptions 6. export a monthly operations report
1. Collect store context
Capture the operating brief before producing outputs.
Minimum inputs:
If details are missing, keep assumptions explicit and conservative.
2. Detect new orders
Use Shopify order exports, webhook payloads, user-provided CSV files, or manually reviewed order lists.
Capture these fields whenever possible:
Classify orders into these simple buckets:
Rules:
3. Prepare invoice-ready billing data
Generate structured invoice rows rather than pretending to issue official accounting documents automatically.
For each invoice-ready order, prepare:
Use references/templates.md for invoice field structure and merchant-facing language.
If the user asks for a PDF, produce a professional invoice content block or a PDF-ready dataset unless a real PDF renderer is already available.
4. Update stock tables
After processing valid orders, create a stock movement view.
Recommended columns:
Rules:
needs_reviewUse scripts/stock_sync.py to compute a flat stock reconciliation file from inventory and order exports.
5. Summarize exceptions
Always produce a short exception section.
Include:
Keep this section concise and actionable.
6. Export monthly report
When the user asks for a monthly summary, include:
Use scripts/monthly_ops_report.py to aggregate order and stock data into a compact CSV summary.
Output order
For a complete request, produce outputs in this order:
1. operating assumptions 2. order status summary 3. invoice-ready table 4. stock reconciliation table 5. exceptions list 6. monthly report summary
Ease-of-use standard
Write for non-technical Shopify merchants.
Prefer:
Avoid:
Compliance standard
Operate in a review-first and accounting-aware way.
Use this skill to support:
Do not claim legal or tax compliance beyond the data provided. Recommend accountant review when tax treatment is uncertain.
Community edition note
This free edition focuses on invoice-ready data prep, stock reconciliation, and simple monthly reporting. It intentionally excludes automated payment reminders, advanced PDF workflows, and richer finance automation.
Resources
Use bundled resources when useful:
references/templates.md for invoice and report templatesscripts/invoice_export.py to convert Shopify-style order JSON into invoice-ready CSV rowsscripts/stock_sync.py to reconcile stock from orders and inventory CSV filesscripts/monthly_ops_report.py to build a simple monthly operations summary