UNPKG

e-invoice-api

Version:

The official TypeScript library for the e-invoice API

16 lines 588 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Ubl = void 0; const resource_1 = require("../../core/resource.js"); const path_1 = require("../../internal/utils/path.js"); class Ubl extends resource_1.APIResource { /** * Get the UBL for an invoice or credit note */ get(documentID, options) { return this._client.get((0, path_1.path) `/api/documents/${documentID}/ubl`, options); } } exports.Ubl = Ubl; //# sourceMappingURL=ubl.js.map