UNPKG

@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.65 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema.js'; import { CreateInvoiceAddress } from './createInvoiceAddress.js'; import { CreateInvoiceCoupon } from './createInvoiceCoupon.js'; import { CreateInvoiceItem } from './createInvoiceItem.js'; import { CreateInvoiceStatus } from './createInvoiceStatus.js'; export interface CreateInvoice { lineItems?: CreateInvoiceItem[]; /** Date on which the invoice will be issued (format YYYY-MM-DD). This date is interpreted and validated in your site's time zone. It must be today or a date in the past — future dates are not accepted. If omitted, defaults to today in your site's time zone. */ issueDate?: string; /** By default, invoices will be created with a due date matching the date of invoice creation. If a different due date is desired, the net_terms parameter can be sent indicating the number of days in advance the due date should be. */ netTerms?: number; paymentInstructions?: string; /** A custom memo can be sent to override the site's default. */ memo?: string; /** Overrides the defaults for the site */ sellerAddress?: CreateInvoiceAddress; /** Overrides the default for the customer */ billingAddress?: CreateInvoiceAddress; /** Overrides the default for the customer */ shippingAddress?: CreateInvoiceAddress; coupons?: CreateInvoiceCoupon[]; status?: CreateInvoiceStatus; [key: string]: unknown; } export declare const createInvoiceSchema: Schema<CreateInvoice>; //# sourceMappingURL=createInvoice.d.ts.map