โ† All skills
Tencent SkillHub ยท Developer Tools

SmartBill Invoicing

Issue SmartBill invoices through the SmartBill.ro API with local automation. Use for SmartBill tasks such as validating invoice payloads, creating invoices,...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Issue SmartBill invoices through the SmartBill.ro API with local automation. Use for SmartBill tasks such as validating invoice payloads, creating invoices,...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
references/invoice-example.json, references/smartbill-api.md, agents/openai.yaml, scripts/smartbill_cli.py, SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.9

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

SmartBill Invoicing

Use scripts/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 <invoice.json> --dry-run Issue final invoice after explicit user confirmation: python scripts/smartbill_cli.py create-invoice --input <invoice.json> --allow-final Retrieve PDF once series and number are known: python scripts/smartbill_cli.py download-invoice-pdf --series-name <SERIES> --number <NO> --output <file.pdf> Use the exact number string returned by SmartBill (zero-padded, e.g. "0123"). Do not strip leading zeros or convert to an integer. --output accepts absolute or relative paths and must end in .pdf.

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) Optional overrides: SMARTBILL_API_BASE (default: https://ws.smartbill.ro/SBORO/api) SMARTBILL_TIMEOUT_SECONDS (default: 30) SMARTBILL_RETRIES (default: 2) SMARTBILL_DEBUG (default: unset) โ€” set to 1, true, or yes to enable request/response debug logging to stderr

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-final to issue a final invoice. Supports --dry-run (prints normalized payload, no API call) and --force-draft. Pass --debug (or set SMARTBILL_DEBUG=1) to print full request/response payloads to stderr. get-series Query available SmartBill series via GET /series. download-invoice-pdf Fetch PDF via GET /invoice/pdf using CIF + series + number. --output accepts an absolute or relative .pdf path. Relative paths are resolved against the current working directory. The resolved path must fall within an OpenClaw-allowed media root or the current working directory.

Payload Format

The invoice payload is a flat JSON object sent directly to the SmartBill API. See references/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": {...}, ... } } The CLI unwraps automatically and sends the invoice object directly to the API.

Operational Rules

Always use --dry-run first 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: false and products[].saveToDb: false to avoid persisting test data. Preserve SmartBill response data (series, number, message) in run logs. Store number verbatim as returned โ€” it is zero-padded (e.g. "0123") and must never be stripped of leading zeros or cast to an integer. Respect SmartBill rate limits: max 30 calls per 10 seconds.

References

Read references/smartbill-api.md for payload field reference, endpoint mapping, and auth/rate-limit notes. Use references/invoice-example.json as the canonical starting payload template.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Config1 Scripts
  • SKILL.md Primary doc
  • references/smartbill-api.md Docs
  • scripts/smartbill_cli.py Scripts
  • agents/openai.yaml Config
  • references/invoice-example.json Config