The binomial distribution should give you the information you need. It allows you to predict the odds of find c defects in a sample of N items when the probabilty of any item being bad are P. In Excel, you can find the odds of upto A defects using
=BINOMDIST(c, N, P, TRUE)
If we assume you use a c=0 plan, then that would be
=BINOMDIST(0, N, 0.01, TRUE)
Then you adjust N to give the results you want.
You also need to determine just what you mean by 95% confident that 99% are good. Do you want to accept the lot only when you are 95% sure it is good, or do you only want to reject the lot if you are 95% sure it is bad.
To be sure the lot is good, the function should return a value of 0.05 (=1-0.95) or less. Playing with N indicates this takes 299 samples! If you draw less than 299 pieces, there is still at least a 5% chance that a lot with just over 1% defective could still show no defects, so you can't be 95% sure it is 1% or lower.
On the other hand, is takes a much smaller sample to show the lot is bad. If you draw up to 5 pieces and find even a single bad part, that would be extremely unlikely for 1% defective, so you are 95%+ certain the lot is above 1% bad. At a sample size of 6, there is at least a 5% chance of getting 1 defect even for 1% bad, so getting one defect is not 95% sure evidence the lot is bad. For 6 (and up to 35 samples) you would need to 2 defects to ensure the lot is bad.
Note that for a sample of 300, 0 defects will ensure you it is good, 7 defects will ensure you it is bad, but anything in between is indeterminant.
You will find it challenging to show the boxes are good. It will be much easier to show the boxes are bad.
Tim F
P.S. I'm assuming that the orders are considered either right or wrong - for example a box with 1000 parts and 999 correct would still be considered a single defect, not a 99.9% success. Also, these numbers assume the sample is much smaller than the total, which is only sort of true for 300 out of 1500.