buchhaltung

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 2 Imported by: 0

README

Build Status Coverage Status

buchhaltung

rename invoice

The renaming function reads the PDF and extracts variables for the renaming.

build binary with:

go get -d -v ./... && go build buchhaltung.go

Move all PDF invoices to a directory. At the moment we only support pure PDFs and not scans.

Create a json config file like:

[
    {
        "outputname": "{number}_{company}.pdf",
        "identifyers":     {
            "number":  "Belegnummer\\s+(WF\\d{11})",
            "company": "(weinfreunde)"
        }
    },
    {
        "outputname": "{number}_{company}.pdf",
        "identifyers":     {
            "number":  "Rechnungsnr.:\\s+(F\\d{11})",
            "company": "(klarmobil)"
        }
    }
]

And run buchhaltung:

buchhaltung invoice -i /Users/test/bills -o /Users/test/bills/output -c /Users/test/
config_example.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL