Options
All
  • Public
  • Public/Protected
  • All
Menu

TaiwanEInvoice is a class that wraps Taiwan e-invoice API.

Hierarchy

  • TaiwanEInvoice

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

apiKey

apiKey: string

API Key,apply from MOF E-Invoice platform.

appID

appID: string

App ID,apply from MOF E-Invoice platform.

identity

identity: InquirerIdentity = InquirerIdentity.Common

inquirer's identity.

txID

txID: string = ""

txID,Transaction ID of inquirer

uuID

uuID: string = ""

UUID,universally unique identifier of inquirer

Methods

action

  • Parameters

    • action: string

      request parameter action literal specified in the API

    • param: DefinedParameter

      other request parameters specified in the API

    Returns Promise<Object>

inquirer

  • Tell API the UUID or the txID of the inquirer.

    Parameters

    • id: string

      UUID or txID .

    • Optional identity: InquirerIdentity

      inquirer's identity. Default is InquirerIdentity.Common . (Optional)

    Returns TaiwanEInvoice

Static paramSort

  • Sort request parameters by key in ascending order. Must use before signature.

    Parameters

    Returns any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc