Skip to content

MeteredLine

Public rated line with signed amount for ordinary lines or later invoice adjustments.

const MeteredLine: Schema.Struct<{
meter: Schema.Struct<{
key: Schema.brand<Schema.String, "MeterKey">;
revision: Schema.brand<Schema.Int, "DefinitionRevision">;
}>;
aggregateQuantity: Schema.brand<Schema.BigInt, "MeteredUsageQuantity">;
rate: Schema.Struct<{
currency: Schema.brand<Schema.String, "Currency">;
amount: Schema.brand<Schema.BigInt, "MinorCurrencyUnits">;
perUnits: Schema.brand<Schema.BigInt, "MeteredRateUnits">;
rounding: Schema.Literal<"trunc">;
}>;
amount: Schema.brand<Schema.BigInt, "SignedMinorCurrencyUnits">;
rounding: Schema.Literal<"trunc">;
}>;