✓ Verified
💻 Development
✓ Enhanced Data
Smartbill
Issue SmartBill invoices through the SmartBill.ro API with local automation.
- Rating
- 4 (444 reviews)
- Downloads
- 15,259 downloads
- Version
- 1.0.0
Overview
Issue SmartBill invoices through the SmartBill.ro API with local automation.
Complete Documentation
View Source →name: smartbill-invoicing description: Issue SmartBill invoices through the SmartBill.ro API with local automation. Use for SmartBill tasks such as validating invoice payloads, creating invoices, listing available document series, and downloading invoice PDFs by series and number.
SmartBill Invoicing
Usescripts/smartbill_cli.py for deterministic SmartBill API calls instead of ad-hoc HTTP snippets.
Workflow
- Collect invoice input from the user.
- Validate payload locally before sending:
python scripts/smartbill_cli.py validate-payload --input references/invoice-example.json --show-payload
- Dry-run to inspect the normalized payload without calling the API:
python scripts/smartbill_cli.py create-invoice --input--dry-run
- Issue final invoice after explicit user confirmation:
python scripts/smartbill_cli.py create-invoice --input--allow-final
- Retrieve PDF once series and number are known:
python scripts/smartbill_cli.py download-invoice-pdf --series-name--number --output
Required Environment
Set these before calling SmartBill:SMARTBILL_USERNAME- SmartBill login email
SMARTBILL_TOKEN- SmartBill API token
SMARTBILL_COMPANY_VAT_CODE- default CIF (optional but recommended)
SMARTBILL_API_BASE(default:https://ws.smartbill.ro/SBORO/api)
SMARTBILL_TIMEOUT_SECONDS(default:30)
SMARTBILL_RETRIES(default:2)
Command Guide
validate-payload
- Parse and normalize payload shape (bare invoice object or
{ "invoice": {...} }wrapper both accepted).
- Validate minimum required structure before API calls.
create-invoice
- Create invoice via
POST /invoice.
- Requires
--allow-finalto issue a final invoice.
- Supports
--dry-run(prints normalized payload, no API call) and--force-draft.
get-series
- Query available SmartBill series via
GET /series.
download-invoice-pdf
- Fetch PDF via
GET /invoice/pdfusing CIF + series + number.
Payload Format
The invoice payload is a flat JSON object sent directly to the SmartBill API. Seereferences/invoice-example.json for the canonical minimal example and references/smartbill-api.md for field documentation.
Both formats are accepted as input to the CLI:
- Bare invoice object:
{ "companyVatCode": "...", "client": {...}, ... }
- Wrapped:
{ "invoice": { "companyVatCode": "...", "client": {...}, ... } }
Operational Rules
- Always use
--dry-runfirst to confirm the normalized payload before hitting the API.
- Treat final invoice issuance (
isDraft: false) as a high-impact action requiring explicit user confirmation.
- Set
client.saveToDb: falseandproducts[].saveToDb: falseto avoid persisting test data.
- Preserve SmartBill response data (series, number, message) in run logs.
- Respect SmartBill rate limits: max 30 calls per 10 seconds.
References
- Read
references/smartbill-api.mdfor payload field reference, endpoint mapping, and auth/rate-limit notes.
- Use
references/invoice-example.jsonas the canonical starting payload template.
Installation
Terminal bash
openclaw install smartbill
Copied!
Tags
#productivity_and-tasks
#api
#automation
Quick Info
Category Development
Model Claude 3.5
Complexity Multi-Agent
Author tokyo-s
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install smartbill
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0