| Accounts Receivable - Accounts Receivable Balance (Details) - USD ($) | Apr. 30, 2022 | Apr. 30, 2021 | 
|---|---|---|
| Receivables [Abstract] | 听 | 听 | 
| Total accounts receivable, gross | $ 39,226,054 | $ 30,264,393 | 
| Long-term contractual accounts receivable | (11,406,525) | (10,249,833) | 
| Accounts receivable, gross | 27,819,529 | 20,014,560 | 
| Less: allowance for doubtful accounts | (3,460,288) | (3,289,816) | 
| Accounts receivable, net | $ 24,359,241 | $ 16,724,744 | 
| X | ||||||||||
| 
- Definition Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |