BT-131 tradelineitem.linetotalamount - avoiding KOSIT errors and/or warnings #269
goedo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
The desc for the field is "Sum of all invoice line net amounts in the invoice". This is wrong - IMHO: "BT-131:... inkl Nachlässe".
As far as I know, it is the net amount (from quantity * unitprice) BEFORE applying allowances.
To solve this, I enhanced the desc.AddTradeLineItem adding LineTotalAmount at the end. Then my xrechnung do work (no errors, no warnings at KOSIT validator).
I had to do this - calculating the value in my calling program - because on the original invoice data (to be transformed) I only had unitprice, quantity, allowance% and net price -> but not the value before applying the allowance:
The change was 4 lines in Invoicedescriptor.cs...
I wonder if anybody else has found the same problem, and maybe solved it in a different way?
BRGDS
Roger
Possibly related to #252
Beta Was this translation helpful? Give feedback.
All reactions