reconcile-toco-bank

command module
v0.0.0-...-fc1e6aa Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Reconcile TOCOnline & Millennium BCP

A utility to reconcile records downloaded for the same period from TOC Online (XSLT) and Millennium BCP (CSV).

Prerequisites

Next to Go, yo need to install glide for package management.

# For OSX use brew...
$ brew install glide

Build

# Fetch libs, compile & install binary
$ make all

Run

# The help function speaks for itself
$ ./bin/rtbutil -h
Usage: rtbutil [--tocsheet TOCSHEET] [--bcpsheet BCPSHEET]

Options:
  --tocsheet TOCSHEET, -t TOCSHEET
                         full path to TOC Online Excel file [default: ./testdata/extratocontas_514106654_25_09_2020.xlsx]
  --bcpsheet BCPSHEET, -b BCPSHEET
                         full path to Millennium BCP Excel file [default: ./testdata/EXTMV120825856552.xls]
  --help, -h             display this help and exit

# Example
$ rtbutil -t ./2020-06v2\ extratocontas_514106654_26_09_2020.xlsx \
   -b ./EXTMV120826185594.xls

These amounts were not found TOC online (compared to BCP)
+-----+--------+------------+------------------------------------------------+
| Ref | Amount | Date       | Description                                    |
+-----+--------+------------+------------------------------------------------+
| 1   | -59.99 | 2020-06-08 | MDB 857107 WORTEN 2724-520 AMA                 |
| 2   | 59.99  | 2020-06-10 | MDB 857107 WORTEN 2724-520 AMA                 |
| 3   | -30.00 | 2020-06-26 | DD PT34100781 EDP COMERCIAL C 16010003738930   |
| 4   | -90.00 | 2020-06-26 | DD PT34100781 EDP COMERCIAL C P1610003242953   |
| 5   | -5.00  | 2020-06-30 | COM.MANUTENCAO CONTA PACOTE FREQUENTE NEGOCIOS |
| 6   | -0.20  | 2020-06-30 | IMPOSTO SELO ART 17.3.4                        |
+-----+--------+------------+------------------------------------------------+



These amounts were not found in BCP Millennium (compared to TOC)
+-----+---------+------------+------------------------------------+
| Ref | Amount  | Date       | Description                        |
+-----+---------+------------+------------------------------------+
| 1   | -120.00 | 2020-06-26 | Pagamento a fornecedor PF 2020/150 |
+-----+---------+------------+------------------------------------+

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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