def _prepare_bill(pdf, page):
    """Prepare the PDF page to be parsed.

    Due to the nature of the document, we need to preserve some whitesapce,
    thus we split on returns and remove the last item in the list which is
    an empty string.
    """
    raw_page = pdf.getPage(page)
    raw_text = raw_page.extractText()
    prepared_page = raw_text.split('\n')[:-1]

    return prepared_page