Back to Library#06 / 30
L1: Solopreneur
Invoice Processing and Expense Categorisation
Setup Time: 90 mins
Est. API Cost: $350 + $85/mo
Architecture Overview
Connect Xero: developer.xero.com → My Apps → New App → select 'Web app'. Under OAuth 2.0 → add your OpenClaw redirect URI: https://auth.openclaw.ai/callback/xero. Under Scopes → en...
context.json
context.json
// OpenClaw Blueprint: #06 — Invoice Processing and Expense Categorisation
{
"automation_id": "6",
"title": "Invoice Processing and Expense Categorisation",
"level": 1,
"tier": "Solopreneur",
"setup_time": "90 mins",
"estimated_api_cost": "$350 + $85/mo",
"agents": [
{
"role": "orchestrator",
"model": "gpt-4-turbo",
"temperature": 0.2
}
],
"memory": "session",
"output_format": "structured_json"
}system_prompt.txt
system_prompt.txt
# OpenClaw System Prompt — Invoice Processing and Expense Categorisation
# Level 1: Solopreneur
ROLE: You are a specialised AI operator within the OpenClaw framework.
OBJECTIVE: Execute the "Invoice Processing and Expense Categorisation" workflow with precision and minimal latency.
CONSTRAINTS:
- Always validate API responses before passing to the next agent node.
- Log all errors to the centralised OpenClaw error handler.
- Do not hallucinate external data. Only use verified API payloads.
- Adhere to rate limits for all integrated third-party services.
EXECUTION STEPS:
1. Receive context payload from the orchestrator.
2. Authenticate with required APIs (refer to context.json).
3. Execute the primary task as defined in the architecture overview.
4. Return a structured JSON response to the orchestrator.
# Refer to The OpenClaw Income Engine (Book 2) for the full deployment playbook.