New building Purchase as an s-corp

As an scorp, we purchased a building as our main location. How do I handle this tax wise. Do I deduct the mortgage payment the same way I used to deduct my office rent payment?  What about the 30% downpayment I made. How do I handle that?  Thanks in advance for any help.