/* tslint:disable */ /* eslint-disable */ /** * Emil PublicAPI * The Emil Public API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { InvoiceItemClass } from './invoice-item-class'; import { InvoiceStatusClass } from './invoice-status-class'; /** * * @export * @interface InvoiceClass */ export interface InvoiceClass { /** * Internal unique identifier for the object. You should not have to use this, use code instead. * @type {number} * @memberof InvoiceClass */ 'id': number; /** * Unique identifier of the policy that this object belongs to. * @type {string} * @memberof InvoiceClass */ 'policyCode': string; /** * Account number * @type {string} * @memberof InvoiceClass */ 'accountNumber': string; /** * Unique identifier for the object. * @type {string} * @memberof InvoiceClass */ 'code': string; /** * Invoice type. * @type {string} * @memberof InvoiceClass */ 'type': string; /** * Invoice number. * @type {string} * @memberof InvoiceClass */ 'invoiceNumber': string; /** * Net amount. * @type {number} * @memberof InvoiceClass */ 'netAmount': number; /** * Tax amount. * @type {number} * @memberof InvoiceClass */ 'taxAmount': number; /** * Credit amount * @type {number} * @memberof InvoiceClass */ 'creditAmount': number; /** * Gross amount. * @type {number} * @memberof InvoiceClass */ 'grossAmount': number; /** * It shows the status of the invoice that is paid or open. * @type {string} * @memberof InvoiceClass */ 'status': string; /** * Invoice due date. * @type {string} * @memberof InvoiceClass */ 'dueDate': string; /** * Metadata contains extra information that the invoice would need for specific cases. * @type {object} * @memberof InvoiceClass */ 'metadata': object; /** * Invoice billing interval from * @type {string} * @memberof InvoiceClass */ 'billingIntervalFrom': string; /** * Invoice billing interval to * @type {string} * @memberof InvoiceClass */ 'billingIntervalTo': string; /** * Time at which the object was created. * @type {string} * @memberof InvoiceClass */ 'createdAt': string; /** * Invoice items * @type {Array} * @memberof InvoiceClass */ 'invoiceItems': Array; /** * Invoice statuses * @type {Array} * @memberof InvoiceClass */ 'statuses': Array; /** * Invoice currency. EUR is used by default. * @type {string} * @memberof InvoiceClass */ 'currency': string; }