• no_pages (int): Number of pages per payslip
  • map (obj): [output_name]: arr[page, x, y]
  • keys (arr): arr[map_key]: keys from `map` to use for values in individual pdf filenames
  • skip_start (int):  numer of pages to skip at start of pdf
  • skip_end (int):  Number of pages to ignore at end of pdf
  • inter_skip (int):  Number of pages to skip between `no_pages`
  • password (str):  PDF password
  • newline_replace (str): A sequence of characters to replace newlines with (default "")
  • file_name_template (str): A sequence to be used as a prefix for the individual json and pdf output files in the amalgamated zip
  • collapse_all_fields (bool): Make all fields concatenate any text that is under the same point.
  • debug_all_fields (bool): Force all fields to return all payslip text for the given payslip
  • debug_mode (bool): Return entire PDFs strings in each field
{
    "no_pages": 1,
    "map": {
        "all_text": "*",
        "collapsed_coordinate": [0, 123, 123, true],
        "explicit_non_collapsed": [0, 321, 321, false],
        "emp_name": [0, 416, 123],
        "emp_no": [0, 415, 145]
    },
    "file_name_template": "{emp_no} - {emp_name}"
}