#ifndef BOKF_PAYSLIP_H #define BOKF_PAYSLIP_H #include #include 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