Forum Discussion

Zsuzsanna_MCHP's avatar
Zsuzsanna_MCHP
Cover User
6 years ago
Solved

Hi, my boss has tried to upload the Taxable Payment Report, but it has come back with Test Failed, reason: Line 35, The file contains an illegal character at end of last record.

Hi, my boss has tried to upload the Taxable Payment Report, but it has come back with Test Failed, reason: Line 35, The file contains an illegal character at end of last record. Thanks, Zsuzsanna

  • Hi Zsuzsanna_MCHP,

     

    Thank you for the post!

     

    This is normally caused by an invalid character somewhere in the empdupe file. Most likely copied and pasted from an external source into the address or company name fields.  Pay particular attention to the address of the  in your list (line 35).

     

    I would be taking a copy of that TPAR file and then opening that in NotePad (or NotePad ++) and come through the document to see if you do have any unusual characters i.e carriage returns or addition symbols... Based on the error report it would be line 35 (so around the 35 card).

    Once that character has been edited, you would be able to delete or change that in your AccountRight file and recreate that TPAR file lodgement.

     

    Thank you.

3 Replies

Replies have been turned off for this discussion
  • Hi Zsuzsanna_MCHP,

     

    Thank you for the post!

     

    This is normally caused by an invalid character somewhere in the empdupe file. Most likely copied and pasted from an external source into the address or company name fields.  Pay particular attention to the address of the  in your list (line 35).

     

    I would be taking a copy of that TPAR file and then opening that in NotePad (or NotePad ++) and come through the document to see if you do have any unusual characters i.e carriage returns or addition symbols... Based on the error report it would be line 35 (so around the 35 card).

    Once that character has been edited, you would be able to delete or change that in your AccountRight file and recreate that TPAR file lodgement.

     

    Thank you.

  • Debbie_Brownlie's avatar
    Debbie_Brownlie
    Contributing Cover User
    6 years ago

    We have had one error come back from a lodged TPAR - "invalid State" 

    How do we re-do the report with just that one supplier? Selecting them through the wizard doesn't seem to exclude all the others

     

    thanks

  • Gayathri's avatar
    Gayathri
    Former Staff
    6 years ago

    Hi Debbie_Brownlie,

     

    Thank you for the post!

     

    I am not sure when you mentioned about changing the Invalid state. Generally, you would get the error with mentioning the line xxx causing the problem. I have advised how to correct it in my earlier post. If this is not what you are looking at, please provide more details and a screenshot of the error you received.

     

    Thank you