1
0
Fork 0
Commit Graph

6 Commits (520f150134f8532bbf4781eed1b9464837096416)

Author SHA1 Message Date
q3k fa818da7c6 bgpwtf/invoice: add recurrent billing tool
Change-Id: Ic3cc03d7b04304ae8c7aa76d8bb889ae8c144838
2021-05-06 00:12:53 +02:00
q3k 1ecf22da9a invoice: add GetInvoices to proto
This call will return a stream of repeated Invoices, in order to submit
monthly audit summaries to accounting, including PDFs and JPK_V7 codes
(ie. GTU and SP codes).

Change-Id: Id9da2952a6358c5c2c737eee08c473c1fbcfbe7d
2021-01-09 21:59:04 +00:00
q3k b456c18bb2 invoice: calculate GTU codes for invoice, implement some tests
Also drive-by fix two proto issues:
 - rename gtu_codes to gtu_code (following convention)
 - move denormalized Item.due_date field past denormalized comment.

Change-Id: Ibfe0a21aadc0a5d4e2f784b182e530b9603aae62
2021-01-09 21:58:59 +00:00
q3k d9f912378d invoice: add GTU and SP codes
These are codes defined in JPK_V7, ie. the control file submitted to
Polish tax authorities for all invoices created in a given month. We
need to now tag our invoices with the appropriate codes when submitting
them to our accountants, which will pass them on over to the tax
authoritiex in a JPK_V7M file.

This only adds the relevant enums and adds them to proto messages, but
does not actually implement any control/model logic.

Change-Id: I695d05b55143a248dab9346151da3c572c7665d4
2020-11-16 20:38:08 +00:00
q3k 1446e98beb proto/invoice -> bgpwtf/invoice/proto
Change-Id: I5d25864046665e4b0e57ec62a29797fbce6ed3cb
2019-07-21 16:04:23 +02:00
q3k cea71e3be8 go/svc/{invoice,speedtest} -> bgpwtf/
Continued from https://gerrit.hackerspace.pl/c/hscloud/+/71 .

Change-Id: I5aef587c7e9a4cec301e3c95530c33914851ad44
2019-07-21 15:30:08 +02:00