PaidPilot Invoice From Timesheet API

The Invoice From Timesheet API from PaidPilot — 1 operation(s) for invoice from timesheet.

GitHub OpenAPI

Operations 1

POST /v1/invoice-from-timesheet Timesheet to invoice JSON #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paidpilot-io:paidpilot-io-invoice-from-timesheet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paidpilot-io-invoice-from-timesheet-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PaidPilot Invoice Invoice From Timesheet API
  version: 1.4.0
  description: 'Invoice tools for agents, paid per call in USDC over x402: invoice PDF, payment reminder drafts, late-fee and payment-terms math, timesheet to invoice. No accounts, no API keys. Also an MCP server at /mcp.'
  contact:
    name: PaidPilot Invoice API
    email: dario@inboxguards.com
    url: https://api.paidpilot.io/llms.txt
  x-guidance: 'Invoice tools for agents, paid per call in USDC over x402: invoice PDF, payment reminder drafts, late-fee and payment-terms math, timesheet to invoice. No accounts, no API keys. Also an MCP server at /mcp. Call a paid route without payment to get an x402 v2 challenge (402 + PAYMENT-REQUIRED header), pay in USDC, retry with PAYMENT-SIGNATURE. Invalid input -> 400, never charged. More: https://api.paidpilot.io/llms.txt'
servers:
- url: https://api.paidpilot.io
tags:
- name: Invoice From Timesheet
paths:
  /v1/invoice-from-timesheet:
    post:
      operationId: v1_invoice_from_timesheet
      summary: Timesheet to invoice JSON
      description: Time entries (hours x rate, optional per-entry rounding, grouping by description, expenses, tax, terms) become a validated invoice JSON with totals, ready to POST to /v1/invoice.pdf for the PDF.
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.02'
        protocols:
        - x402:
            version: 2
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            payTo: '0x2dAF658B01e257206375798a15832E9f547D65dD'
      responses:
        '200':
          description: Success (payment settled)
          content:
            application/json: {}
        '400':
          description: Invalid input. Never charged.
        '402':
          description: Payment required. x402 v2 challenge in the PAYMENT-REQUIRED header.
        '502':
          description: Upstream data source failed. Payment NOT settled.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                seller:
                  type: object
                  properties:
                    name:
                      type: string
                      minLength: 1
                      maxLength: 120
                    address:
                      type: string
                      maxLength: 400
                    email:
                      type: string
                      maxLength: 254
                      format: email
                      pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                    phone:
                      type: string
                      maxLength: 40
                    tax_id:
                      type: string
                      maxLength: 60
                  required:
                  - name
                buyer:
                  type: object
                  properties:
                    name:
                      type: string
                      minLength: 1
                      maxLength: 120
                    address:
                      type: string
                      maxLength: 400
                    email:
                      type: string
                      maxLength: 254
                      format: email
                      pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                    phone:
                      type: string
                      maxLength: 40
                    tax_id:
                      type: string
                      maxLength: 60
                  required:
                  - name
                invoice_number:
                  type: string
                  minLength: 1
                  maxLength: 64
                issue_date:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                due_date:
                  description: YYYY-MM-DD; or give terms instead
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                terms:
                  description: e.g. "Net 15"; sets due_date from issue_date (early-pay discounts are not applied to the invoice)
                  type: string
                  minLength: 1
                  maxLength: 40
                currency:
                  default: USD
                  type: string
                default_rate:
                  description: Hourly rate for entries without their own rate
                  type: number
                  minimum: 0
                  maximum: 1000000
                entries:
                  minItems: 1
                  maxItems: 500
                  type: array
                  items:
                    type: object
                    properties:
                      date:
                        type: string
                        pattern: ^\d{4}-\d{2}-\d{2}$
                      description:
                        type: string
                        minLength: 1
                        maxLength: 250
                      hours:
                        type: number
                        exclusiveMinimum: 0
                        maximum: 1000
                      rate:
                        type: number
                        minimum: 0
                        maximum: 1000000
                    required:
                    - description
                    - hours
                    additionalProperties: false
                group_by:
                  default: entry
                  description: entry = one line per entry; description = merge entries with the same description and rate
                  type: string
                  enum:
                  - entry
                  - description
                rounding:
                  type: object
                  properties:
                    increment_minutes:
                      anyOf:
                      - type: number
                        const: 1
                      - type: number
                        const: 5
                      - type: number
                        const: 6
                      - type: number
                        const: 10
                      - type: number
                        const: 15
                      - type: number
                        const: 30
                      - type: number
                        const: 60
                      description: Round each entry to this many minutes
                    mode:
                      default: up
                      type: string
                      enum:
                      - up
                      - nearest
                  required:
                  - increment_minutes
                  additionalProperties: false
                expenses:
                  description: Reimbursable expenses, one line each
                  maxItems: 100
                  type: array
                  items:
                    type: object
                    properties:
                      description:
                        type: string
                        minLength: 1
                        maxLength: 250
                      amount:
                        type: number
                        minimum: 0
                        maximum: 1000000000
                    required:
                    - description
                    - amount
                    additionalProperties: false
                tax_rate:
                  type: number
                  minimum: 0
                  maximum: 100
                discount:
                  type: number
                  minimum: 0
                  maximum: 1000000000
                notes:
                  type: string
                  maxLength: 2000
                payment_instructions:
                  type: string
                  maxLength: 1000
              required:
              - seller
              - buyer
              - invoice_number
              - issue_date
              - entries
              additionalProperties: false
            example:
              seller:
                name: Acme Web Studio LLC
                email: billing@acme.example
              buyer:
                name: Blue River Bakery
              invoice_number: INV-1002
              issue_date: '2026-10-11'
              terms: Net 15
              currency: USD
              default_rate: 85
              entries:
              - date: '2026-10-05'
                description: Website fixes
                hours: 1.6
              - date: '2026-10-06'
                description: Website fixes
                hours: 2.25
              - date: '2026-10-08'
                description: Menu photo shoot
                hours: 3
                rate: 95
              group_by: description
              rounding:
                increment_minutes: 15
                mode: up
              expenses:
              - description: Stock photo license
                amount: 29
              tax_rate: 7
      tags:
      - Invoice From Timesheet
x-discovery:
  wellKnown: https://api.paidpilot.io/.well-known/x402
  llms: https://api.paidpilot.io/llms.txt