---
title: "InvoiceLine"
---

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

Path: Billing API

## Fields

- `InvoiceLine.position` (integer, required)
- `InvoiceLine.kind` (string, required) — usage, other_usage (lines under half a cent) or other_projects (a service's smallest projects, past the line limit).
- `InvoiceLine.service` (string | null, required)
- `InvoiceLine.projectId` (string | null, required)
- `InvoiceLine.projectName` (string | null, required) — The project's name when the invoice was drafted.
- `InvoiceLine.projectSlug` (string | null, required)
- `InvoiceLine.sku` (string | null, required)
- `InvoiceLine.description` (string, required)
- `InvoiceLine.quantity` (string, required) — In the SKU's unit.
  - pattern `^-?[0-9]+(\.[0-9]+)?$`
- `InvoiceLine.unitPrice` (string | null, required) — Dollars per unit; null for folded lines and SKUs whose price changed within the period.
- `InvoiceLine.amount` (string, required) — Exact dollars.
  - pattern `^-?[0-9]+(\.[0-9]+)?$`
- `InvoiceLine.amountMicros` (string, required) — Micros.
  - pattern `^-?[0-9]+(\.[0-9]+)?$`
- `InvoiceLine.amountCents` (string, required) — What's billed, in cents.
  - pattern `^-?[0-9]+(\.[0-9]+)?$`


Source: https://docs.ezghcloud.com/billing-api/schemas/InvoiceLine/index.md
