@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.
31 lines • 1.97 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema.js';
import { InvoiceConsolidationLevel } from './invoiceConsolidationLevel.js';
import { InvoiceStatus } from './invoiceStatus.js';
/** Example schema for an `issue_invoice` event */
export interface IssueInvoiceEventData {
/**
* Consolidation level of the invoice, which is applicable to invoice consolidation. It will hold one of the following values:
* * "none": A normal invoice with no consolidation.
* * "child": An invoice segment which has been combined into a consolidated invoice.
* * "parent": A consolidated invoice, whose contents are composed of invoice segments.
* "Parent" invoices do not have lines of their own, but they have subtotals and totals which aggregate the member invoice segments.
* See also the [invoice consolidation documentation](https://maxio.zendesk.com/hc/en-us/articles/24252269909389-Invoice-Consolidation).
*/
consolidationLevel: InvoiceConsolidationLevel;
/** The status of the invoice before event occurrence. See [Invoice Statuses](https://maxio.zendesk.com/hc/en-us/articles/24252287829645-Advanced-Billing-Invoices-Overview#invoice-statuses) for more. */
fromStatus: InvoiceStatus;
/** The status of the invoice after event occurrence. See [Invoice Statuses](https://maxio.zendesk.com/hc/en-us/articles/24252287829645-Advanced-Billing-Invoices-Overview#invoice-statuses) for more. */
toStatus: InvoiceStatus;
/** Amount due on the invoice, which is `total_amount - credit_amount - paid_amount`. */
dueAmount: string;
/** The invoice total, which is `subtotal_amount - discount_amount + tax_amount`.' */
totalAmount: string;
[key: string]: unknown;
}
export declare const issueInvoiceEventDataSchema: Schema<IssueInvoiceEventData>;
//# sourceMappingURL=issueInvoiceEventData.d.ts.map