department of informatics

Online Financial Services

Printer-friendly versionSend by emailPDF version

YellowBill Invoice by Muaz Cisse

YellowBill Invoice 1.2.3 is an application which generates XML files as well as invoices in a PDF format, from inputs from a web form. Files must be then submitted to PostFinance with an HTTP-upload. YellowBill Invoice 1.2.3 does not assist the web services. It was designed by Muaz Cisse as part of his Bachelor Thesis.
The application is designed to convert information obtained from a web form to XML format. It also generates a PDF invoice from the information. The final output of the application is a zip file containing the XML and PDF files. The zip file can either be downloaded by the user or emailed to an address specified by the user.

Anyone wishing to generate the XML first have to complete a web form with the necessary information pertaining to the bill and payment such as amount, payment date, etc. After submitting the form, two files are generated:

  1. An XML file which contains information relative to the bill and which can then be forwarded to PostFinance;
  2. An invoice in PDF format.

An explanation of the YellowBill Invoice web service functionalities (features) follows:

  1. Fields validation: validates data entered into each field of the form to match its corresponding XML entry;
  2. Tooltips: each field has a tooltip which explains it and gives an example;
  3. New fields can be added dynamically;
  4. The possibility of previewing the invoice before generating the XML file;
  5. File can be either downloaded or emailed depending on the user's choice;
  6. Interface in several languages (No translation available yet); 

Configuration

This application was created using PHP version 5.2.5. The following modules should be activated:

  • APACHE
    • mod_rewrite
  • PHP
    • extension=php_zip.dll
    • extension=php_zlib_filter.dll
    • xml

Installation

  1. Copy all the files of the application in a single directory on the server;
  2. Modify the parameters in the config.php for sending email;
  3. Change the access right to the files directory to 777 (CHMOD 777);
  4. If you want to delete the files generated after a given interval, please view the intall.txt file in the zip file.
  5. And that's all

Download

The application can be downloaded as a zip file under the MIT License.

Support

Please submit your questions, suggestions, patches, bugs and such to the IS group.

Authors' Website

Back to top