# Hledger periodic transaction every month except two

**URL:** <https://forum.plaintextaccounting.org/t/hledger-periodic-transaction-every-month-except-two/81>\
**Category:** Reddit\
**Tags:** hledger\
**Created:** [March 9, 2024, 12:59am UTC](https://forum.plaintextaccounting.org/t/hledger-periodic-transaction-every-month-except-two/81 "2024-03-09T00:59:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![redditbot](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.plaintextaccounting.org/redditbot/32/42_2.png) [@redditbot](https://forum.plaintextaccounting.org/u/redditbot)\
**Post date:** [March 9, 2024, 12:59am UTC](https://forum.plaintextaccounting.org/t/hledger-periodic-transaction-every-month-except-two/81/1 "2024-03-09T00:59:38Z")

</div>

Is there any clean way of describing an hledger periodic transaction that occurs for 10 months of the year. I have a recurring payment that comes out every month except July and August. Is there any way of describing this in a single periodic rule?

 
 submitted by [/u/megagram](https://www.reddit.com/user/megagram)   
 [[link]](https://www.reddit.com/r/plaintextaccounting/comments/1avogbn/hledger_periodic_transaction_every_month_except/)[[comments]](https://www.reddit.com/r/plaintextaccounting/comments/1avogbn/hledger_periodic_transaction_every_month_except/)
* * *
This is a companion discussion topic for the original entry at [https://www.reddit.com/r/plaintextaccounting/comments/1avogbn/hledger\_periodic\_transaction\_every\_month\_except/](https://www.reddit.com/r/plaintextaccounting/comments/1avogbn/hledger_periodic_transaction_every_month_except/)

---

<div class="post-metadata">

**Author:** ![igbanam](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.plaintextaccounting.org/igbanam/32/172_2.png) [@igbanam](https://forum.plaintextaccounting.org/u/igbanam)\
**Post date:** [March 8, 2025, 10:36am UTC](https://forum.plaintextaccounting.org/t/hledger-periodic-transaction-every-month-except-two/81/2 "2025-03-08T10:36:55Z")

</div>

I'd break this up into two periodic rules

```auto
~ monthly from january until june
    ; transactions

~ monthly from september until december
    ; transactions

```
