npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cetustek-invoice-nodejs

v0.1.2

Published

Module for Cetustek Invoice API

Readme


About

Cetustek Invoice NodeJS (CIN) is a module/example for calling Cetustek Invoice APIs with NodeJS, which allows you to call the APIs by the mudule.

CIN code base reference from IOTA/IAC repo.

See a more please contact Cetustek.

This is beta software, so there may be performance and stability issues. Please report any issues in our issue tracker.

Prerequisites

To use CIN in your own applications, you need Node.js installed on your device.

To check if you have Node.js installed, run the following command:

node -v

If Node.js is installed, you should see the version that's installed.

Installation

To install this package, use one of the following commands:

  • npm install cetustek-invoice-nodejs

  • yarn add cetustek-invoice-nodejs

Getting started

To jump in now, see the following code sample:

const cetustekInvoice = require('cetustek-invoice-nodejs');

const config = {
  user: '',
  password: '',
  endpoint: '',
};

const invoiceData = {
 OrderId: `A2020063000001`,
 OrderDate: '2020/07/06'
 BuyerIdentifier: '53118823',
 BuyerName: '測試',
 BuyerAddress: 'OOXX 的地址',
 BuyerPersonInCharge: 'Joe',
 BuyerTelephoneNumber: '0800888123',
 BuyerFacsimileNumber: '02-33332222',
 BuyerEmailAddress: '[email protected]',
 BuyerCustomerNumber: 'VIG01AA39090',
 DonateMark: 0,
 InvoiceType: '05',
 NPOBAN: '',
 PayWay: 2,
 TaxType: 1,
 TaxRate: 0.05,
 Remark: ''
};
console.log("Cetustek Invoice Data:", invoiceData);

const invoiceItems = [
 {
	 ProductionCode: 'AAA123',
	 Description: 'OOXX',
	 Quantity: 17,
	 Unit: '月',
	 UnitPrice: 50000
 }
];
console.log("Cetustek Invoice Items:", invoiceItems);

const response = cetustekInvoice.create(invoiceData, invoiceItems);
console.log("Cetustek Invoice Respone", response);

Will output:

Cetustek Invoice Data {
 OrderId: `A2020063000001`,
 OrderDate: '2020/07/06'
 BuyerIdentifier: '53118823',
 BuyerName: '測試',
 BuyerAddress: 'OOXX 的地址',
 BuyerPersonInCharge: 'Joe',
 BuyerTelephoneNumber: '0800888123',
 BuyerFacsimileNumber: '02-33332222',
 BuyerEmailAddress: '[email protected]',
 BuyerCustomerNumber: 'VIG01AA39090',
 DonateMark: 0,
 InvoiceType: '05',
 NPOBAN: '',
 PayWay: 2,
 TaxType: 1,
 TaxRate: 0.05,
 Remark: ''
}

Cetustek Invoice Items [
 {
	 ProductionCode: 'AAA123',
	 Description: 'OOXX',
	 Quantity: 17,
	 Unit: '月',
	 UnitPrice: 50000
 }
]

Response

API Reference

See the JavaScript API reference.

Supporting the project

If you want to contribute, consider submitting a bug report, feature request or a pull request.

See our contributing guidelines for more information.

Joining the discussion

If you want to get involved in the community, need help with getting set up, have any issues or just want to discuss with other people, feel free to join our Telegram.