@mft/moneyhub-api-client
Version:
Node.JS client for the Moneyhub API
35 lines • 730 B
TypeScript
import type { SearchParams } from "../request";
import type { Amount } from "./balance";
export interface TaxSearchParams extends SearchParams {
startDate: string;
endDate: string;
}
interface Details {
category: string;
amount: {
value: number;
currency: string;
};
}
interface TaxReturn {
sa105: {
income: {
total: Amount;
details: Details[];
};
expenditure: {
total: Amount;
details: Details[];
};
taxableIncome: {
total: Amount;
};
};
}
export interface Tax {
dateFrom: string;
dateTo: string;
taxReturn: TaxReturn;
}
export {};
//# sourceMappingURL=tax.d.ts.map