JP7356639B1 - Data processing device, data processing method and program - Google Patents
Data processing device, data processing method and program Download PDFInfo
- Publication number
- JP7356639B1 JP7356639B1 JP2023518850A JP2023518850A JP7356639B1 JP 7356639 B1 JP7356639 B1 JP 7356639B1 JP 2023518850 A JP2023518850 A JP 2023518850A JP 2023518850 A JP2023518850 A JP 2023518850A JP 7356639 B1 JP7356639 B1 JP 7356639B1
- Authority
- JP
- Japan
- Prior art keywords
- data
- invoice
- print data
- template
- electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 49
- 238000003672 processing method Methods 0.000 title claims description 5
- 238000004891 communication Methods 0.000 claims description 55
- 238000010586 diagram Methods 0.000 description 17
- 238000000034 method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000004148 unit process Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
データ処理装置1は、電子インボイスが送受信される電子インボイスネットワークN1を介して電子インボイスを取得するインボイス取得部131と、テンプレートデータを記憶する記憶部12と、電子インボイスに含まれている1以上のデータをテンプレートデータに配置することにより印刷データを作成する印刷データ作成部133と、印刷データを出力する出力部134と、を有する。The data processing device 1 includes an invoice acquisition unit 131 that acquires electronic invoices via an electronic invoice network N1 through which electronic invoices are transmitted and received, a storage unit 12 that stores template data, and an electronic invoice. The printer includes a print data creation unit 133 that creates print data by arranging one or more pieces of data in template data, and an output unit 134 that outputs the print data.
Description
本発明は、データ処理装置、データ処理方法及びプログラムに関する。 The present invention relates to a data processing device, a data processing method, and a program.
昨今、受発注や請求にかかる電子文書をネットワーク上でやり取りするための標準化が進められている。電子インボイスを送受信することができる電子インボイスネットワークとして、例えばPEPPOL(Pan-European Public Procurement Online)が知られている(例えば、特許文献1を参照)。 Recently, standardization for exchanging electronic documents related to ordering and billing over networks has been progressing. For example, PEPPOL (Pan-European Public Procurement Online) is known as an electronic invoice network that can send and receive electronic invoices (see, for example, Patent Document 1).
電子インボイスネットワークを介して受信する電子インボイスは、XML(Extensible Markup Language)形式で記述されたデータである。このような電子インボイスがコンピュータの画面に表示される場合、従来の請求書の形式と異なる形式で表示されることが想定される。従来の請求書を見慣れた人にとっては、このように表示された電子インボイスの内容を確認しづらいという問題が生じる。 Electronic invoices received via the electronic invoice network are data written in XML (Extensible Markup Language) format. When such an electronic invoice is displayed on a computer screen, it is assumed that it will be displayed in a format different from that of a conventional bill. A problem arises in that it is difficult for people who are accustomed to viewing conventional invoices to confirm the contents of electronic invoices displayed in this manner.
そこで、本発明はこれらの点に鑑みてなされたものであり、電子インボイスの内容を確認しやすくすることを目的とする。 Therefore, the present invention has been made in view of these points, and an object of the present invention is to make it easier to confirm the contents of an electronic invoice.
本発明の第1の態様のデータ処理装置は、電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するインボイス取得部と、テンプレートデータを記憶する記憶部と、前記電子インボイスに含まれている1以上のデータを前記テンプレートデータに配置することにより印刷データを作成する印刷データ作成部と、前記印刷データを出力する出力部と、を有する。 A data processing device according to a first aspect of the present invention includes: an invoice acquisition unit that acquires electronic invoices via an electronic invoice network through which electronic invoices are transmitted and received; a storage unit that stores template data; It has a print data creation section that creates print data by arranging one or more data included in an invoice in the template data, and an output section that outputs the print data.
前記テンプレートデータは、請求書の発行元領域、請求対象名領域及び請求金額領域を少なくとも含み、前記印刷データ作成部は、前記電子インボイスに含まれている当該電子インボイスの送信元を示す送信元データを前記発行元領域に配置し、前記電子インボイスに含まれている請求対象を示す請求対象データを前記請求対象名領域に配置し、前記電子インボイスに含まれている請求金額データを前記請求金額領域に配置することにより、前記印刷データを作成してもよい。 The template data includes at least an invoice issuer area, a billing target name area, and a billing amount area, and the print data creation unit is configured to send information indicating the sender of the electronic invoice included in the electronic invoice. The original data is placed in the issuer area, the billing object data indicating the billing object included in the electronic invoice is placed in the billing object name area, and the billing amount data included in the electronic invoice is placed in the billing object name area. The print data may be created by arranging it in the billed amount area.
前記印刷データ作成部は、前記電子インボイスネットワークを介して取得されたことを示すテキストを含む前記印刷データを作成してもよい。 The print data creation unit may create the print data including text indicating that the print data has been acquired via the electronic invoice network.
前記印刷データ作成部は、正規の請求書ではないことを示すテキストを含む前記印刷データを作成してもよい。 The print data creation unit may create the print data including text indicating that the bill is not a legitimate bill.
前記データ処理装置は、ユーザの操作を受け付ける操作受付部をさらに有し、前記記憶部は、前記テンプレートデータを識別するためのテンプレートIDに関連付けて複数の前記テンプレートデータを記憶し、前記印刷データ作成部は、前記操作受付部が受け付けた前記ユーザの操作に基づいて特定した前記テンプレートIDに関連付けて前記記憶部に記憶された前記テンプレートデータに前記1以上のデータを配置することにより、前記印刷データを作成してもよい。 The data processing device further includes an operation reception unit that receives a user's operation, and the storage unit stores a plurality of the template data in association with a template ID for identifying the template data, and the storage unit stores the plurality of template data in association with a template ID for identifying the template data. The unit arranges the one or more pieces of data in the template data stored in the storage unit in association with the template ID specified based on the user's operation received by the operation reception unit. may be created.
前記データ処理装置は、ユーザの操作を受け付ける操作受付部をさらに有し、前記インボイス取得部は、複数の前記電子インボイスを取得し、前記印刷データ作成部は、複数の前記電子インボイスのうち、前記操作受付部が受け付けた条件を満たす1以上の前記電子インボイスに対応する1以上の前記印刷データを作成してもよい。 The data processing device further includes an operation reception unit that receives a user's operation, the invoice acquisition unit acquires the plurality of electronic invoices, and the print data creation unit processes the plurality of electronic invoices. Among them, one or more of the print data may be created corresponding to one or more of the electronic invoices that satisfy the conditions accepted by the operation reception unit.
前記インボイス取得部は、複数の前記電子インボイスを取得し、前記印刷データ作成部は、複数の前記電子インボイスそれぞれに含まれている前記1以上のデータが一覧表形式で配置された前記印刷データを作成してもよい。 The invoice acquisition unit acquires the plurality of electronic invoices, and the print data creation unit acquires the plurality of electronic invoices, and the print data creation unit acquires the one or more data included in each of the plurality of electronic invoices arranged in a list format. Print data may also be created.
前記印刷データ作成部は、所定の日に、前記所定の日の前の所定の期間に前記インボイス取得部が取得した1以上の前記電子インボイスに対応する1以上の前記印刷データを作成してもよい。 The print data creation unit creates, on a predetermined day, one or more of the print data corresponding to one or more of the electronic invoices acquired by the invoice acquisition unit during a predetermined period before the predetermined date. It's okay.
前記出力部は、前記電子インボイスに含まれている、通信先を示す通信先データを特定し、前記通信先データが示す通信先に宛てて、前記通信先データの種別に対応する通信手段で前記印刷データを送信してもよい。 The output unit specifies communication destination data that is included in the electronic invoice and indicates the communication destination, and sends the message to the communication destination indicated by the communication destination data using a communication means corresponding to the type of the communication destination data. The print data may be transmitted.
前記データ処理装置は、画像データを取得する画像データ取得部と、前記画像データ取得部が取得した前記画像データに含まれている所定の文字列の位置を認識する文字列認識部と、前記文字列認識部が認識した前記所定の文字列の位置を示す情報を含む前記テンプレートデータを作成するテンプレート作成部と、をさらに有してもよい。 The data processing device includes an image data acquisition unit that acquires image data, a character string recognition unit that recognizes the position of a predetermined character string included in the image data acquired by the image data acquisition unit, and a character string recognition unit that recognizes the position of a predetermined character string included in the image data acquired by the image data acquisition unit. The apparatus may further include a template creation section that creates the template data including information indicating the position of the predetermined character string recognized by the string recognition section.
本発明の第2の態様のデータ処理方法は、コンピュータが実行する、電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、前記電子インボイスに含まれている1以上のデータを、記憶部に記憶されたテンプレートデータに配置することにより印刷データを作成するステップと、前記印刷データを出力するステップと、を有する。 A data processing method according to a second aspect of the present invention includes a step of obtaining an electronic invoice via an electronic invoice network through which electronic invoices are transmitted and received, which is executed by a computer; The method includes the steps of creating print data by arranging one or more data in template data stored in a storage unit, and outputting the print data.
本発明の第3の態様のプログラムは、コンピュータに、電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、前記電子インボイスに含まれている1以上のデータを、記憶部に記憶されたテンプレートデータに配置することにより印刷データを作成するステップと、前記印刷データを出力するステップと、を実行させるためのプログラムである。 A program according to a third aspect of the present invention includes the steps of: acquiring an electronic invoice via an electronic invoice network through which electronic invoices are transmitted and received; and one or more data included in the electronic invoice. This is a program for executing the steps of creating print data by arranging the print data in template data stored in a storage unit, and outputting the print data.
本発明によれば、電子インボイスの内容を確認しやすくなるという効果を奏する。 According to the present invention, it is possible to easily confirm the contents of an electronic invoice.
[データ処理装置1の概要]
図1は、データ処理装置1の概要を説明するための図である。図1には、データ処理装置1と、請求書発行装置2と、プリンタ3と、FAX受信機4とが示されている。[Overview of data processing device 1]
FIG. 1 is a diagram for explaining an overview of a
データ処理装置1は、PEPPOLのような電子インボイスネットワークを経由して受信した電子インボイスに基づいて、電子インボイスを受けた企業の担当者(以下、「ユーザ」という場合がある)が見やすい形式で電子インボイスの内容を印刷できるようにするためのコンピュータである。担当者が見やすい形式とは、例えば、従来の紙の請求書の形式である。当該形式の例については後述する。
Based on the electronic invoice received via an electronic invoice network such as PEPPOL, the
請求書発行装置2は、電子インボイスを発行する企業で使用されているコンピュータである。当該企業の担当者が、請求書発行装置2を操作することにより、請求対象の商品名、数量、金額などの情報を入力すると、請求書発行装置2は入力された情報を含む電子インボイスを作成する。電子インボイスは、例えばXML形式のデータにより構成される。請求書発行装置2は、担当者が入力した宛先に電子インボイスを送信する。請求書発行装置2が送信した電子インボイスは、電子インボイスネットワークN1を介してデータ処理装置1に送信される。
The bill issuing
データ処理装置1は、受信した電子インボイスに基づいて印刷データを作成し、作成した印刷データをプリンタ3に送信することにより、プリンタ3により紙の請求書が印刷される。データ処理装置1は、印刷データをFAX通信用の画像データに変換し、通信ネットワークN2(例えば公衆電話網)を介してFAX受信機4に送信してもよい。この場合、FAX受信機4が、受信した画像データを印刷することにより、紙の請求書が印刷される。
The
[データ処理装置1の構成]
図2は、データ処理装置1の構成を示す図である。データ処理装置1は、通信部11と、記憶部12と、制御部13と、を有する。制御部13は、インボイス取得部131と、操作受付部132と、印刷データ作成部133と、出力部134と、を有する。[Configuration of data processing device 1]
FIG. 2 is a diagram showing the configuration of the
通信部11は、電子インボイスネットワークN1を介して電子インボイスを送受信するための通信インターフェースを有する。通信部11は、電子インボイスネットワークN1を介して受信した電子インボイスをインボイス取得部131に入力する。通信部11は、通信ネットワークN2を介して画像データを送受信するための通信インターフェースをさらに有してもよい。通信部11は、データ処理装置1が使用される企業のイントラネットを介して、当該企業のユーザの情報端末(例えばコンピュータ)との間でデータを送受信するための通信インターフェースをさらに有してもよい。
The
記憶部12は、ROM(Read Only Memory)、RAM(Random Access Memory)及びSSD(Solid State Drive)等の記憶媒体を有する。記憶部12は、制御部13が実行するプログラムを記憶する。また、記憶部12は、通信部11が受信した電子インボイスに基づいて、紙に請求書を印刷するための各種のデータを記憶している。記憶部12は、例えば、電子インボイスに基づいて印刷する際の請求書の形式を規定するテンプレートデータを記憶する。記憶部12は、テンプレートデータを識別するためのテンプレートIDに関連付けて複数のテンプレートデータを記憶してもよい。
The
図3は、テンプレートデータの一例を模式的に示す図である。図3に示すテンプレートデータにおいては、予め印刷されることが決められている文字列(「請求書」、「登録番号」、「消費税」、「合計」)の他に、電子インボイスによって異なる文字列を配置する複数の領域が含まれている。テンプレートデータは、請求書の発行元領域、請求対象名領域及び請求金額領域を少なくとも含む。発行元領域は、請求書を発行した組織の名称、住所又は連絡先の少なくともいずれかが配置される領域である。請求対象名領域は、請求の対象となる商品又はサービスの名称が配置される領域である。請求金額領域は、請求の対象となる商品又はサービスそれぞれの金額、又は合計請求額が配置される領域である。 FIG. 3 is a diagram schematically showing an example of template data. In the template data shown in Figure 3, in addition to the character strings that are predetermined to be printed ("invoice", "registration number", "consumption tax", "total"), there are also character strings that differ depending on the electronic invoice. Contains multiple areas for placing strings. The template data includes at least a bill issuer field, a billing object name field, and a billing amount field. The issuer area is an area where at least one of the name, address, and contact information of the organization that issued the invoice is placed. The billing target name area is an area where the name of the product or service to be billed is placed. The billed amount area is an area where the amount of each product or service to be billed or the total billed amount is placed.
図3に示す例において、領域R1は、電子インボイスの発行元に付与されている適格請求書発行事業者の登録番号を配置する領域である。領域R2は、電子インボイスの発行元の名称が配置される領域である。領域R3は、発行元の住所が配置される領域である。領域R4は、発行元の電話番号が配置される領域である。領域R5は、電子インボイスの件名が配置される領域である。件名には、例えば、請求の対象となる年月が含まれる。 In the example shown in FIG. 3, area R1 is an area where the registration number of the qualified bill issuing business entity assigned to the issuer of the electronic invoice is placed. Area R2 is an area where the name of the issuer of the electronic invoice is placed. Area R3 is an area where the address of the issuer is placed. Area R4 is an area where the issuer's telephone number is placed. Area R5 is an area where the subject of the electronic invoice is placed. The subject includes, for example, the year and month of the request.
領域R6は、請求の対象となる商品又はサービスの名称が配置される領域である。領域R7は、請求の対象となる商品又はサービスの個数が配置される領域である。領域R8は、請求の対象となる商品又はサービスの金額が配置される領域である。領域R6から領域R8は、電子インボイスの内容によって行が増減される。図3においては、3行分が表示されている。 Area R6 is an area where the name of the product or service to be billed is placed. Area R7 is an area where the number of products or services to be billed is placed. Area R8 is an area where the amount of the product or service to be billed is placed. The number of lines in areas R6 to R8 is increased or decreased depending on the contents of the electronic invoice. In FIG. 3, three lines are displayed.
領域R9は、消費税が配置される領域である。領域R10は、合計請求額が配置される領域である。図3に示すテンプレートデータにおいては商品又はサービスの単価が配置される領域がないが、テンプレートデータには、単価が配置される領域又は他の領域が設けられていてもよい。 Area R9 is an area where consumption tax is placed. Area R10 is an area where the total billed amount is placed. Although the template data shown in FIG. 3 does not have an area where the unit price of a product or service is placed, the template data may be provided with an area where the unit price is placed or another area.
なお、図3に示すテンプレートデータにおいては、それぞれの領域の位置が破線で示しているが、テンプレートデータにおいては、電子インボイス内の文字列を配置する複数の項目それぞれと、それぞれの項目に対応する領域の座標とが関連付けられていてもよい。座標は、例えば印刷領域の左上を原点とする、横方向・縦方向の座標である。 In the template data shown in Figure 3, the position of each area is indicated by a broken line, but in the template data, each area corresponds to each of the multiple items in which character strings are placed in the electronic invoice. may be associated with the coordinates of the area. The coordinates are, for example, coordinates in the horizontal and vertical directions with the origin at the upper left of the print area.
制御部13は、例えばCPU(Central Processing Unit)を有する。制御部13は、記憶部12に記憶されたプログラムを実行することにより、インボイス取得部131、操作受付部132及び印刷データ作成部133として機能する。
The
インボイス取得部131は、電子インボイスが送受信される電子インボイスネットワークN1を介して電子インボイスを取得する。インボイス取得部131は、取得した電子インボイスを印刷データ作成部133に入力する。インボイス取得部131は、取得した電子インボイスを記憶部12に記憶させることにより、電子インボイスに含まれるデータを印刷データ作成部133が処理できるようにしてもよい。
The
操作受付部132は、ユーザの操作を受け付ける。操作受付部132は、例えば、複数のテンプレートデータから1つのテンプレートデータを選択する操作を受け付ける。この場合、操作受付部132は、テンプレートデータの名称、又はテンプレートデータにおける各文字列の配置領域を示す画像データをユーザの情報端末に表示させることにより、ユーザに所望のテンプレートデータを選択させる。操作受付部132は、印刷データ作成部133が印刷データを作成するための条件を受け付けてもよい。操作受付部132は、操作の内容を印刷データ作成部133に通知する。
The
操作受付部132は、テンプレートデータをカスタマイズするための操作を受け付けてもよい。テンプレートデータをカスタマイズするための操作は、例えば、図2に示した各領域の大きさを変更したり、各領域の位置を変更したりする操作である。操作受付部132は、当該操作に応じて、記憶部12に記憶されているテンプレートデータを更新したり、カスタマイズしたテンプレートデータを識別するための情報に関連付けて、カスタマイズしたテンプレートデータを記憶部12に記憶させたりしてもよい。
The
印刷データ作成部133は、電子インボイスに含まれている1以上のデータをテンプレートデータに配置することにより印刷データを作成する。印刷データ作成部133は、例えば、電子インボイスに含まれている当該電子インボイスの送信元を示す送信元データを発行元領域に配置し、電子インボイスに含まれている請求対象を示す請求対象データを請求対象名領域に配置し、電子インボイスに含まれている請求金額データを請求金額領域に配置することにより、印刷データを作成する。印刷データ作成部133は、適格請求書発行事業者の登録番号を、登録番号領域に配置してもよい。
The print
図4及び図5は、電子インボイスに含まれるXMLデータの例を示す図である。図4においては、<cac:PartyName>という文字列の後に、請求書の発行元の名称「田中商事株式会社」が記載されており、<cac:PostalAddress>という文字列の後に、請求書の発行元の住所「東京都千代田区内神田5-10-X 田中商事ビル」が記載されており、<cbc:CompanyID>という文字列の後に、適格請求書発行事業者の登録番号「T1234567890123」が記載されている。 4 and 5 are diagrams showing examples of XML data included in an electronic invoice. In Figure 4, after the character string <cac:PartyName>, the name of the invoice issuer "Tanaka Shoji Co., Ltd." is written, and after the character string <cac:PostalAddress>, the name of the invoice issuer is written. The original address "Tanaka Shoji Building, 5-10-X Uchikanda, Chiyoda-ku, Tokyo" is listed, and after the character string <cbc:CompanyID>, the registration number of the eligible billing company is listed "T1234567890123". has been done.
図5においては、<cac:Item>という文字列の後に、請求対象の商品の名称「デスクチェア」が記載されており、<cac:Price>という文字列の後に、請求対象の商品の単価「50000」が記載されている。また、<cbc:InvoicedQuantity unitCode= “H87”>という文字列の後に、個数「5」が書かれており、<cbc:LineExtensionAmount currencyID= “JPY”>という文字列の後に、金額「250000」が記載されている。 In Figure 5, after the character string <cac:Item>, the name of the product to be billed is "Desk Chair", and after the character string <cac:Price>, the unit price of the product to be billed is " 50,000" is written. Also, the number “5” is written after the string <cbc:InvoicedQuantity unitCode= “H87”>, and the amount “250000” is written after the string <cbc:LineExtensionAmount currencyID= “JPY”> has been done.
印刷データ作成部133は、電子インボイスに含まれる複数の文字列のうち、テンプレートデータに配置するべき文字列として規定されている文字列を検索する。印刷データ作成部133は、例えば、テンプレートデータに発行元領域が含まれている場合、電子インボイスにおいて、発行元に対応するcac:PartyName又はcac:PostalAddressという文字列を検索する。印刷データ作成部133は、これらの文字列に対して所定の位置(例えば直後)に含まれている文字列が発行元の名称又は連絡先であると特定する。同様に、印刷データ作成部133は、cbc:CompanyIDという文字列に対して所定の位置に含まれている文字列が、適格請求書発行事業者の登録番号であると特定する。
The print
印刷データ作成部133は、テンプレートデータに請求対象名領域が含まれている場合、電子インボイスにおいて、請求対象名に対応するcac:Itemという文字列を検索する。印刷データ作成部133は、この文字列に対して所定の位置に含まれている文字列が請求対象の商品の名称であると特定する。
If the template data includes a billing object name field, the print
同様に、印刷データ作成部133は、テンプレートデータに請求金額領域が含まれている場合、電子インボイスにおいて、請求金額に対応するcbc:LineExtensionAmountという文字列を検索する。印刷データ作成部133は、この文字列に対して所定の位置に含まれている文字列が請求金額であると特定する。印刷データ作成部133は、電子インボイスにおいて、請求対象品の単価に対応する文字列、及び請求対象品の数量に対応する文字列を特定し、特定した文字列が示す単価に数量を乗算することにより請求金額を特定してもよい。
Similarly, if the template data includes a billing amount area, the print
印刷データ作成部133は、このようにして特定した文字列を、テンプレートデータにおける特定した文字列に対応する領域に配置することにより印刷データを作成する。
The print
図6は、印刷データ作成部133が印刷データを作成する処理について説明するための図である。図6に示すように、印刷データ作成部133は、図3に示した複数の領域(領域R1~領域R10)のうち、各領域に対応する文字列が電子インボイスに含まれている場合に、各領域に対応する文字列を配置する。図6に示す例においては、発行元の登録番号、発行元の名称、発行元の住所及び電話番号、請求対象の商品の名称、数量及び金額、消費税額、並びに合計請求額が、それぞれに対応する領域に配置されている。
FIG. 6 is a diagram for explaining the process by which the print
図7は、作成された印刷データの例を示す図である。図7においては、図6に示されていた領域を示す破線が表示されておらず、商品の名称、数量及び金額の欄が、表形式で表示されている。また、請求書の下部には、「この請求書はPEPPOLで受信した電子インボイスの控えです」という文字列が記載されている。このように、印刷データ作成部133は、電子インボイスネットワークを介して取得されたことを示すテキスト、又は正規の請求書ではないことを示すテキストの少なくともいずれかを含む印刷データを作成してもよい。印刷データ作成部133がこのような印刷データを作成することで、紙に印刷された請求書を見たユーザが、その請求書が正規の請求書であると誤解してしまうことを防げる。
FIG. 7 is a diagram showing an example of created print data. In FIG. 7, the broken lines indicating the areas shown in FIG. 6 are not displayed, and columns for product name, quantity, and price are displayed in a table format. Further, at the bottom of the bill, a character string "This bill is a copy of the electronic invoice received by PEPPOL" is written. In this way, the print
記憶部12に複数の種類のテンプレートデータが記憶されている場合、印刷データ作成部133は、操作受付部132が受け付けたユーザの操作に基づいて特定したテンプレートIDに関連付けて記憶部12に記憶されたテンプレートデータに、電子インボイスに含まれている1以上のデータを配置することにより、印刷データを作成してもよい。印刷データ作成部133がこのように動作することで、複数のユーザがデータ処理装置1を利用する場合に、ユーザが、自身が確認しやすい形式で印刷された紙の請求書を得ることができる。
When a plurality of types of template data are stored in the
ところで、多くの電子インボイスが送信されてくる企業において、電子インボイスが送られるたびに請求書が印刷されると、印刷された請求書の処理が煩雑になる場合がある。そこで、印刷データ作成部133は、複数の電子インボイスのうち、操作受付部132が受け付けた条件を満たす1以上の電子インボイスに対応する1以上の印刷データを作成してもよい。
By the way, in companies that receive many electronic invoices, if an invoice is printed every time an electronic invoice is sent, processing of the printed invoices may become complicated. Therefore, the print
当該条件は、例えば、印刷する対象とする電子インボイスの受領日の範囲、印刷する対象とする電子インボイスの発行元、印刷する対象とする電子インボイスの宛名、又は印刷する対象とする電子インボイスに含まれている合計請求額の範囲のうちの少なくともいずれかである。当該条件は、これらのいずれかの組み合わせであってもよい。印刷データ作成部133がこのように動作することで、ユーザは、印刷して確認したい電子インボイスに限って印刷された状態で確認することができるので、多くの印刷物を扱う煩雑さが軽減する。
The conditions include, for example, the range of receipt dates of the electronic invoices to be printed, the issuer of the electronic invoices to be printed, the addressee of the electronic invoices to be printed, or the range of receipt dates of the electronic invoices to be printed. At least one of the ranges of total charges included in the invoice. The conditions may be any combination of these. By operating the print
操作受付部132から受け付けた条件は、印刷を実行する日であってもよい。印刷データ作成部133は、例えば、所定の日に、所定の日の前の所定の期間にインボイス取得部131が取得した1以上の電子インボイスに対応する1以上の印刷データを作成する。具体的には、印刷データ作成部133は、特定の曜日又は月内の特定の日(例えば月末日)等の印刷指定日に、その直前に電子インボイスを印刷した日(すなわち前回の印刷指定日)から印刷指定日までの間にインボイス取得部131が取得した電子インボイスの印刷データを作成してもよい。
The condition received from the
このように複数の電子インボイスの印刷データを作成する際、印刷データ作成部133は、複数の電子インボイスそれぞれに含まれている1以上のデータ(例えば、請求書の発行元、請求対象商品名、個数、請求金額)が一覧表形式で配置された印刷データを作成してもよい。印刷データ作成部133は、所定の条件を満たす複数の電子インボイスを選択し、選択した複数の電子インボイスに含まれている1以上のデータが一覧表形式で配置された印刷データを作成してもよい。印刷データ作成部133がこのような一覧表形式の印刷データを作成することで、ユーザが複数の電子インボイスの内容を一度に確認できるので、作業効率が向上する。
When creating print data for multiple electronic invoices in this way, the print
出力部134は、印刷データ作成部133が作成した印刷データを出力する。具体的には、出力部134は、プリンタ3が印刷できる形式の印刷データを出力する。出力部134は、通信部11を介して、データ処理装置1にインストールされているプリンタ3のプリンタドライバが処理できる形式の印刷データを出力する。出力部134は、USB(Universal Serial Bus)のようなインターフェースを介して印刷データをプリンタ3に出力してもよい。
The
出力部134は、例えば、電子インボイスに含まれている、通信先を示す通信先データを特定し、特定した通信先データが示す通信先に宛てて、通信先データの種別に対応する通信手段で印刷データを送信してもよい。通信先データがFAX番号である場合、出力部134は、FAX送信をできる形式の画像データにより構成された印刷データをFAX番号宛てに送信するように通信部11を制御する。通信先データがメールアドレスである場合、出力部134は、例えばpdfファイル形式の印刷データをメールアドレス宛に送信するように通信部11を制御する。出力部134がこのように動作することで、ユーザの近くにプリンタ3がない場合であっても、ユーザが従来の紙の形式で電子インボイスを確認することができる。
For example, the
[データ処理装置1における処理の流れ]
図8は、データ処理装置1における処理の流れを示す図である。インボイス取得部131が電子インボイスを取得すると(S11)、印刷データ作成部133はテンプレートデータを選択する(S12)。印刷データ作成部133は、上述のとおりユーザの指示に基づいてテンプレートデータを選択してもよく、電子インボイス内のデータ(例えば発行元)に基づいてテンプレートデータを選択してもよい。[Flow of processing in data processing device 1]
FIG. 8 is a diagram showing the flow of processing in the
印刷データ作成部133は、選択したテンプレートデータに含まれている抽出対象項目に対応する文字列を電子インボイスから抽出する(S13)。印刷データ作成部133は、抽出した文字列を、テンプレートデータにおける対応する領域に配置する(S14)。印刷データ作成部133は、電子インボイスネットワークを介して取得されたことを示すテキスト、又は正規の請求書ではないことを示すテキストを付加した印刷データを作成し(S15)、作成した印刷データを出力する(S16)。
The print
[テンプレートデータのカスタマイズ]
以上の説明においては、テンプレートデータが予め記憶部12に記憶されている場合を説明したが、ユーザが、自身の好みに合ったテンプレートデータを作成したいという場合がある。そこで、ユーザの好みの形式の請求書の画像データに基づいてデータ処理装置1がテンプレートデータを作成すると、ユーザが電子インボイスの内容をさらに確認しやすくなる。[Customize template data]
In the above description, a case has been described in which template data is stored in the
図9は、テンプレートデータを作成する機能を有するデータ処理装置1Aの構成を示す図である。データ処理装置1Aは、制御部13が画像データ取得部135と、文字列認識部136と、テンプレート作成部137と、を有する点で図2に示したデータ処理装置1と異なり、他の点で同じである。
FIG. 9 is a diagram showing the configuration of a
画像データ取得部135は、例えば請求書がスキャナによって読み取られた画像データを取得する。画像データ取得部135は、通信部11を介して、ユーザのコンピュータから画像データを取得してもよく、スキャナから画像データを取得してもよい。
The image
文字列認識部136は、画像データ取得部135が取得した画像データに含まれている所定の文字列の位置を認識する。所定の文字列は、図2に示したようなテンプレートデータに含めるべき項目に対応する文字列である。文字列認識部136は、例えば、「請求書」という文字列の位置、発行元名の位置、発行元住所の位置、発行元連絡先の位置、請求対象の商品名の位置、商品の数量の位置、商品の金額の位置等を認識する。文字列認識部136は、操作受付部132がユーザから受け付けた項目に対応する文字列の位置を認識してもよい。
The character
テンプレート作成部137は、文字列認識部136が認識した所定の文字列の位置を示す情報を含むテンプレートデータを作成する。具体的には、テンプレート作成部137は、所定の文字列に対応する項目名と、それぞれの文字列に対応する領域の座標とが関連付けられた、図2に示すようなテンプレートデータを作成する。所定の文字列に対応する項目名は、発行元名、発行元住所、発行元連絡先、商品名、数量、金額等のように、電子インボイスにおいて文字列を検索する対象となる項目の名称である。
The
テンプレート作成部137は、作成したテンプレートデータを記憶部12に記憶させる。操作受付部132は、作成したテンプレートデータを識別するための情報(例えばユーザ名)の入力を受け付けて、テンプレート作成部137は、当該情報に関連付けてテンプレートデータを記憶部12に記憶させてもよい。テンプレート作成部137は、作成したテンプレートデータをユーザの情報端末に表示させ、操作受付部132が、各領域の大きさを変更したり、各領域の位置を変更したりする操作を受け付けたことに応じて、作成したテンプレートデータを更新してもよい。テンプレート作成部137は、更新されたテンプレートデータを記憶部12に記憶させる。
The
このように画像データ取得部135、文字列認識部136及びテンプレート作成部137が動作することで、ユーザが、見慣れた形式の紙の請求書に基づいてテンプレートデータを作成することができるので、ユーザが電子インボイスをさらに確認しやすくなる。
By operating the image
[データ処理装置1による効果]
以上説明したように、データ処理装置1は、電子インボイスネットワークを介して受信された電子インボイスに含まれている1以上のデータを、記憶部12に記憶されたテンプレートデータに配置することにより印刷データを作成する。データ処理装置1がこのような印刷データを作成することにより、電子インボイスを受信した企業のユーザが、紙に印刷された状態で電子インボイスの内容を確認することができるので、電子インボイスを確認しやすくなる。その結果、電子インボイスを受け取った企業の担当者が、電子インボイスを受信したことを見落とすことを防ぐことができる。また、担当者が、書面による請求書と同じ確認手順によって処理することが可能になる。[Effects of data processing device 1]
As explained above, the
以上、実施の形態を用いて本発明を説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes can be made within the scope of the gist. be. For example, all or part of the device can be functionally or physically distributed and integrated into arbitrary units. In addition, new embodiments created by arbitrary combinations of multiple embodiments are also included in the embodiments of the present invention. The effects of the new embodiment resulting from the combination have the effects of the original embodiment.
1 データ処理装置
2 請求書発行装置
3 プリンタ
4 受信機
11 通信部
12 記憶部
13 制御部
131 インボイス取得部
132 操作受付部
133 印刷データ作成部
134 出力部
135 画像データ取得部
136 文字列認識部
137 テンプレート作成部1
Claims (14)
ユーザの操作を受け付ける操作受付部と、
テンプレートデータを識別するためのテンプレートIDに関連付けて複数の前記テンプレートデータを記憶する記憶部と、
前記操作受付部が受け付けた前記ユーザの操作に基づいて特定した前記テンプレートIDに関連付けて前記記憶部に記憶された前記テンプレートデータに、前記電子インボイスに含まれている1以上のデータを配置することにより印刷データを作成する印刷データ作成部と、
前記印刷データを出力する出力部と、
を有するデータ処理装置。 an invoice acquisition unit that acquires electronic invoices via an electronic invoice network through which electronic invoices are transmitted and received;
an operation reception unit that accepts user operations;
a storage unit that stores a plurality of pieces of template data in association with a template ID for identifying template data ;
arranging one or more pieces of data included in the electronic invoice in the template data stored in the storage unit in association with the template ID specified based on the user's operation received by the operation reception unit; a print data creation unit that creates print data by
an output unit that outputs the print data;
A data processing device having:
前記印刷データ作成部は、前記電子インボイスに含まれている当該電子インボイスの送信元を示す送信元データを前記発行元領域に配置し、前記電子インボイスに含まれている請求対象を示す請求対象データを前記請求対象名領域に配置し、前記電子インボイスに含まれている請求金額データを前記請求金額領域に配置することにより、前記印刷データを作成する、
請求項1に記載のデータ処理装置。 The template data includes at least an invoice issuer area, a billing object name area, and a billing amount area,
The print data creation unit places sender data included in the e-invoice indicating the sender of the e-invoice in the issuer area, and indicates the billing object included in the e-invoice. creating the print data by arranging billing data in the billing name area and billing amount data included in the electronic invoice in the billing amount area;
The data processing device according to claim 1.
請求項1に記載のデータ処理装置。 The print data creation unit creates the print data including text indicating that the print data has been acquired via the electronic invoice network.
The data processing device according to claim 1.
請求項1に記載のデータ処理装置。 The print data creation unit creates the print data including text indicating that the invoice is not a regular invoice.
The data processing device according to claim 1.
前記印刷データ作成部は、複数の前記電子インボイスのうち、前記操作受付部が受け付けた条件を満たす1以上の前記電子インボイスに対応する1以上の前記印刷データを作成する、
請求項1に記載のデータ処理装置。 The invoice acquisition unit acquires the plurality of electronic invoices,
The print data creation unit creates one or more of the print data corresponding to one or more of the electronic invoices that satisfy the conditions accepted by the operation reception unit among the plurality of electronic invoices.
The data processing device according to claim 1.
前記印刷データ作成部は、複数の前記電子インボイスそれぞれに含まれている前記1以上のデータが一覧表形式で配置された前記印刷データを作成する、
請求項1に記載のデータ処理装置。 The invoice acquisition unit acquires the plurality of electronic invoices,
The print data creation unit creates the print data in which the one or more pieces of data included in each of the plurality of electronic invoices are arranged in a list format.
The data processing device according to claim 1.
請求項1に記載のデータ処理装置。 The print data creation unit creates, on a predetermined day, one or more of the print data corresponding to one or more of the electronic invoices acquired by the invoice acquisition unit during a predetermined period before the predetermined date. ,
The data processing device according to claim 1.
請求項1に記載のデータ処理装置。 The output unit specifies communication destination data that is included in the electronic invoice and indicates the communication destination, and sends the message to the communication destination indicated by the communication destination data using a communication means corresponding to the type of the communication destination data. transmitting the print data;
The data processing device according to claim 1.
前記画像データ取得部が取得した前記画像データに含まれている所定の文字列の位置を認識する文字列認識部と、
前記文字列認識部が認識した前記所定の文字列の位置を示す情報を含む前記テンプレートデータを作成するテンプレート作成部と、
をさらに有する、
請求項1から8のいずれか一項に記載のデータ処理装置。 an image data acquisition unit that acquires image data;
a character string recognition unit that recognizes the position of a predetermined character string included in the image data acquired by the image data acquisition unit;
a template creation unit that creates the template data including information indicating the position of the predetermined character string recognized by the character string recognition unit;
further having,
A data processing device according to any one of claims 1 to 8 .
テンプレートデータを記憶する記憶部と、
前記電子インボイスに含まれている1以上のデータを前記テンプレートデータに配置することにより印刷データを作成する印刷データ作成部と、
前記電子インボイスに含まれている、通信先を示す通信先データを特定し、前記通信先データが示す通信先に宛てて、前記通信先データの種別に対応する通信手段で前記印刷データを送信する出力部と、
を有するデータ処理装置。 an invoice acquisition unit that acquires electronic invoices via an electronic invoice network through which electronic invoices are transmitted and received;
a storage unit that stores template data;
a print data creation unit that creates print data by arranging one or more data included in the electronic invoice in the template data;
Identifying communication destination data that is included in the electronic invoice and indicating the communication destination, and transmitting the print data to the communication destination indicated by the communication destination data using a communication means corresponding to the type of the communication destination data. an output section to
A data processing device having:
電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、
前記電子インボイスに含まれている1以上のデータを、テンプレートIDに関連付けて記憶部に記憶された複数のテンプレートデータのうち、ユーザの操作に基づいて特定した前記テンプレートIDに対応するテンプレートデータに配置することにより印刷データを作成するステップと、
前記印刷データを出力するステップと、
を有するデータ処理方法。 computer executes
retrieving the e-invoice via an e-invoice network through which the e-invoice is sent and received;
One or more data included in the electronic invoice is set to template data corresponding to the template ID specified based on the user's operation among a plurality of template data stored in the storage unit in association with the template ID. a step of creating print data by arranging;
outputting the print data;
A data processing method having.
電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、
前記電子インボイスに含まれている1以上のデータを、記憶部に記憶されたテンプレートデータに配置することにより印刷データを作成するステップと、
前記電子インボイスに含まれている、通信先を示す通信先データを特定し、前記通信先データが示す通信先に宛てて、前記通信先データの種別に対応する通信手段で前記印刷データを送信するステップと、
を有するデータ処理方法。 computer executes
retrieving the e-invoice via an e-invoice network through which the e-invoice is sent and received;
creating print data by arranging one or more data included in the electronic invoice in template data stored in a storage unit;
Identifying communication destination data that is included in the electronic invoice and indicating the communication destination, and transmitting the print data to the communication destination indicated by the communication destination data using a communication means corresponding to the type of the communication destination data. the step of
A data processing method having.
電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、
前記電子インボイスに含まれている1以上のデータを、テンプレートIDに関連付けて記憶部に記憶された複数のテンプレートデータのうち、ユーザの操作に基づいて特定した前記テンプレートIDに対応するテンプレートデータに配置することにより印刷データを作成するステップと、
前記印刷データを出力するステップと、
を実行させるためのプログラム。 to the computer,
retrieving the e-invoice via an e-invoice network through which the e-invoice is sent and received;
One or more data included in the electronic invoice is set to template data corresponding to the template ID specified based on the user's operation among a plurality of template data stored in the storage unit in association with the template ID. a step of creating print data by arranging;
outputting the print data;
A program to run.
電子インボイスが送受信される電子インボイスネットワークを介して電子インボイスを取得するステップと、
前記電子インボイスに含まれている1以上のデータを、記憶部に記憶されたテンプレートデータに配置することにより印刷データを作成するステップと、
前記電子インボイスに含まれている、通信先を示す通信先データを特定し、前記通信先データが示す通信先に宛てて、前記通信先データの種別に対応する通信手段で前記印刷データを送信するステップと、
を実行させるためのプログラム。 to the computer,
retrieving the e-invoice via an e-invoice network through which the e-invoice is sent and received;
creating print data by arranging one or more data included in the electronic invoice in template data stored in a storage unit;
Identifying communication destination data that is included in the electronic invoice and indicating the communication destination, and transmitting the print data to the communication destination indicated by the communication destination data using a communication means corresponding to the type of the communication destination data. the step of
A program to run.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2023/011514 WO2024195113A1 (en) | 2023-03-23 | Data processing device, data processing method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP7356639B1 true JP7356639B1 (en) | 2023-10-05 |
Family
ID=88198195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2023518850A Active JP7356639B1 (en) | 2023-03-23 | 2023-03-23 | Data processing device, data processing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7356639B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002157545A (en) * | 2000-11-22 | 2002-05-31 | Nippon Express Co Ltd | Method for reading and transferring document |
JP2004310729A (en) * | 2003-03-25 | 2004-11-04 | Bank Of Tokyo-Mitsubishi Ltd | Payment support apparatus and program for trade transaction |
JP2006281701A (en) * | 2005-04-04 | 2006-10-19 | Mitsubishi Electric Corp | Bill, bill creating apparatus, bill reader, and bill creating program and bill reading program |
-
2023
- 2023-03-23 JP JP2023518850A patent/JP7356639B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002157545A (en) * | 2000-11-22 | 2002-05-31 | Nippon Express Co Ltd | Method for reading and transferring document |
JP2004310729A (en) * | 2003-03-25 | 2004-11-04 | Bank Of Tokyo-Mitsubishi Ltd | Payment support apparatus and program for trade transaction |
JP2006281701A (en) * | 2005-04-04 | 2006-10-19 | Mitsubishi Electric Corp | Bill, bill creating apparatus, bill reader, and bill creating program and bill reading program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100477709C (en) | Scanning device and scanning method thereof | |
US20150227785A1 (en) | Information processing apparatus, information processing method, and program | |
JP3903995B2 (en) | Image data distribution apparatus, image data distribution method, and computer program | |
US20020103826A1 (en) | System and method for creating documents populated with variable data | |
AU756903B2 (en) | Document control and transmission system | |
US20060053042A1 (en) | Material distribution system, material distribution method and computer program product | |
EP1305693A2 (en) | Method and system for sending electronic messages from a fax machine | |
US20110010356A1 (en) | Digital document management system | |
JP6976763B2 (en) | Journal information processing device, journal information processing method, and program | |
JP6476895B2 (en) | Content management program and information processing apparatus | |
JP7356639B1 (en) | Data processing device, data processing method and program | |
JP2001103228A (en) | Image database print system | |
JP2013077222A (en) | Information processing apparatus, print document creating method and print document creating program | |
JP2013077221A (en) | Information processing apparatus, template creating method and template creating program | |
JP2004048284A (en) | Print forming system | |
WO2024195113A1 (en) | Data processing device, data processing method, and program | |
CN112801765B (en) | Method, device and system for generating reimbursement file, electronic equipment and storage medium | |
EP2464091B1 (en) | Printing device, printing system, control method, and computer-readable storage medium for control program | |
US20030004818A1 (en) | Online postcard order and creation system | |
US20050108679A1 (en) | Method and system for managing document processing device job information | |
JP2001232900A (en) | System for printing post card and method for printing post card | |
JP2002297935A (en) | Trial calculation, estimate and order receiving and placing processing system for receiving and placing order for printed matter | |
US20090234723A1 (en) | Publicly generated advertisement system and method | |
JP2019212207A (en) | Accounting processor, program, and accounting processing method | |
JP7224693B1 (en) | Data processing device, data processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230323 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20230323 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230606 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230706 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230815 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230906 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230906 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7356639 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |