This document presents a model for determining the parameters of a double Bayesian sampling inspection plan to minimize total expected quality control costs. The model considers costs associated with inspecting samples, accepting or rejecting lots, and continuing to a second sample. It defines variables such as sample sizes, acceptance/rejection numbers, and costs. Equations are provided for the average inspection cost of the first and second samples considering the sampling distribution and conditional probability of defective items. The model aims to obtain optimal parameters (n1, a1, r1, n2, a2, r2) of the double sampling plan by minimizing the total expected regret function according to producer and consumer risk levels.