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());
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    1
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i goldencloud-client

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

59 kB

Total Files

11

Last publish

Collaborators

  • hohogpb