refactored to base ledger-pl-service