Wingspan Reporting and Analytics API

Includes endpoints for generating various reports and analytics, such as payables reports, collaborators reports, and aging reports.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /payments/reports/collaborators Report on all contractors · Retrieve detailed information on all collaborators #
Ask an LLM
“Can I pull a detailed report on all my contractors?”
“Which contractors are active and what have they done?”
Tell an agent
Run the collaborators report.
Give me a detailed report of every contractor.
GET /payments/reports/collaborators/payables-summary Summarize payables by contractor · Obtain a summarized report of payable amounts for each collaborator #
Ask an LLM
“How much is owed to each contractor?”
“Can I see payable totals broken down per collaborator?”
Tell an agent
Run the payables summary per collaborator.
Show me how much each contractor is owed.
GET /payments/reports/payroll/{payrollId} Report payables in a payroll run · Extract detailed report of payables associated with a particular payroll run #
Ask an LLM
“What was paid in a specific payroll run?”
“Can I reconcile the payables included in one payroll?”
Tell an agent
Show the payroll report for {payrollId}.
List every payable included in payroll run {payrollId}.
GET /payments/reports/aging/payables Run the payables aging report · Retrieve Aging Report for Payables #
Ask an LLM
“Which payables have been outstanding the longest?”
“Is there an aging report grouping payables by age?”
Tell an agent
Run the payables aging report.
Show my unpaid payables bucketed by age.
GET /payments/reports/aging/line-items Run the line-item aging report · Obtain Aging Report for Line Items #
Ask an LLM
“Which individual line items have been open too long?”
“Can I age invoice line items rather than whole payables?”
Tell an agent
Run the line-item aging report.
Show open line items grouped by how long they've been outstanding.

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/wingspan:wingspan-reporting-and-analytics-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

wingspan-reporting-and-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wingspan Payments Reporting and Analytics API
  description: Payments
  termsOfService: https://www.wingspan.app
  contact:
    name: Wingspan API Support
    url: https://www.wingspan.app
    email: support@wingspan.app
  license:
    name: UNLICENSED
    url: https://UNLICENSED
  version: 1.0.0-oas3.1
servers:
- url: https://api.wingspan.app
  description: Wingspan's Payments API in Production
  x-speakeasy-server-id: prod
- url: https://stagingapi.wingspan.app
  description: Wingspan's Payments API in Staging
  x-speakeasy-server-id: staging
security:
- BearerAuth: []
tags:
- name: Reporting and Analytics
  description: Includes endpoints for generating various reports and analytics, such as payables reports, collaborators reports, and aging reports.
