UNPKG

e-invoice-api

Version:

The official TypeScript library for the e-invoice API

80 lines 2.15 kB
import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Me extends APIResource { /** * Retrieve information about your account. */ retrieve(options?: RequestOptions): APIPromise<MeRetrieveResponse>; } export interface MeRetrieveResponse { /** * Credit balance of the tenant */ credit_balance: number; name: string; /** * Plan of the tenant */ plan: 'starter' | 'pro' | 'enterprise'; /** * BCC recipient email to deliver documents */ bcc_recipient_email?: string | null; /** * Address of the company. Must be in the form of `Street Name Street Number` */ company_address?: string | null; /** * City of the company */ company_city?: string | null; /** * Country of the company */ company_country?: string | null; /** * Email of the company */ company_email?: string | null; /** * Name of the company. Must include the company type. For example: `BV`, `NV`, * `CVBA`, `VOF` */ company_name?: string | null; /** * Company number. For Belgium this is the CBE number or their EUID (European * Unique Identifier) number */ company_number?: string | null; /** * Company tax ID. For Belgium this is the VAT number. Must include the country * prefix */ company_tax_id?: string | null; /** * Zip code of the company */ company_zip?: string | null; description?: string | null; /** * IBANs of the tenant */ ibans?: Array<string> | null; /** * Peppol IDs of the tenant */ peppol_ids?: Array<string> | null; /** * Whether the tenant is registered on our SMP */ smp_registration?: boolean | null; /** * Date when the tenant was registered on SMP */ smp_registration_date?: string | null; } export declare namespace Me { export { type MeRetrieveResponse as MeRetrieveResponse }; } //# sourceMappingURL=me.d.ts.map