SYNOPSIS use Parse::PayPal::TxDetailReport qw(parse_paypal_txdetail_report); my $res = parse_paypal_txdetail_report(files => []); Sample result when there is a parse error: [400, "Version (10) not supported, only version 11 supported"] Sample result when parse is successful: [200, "OK", { account_id => "...", report_generation_date => 1467375872, report_version => 11, reporting_window => "A", transactions => [ { "3PL Reference ID" => "", "Auction Buyer ID" => "", "Auction Closing Date" => "", "Auction Site" => "", "Authorization Review Status" => 1, ... "Transaction Completion Date" => 1467273397, ... }, ... ], }] DESCRIPTION This module provides routine to parse PayPal transaction detail report into a Perl data structure. Version 11 is supported. Multiple files are supported. Both the tab-separated format and comma-separated (CSV) format are supported. SEE ALSO https://www.paypal.com Specification of transaction detail report format: https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/PP_LRD_Gen_TransactionDetailReport.pdf