UNPKG

e-invoice-api

Version:

The official TypeScript library for the e-invoice API

12 lines 454 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../core/resource.mjs"; import { path } from "../../internal/utils/path.mjs"; export class Ubl extends APIResource { /** * Get the UBL for an invoice or credit note */ get(documentID, options) { return this._client.get(path `/api/documents/${documentID}/ubl`, options); } } //# sourceMappingURL=ubl.mjs.map