跳到正文
TakoAPI
返回技能列表

smartbill-invoicing

由 maverick-ai-tech 提供

Productivity & Tasks
413下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Issue SmartBill invoices through the SmartBill.ro API with local automation.

描述

该技能的功能

Issues and manages SmartBill invoices via the SmartBill.ro API using a local CLI script. Covers payload validation, dry-run inspection, invoice creation with confirmation gates, series lookup, and PDF download.

The CLI enforces a validate-then-dry-run-then-confirm flow that prevents accidental final invoice issuance, which the raw API does not.

何时使用

  • Creating a client invoice after confirming line items
  • Downloading a PDF copy of an issued invoice by series and number
  • Listing available document series before issuing
  • Validating an invoice JSON payload before sending to the API
  • Dry-running an invoice to inspect the normalized payload without making an API call

示例工作流

输入

User asks: Issue an invoice for client Acme SRL based on invoice.json

智能体
  1. 1

    Run validate-payload on invoice.json to check structure

  2. 2

    Run create-invoice with --dry-run to inspect normalized payload

  3. 3

    Present payload to user and request explicit confirmation

  4. 4

    Run create-invoice with --allow-final to issue the invoice

  5. 5

    Capture returned series and number verbatim for logging

输出

Invoice issued; series and zero-padded number stored in run log

前置要求

  • SMARTBILL_USERNAME environment variable (SmartBill login email)
  • SMARTBILL_TOKEN environment variable (SmartBill API token)
  • SMARTBILL_COMPANY_VAT_CODE environment variable (company CIF)
  • SmartBill account at SmartBill.ro

安装

clawhub install maverick-ai-tech/smartbill-invoicing

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接