          {invoices , nil} <- populate_invoices(files.invoices_dbf),
          {inv_details, nil} <-
            populate_invoice_details(files.invoice_details_dbf),
-         {pdcs, nil} <- populate_pdcs(files.pdcs_dbf) do
+         {pdcs, nil} <- populate_pdcs(files.pdcs_dbf),
+         {oct, nil} <- populate_postings(p.oct),
+         {nov, nil} <- populate_postings(p.nov),
+         {dec, nil} <- populate_postings(p.dec),
+         {jan, nil} <- populate_postings(p.jan),
+         {feb, nil} <- populate_postings(p.feb),
+         {mar, nil} <- populate_postings(p.mar),
+         {apr, nil} <- populate_postings(p.apr),
+         {may, nil} <- populate_postings(p.may),
+         {jun, nil} <- populate_postings(p.jun),
+         {jul, nil} <- populate_postings(p.jul),
+         {aug, nil} <- populate_postings(p.aug),
+         {sep, nil} <- populate_postings(p.sep) do
       Logger.info fn -> "Products  upserted: #{products}" end
       Logger.info fn -> "Prices    upserted: #{prices}" end
       Logger.info fn -> "Customers upserted: #{customers}" end

  @invoices_dbf        "SIINV.DBF"
  @invoice_details_dbf "SIDETINV.DBF"
  @pdcs_dbf            "FIPDC.DBF"
  @postings_dbf        "FIT1610.dbf"

  def generate_file_paths(root_folder, year) do
    year_suffix = year |> to_string |> String.slice(2..3)

    y2_suffix = year |> Kernel.+(1) |> to_string |> String.slice(2..3)
    full_path = Path.join(root_folder, @folder_prefix <> y1_suffix)

    %{:oct => Path.join(full_path, "FIT" <> y1_suffix <> "10.dbf"),
      :nov => Path.join(full_path, "FIT" <> y1_suffix <> "11.dbf"),
      :dec => Path.join(full_path, "FIT" <> y1_suffix <> "12.dbf"),
      :jan => Path.join(full_path, "FIT" <> y2_suffix <> "01.dbf"),
      :feb => Path.join(full_path, "FIT" <> y2_suffix <> "02.dbf"),
      :mar => Path.join(full_path, "FIT" <> y2_suffix <> "03.dbf"),
      :apr => Path.join(full_path, "FIT" <> y2_suffix <> "04.dbf"),
      :may => Path.join(full_path, "FIT" <> y2_suffix <> "05.dbf"),
      :jun => Path.join(full_path, "FIT" <> y2_suffix <> "06.dbf"),
      :jul => Path.join(full_path, "FIT" <> y2_suffix <> "07.dbf"),
      :aug => Path.join(full_path, "FIT" <> y2_suffix <> "08.dbf"),
      :sep => Path.join(full_path, "FIT" <> y2_suffix <> "09.dbf"),
    }
  end

  def check_files(files) do
