SAP Knowledge Base Article - Public

2922833 - Invoice ID of the Cancellation Invoice With the Tax Country Spain is Not the Expected one.

Symptom

You are canceling an Invoice with the Tax Country Spain. The Invoice ID of the Cancellation Invoice is not the expected one.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Customer Invoicing work center.
  2. Select the Invoice Documents view.
  3. Select Invoice XYZ (XYZ represents the invoice ID).
  4. Click on the Cancel button.
  5. Click on the Save button.
  6. The Invoice ID of the Cancellation Invoice is not the expected one.

Cause

Due to a legal requirement for the country Spain the Document Numbering logic for Cancellation Invoices was changed with release 2005.

Previously the Cancellation Invoice would have used the same document numbering rule as the Invoice and there was no option to maintain a separate numbering range for a Cancellation Invoice.

With release 2005, a separate Numbering Range has been introduced for Country Spain and Invoice Type Cancellation.

If you have not maintained a numbering rule for the Invoice Type Cancellation Invoice the system will not as in the previous releases use the numbering Range for the Document Type Invoice but the system will use the Global numbering rule.

Resolution

You can maintain a numbering rule for Tax Country Spain and  Invoice Type Cancellation Invoice as follows:

  1. Go to the Business Configuration work center.
  2. Select the Implementation Projects view.
  3. Select your project and click on the Open Activity List button.
  4. Navigate to the Fine-Tune step.
  5. Open the fine tuning activity Document Numbering Formats for Customer Invoicing.
  6. Click on the Define document numbering formats for other countries hyperlink.
  7. Click on the Add Row button and select the respective Company.
  8. Select the Tax Country Spain, select the Document Type Cancellation Invoice and maintained the prefix and other relevant data.  
  9. Save you changes.

Keywords

Document Numbering; Cancellation Invoice; Spain; Document numbering rule; Invoice ID; wrong; Prefix; , KBA , AP-CI-CI-GLO , Cross-Country Extensions , AP-CI-CI , Customer Invoice , Problem

Product

SAP Business ByDesign 2005 ; SAP Business ByDesign 2008