UNPKG

e-invoice-api

Version:

The official TypeScript library for the e-invoice API

25 lines 859 B
import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Ubl extends APIResource { /** * Get the UBL for an invoice or credit note */ get(documentID: string, options?: RequestOptions): APIPromise<UblGetResponse>; } export interface UblGetResponse { id: string; file_name: string; file_hash?: string | null; file_size?: number; receiver_peppol_id?: string | null; receiver_peppol_scheme?: string | null; sender_peppol_id?: string | null; sender_peppol_scheme?: string | null; signed_url?: string | null; validated_at?: string | null; } export declare namespace Ubl { export { type UblGetResponse as UblGetResponse }; } //# sourceMappingURL=ubl.d.mts.map