Skip to Content
0

Fatture Emesse e Ricevute

Aug 01, 2017 at 09:12 AM

3.7k

avatar image
Former Member

Hi,

on September 18th it has been set the deadline for communicating all invoices issued and received to Italian tax authorities in xml format.

I cannot find any related note to this legal requirement: do you know if SAP will release notes for this topic?

Thank you.

Stefania Ballini

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

31 Answers

Morandi Cristina Sep 27, 2017 at 07:32 AM
1

Hi,

For extracee Customer in XML file we obtain:

<IdPaese>OO</IdPaese> <IdCodice>99999999999</IdCodice>

but we received errors from the Agenzia delle entrate.

I searched in internet and someone suggest to insert in "PAESE" the customer country, and in "IDCODICE" a customer identify (name or internal number) (Ove la cessione/prestazione è resa ad un operatore soggetto extracomunitario, i campi da valorizzare sono 2.2.1.1.1 <IdPaese> e 2.2.1.1.2 <IdCodice>: nel primo verrà inserito l’identificativo del paese extracomunitario (es. US per Stati Uniti) e nel secondo qualsiasi estremo identificativo del soggetto cessionario/committente di cui si dispone.)

Do you have any standard suggestion to do this ? there is some change to do to obtain this ?

thanks, Cristina

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Dear Cristina,

I wrote the same on this thread: https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=196772007

This is a really new specification made by AdE.

I'm waiting for a SAP fix made via OSS note.


Davide

1

SAP issued a new OSS note

2538580 - RFIDITINV: Deferred tax, partner modification, amount aggregation, and additional business cases

to correct a lot of errors.

Ciao

0
Former Member

Do you have solved? Before note 2538580 it works fine (I found OO999999999) for every customers without tax id (for example customs) but after I find "IT999999999". Watching program's code I see that program puts 'OO' only if country is initial. But country is always mandatory, I don't find how done it not mandatory.

Thank for your reply.

0
BENOIT PANISSET Aug 14, 2017 at 11:38 AM
0

Hi, Please check this OSS note

2485756 - RFIDITINV: New quarterly invoice data declaration for Italy.

I think it will replace Spesometro treatment

Regards

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 16, 2017 at 07:19 AM
0

Hi to everyone,

I tried to install note 2485756, but I got following error on include RFIDITINV_FORMS "Relational operator "AND" is not supported.": anyone else got the same error? If it is so, how do you solve it? I meant I know the reason why the syntax error is arised and I could solve it manually, but I suppose a new note version will be released to solve it (or at most a new note), isn't it?

Best regards

Davide Apollonio

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 21, 2017 at 01:42 PM
0

Someone has parameterized the FIITINV_TAXCODEV and FIITINV_DOCTYPEV tables in SAP.

Also how do you launch the ITINVOICE transaction?

Best Regards

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Giovanni,

i don't understand how parameterized these tables FIITINV_TAXCODEV and FIITINV_DOCTYPEV. There is no documentation. Did you find it?

best regards,

Filippo

0
Former Member

Hi

The parameterization must be provided by the customer for whom you are working

Best Regards

0
Former Member

Hi together,

we do have difficulties to understand how the tables FIITINV_TAXCODEV and FIITINV_DOCTYPEV have to be customized. Did anybody finished customizing successfully and would be so kind to upload a screenshot?

Thanks in advance

Best Regards

Saskia

0
avatar image
Former Member Aug 25, 2017 at 01:36 PM
0

Yes I did: relaunching a couple of time the "generate maintenance" until you get only green lights (third step of report NOTE_2502477) the syntax error should disappeared, it worked for me.

Mario Balladori

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 14, 2017 at 04:05 PM
0

Dear Colleagues,

could you confirm that all the amounts of the documents extracted and writte in the XML files have a value always > 0?

I cannot see any document with minus, even credit note.

thanks

Show 10 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Daniele,

what you say is true, we also found the same problem. Moreover in the file often the invoices are reported as credit notes or vice versa.

Today I opened an OSS ticket to report these issues. SAP is investigating the problem.

Regards,

Davide

0

Did you receive and feedback on this from SAP? Could you check, whether you possibly have the problem, that I have, namely output tax is reported in the wrong XML structure (DTR versus DTE)?

0
Former Member

Hi Davide,

maybe the fact that amounts are an absolute value is the correct choice since we declare also the TD01 - 04-05-10-11?

CHeers

0

Hi all,

I also think that absolute values could be corrected, but I think it is wrong when I have an invoice like this, two positions:

1) 1000 with VAT 22% ---> + 1000 + 220

2) - 200 with VAT 10% ---> - 200 - 20

TOTAL INVOICE = 800 + 200

System create (for one single invoice) two documents, TD01 for the first line and TD04 for the second, but in my opinion I should represent everything like TD01 and put the first positive and the second negative

Someone have the same problems?

Claudia

0
Former Member

Hi Claudia,

i tested the case.

As you said SAP fill document type

TD01 for the first 1000 with VAT at 22% ---> + 1000 + 220

TD04 for the second - 200 with 10% --> - 200 - 20.

In the XML file under the document number i see the 2 VAT not aggregate but the second taxable amount not the -.

Both the taxable amounts are absolute values and this doesn't seem correct to me either.

cheers

0

