Canadian Payroll Calculation API
Find a file
2025-10-14 11:49:19 -06:00
liblicense update initial code, api is responding 2023-08-10 17:01:19 -06:00
.gitignore update gitignore for vsdcode folder 2023-08-10 15:12:14 -06:00
go.mod Bump github.com/gofiber/fiber/v2 from 2.52.8 to 2.52.9 2025-10-14 17:48:24 +00:00
go.sum Bump github.com/gofiber/fiber/v2 from 2.52.8 to 2.52.9 2025-10-14 17:48:24 +00:00
LICENSE Initial commit 2023-08-10 09:53:56 -06:00
main.go update initial code, api is responding 2023-08-10 17:01:19 -06:00
README.md update readme with env requirement 2023-08-10 17:03:41 -06:00

l10n_ca_hr_payroll_api

Canadian Payroll Calculation API

Requires an env var PAYROLL_SECRET to run. This is the shared secret with the Canadian Payroll Subscription Module

Test Case

token := "eyJpYXQiOiIyMDIzMDEwMSIsImV4cCI6IjIwMjMxMjMxIiwibGV2ZWwiOjI1LCJuYW1lIjoiQUJDIENvLiIsInV1aWQiOiIxYWIyN2U4Yy1mNmVhLTQ3NzQtOTQ3MC1jYzI5ZWYyZDEzOTEifQ.zdl8hsUaDa9b2J4Kq_j64H5Q_lFILhJ8VwHkFxvoRFM"
secret := "123456789"
dbuuid := "1ab27e8c-f6ea-4774-9470-cc29ef2d1391"
var usercount float64 = 10