
Invoicing Service API Guide May 2012 3
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1 Introduction to the Invoicing Service API . . . . . . . . . .11
Sending Invoices on Behalf of a Merchant. . . . . . . . . . . . . . . . . . . . . . . . . . 13
Invoicing Service API Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Creating and Sending Invoices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Managing Invoices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
IPN Variables for Invoicing API Operations . . . . . . . . . . . . . . . . . . . . . . . . . 14
Invoice Payments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Canceled Invoices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 2 Invoicing Service API Examples. . . . . . . . . . . . . . .17
HTTP Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Specifying JSON, NVP, or XML Data Formats. . . . . . . . . . . . . . . . . . . . . . 18
SOAP Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Specifying Application and Device Information . . . . . . . . . . . . . . . . . . . . . 19
Creating an Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Sending an Invoice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Creating and Sending an Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Updating an Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Obtaining Invoice Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Canceling an Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Searching for Invoices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 3 CreateInvoice API Operation . . . . . . . . . . . . . . . .25
CreateInvoiceRequest Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
RequestEnvelope Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
CreateInvoiceRequest Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
InvoiceType Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
BusinessInfoType Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Kommentare zu diesen Handbüchern