I do see negative and positive signs for the amounts and a matching TD01 and TD04 classification, but it seems everything is reversed, that invoices get TD04 and credit memos get TD01 (even with the same document type / tax code, that is identical customizing).

But I also have the problem, that the data is output in the DTR structure (invoices received) and not in the correct DTE structure.

Any idea?

0
Former Member

I think that the minus should be shown when you have several tax amounts and one of those tax amounts reduce teh other ones.

0
Former Member
Former Member

Dear all,

to answer Daniele, Steffen and Claudia...and it can be interesting for everyone.

This is an example of issue detected by our accounting dept and advised to SAP by ticket:

This morning SAP support was logged into our system for verification and then I receive this message in the ticket:

Dear customer,

a correction will be released soon.

Thanks and Regards

So we have only to wait for the correction note.

Ciao

Davide

issue1.png (115.7 kB)
0

Ciao Davide

many thanks, very helpful.
Furthermore, what about the file format: were the output tax items written into the correct XML structure (DTE and not DTR)?

Yours,

have a nice weekend,

Steffen

0
Hi Davide, thanks for your answer, I tried to post a credit note like yours and the result is as follows:

and this is result in ITINVOICE

for me the result in column "ImponibileImporto" is correct, it has a '-' sign; instead i have two types of documents (one for position). And in XML there aren't negative sign.

I don't know why we have different results

Claudia

creditnote.png (14.0 kB)
0
avatar image
Former Member Sep 18, 2017 at 09:20 AM
-1

I have implemented all the SAP notes you mentioned. During the formal check of the XML file it seems that the file DTE is not compiled properly.

The error 00417 is raised "00417: 2.2.1.1 <IdFiscaleIVA> e 2.2.1.2 <CodiceFiscale> non valorizzati (almeno uno dei due deve essere valorizzato)".

But the VAT number is filled in the Customer master and in the line item. The report RFUMSV00 indeed extracts it.

Do you know the reason of this exception?

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi,

i am in the same situation, could some one help us?

0

Hello Sergio,

hello Francesco,

but can you confirm, that your output VAT records are indeed written to the "DTE" structure and not the "DTR" structure, if you inspect the XML file?

I have the almost identical problem, but I understand, that ITINVOCE calls RFUMSV00 and when it receives the return (by using a MEMORY ID) it writes the customer master data into the vendor fields. Consequently ITINVOICE then outputs it in a DTR structure and not DTE.

Yours,

Steffen

0
Former Member
Steffen Mallwitz

I can confirm that the two files are created. DRT for vendor and DTE for customer.

New SAP OSS note released.

2529151 - RFIDITINV: Automatic file split and incorrect official document type in output

0

O.K,, so it is different problem. Nevertheless:

"New SAP OSS note released.

2529151 - RFIDITINV: Automatic file split and incorrect official document type in output"

-> That solves my problem, as userfield_1 was implemented. This was now corrected by SAP.

KR,

Steffen

0
Guido Mauro Aug 25, 2017 at 01:59 PM
-3

Hi all,

I have problem with sales credit note in field "Type document"; I think that in this case the report has to recognize the credit note so in the field "Type document" insert 'TD04' instead od 'TD01', but it doesn't work.

In debug the problem is in

ls_summary_record-zuonr = 'D'. In my test is always 'V' and never 'D' so the type document remains 'TD01?

* determine official document type
IF ls_summary_record-qutyp = 'TD01'.
IF ls_summary_record-zuonr = 'D'.
IF ls_document_list-doc_base_sum > 0.
ls_summary_record-qutyp = 'TD04'.
ENDIF.

Someone else have the same issue?

Thank you

Mauro G

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Mauro,

I also have the same problem with the field "Type document" TD11 and TD10.

Did you solve with the field "Type document" TD04?

Thank you

0
Former Member

Hello,

Have you solved the problem?

I have the same issue.

Thank you

0
Former Member

Hello

i have the same problem.

Thank you

Best regards

0

Hi,

the problem is linked to Implementation of Badi: FI_TAX_BADI_011, method APPEND_TAX_ITEM; where it is used field

ch_tax_item-user_field_1.

Regards.

M.G.

0

I have the same problem but with TD05 because in my system there's no separation till INVOICE and DEBIT NOTE.

I open a SAP Note and SAP support team say me that they are working on this theme. I think that will be an EXIT to change program logic. I think too that FI_TAX_BADI_011 is not the correct place to change our document settings logic.

SAP don't say me when they deliver the implementation.

Regards,

Elisabetta.

0
Eli Klovski
Aug 01, 2017 at 09:17 AM
0

Hi,

Don't you mean this OSS note?

1158648 - Electronic Invoice to Public Administration - Italy

Regards,

Eli

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 17, 2017 at 04:38 PM
0

Hi all,

I've just installed SAP note 2485756 without issues in include RFIDITINV_FORMS.

After the visualization of ALV extraction (F3 BACK) I enconter this message:

"Files stored: 00000 Message IDFIIT023" and we cannot create the xml file.

Someone else have the same issue?

Regards.

Alberto

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member
Hello Alberto,
I have the same problem.
In debug I saw that the "FORM store_file" fails the "replace utf-8, or utf-16 with utf-8, remove the BOM".
I hope that a note will be issued.

Regards.
0
Former Member

With note 2519357 the problem has not been solved

1

Hi all,

2523829 - RFIDITINV: No XML file output in non-Unicode systems, fix the issue.



Mauro G.
2