There is an issue happening in the Spanish version and we were suggested to open an IDEA to see if other ES partners suffer the same. Here the repro steps:
(referece RFH 543193)
1-Take a BC 24.x ES environment
2-Setup SII as usual
3-Create a new Customer:
-SANTIAGO
-Country: US
-VAT Registration No: N14086568
-Posting Groups: EXPORT
-Payment Method: Bank
-Payment Terms: PM (Present Month)
4- VAT Posting Setup:
EXPORT - VAT21 set up as follows:
21% VAT and Service = True
5-Create a Sales Invoice:
-Posting Date/Document Date: TODAY
-Customer: SANTIAGO
-Amount: 1000 -- 1210 with VAT (210 of VAT 21%)
-Invoice Type F1
-Special Scheme Code: 01-General (If you see 02 - Export, change it to 01 - General)
-Country: US
-IDType: 06 - Other Probative Document
Post the invoice.
6- Go to SII History and check the document just posted and the error:
ACTUAL RESULTS:
Error en el bloque de la Contraparte. El NIF tiene un formato erróneo. error message appears if you try to send to SII a Sales Invoice to a foreign customer with VAT Registration No. starting by N in the Spanish version.
EXPECTED RESULTS:
This only happens with Customers with VAT Registration No. starting by N.
No issues with other VAT Registration Nos.
No error message and the XML should be as follows:
NOTE: IDOtro node gets created. OKEY.

Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team