paths:
  /payments/reports/collaborators:
    get:
      summary: Retrieve detailed information on all collaborators
      operationId: listDetailedInformationCollaborators
      x-speakeasy-name-override: list_detailed_collaborator
      tags:
      - Reporting and Analytics
      description: Fetches comprehensive data on all collaborators, including their activities and current status, as listed in the reports.
      responses:
        '200':
          description: Collaborators list in the report
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CollaboratorsReportResponse'
  /payments/reports/collaborators/payables-summary:
    get:
      summary: Obtain a summarized report of payable amounts for each collaborator
      operationId: getSummarizedReport
      x-speakeasy-name-override: get
      tags:
      - Reporting and Analytics
      description: Gathers and presents a concise summary showcasing the payable amounts due to each collaborator, helping in financial planning and payout strategies.
      responses:
        '200':
          description: Collaborators payouts summary report
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CollaboratorsPayoutsSummaryReportResponse'
  /payments/reports/payroll/{payrollId}:
    get:
      parameters:
      - in: path
        required: true
        name: payrollId
        description: Unique identifier of a invoice with some constraints like invoice type
        schema:
          type: string
      summary: Extract detailed report of payables associated with a particular payroll run
      operationId: getPayrollDetailedReport
      x-speakeasy-name-override: get_payroll_report
      tags:
      - Reporting and Analytics
      description: Offers a deep dive into the payables connected to a specific payroll run, facilitating better management and reconciliation of payroll-related finances.
      responses:
        '200':
          description: Payroll report with line items and payroll summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayrollReportResponse'
  /payments/reports/aging/payables:
    get:
      summary: Retrieve Aging Report for Payables
      operationId: listAgingReportPayables
      x-speakeasy-name-override: list_payable
      tags:
      - Reporting and Analytics
      description: Access a detailed report that showcases the list of payables categorized by age.
      responses:
        '200':
          description: Payables list grouped by age
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PayableAgingReportResponse'
  /payments/reports/aging/line-items:
    get:
      summary: Obtain Aging Report for Line Items
      operationId: listAgingReportLineItems
      x-speakeasy-name-override: list_line_item
      tags:
      - Reporting and Analytics
      description: Retrieve a comprehensive report detailing line items that have been open for a set number of days.
      responses:
        '200':
          description: Line items list grouped by age
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LineItemsAgingReportResponse'
components:
  schemas:
    LineItemsAgingReportResponse:
      type: object
      properties:
        ageGroup:
          type: string
        amount:
          type: number
        createdAt:
          type: string
        currency:
          type: string
        dueDate:
          type: string
        invoiceId:
          type: string
        invoiceNumber:
          type: string
        invoicePdf:
          type: string
        lineItems:
          type: array
          items:
            $ref: '#/components/schemas/LineItemsAgingReportLineItem'
        member:
          $ref: '#/components/schemas/RedactedMember'
        memberClientId:
          type: string
        memberId:
          type: string
        receiptPdf:
          type: string
        status:
          type: string
          enum:
          - Draft
          - Open
          - Overdue
          - Cancelled
          - Pending
          - PaymentInTransit
          - Paid
        updatedAt:
          type: string
        approverName:
          type:
          - string
          - 'null'
        labels:
          oneOf:
          - type: 'null'
          - type: object
        memberExternalId:
          type:
          - number
          - 'null'
        notes:
          type:
          - string
          - 'null'
        paidDate:
          type:
          - string
          - 'null'
        payoutDestination:
          type:
          - string
          - 'null'
        projectName:
          type:
          - string
          - 'null'
        purchaseOrderNumber:
          type:
          - string
          - 'null'
        sentDate:
          type:
          - string
          - 'null'
      required:
      - ageGroup
      - amount
      - createdAt
      - currency
      - dueDate
      - invoiceId
      - invoiceNumber
      - invoicePdf
      - lineItems
      - member
      - memberClientId
      - memberId
      - receiptPdf
      - status
      - updatedAt
    CollaboratorPayoutsSummary:
      type: object
      properties:
        deductionsCount:
          type: number
        payablesCount:
          type: number
        totalDeducted:
          type: number
        totalPaid:
          type: number
        firstPaidDate:
          type:
          - string
          - 'null'
        lastPaidDate:
          type:
          - string
          - 'null'
      required:
      - deductionsCount
      - payablesCount
      - totalDeducted
      - totalPaid
    LineItemsAgingReportLineItem:
      type: object
      properties:
        costPerUnit:
          type: number
        createdAt:
          type: string
        index:
          type: number
        labels:
          $ref: '#/components/schemas/LabelsDictionary'
        labelsBak2:
          $ref: '#/components/schemas/LabelsDictionary'
        quantity:
          type: number
        reimbursableExpense:
          type: boolean
        totalCost:
          type: number
        unit:
          type: string
        updatedAt:
          type: string
        amount:
          type:
          - number
          - 'null'
        description:
          type:
          - string
          - 'null'
        detail:
          type:
          - string
          - 'null'
        discount:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/facb8048736dba546c4c76242d9f8c7111011a7a7483528f37d80226698a1f2b'
        discountTotal:
          type:
          - number
          - 'null'
        integration:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/InvoiceIntegrations'
      required:
      - costPerUnit
      - createdAt
      - index
      - labels
      - labelsBak2
      - quantity
      - reimbursableExpense
      - totalCost
      - unit
      - updatedAt
    9e97e63e736df301658ebeeab7f4fe84f3aeaa73800d3e4863801a3eb026df4b:
      type: object
      properties:
        userAccountType:
          type:
          - string
          - 'null'
          enum:
          - member
          - enterprise
          - null
    f6f2bd1a2fc7bad4e0d8f22345fc5f6699d096b7797b93575869c544a4fc5cef:
      type: object
      properties:
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
    42f004011439ceedfeb392c84d36ad40443a5a0446d1efa02369c56e930a1c07:
      type: object
      properties:
        createdAt:
          type: string
        dueDate:
          type: string
        invoiceId:
          type: string
        invoiceNumber:
          type: string
        status:
          type: string
          enum:
          - Draft
          - Open
          - Overdue
          - Cancelled
          - Pending
          - PaymentInTransit
          - Paid
        updatedAt:
          type: string
        depositedDate:
          type:
          - string
          - 'null'
        notes:
          type:
          - string
          - 'null'
        paidDate:
          type:
          - string
          - 'null'
      required:
      - createdAt
      - dueDate
      - invoiceId
      - invoiceNumber
      - status
      - updatedAt
    RedactedMember:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/RedactedUser'
        profile:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/23d776fc12e56286a20f36065e4f942c43a28218a62eb2f211116c130deb74eb'
      required:
      - user
    PayrollReportInvoice:
      type: object
      properties:
        amount:
          type: number
        createdAt:
          type: string
        currency:
          type: string
        dueDate:
          type: string
        invoiceId:
          type: string
        invoiceNumber:
          type: string
        invoicePdf:
          type: string
        lineItems:
          type: array
          items:
            $ref: '#/components/schemas/PayrollReportLineItem'
        member:
          $ref: '#/components/schemas/RedactedMember'
        memberClientId:
          type: string
        memberId:
          type: string
        receiptPdf:
          type: string
        status:
          type: string
          enum:
          - Draft
          - Open
          - Overdue
          - Cancelled
          - Pending
          - PaymentInTransit
          - Paid
        updatedAt:
          type: string
        approverName:
          type:
          - string
          - 'null'
        eventActors:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/fcbf27c731b13d8b05460d28c0f87d3355c006cefcc1528c739ebdcf7cb45c8c'
        labels:
          oneOf:
          - type: 'null'
          - type: object
        memberExternalId:
          type:
          - number
          - 'null'
        notes:
          type:
          - string
          - 'null'
        paidDate:
          type:
          - string
          - 'null'
        payoutDestination:
          type:
          - string
          - 'null'
        projectName:
          type:
          - string
          - 'null'
        purchaseOrderNumber:
          type:
          - string
          - 'null'
        sentDate:
          type:
          - string
          - 'null'
      required:
      - amount
      - createdAt
      - currency
      - dueDate
      - invoiceId
      - invoiceNumber
      - invoicePdf
      - lineItems
      - member
      - memberClientId
      - memberId
      - receiptPdf
      - status
      - updatedAt
    RedactedUser:
      type: object
      properties:
        email:
          type:
          - string
          - 'null'
        phone:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/7996a6815c717c0e93865680b5cd47dec90314e97e4e7282bed7fc2f367bc051'
        profile:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/f6f2bd1a2fc7bad4e0d8f22345fc5f6699d096b7797b93575869c544a4fc5cef'
        settings:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/9e97e63e736df301658ebeeab7f4fe84f3aeaa73800d3e4863801a3eb026df4b'
        status:
          type:
          - string
          - 'null'
          enum:
          - Pending
          - Active
          - Disabled
          - null
        tag:
          type:
          - string
          - 'null'
    PayrollReportLineItem:
      type: object
      properties:
        costPerUnit:
          type: number
        createdAt:
          type: string
        index:
          type: number
        labels:
          $ref: '#/components/schemas/LabelsDictionary'
        labelsBak2:
          $ref: '#/components/schemas/LabelsDictionary'
        quantity:
          type: number
        reimbursableExpense:
          type: boolean
        totalCost:
          type: number
        unit:
          type: string
        updatedAt:
          type: string
        amount:
          type:
          - number
          - 'null'
        description:
          type:
          - string
          - 'null'
        detail:
          type:
          - string
          - 'null'
        discount:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/facb8048736dba546c4c76242d9f8c7111011a7a7483528f37d80226698a1f2b'
        discountTotal:
          type:
          - number
          - 'null'
        integration:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/InvoiceIntegrations'
      required:
      - costPerUnit
      - createdAt
      - index
      - labels
      - labelsBak2
      - quantity
      - reimbursableExpense
      - totalCost
      - unit
      - updatedAt
    66ad6f986038e3285c36e0faa5c61b52a02882d1460acb116b601a30abfb6c1d:
      type: object
      properties:
        collaboratorGroupId:
          type: string
        description:
          type: string
        name:
          type: string
      required:
      - collaboratorGroupId
      - description
      - name
    facb8048736dba546c4c76242d9f8c7111011a7a7483528f37d80226698a1f2b:
      type: object
      properties:
        amount:
          type:
          - number
          - 'null'
        description:
          type:
          - string
          - 'null'
        percentage:
          type:
          - number
          - 'null'
    Address:
      type: object
      properties:
        addressLine1:
          type: string
        city:
          type: string
        postalCode:
          type: string
        state:
          type: string
        addressLine2:
          type:
          - string
          - 'null'
      required:
      - addressLine1
      - city
      - postalCode
      - state
    PayrollReportResponse:
      type: object
      properties:
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/PayrollReportInvoice'
        parentInvoice:
          $ref: '#/components/schemas/42f004011439ceedfeb392c84d36ad40443a5a0446d1efa02369c56e930a1c07'
      required:
      - invoices
      - parentInvoice
    CollaboratorsReportResponse:
      type: object
      properties:
        clientId:
          type: string
        collaboratorGroups:
          type: array
          items:
            $ref: '#/components/schemas/66ad6f986038e3285c36e0faa5c61b52a02882d1460acb116b601a30abfb6c1d'
        createdAt:
          type: string
        inviteEmail:
          type: string
        member:
          $ref: '#/components/schemas/RedactedMember'
        memberClientId:
          type: string
        memberId:
          type: string
        servicesStatus:
          $ref: '#/components/schemas/b22a2532acff782df851c03041e55a58727ff8e8805b1738c7dcb4dd1dd2505a'
        status:
          type: string
          enum:
          - Active
          - Inactive
          - Pending
        taxStatus:
          type: string
          enum:
          - Complete
          - Failed
          - Pending
          - Incomplete
        updatedAt:
          type: string
        externalId:
          type:
          - string
          - 'null'
        labels:
          oneOf:
          - type: 'null'
          - type: object
        memberEvents:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CollaboratorEvents'
        taxDocumentStared:
          type:
          - boolean
          - 'null'
      required:
      - clientId
      - collaboratorGroups
      - createdAt
      - inviteEmail
      - member
      - memberClientId
      - memberId
      - servicesStatus
      - status
      - taxStatus
      - updatedAt
    CollaboratorsPayoutsSummaryReportResponse:
      type: object
      properties:
        clientId:
          type: string
        collaboratorGroups:
          type: array
          items:
            $ref: '#/components/schemas/66ad6f986038e3285c36e0faa5c61b52a02882d1460acb116b601a30abfb6c1d'
        createdAt:
          type: string
        inviteEmail:
          type: string
        member:
          $ref: '#/components/schemas/RedactedMember'
        memberClientId:
          type: string
        memberId:
          type: string
        payoutsSummary:
          $ref: '#/components/schemas/CollaboratorPayoutsSummary'
        servicesStatus:
          $ref: '#/components/schemas/b22a2532acff782df851c03041e55a58727ff8e8805b1738c7dcb4dd1dd2505a'
        status:
          type: string
          enum:
          - Active
          - Inactive
          - Pending
        taxStatus:
          type: string
          enum:
          - Complete
          - Failed
          - Pending
          - Incomplete
        updatedAt:
          type: string
        externalId:
          type:
          - string
          - 'null'
        labels:
          oneOf:
          - type: 'null'
          - type: object
        memberEvents:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CollaboratorEvents'
        taxDocumentStared:
          type:
          - boolean
          - 'null'
      required:
      - clientId
      - collaboratorGroups
      - createdAt
      - inviteEmail
      - member
      - memberClientId
      - memberId
      - payoutsSummary
      - servicesStatus
      - status
      - taxStatus
      - updatedAt
    CompanyPerson:
      type: object
      properties:
        memberId:
          type: string
        ownershipPercentage:
          type:
          - number
          - 'null'
      required:
      - memberId
    CollaboratorEvents:
      type: object
      properties:
        knowYourCustomerVerifiedAt:
          type: string
        payoutMethodFirstAddedAt:
          type: string
        taxDocumentationVerifiedAt:
          type: string
        signedUpAt:
          type:
          - string
          - 'null'
      required:
      - knowYourCustomerVerifiedAt
      - payoutMethodFirstAddedAt
      - taxDocumentationVerifiedAt
    LabelsDictionary:
      type: object
      additionalProperties:
        type: string
    InvoiceIntegrations:
      type: object
      properties:
        quickbooks:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/6d0791223791444911cf73db8aa3782fc7b1c0b614b1873468fbf7182f9f9a11'
    fcbf27c731b13d8b05460d28c0f87d3355c006cefcc1528c739ebdcf7cb45c8c:
      type: object
      properties:
        approvedBy:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/RedactedMember'
        preApprovedBy:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/RedactedMember'
    6d0791223791444911cf73db8aa3782fc7b1c0b614b1873468fbf7182f9f9a11:
      type: object
      properties:
        billClassId:
          type:
          - string
          - 'null'
        billCustomerId:
          type:
          - string
          - 'null'
        expenseAccountId:
          type:
          - string
          - 'null'
        invoiceClassId:
          type:
          - string
          - 'null'
        itemId:
          type:
          - string
          - 'null'
    7996a6815c717c0e93865680b5cd47dec90314e97e4e7282bed7fc2f367bc051:
      type: object
      properties:
        number:
          type:
          - string
          - 'null'
    23d776fc12e56286a20f36065e4f942c43a28218a62eb2f211116c130deb74eb:
      type: object
      properties:
        address:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/Address'
        company:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/Company'
        logoUrl:
          type:
          - string
          - 'null'
        ssnLastFour:
          type:
          - string
          - 'null'
    PayableAgingReportResponse:
      type: object
      properties:
        ageGroup:
          type: string
        amount:
          type: number
        createdAt:
          type: string
        currency:
          type: string
        dueDate:
          type: string
        invoiceId:
          type: string
        invoiceNumber:
          type: string
        invoicePdf:
          type: string
        member:
          $ref: '#/components/schemas/RedactedMember'
        memberClientId:
          type: string
        memberId:
          type: string
        receiptPdf:
          type: string
        status:
          type: string
          enum:
          - Draft
          - Open
          - Overdue
          - Cancelled
          - Pending
          - PaymentInTransit
          - Paid
        updatedAt:
          type: string
        approverName:
          type:
          - string
          - 'null'
        labels:
          oneOf:
          - type: 'null'
          - type: object
        memberExternalId:
          type:
          - number
          - 'null'
        notes:
          type:
          - string
          - 'null'
        paidDate:
          type:
          - string
          - 'null'
        payoutDestination:
          type:
          - string
          - 'null'
        projectName:
          type:
          - string
          - 'null'
        purchaseOrderNumber:
          type:
          - string
          - 'null'
        sentDate:
          type:
          - string
          - 'null'
      required:
      - ageGroup
      - amount
      - createdAt
      - currency
      - dueDate
      - invoiceId
      - invoiceNumber
      - invoicePdf
      - member
      - memberClientId
      - memberId
      - receiptPdf
      - status
      - updatedAt
    CompanyLinks:
      type: object
      properties:
        instagramUrl:
          type:
          - string
          - 'null'
        linkedInUrl:
          type:
          - string
          - 'null'
        otherUrl:
          type:
          - string
          - 'null'
        twitterUrl:
          type:
          - string
          - 'null'
        websiteUrl:
          type:
          - string
          - 'null'
    b22a2532acff782df851c03041e55a58727ff8e8805b1738c7dcb4dd1dd2505a:
      type: object
      properties:
        incomeAndExpenses:
          type: boolean
        taxWithholdings:
          type: boolean
      required:
      - incomeAndExpenses
      - taxWithholdings
    Company:
      type: object
      properties:
        banking:
          type:
          - boolean
          - 'null'
        companyOwners:
          type:
          - array
          - 'null'
          items:
            oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/CompanyPerson'
        description:
          type:
          - string
          - 'null'
        disregardedEntityName:
          type:
          - string
          - 'null'
        legalBusinessName:
          type:
          - string
          - 'null'
        links:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CompanyLinks'
        name:
          type:
          - string
          - 'null'
        stateOfIncorporation:
          type:
          - string
          - 'null'
        structure:
          type:
          - string
          - 'null'
          enum:
          - None
          - SoleProprietorship
          - LlcSingleMember
          - LlcMultiMember
          - CorporationS
          - LLCCorporationS
          - LLCCorporationC
          - LLCPartnership
          - CorporationC
          - Partnership
          - null
        supportEmail:
          type:
          - string
          - 'null'
        taxId:
          type:
          - string
          - 'null'
        website:
          type:
          - string
          - 'null'
        yearOfIncorporation:
          type:
          - string
          - 'null'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-readme:
  explorer-enabled: true
  proxy-enabled: true
  samples-enabled: true