1.0.9 • Published 1 year ago

invoice-id-extractor v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

invoice-id-extractor

Extractor which identifies user's invoice ID, given any format of parsed files and delivery information (name, phone number, zipcode)\ 다양한 형태의 파일에서 고객의 송장번호를 인식 및 추출하는 모듈

Installing

Using npm:

$ npm install invoice-id-extractor

Using yarn:

$ yarn add invoice-id-extractor

Methods

getOrderIdToInvoiceNumberDictionary(orders: Order[], parsedFile: string[][],)

Given a parameter of orders and parsedFile, returns a dictionary with the orderID as its key and corresponding invoice number as its value. \ Order

{
  orderId: string,
  orderSetId: string,
  receiverName: string,
  receiverPhoneNumber: string,
  deliveryAddress: string,
  deliveryAddressDetail: string,
  deliveryAddressPostcode: string,
  itemName: string
}

return type

{
    [orderId: string]:
    {
      matchSuccess: boolean
      failReason?: string
      invoiceNumber?: string
    }
}
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago