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

# Create Billing Item

> Documentation for the Create Billing Item action for Healthie

![images/healthie.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/healthie.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=d168a24dbae69f2202ca63dd7aa2e1f3)

# Parameters

**Action** `Parameters`

**parameters**

**Created At** `timing.v1.Timestamp`

This field maps to the destination API `created_at` field.

**Amount Paid** `float64 (double)` *required*

This field maps to the destination API `amount_paid` field.

**Note** `string`

This field maps to the destination API `note` field.

**Patient ID** `string`

`ID`
This field maps to the destination API `sender_id` field.

**Recipient ID** `string`

`ID`
This field maps to the destination API `recipient_id` field.

**Payment Medium** `string`

This field maps to the destination API `payment_medium` field.

**Offering Coupon ID** `string`

This field maps to the destination API `offering_coupon_id` field.

**Offering ID** `string`

This field maps to the destination API `offering_id` field.

**Should Charge** `bool`

This field maps to the destination API `should_charge` field.

**Stripe Customer Detail ID** `string`

`ID`
This field maps to the destination API `stripe_customer_detail_id` field.

**Requested Payment ID** `string`

This field maps to the destination API `requested_payment_id` field.

**User Package Selection ID** `string`

This field maps to the destination API `user_package_selection_id` field.

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "dietician_organization_id": "123450",
    "dietitian_email_address": "drfleming@example.com",
    "dietitian_first_name": "Alexander",
    "dietitian_id": "100070",
    "dietitian_last_name": "Alexander",
    "dietitian_organization_id": "123450",
    "id": "57211",
    "patient_id": "121250",
    "updated_at": "2024-05-10T08:46:04Z"
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "dietician_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
    "dietitian_email_address": "Email address of the User's (Patient's) registered dietitian",
    "dietitian_first_name": "First name of the User's (Patient's) registered dietitian",
    "dietitian_id": "ID of the User's (Patient's) registered dietitian",
    "dietitian_last_name": "Last name of the User's (Patient's) registered dietitian",
    "dietitian_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
    "id": "Billing Item object ID",
    "patient_id": "Patient's ID",
    "updated_at": "Billing Item updated at"
  }
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**BillingItem** `Fetch Action Response Object`

**fields**

**id** `string` *required*

Billing Item object ID

```json CEL theme={null}
$result_object_key.id
```

```json Example theme={null}
"57211"
```

**patient\_id** `string` *required*

`ID` Patient's ID

```json CEL theme={null}
$result_object_key.patient_id
```

```json Example theme={null}
"121250"
```

**dietician\_organization\_id** `string`

Organization ID for the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietician_organization_id
```

```json Example theme={null}
"123450"
```

**updated\_at** `timing.v1.Timestamp` *required*

Billing Item updated at

```json CEL theme={null}
$result_object_key.updated_at
```

```json Example theme={null}
"2024-05-10T08:46:04Z"
```

**dietitian\_organization\_id** `string`

Organization ID for the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietitian_organization_id
```

```json Example theme={null}
"123450"
```

**dietitian\_first\_name** `string`

First name of the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietitian_first_name
```

```json Example theme={null}
"Alexander"
```

**dietitian\_last\_name** `string`

Last name of the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietitian_last_name
```

```json Example theme={null}
"Alexander"
```

**dietitian\_email\_address** `string`

Email address of the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietitian_email_address
```

```json Example theme={null}
"drfleming@example.com"
```

**dietitian\_id** `string`

ID of the User's (Patient's) registered dietitian

```json CEL theme={null}
$result_object_key.dietitian_id
```

```json Example theme={null}
"100070"
```


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