Hyros icon

Hyros

Interact with Hyros API - Complete coverage of all endpoints

Actions60

Custom Cost → Create

AI-generated

Summary

Create a custom cost entry in the Hyros system by specifying its start date, optional end date, frequency (Daily or One Time), cost amount, and attribution tags.

Inputs

  • Start Date (required) — The start date of the custom cost in ISO 8601 format.
  • End Date — The optional end date of the custom cost in ISO 8601 format.
  • Frequency (required) — The frequency of the custom cost; options are Daily or One Time as defined by the Hyros API.
  • Cost (required) — The monetary amount of the custom cost.
  • Tags (required) — Attribution tags for the custom cost, accepting multiple string values with a maximum of 10 tags.

Output shape

a single record

Returns the newly created custom cost object as confirmed by the Hyros API upon successful creation.

Examples

Example 1: Create a custom cost of a specified amount with required start date, optional end date, frequency set to Daily or One Time, and tags for attribution.

Set startDate to define when the cost begins, optionally set endDate, choose frequency as Daily or One Time, set cost amount, and provide one or more tags for attribution (up to 10).

Links

Discussion