Match from Sales Order using transaction ref 30 get_from_transaction_ref_and_so Match from Invoice using transaction ref 40 get_from_transaction_ref_and_invoice