Download the PHP package 16bitsrl/fattureincloud-cli without Composer
On this page you can find all versions of the php package 16bitsrl/fattureincloud-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 16bitsrl/fattureincloud-cli
More information about 16bitsrl/fattureincloud-cli
Files in 16bitsrl/fattureincloud-cli
Package fattureincloud-cli
Short Description Comprehensive CLI for Fatture in Cloud API - built for humans and agents.
License MIT
Homepage https://github.com/16bitsrl/fattureincloud-cli
Informations about the package fattureincloud-cli
Fatture in Cloud CLI
A CLI for the Fatture in Cloud API, with full API coverage, agent-oriented docs, and a practical XML import workflow for fattura elettronica files.
See CHANGELOG.md for release notes starting from 1.0.1.
Install
Composer
Static binaries
Each release also ships static builds for Linux, macOS, and Windows: download them from the GitHub release assets.
After download, make the binary executable on Unix-like systems:
Quick start
Get your manual token at secure.fattureincloud.it/api.
XML e-invoice import
The official API does not ingest raw XML, so the CLI recreates documents through JSON APIs.
For issued XML imports, the recreated document is treated as an electronic invoice by default.
The import supports recap before creation, dry runs, .xml and .xml.p7m inputs, client/supplier matching, embedded attachment carry-over, automatic direction inference (issued/received/self-invoice), and structured mapping for supported e-invoice fields before falling back to ei_raw. If neither XML party matches the selected company, the import is rejected.
Agent skill
This repository includes an agent skill that teaches coding agents how to use the CLI, including filtering, sorting, pagination, FAQ edge cases, quotas, and XML import.
Install the skill
Skill sources live in skills/fattureincloud/.
Handy examples
API coverage
| Resource | Commands |
|---|---|
| Clients | list, get, create, modify, delete, info |
| Suppliers | list, get, create, modify, delete |
| Products | list, get, create, modify, delete |
| Issued documents | list, get, create, modify, delete, totals, email, transform, join |
| E-Invoices | send, verify XML, get XML, rejection reason |
| Received documents | list, get, create, modify, delete, totals, pending |
| Receipts | list, get, create, modify, delete, monthly totals |
| Taxes (F24) | list, get, create, modify, delete, attachments |
| Cashbook | list, get, create, modify, delete |
| Archive | list, get, create, modify, delete, attachments |
| Settings | payment accounts/methods, VAT types, tax profile, templates |
| Info | cities, countries, currencies, languages, categories, etc. |
| Webhooks | list, create, get, modify, delete, verify |
| User | info, companies |
| Companies | info, plan usage |
Testing
Releasing a new version
Use the release script:
It will:
- build
builds/ficwith the requested version - verify that
builds/ficmatches the source version - commit
builds/fic - create tag
vX.Y.Z - push branch and tag
Then the GitHub release workflow will build the PHAR and static binaries for Linux, macOS, and Windows.
If you only want to verify that the committed PHAR is still aligned with the source version:
CI also runs the same sync check on pushes and pull requests.
Users install or update with composer global require 16bitsrl/fattureincloud-cli.
Updating the OpenAPI spec
Credits
- Built with Laravel Zero and Spatie Laravel OpenAPI CLI
- API by Fatture in Cloud
- Made by Mattia Trapani at 16bit S.r.l.
License
The MIT License (MIT). Please see LICENSE.md for more information.