UNPKG

@montarist/nilvera-api

Version:

An unofficial SDK for integrating with Nilvera e-Invoice, e-Archive services

21 lines (20 loc) 792 B
import { ExchangeRateResponse } from '../constants'; import { ApiResponse } from '../types'; import { BaseService } from './base.service'; /** * GeneralService * Service for managing general operations. */ export declare class GeneralService extends BaseService { /** * Gets exchange rates. * @returns {Promise<ApiResponse<ExchangeRateResponse>>} - Exchange rates information with curl command */ getExchangeRates(): Promise<ApiResponse<ExchangeRateResponse>>; /** * Checks if a taxpayer is an e-invoice taxpayer. * @param {string} taxNumber - Tax number * @returns {Promise<ApiResponse<any[]>>} - Information about taxpayer's e-invoice status with curl command */ checkIfGlobalCustomer(taxNumber: string): Promise<ApiResponse<any[]>>; }