A Node.js CLI to download PDF invoices from Stripe.

Overview

Stripe Invoice Downloader

A Node.js CLI to download PDF invoices from Stripe.

Install

git clone https://github.com/minifjurt123/stripe-invoice-downloader
cd stripe-invoice-downloader
cp .env.example .env
npm i

Edit .env and enter your Stripe secret key.

Usage

# year is required, month and date are optional
npm start [year] [month] [date]

The downloaded PDFs will be put into a downloads folder in the repo.

Examples

# Will get all invoices created between 2020-01-01 - 2020-12-31
npm start 2020
# Will get all invoices created between 2020-01-01 - 2020-01-29
npm start 2020 1
# Will get all invoices created on 2020-01-01
npm start 2020 1 1
# Download & Combine into one pdf (using python script that ships with mac systems)
npm start 2020 1 && "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o ./downloads/merged.pdf downloads/*.pdf

Background

This tool was created to easily get PDF versions of VAT Invoices required when bookkeeping in Sweden.

You might also like...

Terminal table for Windows, Linux, and MacOS. Written in nodejs. Also works in browser console. Word wrap, padding, alignment, colors, Asian character support, per-column callbacks, and you can pass rows as objects or arrays. Backwards compatible with Automattic/cli-table.

Terminal table for Windows, Linux, and MacOS. Written in nodejs. Also works in browser console. Word wrap, padding, alignment, colors, Asian character support, per-column callbacks, and you can pass rows as objects or arrays. Backwards compatible with Automattic/cli-table.

tty-table 端子台 Display your data in a table using a terminal, browser, or browser console. Examples See here for complete example list To view all exam

Nov 21, 2022

Add stdin support to any CLI app that accepts file input

tmpin Add stdin support to any CLI app that accepts file input It pipes stdin to a temp file and spawns the chosen app with the temp file path as the

Oct 3, 2022

A CLI for peer-to-peer file sharing using the Hypercore Protocol.

A CLI for peer-to-peer file sharing using the Hypercore Protocol.

A CLI for peer-to-peer file sharing (and more) using the Hypercore Protocol.

Dec 30, 2022

Git commit CLI

commitme Based on this gist by @gustavopch Installation You can install this on your package using npm i -D commitme or run it once using npx commitme

Jun 6, 2021

An extension geared towards Spotify users with larger libraries; view all your playlists that contain a specific song with the click of a button. Designed for Spicetify (https://github.com/khanhas/spicetify-cli)

An extension geared towards Spotify users with larger libraries; view all your playlists that contain a specific song with the click of a button. Designed for Spicetify (https://github.com/khanhas/spicetify-cli)

ViewPlaylistsWithSong An extension developed for Spicetify that allows you to view all the playlists in your library that contain a certain song. Idea

Dec 13, 2022

HMSC (How Much Stuffs CLI) analyst for your files and folders

HMSC (How Much Stuffs CLI) analyst for your files and folders

HMSC πŸ”° About HMSC (How Much Stuffs CLI) analyst for your files and folders πŸ“Έ Screenshot πŸ““ Requirements Node.js NPM πŸ”Œ Installation $ npm i -g hmsc

Jan 10, 2022

A C++ based command-line (CLI) program that lets you manage your tasks

A C++ based command-line (CLI) program that lets you manage your tasks

COMMAND LINE INTERFACE TODO APP a command-line (CLI) program that lets you manage your tasks. The specification for this project is written down as te

Dec 25, 2021

A CLI progam show teminal outputs as gradients.

A CLI progam show teminal outputs as gradients.

GRADIENT-TERMINAL A CLI progam to display teminal outputs as gradients. Requirements For Installation, you will only need Node.js. Install $ git clone

Jan 3, 2023

Tasks Management CLI application with Nodejs, Mongodb, inquirer.js, and commander

Tasks CLI Tasks CLI is a program to manage your tasks in a database using terminal or console. This is a sample project for beginners Requirements Nod

Nov 17, 2022
Owner
Fabian Hedin
Fabian Hedin
Pretty diff to html javascript cli (diff2html-cli)

diff2html-cli Diff to Html generates pretty HTML diffs from unified and git diff output in your terminal Table of Contents Features Online Example Dis

Rodrigo Fernandes 404 Dec 19, 2022
LinkFree CLI is a command line tool that helps you to create your LinkFree profile through CLI.

LinkFree CLI LinkFree CLI is a command line tool that helps you to create your LinkFree profile through CLI. Demo Using the CLI (Commands) Note First

Pradumna Saraf 32 Dec 26, 2022
Distributed, realtime CLI for live Node apps.

Vantage = CLI + SSH + REPL for your live node app. In one line: require("vantage")().listen(4000); What just happened? That's voodoo magic: show me th

dc 3.5k Dec 30, 2022
Node.js Open CLI Framework. Built with πŸ’œ by Heroku.

oclif: Node.JS Open CLI Framework ?? Description ?? Getting Started Tutorial ✨ Features ?? Requirements ?? CLI Types ?? Usage ?? Examples ?? Commands

oclif 8k Jan 4, 2023
Node.js CLI tool to generate a set of favicons from a single input file.

This is a simple CLI tool to generate an optimized set of favicons from a single input file. Icons are optimized in terms of both size and quantity (n

null 6 Nov 11, 2022
Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Ignite - the hottest React Native boilerplate Battle-tested React Native boilerplate The culmination of five years of constant React Native developmen

Infinite Red, Inc. 14.7k Dec 29, 2022
CLI tool for running Yeoman generators

yo What's Yeoman? Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. To do so, we provide a

Yeoman 3.6k Dec 30, 2022
Test your internet connection speed and ping using speedtest.net from the CLI

speed-test Test your internet connection speed and ping using speedtest.net from the CLI Install Ensure you have Node.js version 8+ installed. Then ru

Sindre Sorhus 3.8k Jan 7, 2023
:white_square_button: WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

Whatspup Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! ?? Features βœ… Send and receive messages βœ… Read Receipts βœ… Switch betw

Sarfraz Ahmed 343 Dec 1, 2022
:notes: Control iTunes via CLI

itunes-remote Control iTunes via your terminal ?? Using JXA via osascript via Node.js. Requirements Node.js (v0.12.7 or greater) Mac OS X (Yosemite 10

Michael KΓΌhnel 422 Nov 19, 2022