We propose a Bayesian spline model which uses a natural cubic B-spline basis with knots placed at every development period to estimate the unpaid claims. Analogous to the smoothing parameter in a smoothing spline, shrinkage priors are assumed for the coefficients of basis functions. The accident period effect is modeled as a random effect, which facilitate the prediction in a new accident period. For model inference, we use Stan to implement the no-U-turn sampler, an automatically tuned Hamiltonian Monte Carlo. The proposed model is applied to the workers' compensation insurance data in the United States. The lower triangle data is used to validate the model.