I am creating incoming vendor invoices with the BAPI BAPI_ACC_DOCUMENT_POST. This works really good but there is one thing I don't understand. It is the reporting country. We have the plants abroad scenario and in this way we have to handle with the reporting country.
The point I don't get is the following. I create the vendor invoice for a couple of vendors and everything is fine. The tax codes are in the header and in the line items. But there is one vendor from the same company code and the same country like the other vendors .... but in this case the reporting country is not empty (like it is with the other vendors) ... the reporting country is set to 'DE'. Which is the company code country and the vendors country also. When this is the case the tax codes cannot be filled by the BAPI (and also not within the FV60).
Can someone please explain what the reporting country is depending from? When is it switched automatically? Where can I find good documentation about it? So far I have only read that the reporting country is the company codes country...
Most of the discussions I found in the SCN regarding this topic are not answered. There are no helpful SSO-Notes. Debugging doesn't led to the required knowlege. Comparing the vendor with reporting country DE and other vendors didn't show differences that helped to understand the setting of the field.
Could someone please bring some light into the darkness?