@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.
19 lines • 1 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, bigint, expandoObject, lazy, nullable, optional, string, } from '../schema.js';
import { billingManifestItemSchema, } from './billingManifestItem.js';
export const billingManifestSchema = lazy(() => expandoObject({
lineItems: ['line_items', optional(array(billingManifestItemSchema))],
totalInCents: ['total_in_cents', optional(bigint())],
totalDiscountInCents: ['total_discount_in_cents', optional(bigint())],
totalTaxInCents: ['total_tax_in_cents', optional(bigint())],
subtotalInCents: ['subtotal_in_cents', optional(bigint())],
startDate: ['start_date', optional(nullable(string()))],
endDate: ['end_date', optional(nullable(string()))],
periodType: ['period_type', optional(nullable(string()))],
existingBalanceInCents: ['existing_balance_in_cents', optional(bigint())],
}));
//# sourceMappingURL=billingManifest.js.map