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

# Objects

> Every object and enum the Invoiceitems tools accept.

## Model tree

<div className="model-tree"><div className="model-tree-scroll"><div className="tree-node"><a href="#invoiceitempricing">InvoiceItemPricing</a></div><div className="tree-node"><a href="#invoiceitempricedata">InvoiceItemPriceData</a></div><div className="tree-node"><a href="#invoiceitemperiod">InvoiceItemPeriod</a></div></div></div>

## InvoiceItemPricing

Where an existing price is named.

<div className="reference-table">
  | Field   | Type     | Description                          |
  | ------- | -------- | ------------------------------------ |
  | `price` | `string` | The ID of an existing price to bill. |
</div>

## InvoiceItemPriceData

A price created inline for this line only.

<div className="reference-table">
  | Field                                                            | Type                                  | Description                                                                                                                                                                                                                                                                                                         |
  | ---------------------------------------------------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `currency` <span className="required" title="required">\*</span> | `string`                              | Three-letter lowercase ISO currency code.                                                                                                                                                                                                                                                                           |
  | `product` <span className="required" title="required">\*</span>  | `string`                              | The ID of the product being billed.                                                                                                                                                                                                                                                                                 |
  | `unitAmount`                                                     | `integer`                             | The amount in the smallest currency unit. Mutually exclusive with unit\_amount\_decimal. Cents, not dollars: \$15.00 is 1500, and 15 prices this at fifteen cents. Multiply a decimal amount by 100.                                                                                                                |
  | `unitAmountDecimal`                                              | `string`                              | Same as `unit_amount`, but accepts a decimal value in the smallest currency unit with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. Cents, not dollars: \$15.00 is "1500". The decimal places are fractions of a cent, so "1500.5" is fifteen dollars and half a cent. |
  | `taxBehavior`                                                    | [PriceTaxBehavior](#pricetaxbehavior) | Whether the amount includes tax.                                                                                                                                                                                                                                                                                    |
</div>

## InvoiceItemPeriod

The service period a line covers. Both ends are inclusive and required.

<div className="reference-table">
  | Field                                                         | Type      | Description                                                                                            |
  | ------------------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------ |
  | `start` <span className="required" title="required">\*</span> | `integer` | Unix timestamp the period starts, inclusive. Seconds, not milliseconds: 1700000000, not 1700000000000. |
  | `end` <span className="required" title="required">\*</span>   | `integer` | Unix timestamp the period ends, inclusive. Seconds, not milliseconds: 1700000000, not 1700000000000.   |
</div>

## PriceTaxBehavior

<div className="enum-table">
  | Value         |
  | ------------- |
  | `exclusive`   |
  | `inclusive`   |
  | `unspecified` |
</div>
