MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Simplest fix for out-of-state salestax



Quoting Mr. Christopher F. Miller (cfm@maine.com):
> ******    message to minivend-users from "Mr. Christopher F. Miller" <cfm@maine.com>     ******
> 
> 
> Re out-of-state salestax
> 
> My understanding of salestax routine is that this in catalog.cfg:
> 
> SalesTax        s_state state
> 
> looks first to apply a sales tax to "s_state", the ship-to state
> and if it finds nothing, then to "state" to apply the tax, then
> to default (if it exists).
> 
> That implies that someone on the moon with a billing address in
> "state" would get taxed at the "state" rates, unless I have 
> "moon" in salestax.asc.  We've been lucky so far because we
> have all sorts of
> AL  0
> type entries in our salestax files.  But even that only
> works with domestic US sales.
> 
> What we want is sales tax charged according to "s_state" if
> it matches anything and according to default if it does not.
> We don't want minivend to look at state as long as s_state is defined.
> 
> default 0
> ME      .055
> Maine   .055
> 
> Am I making this harder than is really is somehow?
> 

Hmm, I might be making it harder than it could be. I think you must
use a comma to separate and not a space, which is not the usual MV
practice. Commas will go bye-bye completely in MiniVend 4, and shell words
(allowing quoting) will be the standard.

It is documented that way....this is one of the original features
of MV and as such is somewhat outdated. Personally I am using the
[fly-tax] tag unless the number of states is more than a few.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
                                    131 Willow Lane, Floor 2  | ||  _ \
It's a little-known fact            Oxford, OH  45056         | || |_) |
that the Y1K problem caused         <mikeh@minivend.com>     |___|  _ <
the Dark Ages. -- unknown           513.523.7621 FAX 7501        |_| \_\


Search for: Match: Format: Sort by: