Hello,
I'm having a problem when trying to add the ImporteTotal (Total Amount) to the files exported to the Spanish Tax Agency.
In the SII Setup there is a parameter to include it in the files.
But when activated the node was still missing.
I've looked up the codeunit 10750 "SII XML Creator", function PopulateXMLWithSalesInvoice*, and the condition to include it is not only dependent from that parameter, it also depends from other values from SII like invoice type and special scheme code:
*In this example I showed a case with Sales Invoices but the Purchase Invoices have a similar setting ("FacturasEmitidas" and "FacturasRecibidas").
A great number of invoices are type 'F1' and special scheme code '01' so that node will not be included.
It seems to me that "and" from that I'm marking in the screenshot should be an "or", maybe it is correct but I don't understand the reason behind it, that node is an optional node that is not required in the file but when exporting the invoices from the Spanish Tax Agency helps having the total amount in one field.
Also I have the problem that some parts of the SII solution in BC is hardly customizable, especially on cloud, in this case I didn't see a non-convoluted way to add that node.
Can someone confirm me if the condition has any reason to be? And if the answer is no, is there anything that I can do or it can be fixed/modified in the future?
Regards and thanks in advance