Invoice items.
import { GetInvoiceItems } from "@vercel/sdk/models/getinvoiceop.js";
let value: GetInvoiceItems = {
billingPlanId: "<id>",
name: "<value>",
price: "340.85",
quantity: 2916.49,
units: "<value>",
total: "<value>",
};
Field | Type | Required | Description |
---|---|---|---|
billingPlanId |
string | ✔️ | Partner's billing plan ID. |
resourceId |
string | ➖ | Partner's resource ID. If not specified, indicates installation-wide item. |
start |
string | ➖ | Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. |
end |
string | ➖ | Start and end are only needed if different from the period's start/end. ISO 8601 timestamp. |
name |
string | ✔️ | Invoice item name. |
details |
string | ➖ | Additional item details. |
price |
string | ✔️ | Item price. A dollar-based decimal string. |
quantity |
number | ✔️ | Item quantity. |
units |
string | ✔️ | Units for item's quantity. |
total |
string | ✔️ | Item total. A dollar-based decimal string. |