> ## Documentation Index
> Fetch the complete documentation index at: https://docs.journeybee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the sales report settings

> Returns how the company's sales report lines are shown: each line type (uuid, key, label, whether partners see it, whether it lists the latest report only or every line, and its position) and the labels and partner visibility of the MTD, YTD and last-12-months figures. A null figure label is the default label. Line types are created when an importer that has them is saved or a report that carries them is imported; use `updateSalesLineType` to change one.



## OpenAPI

````yaml /openapi.json get /sales-report-settings/
openapi: 3.1.0
info:
  title: Journeybee API
  description: >-
    Public REST API for the Journeybee PRM platform.


    Manage partners, leads, deals, products, pricing calculators, tasks, and
    more programmatically.


    All endpoints require authentication via API key. Use `Authorization: Bearer
    <api_key>` or `Api-Key <api_key>` header.


    See the [Authentication guide](/guides/authentication) for details.
  version: 1.0.0
servers:
  - url: https://api.journeybee.io/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Account
    description: >-
      Authenticated company account info, API key permissions, and enabled
      modules
  - name: Agreement Templates
  - name: Agreements
  - name: Analytics
    description: >-
      Dashboard analytics and reporting — commission, engagement, LMS, and
      partner revenue metrics
  - name: Assets
    description: File and media asset management
  - name: Attributions
    description: Attribution type definitions
  - name: Audit Log
    description: Unified audit log of company activity (read-only)
  - name: Automations
    description: Workflow automation rule configurations
  - name: Campaign Audience
    description: Audience filters on a campaign
  - name: Campaign Partners
    description: Partners shared into a campaign audience
  - name: Campaigns
    description: Partner marketing campaigns
  - name: Card Assignees
    description: Assigned users on a card
  - name: Card Partners
    description: Partners linked to a card
  - name: Card Tags
    description: Tags on a card
  - name: Cards
    description: Kanban project cards
  - name: Categories
    description: Partner categories
  - name: Certification Categories
    description: Categories on a certification
  - name: Certification Enrollments
    description: User enrollments in a certification
  - name: Certification Folders
    description: Folders on a certification
  - name: Certification Resources
    description: Curriculum resources in a certification
  - name: Certification Translations
  - name: Certifications
    description: LMS certifications
  - name: Commissions
    description: >-
      Commission rule configurations with calculation entries,
      tier/category/partnership scoping
  - name: Contacts
    description: Partner contacts across partnerships
  - name: Currencies
    description: Available currencies
  - name: Custom Field Options
    description: Options on select/multi-select custom fields
  - name: Custom Field Rules
    description: Visibility and requirement rules on custom fields
  - name: Custom Field Values
    description: Custom field values
  - name: Custom Fields
    description: Custom field definitions
  - name: Deal Commission
    description: Commission calculation on a deal
  - name: Deal Custom Field Values
    description: Custom field values on a deal
  - name: Deal Notes
    description: Notes on a deal
  - name: Deal Partner Roles
    description: Roles a supporting (co-sell) partner can hold on a deal
  - name: Deal Partners
    description: Supporting (co-sell) partners on a deal
  - name: Deal Payments
    description: Payment records on a deal (read-only)
  - name: Deal Products
    description: Products attached to a deal
  - name: Deal Stages
    description: Deal pipeline stages
  - name: Deal Tags
    description: Tags on a deal
  - name: Deal Tasks
    description: Tasks on a deal
  - name: Deals
    description: Deal management
  - name: Event Subscriptions
  - name: Event Types
  - name: Folders
    description: Content folders
  - name: Integrations
    description: Company integration settings
  - name: Lead Attributions
    description: Attribution records on a lead
  - name: Lead Contacts
    description: Partner contacts on a lead
  - name: Lead Custom Field Values
    description: Custom field values on a lead
  - name: Lead Distributor
    description: Distributors for a lead
  - name: Lead Notes
    description: Notes on a lead
  - name: Lead Products
    description: Products attached to a lead
  - name: Lead Quotes
    description: >-
      Quotes on a lead — generated from pricing calculators with line items and
      totals
  - name: Lead Tags
    description: Tags on a lead
  - name: Lead Tasks
    description: Tasks on a lead
  - name: Lead Users
    description: Assigned users on a lead
  - name: Leads
    description: Lead management
  - name: LMS
  - name: Marketing Templates
    description: Marketing email templates
  - name: Partner Contacts
    description: Contacts on a partner
  - name: Partner Custom Field Values
    description: Custom field values on a partner
  - name: Partner Domains
    description: Domains on a partner
  - name: Partner Notes
    description: Notes on a partner
  - name: Partner Resellers
    description: Reseller assignments on a distributor
  - name: Partner Stages
    description: Partner pipeline stages
  - name: Partner Tags
    description: Tags on a partner
  - name: Partner Users
    description: Assigned users on a partner
  - name: Partners
    description: Core partner CRUD
  - name: Pricing Calculator Fields
    description: Input fields on a pricing calculator
  - name: Pricing Calculator Formulas
    description: Discount/tax/surcharge formulas on a pricing calculator
  - name: Pricing Calculator Products
    description: Products attached to a pricing calculator
  - name: Pricing Calculators
    description: Pricing calculator configurations
  - name: Products
    description: Product catalog
  - name: Proposals
    description: >-
      Durable action proposals: an AI or API caller proposes a mutation, a
      person decides and runs it
  - name: Resource Blocks
    description: Content blocks within a resource
  - name: Resource Categories
    description: Categories on a resource
  - name: Resource Folders
    description: Folders on a resource
  - name: Resource Tags
    description: Tags on a resource
  - name: Resource Translations
  - name: Resources
    description: Learning resources
  - name: Room Blocks
    description: Content blocks within a room
  - name: Room Categories
    description: Category-based room access control
  - name: Room Partnerships
    description: Direct partnership room access
  - name: Room Secure Files
    description: >-
      Private files in a secure_files room block: folders, multipart uploads,
      signed download links and download history
  - name: Room Stages
    description: Stage-based room access control
  - name: Room Tags
    description: Tag-based room access control
  - name: Room Tiers
    description: Tier-based room access control
  - name: Rooms
    description: Partner portal rooms
  - name: Sales Reports
  - name: Standard Fields
    description: Standard field settings
  - name: Tags
    description: Tag definitions
  - name: Task Users
    description: Assigned users on a task
  - name: Tasks
    description: Task management
  - name: Terminology
    description: Display names for leads and deals
  - name: Tiers
    description: Partner tiers
  - name: Users
    description: Company team members
  - name: Webhook Events
    description: Outbound webhook payloads sent to your configured URLs when events occur
