# Pm Perk

> Perk connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-perk` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-perk`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-perk/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-perk

---


# pm-perk

## Purpose

Reads Perk/TravelPerk trips and invoices through read-only REST list endpoints.

## Icon

- id: pm-sample
- asset: icons/pm-sample.svg
- source: polymetrics
- review_status: polymetrics
- review_url: https://github.com/polymetrics-ai/cli

## Capabilities

- check=true catalog=true read=true write=false query=false
- Integration type: api

## Authentication

- Use pm credentials add with --from-env or --value-stdin for secret fields.

## Configuration

- base_url
- max_pages
- mode
- page_size
- start_date
- api_key (secret) (required)

## ETL Streams

- trips:
  - primary key: id
  - cursor: modified
  - fields: id(string), modified(string), status(string), trip_name(string)
- invoices:
  - primary key: serial_number
  - cursor: issuing_date
  - fields: issuing_date(string), serial_number(string), status(string), total(string)
- invoice_lines:
  - primary key: id
  - cursor: issuing_date
  - fields: currency(string), description(string), due_date(string), expense_date(string), id(string), invoice_mode(string), invoice_serial_number(string), invoice_status(string), issuing_date(string), metadata(object), profile_id(string), profile_name(string), quantity(integer), tax_amount(string), tax_percentage(string), tax_regime(string), total_amount(string), unit_price(string)
- invoice_profiles:
  - primary key: id
  - fields: billing_information(object), billing_period(string), currency(string), id(string), name(string), payment_method_type(string)
- trip_custom_fields:
  - primary key: trip_id
  - fields: created_date(string), custom_fields(array), trip_id(string)

## Sync Modes

- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped, incremental_append, incremental_append_deduped

## Security

- read risk: external Perk/TravelPerk API read of trip and invoice data
- approval: none; read-only, no writes
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

## Commands

### Inspect as a manual

```bash
pm connectors inspect perk
```

### Inspect as structured JSON

```bash
pm connectors inspect perk --json
```

## Agent Rules

- Run pm connectors inspect perk before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.

