goldencloud-client
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

goldencloud-client

高登云开票 sdk js实现

高登云接口文档

import GoldenCloundClient from "goldencloud-client"

async function testQuery() {
  const client = new GoldenCloudClient(
    "your appkey",
    "your appsecret"
  );

  const payload = {
    seller_taxpayer_num: "售方税号",
    order_id: "订单id",
  };

  const resp = await client.post("/tax-api/invoice/query/v1", payload);
  console.log(await resp.json());
}

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i goldencloud-client

    Weekly Downloads

    0

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    59 kB

    Total Files

    11

    Last publish

    Collaborators

    • hohogpb