blob: 291b35d54272f36566922b50ad3f1aad03f094c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef BOKF_PAYSLIP_H
#define BOKF_PAYSLIP_H
#include <stddef.h>
#include <stdint.h>
struct payslip_data {
struct {
const char *name;
const char *address;
const char *postal_code;
const char *city;
const char *org_nr;
const char *phone;
const char *email;
} employer;
const char *employee_name;
const char *personal_no_masked;
const char *period;
const char *pay_date;
int tax_table;
int tax_column;
int64_t gross_ore;
int64_t tax_ore;
int64_t avgifter_ore;
int64_t net_ore;
const char *run_ref;
int64_t rate_bp;
};
int payslip_render(const struct payslip_data *d, unsigned char **out,
size_t *len);
#endif
|