@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
40 lines • 2.1 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
import { CreateInvoiceItemComponentId } from './containers/createInvoiceItemComponentId';
import { CreateInvoiceItemPricePointId } from './containers/createInvoiceItemPricePointId';
import { CreateInvoiceItemProductId } from './containers/createInvoiceItemProductId';
import { CreateInvoiceItemProductPricePointId } from './containers/createInvoiceItemProductPricePointId';
import { CreateInvoiceItemQuantity } from './containers/createInvoiceItemQuantity';
import { CreateInvoiceItemUnitPrice } from './containers/createInvoiceItemUnitPrice';
export interface CreateInvoiceItem {
title?: string;
/** The quantity can contain up to 8 decimal places. i.e. 1.00 or 0.0012 or 0.00000065. If you submit a value with more than 8 decimal places, we will round it down to the 8th decimal place. */
quantity?: CreateInvoiceItemQuantity;
/** The unit_price can contain up to 8 decimal places. i.e. 1.00 or 0.0012 or 0.00000065. If you submit a value with more than 8 decimal places, we will round it down to the 8th decimal place. */
unitPrice?: CreateInvoiceItemUnitPrice;
/**
* Set to true to automatically calculate taxes. Site must be configured to use and calculate taxes.
* If using Avalara, a tax_code parameter must also be sent.
*/
taxable?: boolean;
taxCode?: string;
/** YYYY-MM-DD */
periodRangeStart?: string;
/** YYYY-MM-DD */
periodRangeEnd?: string;
/** Product handle or product id. */
productId?: CreateInvoiceItemProductId;
/** Component handle or component id. */
componentId?: CreateInvoiceItemComponentId;
/** Price point handle or id. For component. */
pricePointId?: CreateInvoiceItemPricePointId;
productPricePointId?: CreateInvoiceItemProductPricePointId;
description?: string;
[key: string]: unknown;
}
export declare const createInvoiceItemSchema: Schema<CreateInvoiceItem>;
//# sourceMappingURL=createInvoiceItem.d.ts.map