#NEWLINE# @ base . apimethod #NEWLINE# def mark_failed( self ) : #NEWLINE# #INDENT# '\n        Mark an invoice as failed collection\n        ' #NEWLINE# self . require_item ( ) #NEWLINE# url = '{0}/mark_failed' . format ( self . get_url ( ) ) #NEWLINE# request = http . Request ( 'PUT' , url ) #NEWLINE# return ( request , parsers . parse_empty )