original_docstring: Create JV files and uplaod to CGI.
  
          Steps:
          1. Find all invoices from invoice table for disbursements.
          2. Group by fee schedule and create JV Header and JV Details.
          3. Upload the file to minio for future reference.
          4. Upload to sftp for processing. First upload JV file and then a TRG file.
          5. Update the statuses and create records to for the batch.
          
docstring: Create JV files and uplaod to CGI.
  Steps:
  1. Find all invoices from invoice table for disbursements.
  2. Group by fee schedule and create JV Header and JV Details.
  3. Upload the file to minio for future reference.
  4. Upload to sftp for processing. First upload JV file and then a TRG file.
  5. Update the statuses and create records to for the batch.
docstring_tokens: Create JV files and uplaod to CGI . Steps : 1 . Find all invoices from invoice table for disbursements . 2 . Group by fee schedule and create JV Header and JV Details . 3 . Upload the file to minio for future reference . 4 . Upload to sftp for processing . First upload JV file and then a TRG file . 5 . Update the statuses and create records to for the batch .
code: def create_ejv_file(cls):
          """Create JV files and uplaod to CGI.
  
          Steps:
          1. Find all invoices from invoice table for disbursements.
          2. Group by fee schedule and create JV Header and JV Details.
          3. Upload the file to minio for future reference.
          4. Upload to sftp for processing. First upload JV file and then a TRG file.
          5. Update the statuses and create records to for the batch.
          """
          cls._create_ejv_file_for_partner(batch_type='GI')  # Internal ministry
          cls._create_ejv_file_for_partner(batch_type='GA')
code_tokens: def create_ejv_file ( cls ) : cls . _create_ejv_file_for_partner ( batch_type = 'GI' ) cls . _create_ejv_file_for_partner ( batch_type = 'GA' )
short_docstring: Create JV files and uplaod to CGI.
short_docstring_tokens: Create JV files and uplaod to CGI .
comment: """Create JV files and uplaod to CGI.
  
          Steps:
          1. Find all invoices from invoice table for disbursements.
          2. Group by fee schedule and create JV Header and JV Details.
          3. Upload the file to minio for future reference.
          4. Upload to sftp for processing. First upload JV file and then a TRG file.
          5. Update the statuses and create records to for the batch.
          """$SEP$# Internal ministry