Login  Register

Re: Dev - Manual invoices and tax adjustments

Posted by Hans Bakker on May 02, 2006; 2:36pm
URL: http://ofbiz.116.s1.nabble.com/Dev-Manual-invoices-and-tax-adjustments-tp167837p167843.html

Jacopo,
Good idea, looked into it but ran out of time.
Is it then possible to calculate for example 19% sales tax on all items and
add this in a single extra item?

Hans


On Tuesday 02 May 2006 19:29, Jacopo Cappellato wrote:

> Hi all,
>
> I need to implement tax adjustments for manual invoices and I'd like to
> quickly discuss with you the design of this because I'd like to put it
> into the OFBiz codebase.
>
> Requirement: I need a way to calculate taxes to apply to a manual
> invoice (e.g. an invoice with no order associated to it)
>
> Use case:
> - a user (or a batch service) manually enter an invoice header and one
> or more invoice items
> - after that all the invoice items for the products have been entered,
> the user clicks on a "create tax adjustments" link and the InvoiceItems
> entries for the taxes are added to the invoice
>
> Implementation details:
> - a new service will be implemented "createTaxAdjForInvoice" that takes
> as input the "invoiceId" and returns the list of adjustments
> (InvoiceItems) or write them to the db
> - the service above will simply prepare the data to invoke the "calcTax"
> service (so all the settings in the tax data model will be considered)
>
> Questions: with this design, all the InvoiceItems that store tax
> information will be appended at the end of the invoice items; is this a
> problem? Is there a way to associate an InvoiceItem to another one (such
> as the tax adjustments to the product to which they refer) other than
> the position (and their sequence)?
>
> Thanks,
>
> Jacopo
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

attachment0 (196 bytes) Download Attachment