mcpbeat Sign in

Paypal Import Agent Skill

> Import PayPal CSV exports with fee, refund, and currency handling.

1.2k tokens
context cost
SKILL.md, read when the skill is used
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
101
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openaccountant/skills --skill paypal-import

The instruction itself

10 sections, as written by the author

PayPal Import

Overview

Import transaction data from PayPal CSV exports. Handles payments received, fees, refunds, and currency conversions. PayPal CSVs include many transaction types — this skill filters to financially meaningful entries and maps them to Open Accountant's format.

Wilson Tools Used

  • transaction_search — check for duplicates against existing transactions
  • categorize — assign categories to imported PayPal transactions
  • export_transactions — export reconciled PayPal data

Column Mapping

| PayPal CSV Column | Open Accountant Field | Notes |

|---|---|---|

| Date | date | Transaction date (MM/DD/YYYY format) |

| Time | — | Not stored, date is sufficient |

| Name | description | Counterparty name |

| Type | — | Used for filtering (see workflow) |

| Status | — | Only import Completed transactions |

| Gross | amount | Transaction amount before fees |

| Fee | amount (separate row) | PayPal fee (negative = expense) |

| Net | — | Calculated, not stored directly |

| Transaction ID | reference_id | PayPal transaction ID for dedup |

| Currency | currency | 3-letter ISO code |

| Subject or Item Title | notes | Optional detail |

Workflow

  • Ask the user for the PayPal CSV file path.
  • Parse the CSV (PayPal uses comma-separated with quoted fields).
  • Filter by transaction type:
  • Import: Payment Received, Mobile Payment, Website Payment, Invoice Received
  • Import: Refund, Reversal, Chargeback
  • Import: Subscription Payment
  • Skip: Transfer to Bank, Bank Deposit (appears in bank import)
  • Skip: Currency Conversion (handled as part of the parent transaction)
  • Skip: Authorization, Pending, Temporary Hold
  • Filter by status: only Completed transactions.
  • For each payment received, create two transactions:
  • Revenue: gross amount (positive), category "Revenue:PayPal"
  • Fee: fee amount (negative), category "Fees:Payment Processing"
  • For refunds/reversals, create a negative revenue transaction.
  • For currency conversions: attach the conversion rate to the parent transaction notes.
  • Deduplicate using PayPal Transaction ID.
  • Preview and confirm import.

Without Wilson

To work with PayPal exports manually:

Downloading from PayPal

  • Log in at paypal.com
  • Go to Activity (top navigation)
  • Click Statements > Activity download (or Reports > Activity download in business accounts)
  • Select date range (max 1 year at a time)
  • File type: CSV
  • Click Download
  • For business accounts: Reports > All reports > Transactions > select date range > Download CSV

Manual Processing in a Spreadsheet

  • Open the CSV. PayPal CSVs use the encoding Windows-1252 — if you see garbled characters, re-open with UTF-8 encoding.
  • Filter Status: Keep only "Completed" rows.
  • Filter Type: Remove "Transfer to Bank," "Bank Deposit," "Currency Conversion," and "Authorization" rows.
  • Split revenue and fees:
  • For each payment, the Gross column is revenue and the Fee column is the PayPal fee.
  • Create a new row for each fee with the negative fee amount.
  • Handle refunds: Refund rows already have negative Gross amounts. Keep as-is.
  • Currency conversion: If you received a payment in EUR but your account is in USD, PayPal creates two rows — one in EUR and one with the USD conversion. Use the USD row and note the original currency.
  • Summary formulas:
   Gross Revenue:  =SUMIFS(Gross, Type, "Payment Received", Status, "Completed")
   Total Fees:     =ABS(SUMIFS(Fee, Type, "Payment Received", Status, "Completed"))
   Total Refunds:  =ABS(SUMIFS(Gross, Type, "Refund", Status, "Completed"))
   Net Revenue:    =GrossRevenue - TotalFees - TotalRefunds
   Fee Rate:       =TotalFees / GrossRevenue * 100

Reconciliation

  • PayPal transfers to your bank should match the sum of Net amounts between transfer dates.
  • If they don't match, check for held funds, disputes, or currency conversion differences.

Important Notes

  • PayPal CSV encoding can cause issues. If the file won't parse, try saving as UTF-8 first.
  • PayPal date format is MM/DD/YYYY (US accounts) or DD/MM/YYYY (international). Wilson auto-detects based on account locale.
  • "General Payment" type in PayPal can be either sent or received — check the sign of the Gross amount.
  • PayPal business accounts have more detailed CSVs than personal accounts. The column mapping above covers both.
  • Do not import "Transfer to Bank" rows — these are the PayPal-to-bank transfers that appear in your bank statement.

Other skills for the same job

different authors, same section of the catalogue
XLSX
by anthropics
vendor ×17

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

2.7k tokens scripts
XLSX
by w95
×7

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

2.9k tokens
Raffle Winner Picker
by frostant
×5

Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

949 tokens
Fda Database
by christophacham
×4

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

3.8k tokens scripts
Matlab
by christophacham
×4

MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.

2.5k tokens
Umap Learn
by ComeOnOliver
×4

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

3.8k tokens
XLSX
by anthropics
vendor ×3

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

2.1k tokens scripts
D3 Viz
by chrisvoncsefalvay
×3

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke visualisations beyond standard charting libraries, whether in React, Vue, Svelte, vanilla JavaScript, or any other environment.

5.4k tokens

How to use it

Copy the folder

Take openaccountant/paypal-import from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.