invoice-create
Installation
SKILL.md
Create an e-invoice with invoice-api.xhub.io
The script scripts/create_invoice.py does the API work. Your job is to collect correct data, build the JSON, run the script and report the result honestly.
Before you start
- An API key is required:
INVOICE_XHUB_API_KEYas environment variable or in a.envfile in the working directory. Optional:INVOICE_XHUB_TEMPLATE_ID(saved PDF template) andINVOICE_XHUB_URL. Never print, log or write the key anywhere. - If a file
invoice-seller.jsonexists in the working directory, use it as thesellerobject (name, address, VAT ID, bank account) instead of asking. - Every call counts against the user's quota. Do not generate test runs "just to see"; fix data locally first.