import * as IShared from '../../../shared/interface'; export interface IValueByVatTax { taxPercentage: number; total: number; } export interface ICreateProviderServiceInvoiceRequest { provider_id?: string; nif?: string; external_document_name: string; account_code?: string | null; auto_pay?: boolean; emission_date: Date; observations: string; values: IValueByVatTax[]; } export interface IRepository { createProviderServiceInvoice(params: ICreateProviderServiceInvoiceRequest): Promise; } export type IController = IShared.IEntityWithUserToken;