def get_po_title(po_line_record):
    """Retrieve title from PO line record. PO line records store the title as a null
    value if no item is attached but a string is required for generating the invoice
    number."""
    title = po_line_record.get("resource_metadata", {}).get("title")
    title = "Unknown title" if title is None else title
    return title