Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Billing Code → Get

AI-generated

Overview

This node operation retrieves a specific Billing Code from the Autotask PSA system using its unique ID. It is useful for scenarios where detailed information about a particular billing code is needed, such as for billing, invoicing, or contract management purposes.

Use Case Examples

  1. Retrieve a billing code by its ID to display its details in a dashboard.
  2. Fetch billing code information to validate or update related billing items in an automation workflow.

Properties

Name Meaning
Billing Code ID The unique identifier of the billing code to retrieve, required to specify which billing code to fetch.
Add Picklist Labels Whether to automatically add human-readable '_label' fields for picklist fields in the response, enhancing readability of picklist values.
Add Reference Labels Whether to automatically add human-readable '_label' fields for reference fields in the response, improving clarity of referenced data.
Select Columns Names or IDs. Choose specific fields to include in the response. If no fields are selected, all fields are returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields (UDFs) up to the top level of each object in the response, making them easier to access.

Output

JSON

  • id - The unique identifier of the billing code.
  • name - The name of the billing code.
  • description - Description or details about the billing code.
  • rate - The rate or cost associated with the billing code.
  • picklistLabels - Optional human-readable labels for picklist fields if enabled.
  • referenceLabels - Optional human-readable labels for reference fields if enabled.
  • userDefinedFields - User-defined fields related to the billing code, optionally flattened to top-level properties.

Dependencies

  • An API key credential for Autotask PSA REST API

Troubleshooting

  • Ensure the Billing Code ID is correctly specified and exists in the Autotask system to avoid 'not found' errors.
  • If the node fails to retrieve data, check that the API credentials are valid and have sufficient permissions.
  • Errors related to picklist or reference labels may occur if those fields are not present or accessible; try disabling those options if issues arise.

Links

Discussion