Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. HMRC is confusing ... and so is the bank!

HMRC is confusing ... and so is the bank!

Scheduled Pinned Locked Moved The Lounge
cssdatabasesql-servercomregex
13 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    ... or "the Taxman" since it's only HMRC in the UK. Last week (The Lounge[^]) I got a tax rebate cheque for £1600 for an overpayment Michelle made. And today the postman delivered another letter ... and I joked to myself "it's probably a demand for £1800 this time!" :laugh: :laugh: Nope. A demand for £1900 ... :sigh: So now I have to go back through all her bank statements, pay slips, P60's and suchlike (which would have been easier if she's kept them in some form of organisation (or indeed, kept them at all in many cases) to try and work out why HMRC appears to have used the same income to get two wildly different results. So back to the bank and download the statements. And that's where is gets nasty: I can download in Excel, Quicken, Money, PDF, Text, or CSV. Except ... CSV will only give you the last 12 months, nothing before that. Quicken and Money I don't use; PDF is a PITA to extract data from if you want to manipulate it; Excel is XLS(!) and both XSL and Text are restricted to 600 transactions, but you have no idea how many there might be in a tax year ... 2 a day will take you over that limit! OK, so monthly downloads in XLS it is (because I can process it in a spreadsheet and directly import it to SQL via SSMS). 53 separate monthly downloads later ... and Excel says the files are "damaged or corrupt" but will open them. SSMS says they are "damaged or corrupt, I'm not touching that!". Try a couple of Excel to DataTable solutions, and they all say "sod off, that's a bad file" :sigh: OK, Text it is another 53 separate downloads ... it's a nice simple format, so processing the text with Regex isn't difficult. Except ... iOK for me, because there are less than 600 transactions per month, but they don't include any form of transaction ID (despite the original bank data guaranteed to have them in some form) so you can't easily spot duplicates if you do have to break a month into smaller parts. Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    Richard DeemingR L C J 4 Replies Last reply
    0
    • OriginalGriffO OriginalGriff

      ... or "the Taxman" since it's only HMRC in the UK. Last week (The Lounge[^]) I got a tax rebate cheque for £1600 for an overpayment Michelle made. And today the postman delivered another letter ... and I joked to myself "it's probably a demand for £1800 this time!" :laugh: :laugh: Nope. A demand for £1900 ... :sigh: So now I have to go back through all her bank statements, pay slips, P60's and suchlike (which would have been easier if she's kept them in some form of organisation (or indeed, kept them at all in many cases) to try and work out why HMRC appears to have used the same income to get two wildly different results. So back to the bank and download the statements. And that's where is gets nasty: I can download in Excel, Quicken, Money, PDF, Text, or CSV. Except ... CSV will only give you the last 12 months, nothing before that. Quicken and Money I don't use; PDF is a PITA to extract data from if you want to manipulate it; Excel is XLS(!) and both XSL and Text are restricted to 600 transactions, but you have no idea how many there might be in a tax year ... 2 a day will take you over that limit! OK, so monthly downloads in XLS it is (because I can process it in a spreadsheet and directly import it to SQL via SSMS). 53 separate monthly downloads later ... and Excel says the files are "damaged or corrupt" but will open them. SSMS says they are "damaged or corrupt, I'm not touching that!". Try a couple of Excel to DataTable solutions, and they all say "sod off, that's a bad file" :sigh: OK, Text it is another 53 separate downloads ... it's a nice simple format, so processing the text with Regex isn't difficult. Except ... iOK for me, because there are less than 600 transactions per month, but they don't include any form of transaction ID (despite the original bank data guaranteed to have them in some form) so you can't easily spot duplicates if you do have to break a month into smaller parts. Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      OriginalGriff wrote:

      Excel says the files are "damaged or corrupt" but will open them

      Let me guess - they're an HTML file served with an Excel MIME-type, since so many people seem to think that's the way to generate an Excel file from a website. :doh: If Excel will open them, you might be able to save them as "real" Excel files, which SSMS might then be able to work with.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      OriginalGriffO 2 Replies Last reply
      0
      • Richard DeemingR Richard Deeming

        OriginalGriff wrote:

        Excel says the files are "damaged or corrupt" but will open them

        Let me guess - they're an HTML file served with an Excel MIME-type, since so many people seem to think that's the way to generate an Excel file from a website. :doh: If Excel will open them, you might be able to save them as "real" Excel files, which SSMS might then be able to work with.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        I'm guessing that is the first thing ChatGPT recommends ... X|

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        • Richard DeemingR Richard Deeming

          OriginalGriff wrote:

          Excel says the files are "damaged or corrupt" but will open them

          Let me guess - they're an HTML file served with an Excel MIME-type, since so many people seem to think that's the way to generate an Excel file from a website. :doh: If Excel will open them, you might be able to save them as "real" Excel files, which SSMS might then be able to work with.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          I just checked with PSPad, and yes - it's HTML ... so the business data is being processed in the Presentation layer rather than the business layer. Inspires confidence in the bank's developers, doesn't it? :laugh:

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            ... or "the Taxman" since it's only HMRC in the UK. Last week (The Lounge[^]) I got a tax rebate cheque for £1600 for an overpayment Michelle made. And today the postman delivered another letter ... and I joked to myself "it's probably a demand for £1800 this time!" :laugh: :laugh: Nope. A demand for £1900 ... :sigh: So now I have to go back through all her bank statements, pay slips, P60's and suchlike (which would have been easier if she's kept them in some form of organisation (or indeed, kept them at all in many cases) to try and work out why HMRC appears to have used the same income to get two wildly different results. So back to the bank and download the statements. And that's where is gets nasty: I can download in Excel, Quicken, Money, PDF, Text, or CSV. Except ... CSV will only give you the last 12 months, nothing before that. Quicken and Money I don't use; PDF is a PITA to extract data from if you want to manipulate it; Excel is XLS(!) and both XSL and Text are restricted to 600 transactions, but you have no idea how many there might be in a tax year ... 2 a day will take you over that limit! OK, so monthly downloads in XLS it is (because I can process it in a spreadsheet and directly import it to SQL via SSMS). 53 separate monthly downloads later ... and Excel says the files are "damaged or corrupt" but will open them. SSMS says they are "damaged or corrupt, I'm not touching that!". Try a couple of Excel to DataTable solutions, and they all say "sod off, that's a bad file" :sigh: OK, Text it is another 53 separate downloads ... it's a nice simple format, so processing the text with Regex isn't difficult. Except ... iOK for me, because there are less than 600 transactions per month, but they don't include any form of transaction ID (despite the original bank data guaranteed to have them in some form) so you can't easily spot duplicates if you do have to break a month into smaller parts. Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Why not give them a call, you'll only have to hang on the line for a few hours. :omg:

            OriginalGriffO 1 Reply Last reply
            0
            • L Lost User

              Why not give them a call, you'll only have to hang on the line for a few hours. :omg:

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              HMRC I'm going to have to, but I want to get all my ducks in a row first ... The bank? I may be depressed, but I'm not suicidal! :-D

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              M pkfoxP 2 Replies Last reply
              0
              • OriginalGriffO OriginalGriff

                HMRC I'm going to have to, but I want to get all my ducks in a row first ... The bank? I may be depressed, but I'm not suicidal! :-D

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                M Offline
                M Offline
                MarkTJohnson
                wrote on last edited by
                #7

                OriginalGriff wrote:

                I may be depressed, but I'm not suicidal!

                That's good to hear. Line up those ducks and stick to both HMRC AND the Bank. In Her memory.

                I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  HMRC I'm going to have to, but I want to get all my ducks in a row first ... The bank? I may be depressed, but I'm not suicidal! :-D

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                  pkfoxP Offline
                  pkfoxP Offline
                  pkfox
                  wrote on last edited by
                  #8

                  They're a lot better than they used to be Paul - I had an IR35 inspection a few years ago which lasted 4 years - f****ing nightmare

                  In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                  C 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    ... or "the Taxman" since it's only HMRC in the UK. Last week (The Lounge[^]) I got a tax rebate cheque for £1600 for an overpayment Michelle made. And today the postman delivered another letter ... and I joked to myself "it's probably a demand for £1800 this time!" :laugh: :laugh: Nope. A demand for £1900 ... :sigh: So now I have to go back through all her bank statements, pay slips, P60's and suchlike (which would have been easier if she's kept them in some form of organisation (or indeed, kept them at all in many cases) to try and work out why HMRC appears to have used the same income to get two wildly different results. So back to the bank and download the statements. And that's where is gets nasty: I can download in Excel, Quicken, Money, PDF, Text, or CSV. Except ... CSV will only give you the last 12 months, nothing before that. Quicken and Money I don't use; PDF is a PITA to extract data from if you want to manipulate it; Excel is XLS(!) and both XSL and Text are restricted to 600 transactions, but you have no idea how many there might be in a tax year ... 2 a day will take you over that limit! OK, so monthly downloads in XLS it is (because I can process it in a spreadsheet and directly import it to SQL via SSMS). 53 separate monthly downloads later ... and Excel says the files are "damaged or corrupt" but will open them. SSMS says they are "damaged or corrupt, I'm not touching that!". Try a couple of Excel to DataTable solutions, and they all say "sod off, that's a bad file" :sigh: OK, Text it is another 53 separate downloads ... it's a nice simple format, so processing the text with Regex isn't difficult. Except ... iOK for me, because there are less than 600 transactions per month, but they don't include any form of transaction ID (despite the original bank data guaranteed to have them in some form) so you can't easily spot duplicates if you do have to break a month into smaller parts. Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year

                    C Offline
                    C Offline
                    charlieg
                    wrote on last edited by
                    #9

                    tax people are generally drones (you Brit's have serious issues with your government over there...) same as us. We gave up tea for coffee. The US IRS has been trying to fix the core tax software of the country. Every damn decade it fails. It needs a complete re-write starting with deleting congress and the IRS (I'm an advocate for a hard look at the simple tax, but I digress). Decades ago, President Bush pushed through some tax reform and part of it was a $800 ($1k) tax credit per child for families. Now, at the time, I had a Mongol hoard (no offense to Mongols in here), so, I did my taxes expecting north of a $7k refund. That's a lot of food. 2 months later I get a letter - you owe us $8k. Now, I'm not an idiot, I know how to do my taxes, I don't require rocket scientists to help me. Called them up and a very nice lady took my call. She: how my I help you? Me: well, I got this letter in the mail.... She: typing... oh yes, you made an error on your return. Me: I think not, but pray tell what might that be? (side note: the $$ demand made 0 mention of the error. Dicks). She: Oh, you've overstated your dependents, and we don't have SSNs for them. Me: Thinking of the hoard at home, Umm, I think not. What SSNs are you missing? She: I can't tell you. Me: Laughing, I guess we're at an impass. Umm, can I read off the SSNs I filed and you tell me if you have them? She: That will work... Me: Yada, yada (apparently the IRS has access to SSNs...) She: That's weird, I see them all now. Let me fix this. Boom, check a week later. The next year it happened again, except this time I got an IRS bitch with an attitude. Don't tell me how to do my job, that bs. Fine, you do your job. 2 weeks later I got a check. The next year, it happened yet again. Thankfully I did not get the IRS bitch this time, I got some guy who was willing to listen. I explained to him this was the 3rd year in a row. Him: Okay, we have a problem, since this is not supposed to happen. I have a team meeting tomorrow morning, and I'll bring it up. Call you back. The next day, the guy calls me back, and he cannot stop laughing. Now, we all know software here, so he admitted he thought he had figured the problem out. Because of the large # of dependents I had, my return was automatically flagged for review. It pops up on the reviewer's pc where they promptly fail my return. Why? Because the default page only shows the first 3 dependents. THEY NEVER PUSHED ON THE DROP DOWN ARROW showing all of the other SSN

                    1 Reply Last reply
                    0
                    • pkfoxP pkfox

                      They're a lot better than they used to be Paul - I had an IR35 inspection a few years ago which lasted 4 years - f****ing nightmare

                      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                      C Offline
                      C Offline
                      charlieg
                      wrote on last edited by
                      #10

                      for those of us free from British tyranny (smile) - what's an IR35 Inspection? ps If you see a lot of spelling mystakes from me, Opera has gone batcrap crazy with auto suggestions.

                      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                      pkfoxP 1 Reply Last reply
                      0
                      • C charlieg

                        for those of us free from British tyranny (smile) - what's an IR35 Inspection? ps If you see a lot of spelling mystakes from me, Opera has gone batcrap crazy with auto suggestions.

                        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                        pkfoxP Offline
                        pkfoxP Offline
                        pkfox
                        wrote on last edited by
                        #11

                        IR35 is a HMRC taxation ruling which deems contractors who contract to one company all the time to be disguised employees and therefore are subject to National Insurance contributions at the variable rate. Mine was overturned as I had a good accountant supplied my own equipment and had the right of substitution edit just read your other post

                        Quote:

                        The British government, like the US government lives on the middle class, and they DESPISE small business

                        Bang on the money Charlie

                        In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                        C 1 Reply Last reply
                        0
                        • pkfoxP pkfox

                          IR35 is a HMRC taxation ruling which deems contractors who contract to one company all the time to be disguised employees and therefore are subject to National Insurance contributions at the variable rate. Mine was overturned as I had a good accountant supplied my own equipment and had the right of substitution edit just read your other post

                          Quote:

                          The British government, like the US government lives on the middle class, and they DESPISE small business

                          Bang on the money Charlie

                          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                          C Offline
                          C Offline
                          charlieg
                          wrote on last edited by
                          #12

                          Interesting, the IRS works very hard at classifying independents as employees. When I started contracting, the contract was very clear that I could set my own hours and provide my own equipment. Once I started my own corp, I stopped working about it. The tax people are ALWAYS lookoing for ways to raise revenue. It's Biblical :) The two sad parts: 1) we cannot audit them, and 2) no matter how much money they "collect", the government always spends more.

                          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            ... or "the Taxman" since it's only HMRC in the UK. Last week (The Lounge[^]) I got a tax rebate cheque for £1600 for an overpayment Michelle made. And today the postman delivered another letter ... and I joked to myself "it's probably a demand for £1800 this time!" :laugh: :laugh: Nope. A demand for £1900 ... :sigh: So now I have to go back through all her bank statements, pay slips, P60's and suchlike (which would have been easier if she's kept them in some form of organisation (or indeed, kept them at all in many cases) to try and work out why HMRC appears to have used the same income to get two wildly different results. So back to the bank and download the statements. And that's where is gets nasty: I can download in Excel, Quicken, Money, PDF, Text, or CSV. Except ... CSV will only give you the last 12 months, nothing before that. Quicken and Money I don't use; PDF is a PITA to extract data from if you want to manipulate it; Excel is XLS(!) and both XSL and Text are restricted to 600 transactions, but you have no idea how many there might be in a tax year ... 2 a day will take you over that limit! OK, so monthly downloads in XLS it is (because I can process it in a spreadsheet and directly import it to SQL via SSMS). 53 separate monthly downloads later ... and Excel says the files are "damaged or corrupt" but will open them. SSMS says they are "damaged or corrupt, I'm not touching that!". Try a couple of Excel to DataTable solutions, and they all say "sod off, that's a bad file" :sigh: OK, Text it is another 53 separate downloads ... it's a nice simple format, so processing the text with Regex isn't difficult. Except ... iOK for me, because there are less than 600 transactions per month, but they don't include any form of transaction ID (despite the original bank data guaranteed to have them in some form) so you can't easily spot duplicates if you do have to break a month into smaller parts. Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year

                            J Offline
                            J Offline
                            jschell
                            wrote on last edited by
                            #13

                            OriginalGriff wrote:

                            Come on guys! If you have data which uniquely identifies a transaction and you are compiling a transaction report INCLUDE IT! If you have an "industry standard format" like Excel, use the modern version, not one 15 years out of date! Don't restrict the transaction count to an arbitrary number, restrict it to an arbitrary number or the end of a month / week / year whichever is appropriate! And whatever you do, don't add a further length limit to one particular format!

                            I pointed all of that out to them. I suggested upgrades for years. I even wrote the tickets, added the designs, the breakdowns and estimates. But the architect and manager kept saying that no one actually uses that stuff and we really need more razzle dazzle for facebook. ------ I really have worked on multiple systems that would fail all the time because the original designer never even considered the possibility that a data dump might be too large at some point.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups