  Given a quasi-smooth Berkovich curve $X$ admitting a finite triangulation,
finitely many disjoint open annuli $A_1,\dots,A_n$ in $X$ that are not
precompact, and for each $i=1,\dots, n$, an analytic function $f_i$ (resp.
differential form $\sigma_i$) convergent on $A_i$, we provide a criterion for
when there exists an analytic function $f$ (resp. a differential form $\sigma$)
on $X$ inducing the functions $f_i$ (resp. differentials $\sigma_i$).
  Along the way we reprove residue theorem for differentials on smooth
Berkovich curves that admit finite triangulations.
