HST Import - Line 7 does not contain compatible tax information

SOLVED

Hello!

I've seen this asked several times here, but everything we've tried related to previous answers, has not helped.

We are trying to import an .imp file that has been exported from another program.

When importing, we keep getting an error code "line 7 does not contain compatible tax information".

Our syntax is below (customer info changed for privacy reasons) - highlighted in yellow: what we removed for the import to work - however, no taxes show on the import (since it's been removed).

Every variation we've tried to adjust that tax section, has returned the same error. I've also attached a screenshot of our tax codes within Sage.

We use HST, 13% (codes H and HI in Sage)

Any help would be greatly appreciated! Thank you!!

<Version>
"12001","1"
</Version>
<SalInvoice>
"Company Name","1","AP","realaddress","","city","province","N1N1N1","CA","","","",""
"5","C000004","4","06-26-2023","0","30 days","788.23","0"
"4020","2","150.00","150.00","H","0","1","13.00","19.50"
"4030","1","70.50","70.50","H","0","1","13.00","9.17"
"4050","1","7.05","7.05","H","0","1","13.00","0.92"
"4200","1","470.00","470.00","H","0","1","13.00","61.10"
</SalInvoice>

*there is also a blank line after the final end tag*

Parents
  • "4020","2","150.00","150.00","H","0","1","13.00","19.50"

    Probably should be more like

    "4020","2","150.00","150.00","HST","0","1","13.00","19.50"

    assuming a standard setup of Ontario HST.

    You didn't give us the Taxes image so we don't know what your taxes are called.  I just opened a file I have here and the tax name is GST/HST.  I doubt you have a tax called H and a tax code called H.

    The reason why different answer may not help you is because the settings for the area you highlighted plus the Tax name "H" can be completely different between different company files.  Not everyone has HST 13%.  Many eastern provinces are HST 15%, western provinces don't have HST so unless they sell East, they won't have it in their file.

  • 0 in reply to Richard S. Ridings

    Thanks for the reply - I did attach the image, not sure why it won't show. In Sage: Setup - Settings - Company - Sales Taxes - Tax Codes : Code names are H (tax ontop) and HI (tax incl) (unless we're pulling the wrong 'codes' and these need to be the 'tax name' instead?)

    We have tried the "HST" several ways and it still shows the same error message. We understand the varying inputs for taxes - even have 2 programmer sets of eyes on this and they're stumped - hence why we're here! :)

  • +1 in reply to SL93
    verified answer

    found it. It's under 'Taxes' not 'Tax Codes' and it wanted the name of it "GST/HST", whereas we were entering the code names - thanks!

  • 0 in reply to SL93

    That's what I said.

    You didn't give us the Taxes image so we don't know what your taxes are called.

    Glad you got it working.

  • 0 in reply to Richard S. Ridings

    Yet another error message. "The number of detail lines does not match the actual number of lines."
    Same syntax as pasted before with the exception of "GST/HST" being changed, blank line after </SalInvoice> as you typically suggest. Any thoughts?

Reply Children