1.0.9 • Published 2 months ago

invoice-id-extractor v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months 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

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.3

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago