Skip to main content
Solved

Issue to make a credit invoice

  • March 4, 2026
  • 7 replies
  • 26 views

Forum|alt.badge.img+11

Hello.

A user reported to us an issue by trying to make a credit invoice from a customer invoice. IFS showed no error, just, the new document is not created.

Customer order :

Order no : E10000006421

Wanted delivery date : 01/12/2023

State : partially delivered

Total amount : 7279.76 €

Line 1 : Qty : 4, Qty delivered : 4, sale price total : 218.16 €

Line 2 : Qty : 5, Qty delivered : 4, sale price total : 7061.60 €

++++++++++++++++

Invoice 1 : 

Number CD240000871

State : PostedAuth

Created : 10/02/2023

Total amount : 218,16 € (line 1 on the customer order)

++++++++++++++++

Invoice 2 : 

Number CD250001104

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

++++++++++++++++

Invoice 3 (credit type) :

Number : CR250000104

Credit on the invoice number CD250001104

State : PostedAuth

Created : 10/02/2023

Total amount : -1412,32€

++++++++++++++++

Invoice 4 

Number : CD250002453

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

++++++++++++++++

Invoice 5 (credit type) :

Number : CR250000104

Credit on the invoice number CD250002453

State : PostedAuth

Created : 10/02/2023

Total amount : -1412,32€

+++++++++++++++++

Invoice 6

Number : CD260000187

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

+++++++++++++++++

Invoice 7

Number : CD260000418

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

 

 

Our user would need to create a credit invoice on CD260000187. IFS says the customer order 

Hello.

A user reported to us an issue by trying to make a credit invoice from a customer invoice. IFS showed no error, just, the new document is not created.

Customer order :

Order no : E10000006421

Wanted delivery date : 01/12/2023

State : partially delivered

Total amount : 7279.76 €

Line 1 : Qty : 4, Qty delivered : 4, sale price total : 218.16 €

Line 2 : Qty : 5, Qty delivered : 4, sale price total : 7061.60 €

++++++++++++++++

Invoice 1 : 

Number CD240000871

State : PostedAuth

Created : 10/02/2023

Total amount : 218,16 € (line 1 on the customer order)

++++++++++++++++

Invoice 2 : 

Number CD250001104

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

++++++++++++++++

Invoice 3 (credit type) :

Number : CR250000104

Credit on the invoice number CD250001104

State : PostedAuth

Created : 10/02/2023

Total amount : -1412,32€

++++++++++++++++

Invoice 4 

Number : CD250002453

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

++++++++++++++++

Invoice 5 (credit type) :

Number : CR250000104

Credit on the invoice number CD250002453

State : PostedAuth

Created : 10/02/2023

Total amount : -1412,32€

+++++++++++++++++

Invoice 6

Number : CD260000187

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

+++++++++++++++++

Invoice 7

Number : CD260000418

State : PostedAuth

Created : 10/02/2023

Total amount : 1412,32 € (line 2 on the customer order)

 

 

Our user would need to create a credit invoice on CD260000187. IFS says the customer order E10000006421 has existing credit invoices, the credited amount is 3389,56 € but still, nothing is done by the application.

Can someone provide a solution to this issue?

Thanks.

IFS 10 UPD 5

 

Best answer by Pilar Franco

Hi ​@romsar,

I checked this error in the code and it’s raised when the tax liability is EXEMPT and you are using a tax percentage different than 0. Check the tax liability used in Customer Order and align it with the tax codes used in the invoice.

Regards,

Pilar

7 replies

Forum|alt.badge.img+17
  • Superhero (Employee)
  • March 4, 2026

Hi ​@romsar,

Have you checked if there are any other credit invoices in Printed status with any error in “Customer Invoices with Errors” page?

When you try to create the new credit invoice, what is the result in background job?

Regards,

Pilar


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • March 4, 2026

hello ​@Pilar Franco 

there is indeed an error both “customer invocies wtih errors” and in background job screens.

In background job, this error message is returned :

TaxHandlingUtil.INVTAXCODE2: You are not allowed to use tax codes of type ‘Tax’ with a percentage greater than 0%

 

Our user doesn’t understand the meaning of this message and they never got such an issue before


Forum|alt.badge.img+17
  • Superhero (Employee)
  • Answer
  • March 4, 2026

Hi ​@romsar,

I checked this error in the code and it’s raised when the tax liability is EXEMPT and you are using a tax percentage different than 0. Check the tax liability used in Customer Order and align it with the tax codes used in the invoice.

Regards,

Pilar


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • March 5, 2026

Hello ​@Pilar Franco 

thanks for your reply but I don’t fully understand the source of the problem.

That’s right that on the customer order, there is a line in which we have Tax liability = EXEMPT, but it’s on line 1 and the line 1 is fully paid. The problem occurs on line 2 in which Tax liability = TAX


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • March 5, 2026

okay, my bad, I was working on a copy of our production environnement which lasted 2 weeks before, and the customer order got updated after the copy. Today in production, both lines are flagged as EXEMPT


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • March 5, 2026

Our user fixed their issue. thanks again ​@Pilar Franco for your help


Forum|alt.badge.img+17
  • Superhero (Employee)
  • March 5, 2026

Our user fixed their issue. thanks again ​@Pilar Franco for your help

Happy to help ​@romsar !. I’m glad you would be able to sort it.