Es kann keine Stornorechnung und keine Gutschrift erzeugt werden. Das schon seit mindestens Version 6.6.10.3
Mit dem Update auf Version 6.6.10.4 war die Hoffnung, dass dieses Problem behoben wurde. Auch wenn Gutschriftposition hinzugefügt ist, kann keine Gutschrift erzeugt werden. Die Rechnung ist erzeugt, aber es kann keine Stornorechnung erzeugt werden.
Die Checkboxen Gutschrift und Stornorechnung sind nicht anklickbar.
Du musst eine Rechnung erstellen, dann funktioniert es. Bei einer Rechnung mit ZUGFeRD gibt es einen Bug.
offen 01:02PM - 13 Mar 25 UTC
geschlossen 08:52AM - 13 May 25 UTC
priority/high
no-sync
Platform(Default)
domain/crm-after-sales
*PHP Version:* 8.3 | *Shopware Version:* 6.6.10.2 | *Affected area / extensio… n:* Platform(Default)
----
*_Actual behaviour:_*
If I switch to an order and create a new invoice PDF with an embedded ZUGFerd e-invoice and then want to create a new cancellation invoice, I cannot create it. The reason given is that no invoice has been created. However, if a ‘normal’ invoice is created, a cancellation invoice can be created.
*_Expected behaviour:_*
A cancellation invoice can be created as there is an invoice with ZUGFerd.
*_How to reproduce:_*
Create a new invoice and ZUGFerd in an order under Documents. Then try to generate a cancellation invoice for this.
offen 08:52AM - 25 Apr 25 UTC
priority/high
Platform(Default)
domain/crm-after-sales
### Shopware Version
6.7.0.0-RC2
### Affected area / extension
Platform(Defau… lt)
### Actual behaviour
Description:
When attempting to create a credit note for an order that already has an associated invoice and credit position, the process fails with the following error message:
"No credit positions found for the orderId..."
Root Cause:
The issue lies in the way the CreditNoteRenderer retrieves order data. It checks for an existing invoice and attempts to load the order using the order_version_id from the document table. However, due to version merging, this version ID no longer has corresponding entries in the order_line_item table—only in the order table.
As a result, the getOrder function successfully retrieves the order using the version ID from the document table, but the returned order object contains no line items, causing the credit note generation to fail.
### Expected behaviour
The credit note should be generated correctly even when the order's version has been merged, and the line items exist only in the live version.
### How to reproduce
Create a new order.
Generate an invoice for this order.
Add a credit position to the order.
Attempt to create a credit note document.
Result:
The system throws the error:
"No credit positions found for the orderId..."