There's a monthly fee/grant system. Fees, or dues if you prefer, subtract from your guild balance. Grants add to your guild balance.
Each rank can be set by an elder to not only have a fee or grant, but also have a maximum debt. This is how much debt you can have and still be allowed to withdraw gold from a guild/temple/secret society. Once you pass the maximum debt, you can't withdraw more gold.