Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016175
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-03-09 09:552011-05-13 09:23
ReportermaiteView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionf1d8412beedc
ProjectionnoneETAnoneTarget Version2.50MP28
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP27SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016175: According to law, Reversed Invoices should follow its own DocumentSequence

DescriptionAccording to law, Reversed Invoices should follow its own Document Sequence.

That information is contained in "Real Decreto 1496/2003":

"Real Decreto 1496/2003, de 28 de noviembre, por el que se aprueba el Reglamento por el que se regulan las obligaciones de facturación, y se modifica el Reglamento del Impuesto sobre el Valor Añadido.

Artículo 6. Contenido de la factura.

1. Redacción según Real Decreto 1789/2010, de 30 de diciembre.Toda factura y sus copias contendrán los datos o requisitos que se citan a continuación, sin perjuicio de los que puedan resultar obligatorios a otros efectos y de la posibilidad de incluir cualesquiera otras menciones:

  1.Número y, en su caso, serie. La numeración de las facturas dentro de cada serie será correlativa. Se podrán expedir facturas mediante series separadas cuando existan razones que lo justifiquen y, entre otros supuestos, cuando el obligado a su expedición cuente con varios establecimientos desde los que efectúe sus operaciones y cuando el obligado a su expedición realice operaciones de distinta naturaleza.

No obstante, será obligatoria, en todo caso, la expedición en series específicas de las facturas siguientes:

1. Las expedidas por los destinatarios de las operaciones o por terceros a que se refiere el artículo 5 , para cada uno de los cuales deberá existir una serie distinta.
2. Las rectificativas.
3. Las que se expidan conforme a la disposición adicional quinta del Reglamento del Impuesto sobre el Valor Añadido, aprobado por el artículo 1 del Real Decreto 1624/1992, de 29 de diciembre. "
Steps To Reproduce1. Sales Management || Transactions || Sales Invoice || Header: create invoice for any BP and any product
2. Complete it and Void it
3. Realize that associated invoice uses same document type and sequence that original invoice.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0012441 newjonalegriaesarte Localization Pack: Spain Corrective Invoices 
depends on backport 00165962.50MP28 closeddalsasua Openbravo ERP According to law, Reversed Invoices should follow its own DocumentSequence 
blocks defect 0016029 closeddalsasua Localization Pack: Spain Voided invoices are not taken into account in Invoice Register Book 

-  Notes
(0034676)
psanjuan (manager)
2011-03-09 10:07
edited on: 2011-03-11 11:48

OB does not support "Facturas Rectificativas" (Corrective Invoices) functionality as such. There is already a feature request created. See issue number: 0012241

It is also true that Void invoices must follow a specific document sequence numbering but that is not possible because a void invoice is exactly the same document as an invoice (either an AP Invoice or an AR Invoice), unless a new document type (such as Factura Rectificativa) is setup as "Document Cancelled" for a given document type, let's say "AR Invoice" in the Document Definition window.

We strongly recommend not to use Void action but a new document type as described above, which is about to be included in Core, named "Corrective Invoice".
Its behaviour is going to be the same as an invoice but:
- these new invoice type will follow a different number sequence
- these new invoices must clearly stated the "Corrective Invoice" while being printed, as well as the reason for the correction and the invoice/s being corrected. That will be included in the "Description" field

(0035519)
hgbot (developer)
2011-04-04 11:31

Repository: erp/devel/pi
Changeset: f1d8412beedc642d53aee28a1cf8dadbb2a9cdd8
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Apr 01 12:18:33 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f1d8412beedc642d53aee28a1cf8dadbb2a9cdd8 [^]

Fixes issue 16175: According to law, Reversed Invoices should follow its own DocumentSequence.

---
M referencedata/standard/Initial_Setup.xml
---
(0035538)
ioritzCia (developer)
2011-04-04 13:04

* Testing the issue

1. Sales Management || Transactions || Sales Invoice || Header: create invoice for any BP and any product
2. Complete it and Void it
3. Realize that associated invoice uses a new document type and sequence that original invoice.

* Other areas affected.

No other areas affected.

* Issue resolution:

This issue has been solved creating two new document types (Reversed Sales Invoice and Reversed Purchase Invoice) each one with it's own secuence. These two new document types has been configured as the cancelled documents of Sales Invoice and Purchase Invoice. This change has been done in the dataset. If you are not using the dataset or you are using any other document types and you are facing the same roblem, you can change it manually.
(0036101)
hgbot (developer)
2011-04-26 16:25

Repository: erp/devel/pi
Changeset: 0735ae63ec2bbc9140b41f6269c7b24d44c43b94
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Apr 14 17:25:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0735ae63ec2bbc9140b41f6269c7b24d44c43b94 [^]

Issue 16175: Sample Data updated to this issue's commit.

---
M referencedata/sampledata/F_B_International_Group.xml
---
(0036766)
hudsonbot (developer)
2011-05-12 13:26

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test
(0036893)
hgbot (developer)
2011-05-12 13:44

Repository: erp/devel/pi
Changeset: ad377edeedcd8ac6e11acd7df6aa5ba19b0745bc
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu May 12 12:24:34 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ad377edeedcd8ac6e11acd7df6aa5ba19b0745bc [^]

[cleanup] Reapplied changeset 0735ae63ec2b
Issue 16175: Sample Data updated to this issue commit

---
M referencedata/sampledata/F_B_International_Group.xml
---
(0036935)
hudsonbot (developer)
2011-05-13 06:23

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d221ad9e329e [^]

Maturity status: Test
(0036948)
maite (developer)
2011-05-13 09:23

verified

- Issue History
Date Modified Username Field Change
2011-03-09 09:55 maite New Issue
2011-03-09 09:55 maite Assigned To => dalsasua
2011-03-09 09:55 maite Modules => Core
2011-03-09 10:04 maite Issue Monitored: networkb
2011-03-09 10:07 psanjuan Note Added: 0034676
2011-03-09 10:07 psanjuan Relationship added related to 0012441
2011-03-09 11:19 psanjuan Note Edited: 0034676 View Revisions
2011-03-10 13:58 psanjuan Relationship added blocks 0016029
2011-03-10 14:00 psanjuan Note Edited: 0034676 View Revisions
2011-03-10 15:02 psanjuan Note Edited: 0034676 View Revisions
2011-03-10 15:03 psanjuan Note Edited: 0034676 View Revisions
2011-03-11 11:48 psanjuan Note Edited: 0034676 View Revisions
2011-03-31 16:17 ioritzCia Status new => scheduled
2011-03-31 16:17 ioritzCia fix_in_branch => pi
2011-04-04 11:31 hgbot Checkin
2011-04-04 11:31 hgbot Note Added: 0035519
2011-04-04 11:31 hgbot Status scheduled => resolved
2011-04-04 11:31 hgbot Resolution open => fixed
2011-04-04 11:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f1d8412beedc642d53aee28a1cf8dadbb2a9cdd8 [^]
2011-04-04 13:04 ioritzCia Note Added: 0035538
2011-04-26 16:25 hgbot Checkin
2011-04-26 16:25 hgbot Note Added: 0036101
2011-05-12 13:26 hudsonbot Checkin
2011-05-12 13:26 hudsonbot Note Added: 0036766
2011-05-12 13:44 hgbot Checkin
2011-05-12 13:44 hgbot Note Added: 0036893
2011-05-13 06:23 hudsonbot Checkin
2011-05-13 06:23 hudsonbot Note Added: 0036935
2011-05-13 09:23 maite Note Added: 0036948
2011-05-13 09:23 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker