https://github.com/maaslalani/invoice Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} maaslalani / invoice Public * Notifications * Fork 4 * Star 59 Generate invoices from the command line. License MIT license 59 stars 4 forks Star Notifications * Code * Issues 1 * Pull requests 1 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights maaslalani/invoice This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/m] Use Git or checkout with SVN using the web URL. [gh repo clone maasla] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @maaslalani maaslalani fix: scale logo ... f1ffc18 Jun 24, 2023 fix: scale logo f1ffc18 Git stats * 20 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .gitignore Inter-Bold.ttf Inter.ttf LICENSE README.md currency.go demo.gif go.mod go.sum invoice.tape main.go pdf.go View code Invoice Command Line Interface Custom Templates Installation License Feedback README.md Invoice Invoice Generate invoices from the command line. Command Line Interface invoice generate --from "Dream, Inc." --to "Imagine, Inc." \ --item "Rubber Duck" --quantity 2 --rate 25 \ --tax 0.13 --discount 0.15 \ --note "For debugging purposes." [68747470733a2f2f7668732e636861726d2e73682f7668732d3636434d6434555175586b75785839646a] View the generated PDF at invoice.pdf, you can customize the output location with --output. open invoice.pdf Example invoice Save repeated information with environment variables: export INVOICE_LOGO=/path/to/image.png export INVOICE_FROM="Dream, Inc." export INVOICE_TO="Imagine, Inc." export INVOICE_TAX=0.13 export INVOICE_RATE=25 Generate new invoice: invoice generate \ --item "Yellow Rubber Duck" --quantity 5 \ --item "Special Edition Plaid Rubber Duck" --quantity 1 \ --notes "For debugging purposes." --output duck-invoice.pdf Custom Templates If you would like a custom invoice template for your business or company, please reach out via: * Email * Twitter Installation Install with Go: go install github.com/maaslalani/invoice@main Or download a binary from the releases. License MIT Feedback I'd love to hear your feedback on improving invoice. Feel free to reach out via: * Email * Twitter * GitHub issues --------------------------------------------------------------------- [[z]][z]z About Generate invoices from the command line. Resources Readme License MIT license Stars 59 stars Watchers 1 watching Forks 4 forks Report repository Releases No releases published Packages 0 No packages published Contributors 2 * @maaslalani maaslalani Maas Lalani * @caarlos0 caarlos0 Carlos Alexandro Becker Languages * Go 100.0% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.