メインコンテンツまでスキップ

デジタルインボイスの送付

このページでは、作成したPeppol IDを用いて、デジタルインボイスを送信する方法について説明します。

注記

デジタルインボイスの書式は「Peppol JPPINT仕様書」 をご参照ください。

インボイス XMLの例

インボイスのXMLのサンプルを下記からダウンロードしてください。

クリックしてサンプルファイルをダウンロードする

インボイスを送信

POST /v2/document_submissions/invoice

詳細はインボイス送信のAPIをご確認ください。

$ curl -X POST https://api.e-invoice.moneyforward.com/v2/document_submissions/invoice \
-d '@body.xml'

body.xml

<InvoiceSubmission>
<Payload>
<Invoice>
<!-- Please refer to Peppol specification at the top for details -->
</Invoice>
</Payload>
<LegalEntityUUID>be1c4ffd-0097-49c4-8262-da8ac3b4044e</LegalEntityUUID>
<MessageID>9712c898-9df7-4ce3-99cf-e0162bd1c79e</MessageID>
<ReceiverParticipantID>0188:0000000000001</ReceiverParticipantID>
<SenderParticipantID>0188:0000000000002</SenderParticipantID>
</InvoiceSubmission>

送信に成功すると、以下のようにMessage IDが返却されます。

{
"message_id": "082597d4-5108-482b-b0b3-11844de562c7"
}

次のページでは、デジタルインボイスの受領方法について説明します。