GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - johackim/abby: Synchronize your Stripe invoices with Abby.fr

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.env.dist
.env.dist
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
index.mjs
index.mjs
 
 
package.json
package.json
 
 
utils.mjs
utils.mjs
 
 

Repository files navigation

Abby

Synchronize your Stripe invoices with Abby.fr

📋 Requirements

  • Node.js (v14+)
  • Stripe Account with paid invoices available
  • Abby.fr Account with an API token

🚀 Installation

  1. Clone the repository
git clone https://github.com/johackim/abby.git
  1. Install dependencies
cd abby
npm install
  1. Configure Environment Variables

Create a .env file in the root directory with the following content:

STRIPE_SECRET_KEY=your_stripe_secret_key
ABBY_API_TOKEN=your_abby_api_token
PAYMENT_METHOD=9 # Stripe
PRODUCT_TYPE=2 # Prestations de services

📦 Usage

Run the script to synchronize your Stripe invoices with Abby.fr:

node index.mjs --sync

The script performs the following tasks:

  • Fetches all paid invoices from Stripe.
  • Skips invoices already present in Abby (matched by reference number).
  • Creates new income book entries in Abby using invoice details such as reference number, client information, date, total amount, and a link to the PDF invoice.

If you need to wipe all existing entries from Abby, use the --delete flag:

node index.mjs --delete

🔧 Customization

You can customize the script by modifying the following environment variables:

  • PRODUCT_TYPE: (Default is 2 representing "Prestations de services")
  • PAYMENT_METHOD: (Default is 9, corresponding to "Stripe")

Feel free to fork the project and tailor it to your specific needs.

🎁 Support me

I'd love to work on this project, but my time on this earth is limited, support my work to give me more time!

Please support me with a one-time or a monthly donation and help me continue my activities.

Github sponsor ko-fi Buy me a coffee liberapay Github Mastodon Twitter

📜 License

This project is licensed under the GNU GPL v3.0 - see the LICENSE.txt file for details

Free Software, Hell Yeah!

About

Synchronize your Stripe invoices with Abby.fr

Topics

abbystripe

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.