paths:
  /sales-report-settings/:
    get:
      tags:
        - Sales Reports
      summary: Get the sales report settings
      description: >-
        Returns how the company's sales report lines are shown: each line type
        (uuid, key, label, whether partners see it, whether it lists the latest
        report only or every line, and its position) and the labels and partner
        visibility of the MTD, YTD and last-12-months figures. A null figure
        label is the default label. Line types are created when an importer that
        has them is saved or a report that carries them is imported; use
        `updateSalesLineType` to change one.
      operationId: getSalesReportSettings
      responses:
        '200':
          description: >-
            The company's settings for sales report lines: the line types in
            display order, and the figure settings.
          content:
            application/json:
              schema:
                type: object
                properties:
                  line_types:
                    type: array
                    items:
                      type: object
                      properties:
                        uuid:
                          type: string
                        key:
                          type: string
                          description: >-
                            The line type as the importer writes it (compared
                            without letter case). Set by importers; it cannot be
                            changed here.
                        label:
                          type: string
                          description: The name shown for the line type.
                        partner_visible:
                          type: boolean
                          description: Whether partners see lines of this type.
                        list_mode:
                          type: string
                          enum:
                            - latest
                            - all
                          description: >-
                            `latest`: only the lines of each report config's
                            most recent import that carried this line type are
                            listed. `all`: every line is kept and listed.
                        position:
                          type: number
                          description: Display order, lowest first.
                      required:
                        - uuid
                        - key
                        - label
                        - partner_visible
                        - list_mode
                        - position
                      additionalProperties: false
                      description: A type of sales line and how it is shown.
                  figures:
                    type: object
                    properties:
                      mtd_label:
                        anyOf:
                          - type: string
                          - type: 'null'
                      ytd_label:
                        anyOf:
                          - type: string
                          - type: 'null'
                      l12m_label:
                        anyOf:
                          - type: string
                          - type: 'null'
                      mtd_partner_visible:
                        type: boolean
                      ytd_partner_visible:
                        type: boolean
                      l12m_partner_visible:
                        type: boolean
                    required:
                      - mtd_label
                      - ytd_label
                      - l12m_label
                      - mtd_partner_visible
                      - ytd_partner_visible
                      - l12m_partner_visible
                    additionalProperties: false
                    description: >-
                      How the MTD, YTD and last-12-months figures are labelled
                      and whether partners see each. A null label is the default
                      label.
                required:
                  - line_types
                  - figures
                additionalProperties: false
                description: >-
                  The company's settings for sales report lines: the line types
                  in display order, and the figure settings.
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.