/**
   * @see
   *     org.kuali.kfs.module.ar.document.service.CustomerInvoiceDocumentService#getPrintableCustomerInvoiceDocumentsForBillingStatementByBillingChartAndOrg(java.lang.String,
   *     java.lang.String)
   */
  @Override
  public List<CustomerInvoiceDocument>
      getPrintableCustomerInvoiceDocumentsForBillingStatementByBillingChartAndOrg(
          String chartOfAccountsCode, String organizationCode) {
    List<String> documentHeaderIds =
        customerInvoiceDocumentDao
            .getPrintableCustomerInvoiceDocumentNumbersForBillingStatementByBillingChartAndOrg(
                chartOfAccountsCode, organizationCode);

    List<CustomerInvoiceDocument> customerInvoiceDocuments =
        new ArrayList<CustomerInvoiceDocument>();
    if (documentHeaderIds != null && !documentHeaderIds.isEmpty()) {
      try {
        for (Document doc :
            documentService.getDocumentsByListOfDocumentHeaderIds(
                CustomerInvoiceDocument.class, documentHeaderIds)) {
          customerInvoiceDocuments.add((CustomerInvoiceDocument) doc);
        }
      } catch (WorkflowException e) {
        throw new InfrastructureException("Unable to retrieve Customer Invoice Documents", e);
      }
    }
    return customerInvoiceDocuments;
  }