<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>適格返還請求書 &#8211; WordPress Memo</title>
	<atom:link href="https://blog.riverforest-wp.info/tag/%E9%81%A9%E6%A0%BC%E8%BF%94%E9%82%84%E8%AB%8B%E6%B1%82%E6%9B%B8/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.riverforest-wp.info</link>
	<description>WordPress に関する覚え書き</description>
	<lastBuildDate>Fri, 09 May 2025 12:48:52 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.riverforest-wp.info/wp-content/uploads/2018/05/cropped-icon-256x256-1-32x32.png</url>
	<title>適格返還請求書 &#8211; WordPress Memo</title>
	<link>https://blog.riverforest-wp.info</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>インボイス制度に合わせた請求書を作成するプラグイン</title>
		<link>https://blog.riverforest-wp.info/pdf-invoice-japan-for-woocommerce/</link>
					<comments>https://blog.riverforest-wp.info/pdf-invoice-japan-for-woocommerce/#comments</comments>
		
		<dc:creator><![CDATA[Katsushi Kawamori]]></dc:creator>
		<pubDate>Sat, 25 Mar 2023 19:37:03 +0000</pubDate>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[インボイス制度]]></category>
		<category><![CDATA[メール]]></category>
		<category><![CDATA[請求書]]></category>
		<category><![CDATA[適格請求書]]></category>
		<category><![CDATA[適格返還請求書]]></category>
		<guid isPermaLink="false">https://blog.riverforest-wp.info/?p=3156</guid>

					<description><![CDATA[はじめに 2023年10月1日から、インボイス制度（適格請求書等保存方式）が始まります。それに合わせた、請求書を作ろうと海外製のプラグインをいくつかカスタマイズしてみたのですが、微妙に上手くいかないので、専用のプラグイン [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">はじめに</h3>



<p><strong>2023年10月1日</strong>から、<strong>インボイス制度（適格請求書等保存方式）</strong>が始まります。それに合わせた、請求書を作ろうと海外製のプラグインをいくつかカスタマイズしてみたのですが、微妙に上手くいかないので、専用のプラグイン（<a href="https://ja.wordpress.org/plugins/woocommerce/">WooCommerce</a> 上で動作）を作ってみました。<a href="https://ja.wordpress.org/plugins/woocommerce/">WooCommerce</a> 内のオブジェクトを調べるのは結構大変で途中から有料にしようかとも思いましたが、皆が必要になると思ったので公式プラグインディレクトリにあげました。一応、幾つかのフィルターで伸びしろをつけていて、請求書の体裁を全く違うものにする事も可能です。その辺を<strong>このプラグインのアドオンとして売り出す</strong>とか、<strong>顧客に対してのカスタマイズ</strong>という形での２次的なビジネスも可能です。<s>自分は面倒なのでやらないと思いますが</s>（アドオンを作成しました。興味がある方は<a href="https://shop-jp.riverforest-wp.info/product/pdf-invoice-japan-for-woocommerce-add-on/">こちら</a>から）、やる気がある方はチャレンジしてみてください。</p>



<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/pdf-invoice-japan-for-woocommerce/assets/icon-256x256.png?rev=2896835" alt="PDF Invoice Japan for WooCommerce のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/pdf-invoice-japan-for-woocommerce/" class="pluginstatsview-astyle">PDF Invoice Japan for WooCommerce</a></div>
			<div class="pluginstatsview-small">WooCommerce で注文を受けると、日本向けの請求書（PDF）が作成され、メールで送信されます。</div>
			<div class="pluginstatsview-small">作者: <a href="https://profiles.wordpress.org/katsushi-kawamori/">Katsushi Kawamori</a></div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>

	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left"><a href="https://wordpress.org/plugins/pdf-invoice-japan-for-woocommerce/#reviews" title="5.0(5点満点中)" class="pluginstatsview-astyle">	<span class="pluginstatsview-stars">
					<span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span>
			</span>
	</a>(4)</span>
		<span class="pluginstatsview-card-right">最終更新: 3週間 前</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">300以上サイトで有効化中</span>
		<span class="pluginstatsview-card-right">検証済み: 7.0</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">ダウンロード: <a href="https://downloads.wordpress.org/plugin/pdf-invoice-japan-for-woocommerce.2.14.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2023-04-11</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-04-21 08:56 時点の統計	</div>
</div>



<h3 class="wp-block-heading">使い方・仕様</h3>



<p>= 他のプラグインとの連携 =</p>



<ul class="wp-block-list">
<li><a href="https://ja.wordpress.org/plugins/woocommerce/">WooCommerce</a> が必要です。</li>
</ul>



<p>= 請求書 =</p>



<ul class="wp-block-list">
<li>2023年10月からの日本のインボイス制度に対応。</li>



<li>個別の登録番号の登録と表示</li>



<li>適格請求書（注文状況進行中、注文状況完了済み、の際に請求書としてメールへ PDF として添付し送信）</li>



<li>適格返還請求書（払戻の際に払戻明細書としてメールへ PDF として添付し送信）</li>



<li>クーポンによる割引に対応</li>



<li>送料に対応</li>
</ul>



<p>= ライブラリ =</p>



<ul class="wp-block-list">
<li><a href="https://github.com/tecnickcom/tcpdf/">TCPDF</a>.</li>
</ul>



<p>= フィルター =</p>



<ul class="wp-block-list">
<li>多数のフィルターを用意しました。詳しくは、readme.txt か、<a href="https://ja.wordpress.org/plugins/pdf-invoice-japan-for-woocommerce">プラグインページ</a>をご覧ください。</li>



<li>&#8216;invoice_japan_order_generate_html&#8217; フィルターを使うと請求書の書式を丸ごと変更できます。例えば代引き手数料は、標準のWooCommerce では対応していずにサードパーティー製のプラグインを併用している場合があるかと思いますが、その辺りの処理をここに書いて付け加えるなどができます。php の知識が必要です。このプラグインからの２次的なビジネスに繋がるかもしれないので、興味のある方はチャレンジしてみてください。</li>



<li>&#8216;invoice_japan_tcpdf_off&#8217; と &#8216;invoice_japan_pdf_write&#8217; の２つのフィルターを組み合わせて使うと、標準の PDF 生成ライブラリの TCPDF をオフにして、外部ライブラリを使用して、PDF を生成できます。こちらも２次的なビジネスに繋がるかもしれません。</li>
</ul>



<h3 class="wp-block-heading">動作</h3>



<p>公開当時の動画（2023年4月4日）<strong>YouTube</strong></p>



<figure class="wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="PDF Invoice Japan for WooCommerce" width="500" height="375" src="https://www.youtube.com/embed/Qte0pZ-Fnfk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>決済単位でメール送信のタイミングを設定できるようになり、「<a href="https://ja.wordpress.org/plugins/woocommerce-for-japan/" target="_blank" rel="noreferrer noopener">Japanized for WooCommerce</a>」の「銀行振込 (日本国内向け)」「郵便振替」に対応した動画。（2023年9月21日）Ver 1.06～</p>



<figure class="wp-block-video"><video height="804" style="aspect-ratio: 1390 / 804;" width="1390" controls src="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan_bankjp.mp4"></video></figure>



<p>手数料に対応した動画。（2023年11月12日）Ver 1.28～</p>



<figure class="wp-block-video"><video controls src="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan-fee.mp4"></video></figure>



<p>管理画面から、再送できるようにした動画。（2023年11月26日）Ver 1.30～</p>



<figure class="wp-block-video"><video height="748" style="aspect-ratio: 1390 / 748;" width="1390" controls src="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan-resend.mp4"></video></figure>



<p>マイページから、再送できるようにした動画。（2024年2月10日）Ver 1.33～</p>



<figure class="wp-block-video"><video height="816" style="aspect-ratio: 1234 / 816;" width="1234" controls src="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoice-japan-mypage-email.mp4"></video></figure>



<h3 class="wp-block-heading">謝辞</h3>



<p>プラグインを作成していく際に、<a href="https://twitter.com/yamasaki_da">山崎大祐</a> さんにテストしていただき貴重な数々の助言を賜りました。あらためて感謝を申し上げます。また、このプラグインの<a href="https://profiles.wordpress.org/yamasakidaisuke/#content-plugins">貢献者</a>として登録いたしました。</p>



<h3 class="wp-block-heading">ライブサイト</h3>



<p>ライブサイトを公開（2024年3月8日）して、ドキュメントをそちらに移動しました。テスト購入でプラグインの動作を体験できます。</p>



<style>
.simpleblogcard_img_block8ed23f2aa44ccba0674f6e75f42b3968 {
  float: right;
  padding: 10px;
}
.simpleblogcard_border8ed23f2aa44ccba0674f6e75f42b3968 {
  border-left: solid 8px #cd162c;
  padding: 0.25em 0.25em;
  background: transparent;
}
.simpleblogcard_title8ed23f2aa44ccba0674f6e75f42b3968 {
  line-height: 155%;
  font-weight: bold;
  display: block;
}
.simpleblogcard_description8ed23f2aa44ccba0674f6e75f42b3968 {
  line-height: 155%;
  color: #333;
}
</style>
<div class="simpleblogcard_wrap">
			<a style="text-decoration: none;" href=https://invoicejapan.riverforest-wp.info/>
				<figure class="simpleblogcard_img_block8ed23f2aa44ccba0674f6e75f42b3968">
			<img decoding="async" style="border-radius: 5px; width: 200px; height: 64px;" src="https://invoicejapan.riverforest-wp.info/wordpress/wp-content/uploads/2024/03/banner-772x250-1-300x97.jpg" alt="インボイス Japan ライブサイト – テスト購入により、PDF Invoice Japan for WooCommerce の動作を体験できます。" />
		</figure>
		<div class="simpleblogcard_inner">
		<div class="simpleblogcard_border8ed23f2aa44ccba0674f6e75f42b3968">
			invoicejapan.riverforest-wp.info			<div class="simpleblogcard_title8ed23f2aa44ccba0674f6e75f42b3968">
				インボイス Japan ライブサイト – テスト購入により、PDF Invoice Japan for WooCommerce の動作を体験できます。			</div>
							<div class="simpleblogcard_description8ed23f2aa44ccba0674f6e75f42b3968">
					このサイトは、WordPress.org のプラグインディレクトリで公開されている以下のプラグインを体験するサイトです。ショップ内で商品を購入されると、メールに 適格請求書 の P&#8230;				</div>
					</div>
	</div>
	<div style="clear: both;"></div>
	</a>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.riverforest-wp.info/pdf-invoice-japan-for-woocommerce/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		<enclosure url="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan_bankjp.mp4" length="24173959" type="video/mp4" />
<enclosure url="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan-fee.mp4" length="20909043" type="video/mp4" />
<enclosure url="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoicejapan-resend.mp4" length="16505640" type="video/mp4" />
<enclosure url="https://blog.riverforest-wp.info/wp-content/uploads/20230326/invoice-japan-mypage-email.mp4" length="16984683" type="video/mp4" />

			</item>
	</channel>
</rss>
