Introduction

Downloading an invoice created by the Invoicing module.

Integration

POST Request - getinvoice
Account Parameters
request
required
Fixed Value: getinvoice
mid
required
your merchant ID, 5-digit numeric
portalId
required
your Portal ID, 7-digit numeric
key
required
your key value, alpha-numeric
common Parameters
invoice_title
required
Format AN..12 

Download document referenced by PAYONE payment process id (txid).

Format: RG/GT-<<txid>>-<<sequencenumber>>

e.g. RG-16324356-0 for invoices

e.g. GT-16324356-1 for credit notes

Response Parameters
Response Parameter (approved)
contenttype

The invoice will be provide as pdf.

outputformat
Format BINARY

Binary data of the PDF document.

Response Parameter (Error)
Format NUMERIC(1..6)

In case of error the PAYONE Platform returns an error code for your internal usage.

Format CHAR(1..1024)

In case of error the PAYONE Platform returns an error message for your internal usage.

Format CHAR(1..1024)

The customermessage is returned to your system in order to be displayed to the customer.

(Language selection is based on the end customer's language, parameter "language")

Host: api.pay1.de
Content-Type: application/x-www-form-urlencoded
Payload

encoding=UTF-8
invoice_title=RG-928389428-0
key=3f03067f86ce98e80f5f01368e9e9def
mid=18318
mode=live
portalid=3039
request=getinvoice
RESPONSE
                      
contenttype=application/pdf
outputformat=data