AbanteCart Community

AbanteCart Development => New Features Discussion => Topic started by: Horia on June 07, 2013, 08:32:34 AM

Title: Invoice editor
Post by: Horia on June 07, 2013, 08:32:34 AM
In some European countries legislation force the seller to use a specific template for the invoice. There are also conditions for the data in the invoice (VAT value for every item, total VAT, the person who deliver the goods, seller logo, etc.)
I think that AbanteCart needs a new feature to help the admin to edit the invoice appearance, data, and even to manualy insert some data. Somehow, this feature is an invoice editor.
Title: Re: Invoice editor
Post by: abantecart on June 07, 2013, 11:53:39 PM
Might be a good idea, but more details needed.
What is editable?
How often this is changed and does it worth the effort?

Currently, template of invoice can be edited in an invoice "tpl" file
Title: Re: Invoice editor
Post by: Horia on June 08, 2013, 04:42:48 PM
Usualy, an european invoice contains the folowing data:

1. Header Section:
1.1. Title of the invoice - EDITABLE in case the invoice has a fiscal value
1.2. Serial number (prefix and number of the invoice)
1.3. Invoice date
1.4. Seller logo
1.5. Seller Data
1.5.1. Seller Name
1.5.2. Seller Registration Number  at the Comerce Office
1.5.3. Seller Code
1.5.4. Seller Addres
1.5.5. Seller phone, fax, email
1.5.6. Seller Bank Accounts
1.6. Buyer Data (there are diferences for company buyers and private person buyers). In case of companies buyer data has the same fields like Seller data. In case of private person, Registration Number is replaced by ID number and Code is replaced by Personal Identification Code.
1.7. VAT Rate (%)

2. Content section (tabelar form)
2.1. Column - Current Number
2.2. Column - Product
2.3. Column - Quantity
2.4. Column - Unit price without taxes
2.5. Column - Price without taxes (2.3. * 2.4.)
2.6. Column - VAT Value (2.5 * 1.24) = if the VAT rate is 24% as example
2.7. Subtotals Row
2.7.1. Total prices without taxes
2.7.2. Total VAT Value
2.8. Total Row ( 2.7.1. * 2.7.2.)

3. Footer Section
3.1. Data about the person who draw up the invoice (Name and ID) - EDITABLE
3.2. Data about shiping (name and ID of person who carry the goods) - EDITABLE
3.3. Date of reception
3.4. Signature for reception
3.5. Signature and stamp of the seller
3.6. Different mantions box - EDITABLE (that box can contain mantions about the goods, guarantee or fiscal mentions forcet by legislation)

If you think is necesary, I can provide you a general invoice model as a .pdf, .doc or .xml. I don't know yet how to create .tpl files.


 
Title: Re: Invoice editor
Post by: Horia on June 09, 2013, 09:03:08 AM
Here is the invoice model.
Title: Re: Invoice editor
Post by: www.PiShop.co.za on September 30, 2014, 07:37:26 AM
Do we have any feedback from AbanteCart on this.. I also have this requirement on my site now.
Title: Re: Invoice editor
Post by: abantecart on October 02, 2014, 11:25:15 AM
Let us add this into TODO list

Currently, template files can be edited directly.
Title: Re: Invoice editor
Post by: www.PiShop.co.za on October 20, 2014, 06:25:22 AM
I've been taking a look at this and I think the majority of the display type concerns can be addressed by editing the .tpl file.. what I'd love to see from a feature perspective would be an autogenerated PDF invoice that is attached to the order email when it is sent out