04.10.2012 Views

Handbuch ESR

Handbuch ESR

Handbuch ESR

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The BillerID and the TransactionID are expected as parameters to be passed. The downloaded file is<br />

returned in a structure of the type DownloadFile.<br />

public class DownloadFile<br />

{<br />

public byte[] Data;<br />

public String Filename;<br />

}<br />

It contains the Filename and the content in the form of a binary stream (Data). Now you can save it into<br />

a file. Any further processing of the invoice is in the responsibility of the biller.<br />

3.1.2.3 GetInvoiceList (omitted)<br />

This method is omitted. It’s recommended to use the GetInvoiceListWithIDs method instead.<br />

The method returns a list of available downloads with the most important details. The interfaces are as<br />

follows:<br />

Report[] GetInvoiceList( String BillerID, bool ArchiveData );<br />

The method expects the BillerID and the ArchiveData flag as parameters to be passed. For listing already<br />

downloaded bills, the ArchiveData flag must be set to true. The result will be returned as an array of<br />

type Report with the following structure.<br />

public class Report<br />

{<br />

public DateTime DeliveryDate;<br />

public String FileType;<br />

public int Count;<br />

}<br />

This type of report entry corresponds to a daily report for each file type. The DeliveryDate is the invoice<br />

date supplied by the biller when uploading it. The FileType may be "RGXMLSIG" or "EDIFACT". Count<br />

contains the number of downloadable files with the same DeliveryDate. This information may be used for<br />

the download methods.<br />

3.1.2.4 GetInvoice (omitted)<br />

This method is omitted. It’s recommended to use the GetInvoiceByID method instead.<br />

The method allows signed invoices to be downloaded of the given DeliveryDate.<br />

DownloadFile[] GetInvoices( String BillerID, DateTime DeliveryDate, boolean<br />

ArchiveData );<br />

The method expects the BillerID and the ArchiveData flag as parameters to be passed. For listing already<br />

downloaded bills, the ArchiveData flag must be set to true. Each downloaded file is returned in a<br />

structure of the type DownloadFile.<br />

public class DownloadFile<br />

{<br />

public byte[] Data;<br />

public String Filename;<br />

}<br />

It contains the Filename and the contents in the form of a binary stream (Data). You now save it into a<br />

file. Any further processing of the invoice is the biller’s responsibility.<br />

3.1.2.5 GetProcessProtocolList<br />

This method returns a list of available downloads with the most important details. The interfaces are as<br />

follows:<br />

Report[] GetProcessProtocolList( String BillerID, boolean ArchiveData );<br />

They expect the BillerID parameter (unique identifier of biller) to be passed. The result is returned in the<br />

form of an array of type ProtocolReport with the following structure.<br />

6/19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!