{"action":"closed","issue":{"url":"https://api.github.com/repos/killbill/killbill/issues/311","labels_url":"https://api.github.com/repos/killbill/killbill/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/killbill/killbill/issues/311/comments","events_url":"https://api.github.com/repos/killbill/killbill/issues/311/events","html_url":"https://github.com/killbill/killbill/issues/311","id":68199431,"number":311,"title":"Upcoming Invoice Notification event missing on phase change","user":{"login":"sbrossie","id":246910,"avatar_url":"https://avatars.githubusercontent.com/u/246910?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrossie","html_url":"https://github.com/sbrossie","followers_url":"https://api.github.com/users/sbrossie/followers","following_url":"https://api.github.com/users/sbrossie/following{/other_user}","gists_url":"https://api.github.com/users/sbrossie/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrossie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrossie/subscriptions","organizations_url":"https://api.github.com/users/sbrossie/orgs","repos_url":"https://api.github.com/users/sbrossie/repos","events_url":"https://api.github.com/users/sbrossie/events{/privacy}","received_events_url":"https://api.github.com/users/sbrossie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/killbill/killbill/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/killbill/killbill/labels/INVOICE","name":"INVOICE","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/killbill/killbill/milestones/10","html_url":"https://github.com/killbill/killbill/milestones/Release-0.15.1","labels_url":"https://api.github.com/repos/killbill/killbill/milestones/10/labels","id":1109607,"number":10,"title":"Release-0.15.1","description":"","creator":{"login":"sbrossie","id":246910,"avatar_url":"https://avatars.githubusercontent.com/u/246910?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrossie","html_url":"https://github.com/sbrossie","followers_url":"https://api.github.com/users/sbrossie/followers","following_url":"https://api.github.com/users/sbrossie/following{/other_user}","gists_url":"https://api.github.com/users/sbrossie/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrossie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrossie/subscriptions","organizations_url":"https://api.github.com/users/sbrossie/orgs","repos_url":"https://api.github.com/users/sbrossie/repos","events_url":"https://api.github.com/users/sbrossie/events{/privacy}","received_events_url":"https://api.github.com/users/sbrossie/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-05-14T04:00:31Z","updated_at":"2015-05-20T11:22:32Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-04-13T21:31:22Z","updated_at":"2015-05-20T11:22:32Z","closed_at":"2015-05-20T11:22:32Z","body":"The invoice system has a property `org.killbill.invoice.dryRunNotificationSchedule` which allows to specify whether the system should send events for upcoming invoices. The implementation is based on adding a new notification ahead of time of the next billing date notification.\r\n\r\nThis works well except for handling phase events which is handled outside of the the invoicing system.\r\n"}}