Notes |
|
|
What the law says is that both the purchase invoices and the sales invoices must be taken in the VAT books by the Invoice Date. Anyway, we will adjust the books by adding two parameters in each book:
- use invoice date
- use accounting date
The VAT can be allocated to the period in which those are posted (rather than by the time of devengo, which is what the law says, because there is a period of 4 years for VAT settlement). That is the reason why invoices are taken in the VAT reports by accounting date, which means that the invoices have been either issued or received. |
|
|
(0038604)
|
hgbot
|
2011-06-29 17:23
|
|
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 786b08e4059737779a19cffd250a15da58b336be
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jun 23 16:41:21 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/786b08e4059737779a19cffd250a15da58b336be [^]
fixes issue 14759: Sales invoices and Purchase invoices should either been taken by invoice date or accounting date in the books
---
M src-db/database/model/tables/OBIRB_INVBOOK.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
|
|
|
(0038606)
|
hgbot
|
2011-06-29 17:23
|
|
|
|
(0038737)
|
hgbot
|
2011-07-04 10:54
|
|
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 1d9252adc9bb7d97978baba01bfc4fd920d62dfa
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jul 01 14:49:05 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/1d9252adc9bb7d97978baba01bfc4fd920d62dfa [^]
issue 13313,issue 16097,issue 16450,issue 14759,issue 17583
---
M src-db/database/model/functions/OBIRB_GETOPERATIONDATE.xml
M src-db/database/model/tables/OBIRB_INVBOOK.xml
M src-db/database/model/tables/OBIRB_INVBOOK_SETUP.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
---
|
|
|
(0038758)
|
psanjuan
|
2011-07-05 09:23
(edited on: 2011-07-05 09:28) |
|
Invoice Register Book is not working properly as described in the scenario below, in the case of Sales (same applies to Purchase):
Create a Good Shipment (1) dated on:
Movement date = 10-08-2011
Accounting date = 11-08-2011
Create another Good Shipment (2) dated on:
Movement date =05-07-2011
Accounting date = 25-07-2011
Create a new sales invoice by taking into account above good shipments.
Invoice date = 20-08-2011
Accounting date = 10-09-2008
Setup de Sales Invoice book to take the sales invoices by accounting date.
Launch the Sales invoice book for August 2011.
Above sales invoice must not be shown but it is shown, which is not right.
Right behaviour:
(1) In the case of selecting "Accouning date", the invoice above should be shown in the sales book of September.
(2)In the case of selecting "invoice date", the invoice above should be shown in the sales book of August.
It is not just a matter of selecting which type of date (Invoice date or Accounting date) must be shown but also which date must be used to generate the sales book based on the dates entered in the fields "From Period" "To Period" while launching the books.
|
|
|
(0038794)
|
hgbot
|
2011-07-05 18:18
|
|
|
|
|
|