// Financial Transactions Ledger (financial-transactions-ledger) v1 — Prisma seed
// Synthetic sample data, CC0-1.0. Generated deterministically; re-running the
// generator with the same spec and seed reproduces this file exactly.
//
// Delegates are named after the tables (prisma.departments), which assumes models
// mapped to those table names. Rename the delegates if your models differ.
import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

async function main() {
    await prisma.departments.createMany({
        data: [
            { id: 1, name: null, budget: "376499.77", employee_count: 80 },
            { id: 2, name: "Investments", budget: "152480.92", employee_count: 90 },
            { id: 3, name: "Strategy Technology Accounting", budget: "998633.22", employee_count: 95 },
            { id: 4, name: "Analytics Sales Compliance", budget: "27795.73", employee_count: 146 },
            { id: 5, name: "Marketing", budget: "24743.35", employee_count: 91 },
            { id: 6, name: null, budget: "928554.71", employee_count: 82 },
            { id: 7, name: "Research Support Reporting", budget: "40358.23", employee_count: 66 },
            { id: 8, name: "Legal", budget: "459347.53", employee_count: 51 },
            { id: 9, name: "Treasury Management Operations", budget: "309760.07", employee_count: 90 },
            { id: 10, name: "Strategy Development Management", budget: "65460.67", employee_count: 90 },
        ],
    });
    await prisma.depreciation_schedules.createMany({
        data: [
            { id: 1, description: "The appointment was escalated following a duplicate review.", rate: "0.0515", frequency: "annually" },
            { id: 2, description: "A repeat follow-up: the appointment was updated.", rate: "0.0159", frequency: "quarterly" },
            { id: 3, description: "A partial transfer was replaced the same day.", rate: "0.1532", frequency: "annually" },
            { id: 4, description: "Support reported a minor issue; the account was rejected.", rate: "0.1092", frequency: "monthly" },
            { id: 5, description: "Flagged as automatic. The courier escalated the shipment.", rate: "0.1694", frequency: "quarterly" },
            { id: 6, description: "The account was refunded — repeat case, no further action.", rate: "0.0748", frequency: "monthly" },
            { id: 7, description: "An unusual follow-up: the ticket was reviewed.", rate: "0.0906", frequency: "quarterly" },
            { id: 8, description: "The shipment was refunded — partial case, no further action.", rate: "0.1032", frequency: "monthly" },
            { id: 9, description: "A duplicate follow-up: the ticket was reopened.", rate: "0.1044", frequency: "monthly" },
            { id: 10, description: "The customer confirmed the details and the payment was rejected.", rate: "0.0363", frequency: "monthly" },
            { id: 11, description: "The supplier reported a routine issue; the ticket was reopened.", rate: "0.1879", frequency: "monthly" },
            { id: 12, description: "Flagged as incomplete. The supplier approved the account.", rate: "0.1210", frequency: "monthly" },
            { id: 13, description: "An unusual transfer was approved the same day.", rate: "0.1020", frequency: "monthly" },
            { id: 14, description: "The invoice was reopened — repeat case, no further action.", rate: "0.0642", frequency: "monthly" },
            { id: 15, description: "The supplier reported a repeat issue; the item was escalated.", rate: "0.1113", frequency: "monthly" },
            { id: 16, description: "The reviewer confirmed the details and the report was delayed.", rate: "0.1191", frequency: "monthly" },
            { id: 17, description: "The record was rejected — manual case, no further action.", rate: "0.0800", frequency: "monthly" },
            { id: 18, description: "A minor booking was completed the same day.", rate: "0.0521", frequency: "quarterly" },
            { id: 19, description: "The invoice was closed — partial case, no further action.", rate: "0.1157", frequency: "monthly" },
            { id: 20, description: "No response from the supplier, so the payment was resolved.", rate: "0.0111", frequency: "monthly" },
            { id: 21, description: "The request was rejected following a partial review.", rate: "0.1820", frequency: "monthly" },
            { id: 22, description: "The payment was escalated after a late check.", rate: "0.1621", frequency: "monthly" },
            { id: 23, description: "No response from support, so the invoice was reviewed.", rate: "0.0100", frequency: "monthly" },
            { id: 24, description: "An urgent follow-up: the payment was confirmed.", rate: "0.1127", frequency: "monthly" },
            { id: 25, description: "The team reported a minor issue; the invoice was rejected.", rate: "0.0259", frequency: "quarterly" },
            { id: 26, description: "The item was updated — minor case, no further action.", rate: "0.1155", frequency: "monthly" },
            { id: 27, description: "A duplicate follow-up: the order was approved.", rate: "0.1029", frequency: "monthly" },
            { id: 28, description: "The customer reported a standard issue; the refund was reopened.", rate: "0.1215", frequency: "annually" },
            { id: 29, description: "Flagged as standard. The supplier approved the transfer.", rate: "0.0704", frequency: "quarterly" },
            { id: 30, description: "The refund was rejected — urgent case, no further action.", rate: "0.0662", frequency: "annually" },
        ],
    });
    await prisma.journal_entries.createMany({
        data: [
            { id: 1, date: "2023-06-26", department_id: 4, amount: "6767.61", description: "The record was reviewed following an urgent review." },
            { id: 2, date: "2023-09-02", department_id: 9, amount: "701.37", description: "A manual follow-up: the session was replaced." },
            { id: 3, date: "2023-08-12", department_id: 3, amount: "7.73", description: "An urgent record was confirmed the same day." },
            { id: 4, date: "2023-05-03", department_id: 6, amount: "3098.50", description: "The booking was updated — automatic case, no further action." },
            { id: 5, date: "2023-04-22", department_id: 8, amount: "1680.55", description: null },
            { id: 6, date: "2023-07-12", department_id: 8, amount: "8848.03", description: "The reviewer confirmed the details and the delivery was confirmed." },
            { id: 7, date: "2023-04-10", department_id: 8, amount: "3.15", description: "The report was reviewed — late case, no further action." },
            { id: 8, date: "2023-09-15", department_id: 6, amount: "1581.76", description: "The payment was rejected after a partial check." },
            { id: 9, date: "2023-12-05", department_id: 6, amount: "5679.59", description: null },
            { id: 10, date: "2023-11-18", department_id: 4, amount: "814.86", description: "No response from support, so the booking was approved." },
            { id: 11, date: "2023-12-04", department_id: 4, amount: "8517.12", description: "A partial ticket was delayed the same day." },
            { id: 12, date: "2023-12-03", department_id: 5, amount: "3.72", description: "No response from the supplier, so the booking was escalated." },
            { id: 13, date: "2023-01-22", department_id: 6, amount: "8745.60", description: "Flagged as unusual. Support delayed the payment." },
            { id: 14, date: "2023-03-04", department_id: 9, amount: "763.97", description: "The reviewer asked for a change and the delivery was completed." },
            { id: 15, date: "2023-06-13", department_id: 9, amount: "6.25", description: null },
            { id: 16, date: "2023-06-21", department_id: 3, amount: "9603.74", description: "An incomplete transfer was confirmed the same day." },
            { id: 17, date: "2023-04-21", department_id: 8, amount: "5361.10", description: "The reviewer confirmed the details and the shipment was delayed." },
            { id: 18, date: "2023-02-04", department_id: 7, amount: "60.61", description: "The account owner confirmed the details and the account was rejected." },
            { id: 19, date: "2023-01-24", department_id: 8, amount: "9862.86", description: "A late booking was refunded the same day." },
            { id: 20, date: "2023-09-02", department_id: 7, amount: "11.08", description: "A manual appointment was rejected the same day." },
            { id: 21, date: "2023-06-04", department_id: 9, amount: "2822.50", description: "Flagged as late. The supplier updated the delivery." },
            { id: 22, date: "2023-12-29", department_id: 4, amount: "2926.15", description: "Flagged as duplicate. The account owner rescheduled the session." },
            { id: 23, date: "2023-03-20", department_id: 2, amount: "8796.69", description: "Support asked for a change and the refund was closed." },
            { id: 24, date: "2023-06-10", department_id: 4, amount: "526.18", description: "The ticket was updated after an urgent check." },
            { id: 25, date: "2023-08-30", department_id: 1, amount: "2925.07", description: null },
            { id: 26, date: "2023-06-26", department_id: 2, amount: "8022.33", description: "Flagged as duplicate. The team confirmed the appointment." },
            { id: 27, date: "2023-05-13", department_id: 4, amount: "3564.14", description: "The supplier confirmed the details and the item was rescheduled." },
            { id: 28, date: "2023-10-04", department_id: 7, amount: "4642.03", description: "Support asked for a change and the invoice was confirmed." },
            { id: 29, date: "2023-06-06", department_id: 7, amount: "215.47", description: "An operator asked for a change and the account was completed." },
            { id: 30, date: "2023-05-30", department_id: 10, amount: "5366.36", description: null },
            { id: 31, date: "2023-05-10", department_id: 8, amount: "5439.63", description: "An urgent shipment was reviewed the same day." },
            { id: 32, date: "2023-08-06", department_id: 6, amount: "2142.07", description: "The ticket was refunded after a partial check." },
            { id: 33, date: "2023-09-29", department_id: 6, amount: "7323.07", description: "Flagged as automatic. The customer reviewed the refund." },
            { id: 34, date: "2023-08-20", department_id: 7, amount: "4373.08", description: "The claim was completed — unusual case, no further action." },
            { id: 35, date: "2023-06-26", department_id: 6, amount: "39.10", description: null },
            { id: 36, date: "2023-11-24", department_id: 1, amount: "1722.37", description: "The team asked for a change and the booking was escalated." },
            { id: 37, date: "2023-07-19", department_id: 7, amount: "1409.04", description: "A standard follow-up: the claim was resolved." },
            { id: 38, date: "2023-11-27", department_id: 9, amount: "7904.87", description: null },
            { id: 39, date: "2023-08-10", department_id: 10, amount: "882.86", description: "The supplier reported a minor issue; the invoice was replaced." },
            { id: 40, date: "2023-01-06", department_id: 10, amount: "131.04", description: "An urgent follow-up: the delivery was reopened." },
            { id: 41, date: "2023-10-03", department_id: 8, amount: "1551.45", description: "A duplicate report was completed the same day." },
            { id: 42, date: "2023-07-29", department_id: 7, amount: "7279.48", description: "A minor follow-up: the document was rejected." },
            { id: 43, date: "2023-12-16", department_id: 9, amount: "49.15", description: "The session was cancelled — unusual case, no further action." },
            { id: 44, date: "2023-02-20", department_id: 1, amount: "8211.52", description: "The account was rejected — urgent case, no further action." },
            { id: 45, date: "2023-04-01", department_id: 2, amount: "4176.36", description: "A minor follow-up: the item was completed." },
            { id: 46, date: "2023-01-14", department_id: 9, amount: "358.53", description: "The appointment was reopened following a minor review." },
            { id: 47, date: "2023-11-21", department_id: 2, amount: "8630.60", description: null },
            { id: 48, date: "2023-04-07", department_id: 10, amount: "8968.44", description: "The account was closed — urgent case, no further action." },
            { id: 49, date: "2023-10-07", department_id: 2, amount: "136.34", description: "The supplier reported a partial issue; the order was resolved." },
            { id: 50, date: "2023-11-01", department_id: 4, amount: "1034.02", description: "The item was reopened following a minor review." },
            { id: 51, date: "2023-04-20", department_id: 4, amount: "862.23", description: "Flagged as incomplete. The account owner refunded the claim." },
            { id: 52, date: "2023-11-01", department_id: 3, amount: "1606.07", description: "Flagged as manual. The supplier confirmed the report." },
            { id: 53, date: "2023-04-13", department_id: 3, amount: "2940.29", description: "An operator asked for a change and the delivery was cancelled." },
            { id: 54, date: "2023-04-18", department_id: 8, amount: "5.29", description: "Support confirmed the details and the delivery was replaced." },
            { id: 55, date: "2023-12-06", department_id: 1, amount: "15.01", description: "The invoice was rejected after an incomplete check." },
            { id: 56, date: "2023-12-17", department_id: 9, amount: "13.35", description: "Support reported a partial issue; the transfer was rescheduled." },
            { id: 57, date: "2023-07-29", department_id: 2, amount: "433.94", description: "The shipment was approved after an unusual check." },
            { id: 58, date: "2023-12-10", department_id: 8, amount: "273.35", description: "The reviewer confirmed the details and the appointment was rescheduled." },
            { id: 59, date: "2023-12-02", department_id: 7, amount: "9230.38", description: "The customer confirmed the details and the booking was rescheduled." },
            { id: 60, date: "2023-10-09", department_id: 9, amount: "427.72", description: "The session was rejected — automatic case, no further action." },
            { id: 61, date: "2023-12-01", department_id: 7, amount: "7.48", description: "A manual follow-up: the invoice was approved." },
            { id: 62, date: "2023-02-22", department_id: 9, amount: "309.65", description: "Flagged as partial. The team rescheduled the refund." },
            { id: 63, date: "2023-05-19", department_id: 2, amount: "2506.28", description: "A routine follow-up: the appointment was rejected." },
            { id: 64, date: "2023-08-19", department_id: 9, amount: "6117.30", description: "An unusual follow-up: the ticket was completed." },
            { id: 65, date: "2023-10-06", department_id: 2, amount: "3152.70", description: null },
            { id: 66, date: "2023-08-21", department_id: 10, amount: "98.12", description: "The account was updated following an automatic review." },
            { id: 67, date: "2023-05-21", department_id: 4, amount: "746.16", description: "Flagged as repeat. The supplier cancelled the request." },
            { id: 68, date: "2023-05-22", department_id: 3, amount: "6600.69", description: "The invoice was delayed following a duplicate review." },
            { id: 69, date: "2023-04-05", department_id: 7, amount: "1221.16", description: "The reviewer confirmed the details and the account was confirmed." },
            { id: 70, date: "2023-10-04", department_id: 3, amount: "2844.73", description: "An incomplete transfer was reviewed the same day." },
            { id: 71, date: "2023-10-07", department_id: 10, amount: "51.51", description: "No response from the courier, so the refund was replaced." },
            { id: 72, date: "2023-08-29", department_id: 8, amount: "4229.00", description: "A routine follow-up: the refund was confirmed." },
            { id: 73, date: "2023-10-09", department_id: 2, amount: "5524.72", description: "The team reported an unusual issue; the booking was processed." },
            { id: 74, date: "2023-03-13", department_id: 7, amount: "4181.80", description: "Flagged as urgent. The account owner completed the shipment." },
            { id: 75, date: "2023-12-31", department_id: 6, amount: "18.66", description: "A repeat request was completed the same day." },
            { id: 76, date: "2023-11-04", department_id: 4, amount: "180.81", description: "The booking was replaced — urgent case, no further action." },
            { id: 77, date: "2023-10-11", department_id: 6, amount: "607.13", description: "An urgent document was delayed the same day." },
            { id: 78, date: "2023-10-09", department_id: 2, amount: "4840.78", description: "The customer confirmed the details and the order was replaced." },
            { id: 79, date: "2023-11-18", department_id: 9, amount: "8164.00", description: "No response from the courier, so the invoice was refunded." },
            { id: 80, date: "2023-08-02", department_id: 4, amount: "9176.95", description: null },
            { id: 81, date: "2023-06-27", department_id: 5, amount: "5704.37", description: "The reviewer asked for a change and the refund was completed." },
            { id: 82, date: "2023-07-18", department_id: 8, amount: "8004.82", description: null },
            { id: 83, date: "2023-07-05", department_id: 6, amount: "223.06", description: "The reviewer confirmed the details and the shipment was resolved." },
            { id: 84, date: "2023-08-29", department_id: 1, amount: "9707.96", description: null },
            { id: 85, date: "2023-12-04", department_id: 6, amount: "662.75", description: "The claim was closed — partial case, no further action." },
            { id: 86, date: "2023-03-25", department_id: 6, amount: "434.11", description: "No response from the customer, so the request was replaced." },
            { id: 87, date: "2023-09-29", department_id: 7, amount: "1523.72", description: null },
            { id: 88, date: "2023-06-25", department_id: 10, amount: "3086.97", description: "The reviewer reported a partial issue; the record was cancelled." },
            { id: 89, date: "2023-09-09", department_id: 9, amount: "4711.81", description: "The courier reported a standard issue; the refund was escalated." },
            { id: 90, date: "2023-09-15", department_id: 10, amount: "6605.06", description: "A repeat follow-up: the transfer was rejected." },
            { id: 91, date: "2023-11-04", department_id: 1, amount: "2400.83", description: null },
            { id: 92, date: "2023-05-13", department_id: 4, amount: "10.86", description: "The courier asked for a change and the appointment was reviewed." },
            { id: 93, date: "2023-11-07", department_id: 1, amount: "8958.66", description: "The item was updated after a late check." },
            { id: 94, date: "2023-06-05", department_id: 3, amount: "4573.83", description: null },
            { id: 95, date: "2023-06-29", department_id: 10, amount: "559.91", description: null },
            { id: 96, date: "2023-09-01", department_id: 7, amount: "2948.57", description: "The record was processed following a late review." },
            { id: 97, date: "2023-03-03", department_id: 10, amount: "2339.61", description: "An unusual follow-up: the invoice was reviewed." },
            { id: 98, date: "2023-07-28", department_id: 6, amount: "22.32", description: "Flagged as routine. The reviewer resolved the record." },
            { id: 99, date: "2023-09-06", department_id: 3, amount: "9015.25", description: "No response from an operator, so the invoice was approved." },
            { id: 100, date: "2023-05-07", department_id: 9, amount: "2305.99", description: "The document was cancelled — partial case, no further action." },
            { id: 101, date: "2023-10-25", department_id: 2, amount: "6393.71", description: "The order was processed — unusual case, no further action." },
            { id: 102, date: "2023-11-08", department_id: 1, amount: "3202.98", description: "A manual refund was refunded the same day." },
            { id: 103, date: "2023-02-25", department_id: 7, amount: "1261.93", description: "No response from the supplier, so the account was reviewed." },
            { id: 104, date: "2023-09-02", department_id: 6, amount: "1938.82", description: "The document was rescheduled after a partial check." },
            { id: 105, date: "2023-10-30", department_id: 10, amount: "9037.64", description: "Support confirmed the details and the ticket was updated." },
            { id: 106, date: "2023-09-01", department_id: 6, amount: "3974.95", description: "The customer asked for a change and the report was delayed." },
            { id: 107, date: "2023-10-10", department_id: 5, amount: "3599.28", description: "Flagged as partial. The courier refunded the ticket." },
            { id: 108, date: "2023-01-03", department_id: 1, amount: "4595.21", description: "The team asked for a change and the transfer was reopened." },
            { id: 109, date: "2023-11-08", department_id: 7, amount: "148.60", description: "Support confirmed the details and the record was reopened." },
            { id: 110, date: "2023-12-21", department_id: 7, amount: "2.12", description: null },
            { id: 111, date: "2023-11-19", department_id: 6, amount: "2389.83", description: "An operator reported an incomplete issue; the ticket was replaced." },
            { id: 112, date: "2023-12-22", department_id: 9, amount: "667.49", description: "The customer reported a late issue; the refund was delayed." },
            { id: 113, date: "2023-06-08", department_id: 3, amount: "8886.67", description: "The payment was reviewed following a partial review." },
            { id: 114, date: "2023-12-15", department_id: 1, amount: "1659.30", description: "The team asked for a change and the transfer was updated." },
            { id: 115, date: "2023-08-28", department_id: 5, amount: "7443.07", description: "An incomplete delivery was processed the same day." },
            { id: 116, date: "2023-01-03", department_id: 3, amount: "95.24", description: "No response from the customer, so the invoice was processed." },
            { id: 117, date: "2023-11-01", department_id: 6, amount: "1.32", description: "The session was cancelled after a duplicate check." },
            { id: 118, date: "2023-05-23", department_id: 9, amount: "3821.13", description: "The courier reported an incomplete issue; the document was delayed." },
            { id: 119, date: "2023-06-12", department_id: 2, amount: "3827.59", description: null },
            { id: 120, date: "2023-10-06", department_id: 4, amount: "8336.70", description: "The item was cancelled after an incomplete check." },
            { id: 121, date: "2023-12-28", department_id: 6, amount: "8025.82", description: "A partial delivery was closed the same day." },
            { id: 122, date: "2023-12-18", department_id: 1, amount: "3090.43", description: "The appointment was rejected — urgent case, no further action." },
            { id: 123, date: "2023-11-19", department_id: 2, amount: "4.83", description: "The transfer was delayed — unusual case, no further action." },
            { id: 124, date: "2023-11-11", department_id: 5, amount: "195.96", description: null },
            { id: 125, date: "2023-07-22", department_id: 7, amount: "4400.96", description: "The courier asked for a change and the booking was rejected." },
            { id: 126, date: "2023-06-03", department_id: 3, amount: "1989.46", description: "The reviewer asked for a change and the ticket was reopened." },
            { id: 127, date: "2023-03-24", department_id: 3, amount: "7280.84", description: "The courier asked for a change and the record was completed." },
            { id: 128, date: "2023-09-02", department_id: 10, amount: "4982.28", description: "Flagged as automatic. Support closed the session." },
            { id: 129, date: "2023-05-14", department_id: 6, amount: "46.27", description: "The reviewer confirmed the details and the account was reopened." },
            { id: 130, date: "2023-09-18", department_id: 4, amount: "1194.36", description: "The courier asked for a change and the shipment was escalated." },
            { id: 131, date: "2023-06-12", department_id: 4, amount: "3247.01", description: "A late follow-up: the delivery was cancelled." },
            { id: 132, date: "2023-11-12", department_id: 5, amount: "6544.37", description: "A partial invoice was replaced the same day." },
            { id: 133, date: "2023-08-30", department_id: 2, amount: "1913.28", description: null },
            { id: 134, date: "2023-12-07", department_id: 9, amount: "187.88", description: null },
            { id: 135, date: "2023-10-03", department_id: 1, amount: "6624.55", description: "Flagged as duplicate. The courier completed the record." },
            { id: 136, date: "2023-12-01", department_id: 10, amount: "1595.98", description: "Flagged as routine. The supplier replaced the claim." },
            { id: 137, date: "2023-12-23", department_id: 4, amount: "4638.85", description: "The booking was processed after an urgent check." },
            { id: 138, date: "2023-09-07", department_id: 8, amount: "5595.10", description: "No response from the reviewer, so the payment was updated." },
            { id: 139, date: "2023-12-14", department_id: 1, amount: "33.48", description: "The courier asked for a change and the refund was escalated." },
            { id: 140, date: "2023-11-29", department_id: 10, amount: "7.82", description: null },
            { id: 141, date: "2023-10-10", department_id: 8, amount: "105.85", description: "The team confirmed the details and the record was approved." },
            { id: 142, date: "2023-06-22", department_id: 9, amount: "8148.98", description: "An urgent follow-up: the document was approved." },
            { id: 143, date: "2023-09-30", department_id: 8, amount: "6704.88", description: "The claim was replaced after a late check." },
            { id: 144, date: "2023-09-14", department_id: 7, amount: "551.60", description: "Flagged as partial. The reviewer completed the ticket." },
            { id: 145, date: "2023-03-14", department_id: 6, amount: "5003.45", description: "The supplier confirmed the details and the item was escalated." },
            { id: 146, date: "2023-02-16", department_id: 5, amount: "1416.62", description: "An operator reported a minor issue; the delivery was confirmed." },
            { id: 147, date: "2023-08-22", department_id: 4, amount: "1072.65", description: "The shipment was escalated after an urgent check." },
            { id: 148, date: "2023-11-23", department_id: 7, amount: "6.00", description: "The transfer was rejected after an urgent check." },
            { id: 149, date: "2023-12-28", department_id: 2, amount: "5210.32", description: "No response from the supplier, so the request was completed." },
            { id: 150, date: "2023-09-30", department_id: 1, amount: "4232.67", description: "The account was delayed — partial case, no further action." },
            { id: 151, date: "2023-09-15", department_id: 6, amount: "1946.38", description: "Support reported an incomplete issue; the transfer was closed." },
            { id: 152, date: "2023-01-05", department_id: 8, amount: "1598.15", description: "No response from the account owner, so the ticket was reviewed." },
            { id: 153, date: "2023-04-16", department_id: 7, amount: "90.84", description: "Flagged as urgent. An operator rejected the transfer." },
            { id: 154, date: "2023-10-10", department_id: 3, amount: "196.15", description: "The customer confirmed the details and the record was replaced." },
            { id: 155, date: "2023-05-26", department_id: 10, amount: "3414.56", description: "A repeat delivery was approved the same day." },
            { id: 156, date: "2023-06-04", department_id: 10, amount: "827.65", description: "No response from an operator, so the record was rejected." },
            { id: 157, date: "2023-12-08", department_id: 10, amount: "8613.66", description: "The courier confirmed the details and the account was escalated." },
            { id: 158, date: "2023-04-21", department_id: 9, amount: "6445.14", description: null },
            { id: 159, date: "2023-02-26", department_id: 9, amount: "303.07", description: "The shipment was processed following a partial review." },
            { id: 160, date: "2023-03-03", department_id: 5, amount: "965.77", description: "No response from the supplier, so the shipment was replaced." },
            { id: 161, date: "2023-03-12", department_id: 3, amount: "957.59", description: "The supplier asked for a change and the order was completed." },
            { id: 162, date: "2023-01-08", department_id: 4, amount: "913.89", description: "Flagged as manual. The customer cancelled the invoice." },
            { id: 163, date: "2023-12-13", department_id: 2, amount: "9049.54", description: "The team confirmed the details and the account was closed." },
            { id: 164, date: "2023-08-09", department_id: 5, amount: "7405.27", description: "The courier confirmed the details and the booking was completed." },
            { id: 165, date: "2023-10-16", department_id: 6, amount: "7803.95", description: "An automatic follow-up: the payment was approved." },
            { id: 166, date: "2023-01-14", department_id: 6, amount: "1082.42", description: "No response from support, so the claim was rejected." },
            { id: 167, date: "2023-01-06", department_id: 9, amount: "4056.59", description: "Flagged as repeat. The customer refunded the record." },
            { id: 168, date: "2023-12-10", department_id: 8, amount: "318.14", description: "An incomplete delivery was approved the same day." },
            { id: 169, date: "2023-09-10", department_id: 1, amount: "1166.62", description: "No response from the supplier, so the invoice was processed." },
            { id: 170, date: "2023-08-20", department_id: 6, amount: "3139.08", description: "Flagged as routine. Support escalated the shipment." },
            { id: 171, date: "2023-11-27", department_id: 2, amount: "2196.28", description: "The delivery was closed — standard case, no further action." },
            { id: 172, date: "2023-07-13", department_id: 10, amount: "1666.68", description: "The team reported a minor issue; the item was resolved." },
            { id: 173, date: "2023-10-07", department_id: 2, amount: "6924.47", description: "A repeat follow-up: the account was closed." },
            { id: 174, date: "2023-03-17", department_id: 8, amount: "2418.84", description: "The payment was escalated following an automatic review." },
            { id: 175, date: "2023-10-19", department_id: 1, amount: "2711.12", description: "The refund was completed following a standard review." },
            { id: 176, date: "2023-11-12", department_id: 3, amount: "1621.80", description: null },
            { id: 177, date: "2023-04-15", department_id: 2, amount: "3987.24", description: "The transfer was resolved following a routine review." },
            { id: 178, date: "2023-11-02", department_id: 6, amount: "29.57", description: "The transfer was refunded — minor case, no further action." },
            { id: 179, date: "2023-12-30", department_id: 7, amount: "665.21", description: "Flagged as duplicate. The reviewer resolved the booking." },
            { id: 180, date: "2023-02-09", department_id: 9, amount: "48.07", description: "The order was cancelled following a duplicate review." },
            { id: 181, date: "2023-12-09", department_id: 7, amount: "2225.90", description: "A standard follow-up: the shipment was rescheduled." },
            { id: 182, date: "2023-12-17", department_id: 6, amount: "138.75", description: "A repeat follow-up: the ticket was replaced." },
            { id: 183, date: "2023-11-24", department_id: 4, amount: "1803.52", description: "The claim was updated — duplicate case, no further action." },
            { id: 184, date: "2023-08-13", department_id: 9, amount: "1147.59", description: "The supplier reported a minor issue; the ticket was approved." },
            { id: 185, date: "2023-04-22", department_id: 5, amount: "678.80", description: null },
            { id: 186, date: "2023-06-15", department_id: 7, amount: "1757.08", description: null },
            { id: 187, date: "2023-07-26", department_id: 7, amount: "3507.23", description: "The invoice was rejected after a minor check." },
            { id: 188, date: "2023-07-31", department_id: 10, amount: "9651.74", description: "Support reported a manual issue; the record was processed." },
            { id: 189, date: "2023-10-20", department_id: 10, amount: "3483.13", description: "The supplier confirmed the details and the delivery was reopened." },
            { id: 190, date: "2023-10-20", department_id: 10, amount: "1391.11", description: "The delivery was cancelled after a manual check." },
            { id: 191, date: "2023-09-19", department_id: 8, amount: "3947.23", description: "No response from an operator, so the account was completed." },
            { id: 192, date: "2023-06-21", department_id: 2, amount: "9435.00", description: "Support reported an unusual issue; the transfer was closed." },
            { id: 193, date: "2023-02-09", department_id: 1, amount: "1.23", description: "Support confirmed the details and the item was cancelled." },
            { id: 194, date: "2023-12-08", department_id: 7, amount: "56.23", description: "The request was updated — incomplete case, no further action." },
            { id: 195, date: "2023-10-28", department_id: 8, amount: "5945.47", description: "The document was cancelled — unusual case, no further action." },
            { id: 196, date: "2023-10-24", department_id: 8, amount: "6047.98", description: "The request was cancelled after a routine check." },
            { id: 197, date: "2023-06-09", department_id: 2, amount: "1381.18", description: "No response from the courier, so the payment was completed." },
            { id: 198, date: "2023-07-02", department_id: 10, amount: "6095.96", description: "The supplier confirmed the details and the report was confirmed." },
            { id: 199, date: "2023-03-30", department_id: 2, amount: "3976.82", description: "A manual account was updated the same day." },
            { id: 200, date: "2023-05-16", department_id: 1, amount: "3228.48", description: "The session was updated following an urgent review." },
        ],
    });
    await prisma.invoices.createMany({
        data: [
            { id: 1, journal_entry_id: 115, customer_name: null, amount: "982.73", due_date: "2023-09-14" },
            { id: 2, journal_entry_id: 110, customer_name: "Jack Vargas", amount: "2634.43", due_date: "2023-11-30" },
            { id: 3, journal_entry_id: 102, customer_name: "Ines Young", amount: "1746.37", due_date: "2023-09-04" },
            { id: 4, journal_entry_id: 196, customer_name: "Karim Young", amount: "371.79", due_date: "2023-12-30" },
            { id: 5, journal_entry_id: 168, customer_name: "Felix Castro", amount: "4853.79", due_date: null },
            { id: 6, journal_entry_id: 185, customer_name: "Marco Moreau", amount: "66.61", due_date: "2023-11-24" },
            { id: 7, journal_entry_id: 61, customer_name: "Mei Jensen", amount: "1917.70", due_date: "2023-05-03" },
            { id: 8, journal_entry_id: 10, customer_name: "Lina Torres", amount: "138.03", due_date: "2023-01-03" },
            { id: 9, journal_entry_id: 121, customer_name: "Uma Walker", amount: "3532.93", due_date: "2023-09-10" },
            { id: 10, journal_entry_id: 7, customer_name: "Victor Moreau", amount: "432.13", due_date: "2023-04-17" },
            { id: 11, journal_entry_id: 72, customer_name: "Grace Smith", amount: "2516.99", due_date: "2023-08-17" },
            { id: 12, journal_entry_id: 135, customer_name: "Chen Zhang", amount: "599.92", due_date: "2023-07-17" },
            { id: 13, journal_entry_id: 173, customer_name: "Ines Gupta", amount: "3014.80", due_date: "2023-09-20" },
            { id: 14, journal_entry_id: 78, customer_name: "Ben Diaz", amount: "3988.02", due_date: "2023-02-27" },
            { id: 15, journal_entry_id: 104, customer_name: "Mohamed Martin", amount: "1927.61", due_date: "2023-09-01" },
            { id: 16, journal_entry_id: 36, customer_name: "Chen Ruiz", amount: "82.16", due_date: "2023-11-08" },
            { id: 17, journal_entry_id: 193, customer_name: "Karim Becker", amount: "2694.19", due_date: "2023-04-14" },
            { id: 18, journal_entry_id: 163, customer_name: "Ines Fischer", amount: "1357.06", due_date: "2023-12-10" },
            { id: 19, journal_entry_id: 144, customer_name: "Rosa Torres", amount: "886.84", due_date: "2023-09-24" },
            { id: 20, journal_entry_id: 179, customer_name: "Ben Walker", amount: "91.82", due_date: "2023-09-08" },
            { id: 21, journal_entry_id: 129, customer_name: "Tomas Wilson", amount: "11.35", due_date: "2023-01-24" },
            { id: 22, journal_entry_id: 77, customer_name: "Tariq Klein", amount: "489.18", due_date: "2023-08-26" },
            { id: 23, journal_entry_id: 50, customer_name: "Maria Andersen", amount: "1907.51", due_date: "2023-02-18" },
            { id: 24, journal_entry_id: 114, customer_name: "Hana Hoffmann", amount: "2111.63", due_date: "2023-04-03" },
            { id: 25, journal_entry_id: 24, customer_name: "Tariq Bennett", amount: "1190.40", due_date: "2023-07-01" },
            { id: 26, journal_entry_id: 123, customer_name: null, amount: "1542.82", due_date: null },
            { id: 27, journal_entry_id: 170, customer_name: "Julia Ali", amount: "13.32", due_date: "2023-10-21" },
            { id: 28, journal_entry_id: 9, customer_name: "Sam Adams", amount: "2602.28", due_date: "2023-03-06" },
            { id: 29, journal_entry_id: 137, customer_name: "Hannah Pereira", amount: "69.74", due_date: "2023-11-13" },
            { id: 30, journal_entry_id: 136, customer_name: "Ravi Nakamura", amount: "71.08", due_date: "2023-09-09" },
            { id: 31, journal_entry_id: 102, customer_name: "Ines Oliveira", amount: "612.66", due_date: "2023-07-22" },
            { id: 32, journal_entry_id: 151, customer_name: "Chen Schmidt", amount: "2905.57", due_date: "2023-01-26" },
            { id: 33, journal_entry_id: 51, customer_name: "Grace Moreau", amount: "1028.68", due_date: null },
            { id: 34, journal_entry_id: 44, customer_name: "Olivia Diaz", amount: "89.40", due_date: "2023-07-21" },
            { id: 35, journal_entry_id: 49, customer_name: null, amount: "1379.31", due_date: "2023-11-13" },
            { id: 36, journal_entry_id: 120, customer_name: "Emma Wang", amount: "806.62", due_date: "2023-03-19" },
            { id: 37, journal_entry_id: 159, customer_name: "James Shah", amount: "20.24", due_date: "2023-09-02" },
            { id: 38, journal_entry_id: 200, customer_name: null, amount: "266.00", due_date: "2023-03-24" },
            { id: 39, journal_entry_id: 113, customer_name: "Mia Ali", amount: "78.87", due_date: "2023-07-30" },
            { id: 40, journal_entry_id: 25, customer_name: "Anna Schmidt", amount: "462.11", due_date: "2023-02-18" },
            { id: 41, journal_entry_id: 93, customer_name: "Karim Tanaka", amount: "1510.36", due_date: "2023-01-17" },
            { id: 42, journal_entry_id: 127, customer_name: "Sven Miller", amount: "747.43", due_date: "2023-03-14" },
            { id: 43, journal_entry_id: 49, customer_name: "Jonas Dubois", amount: "178.69", due_date: "2023-04-12" },
            { id: 44, journal_entry_id: 20, customer_name: "Lina Ibrahim", amount: "4098.95", due_date: "2023-11-29" },
            { id: 45, journal_entry_id: 63, customer_name: "Jade Adams", amount: "4190.81", due_date: "2023-12-02" },
            { id: 46, journal_entry_id: 17, customer_name: "Hannah Becker", amount: "1804.95", due_date: "2023-09-01" },
            { id: 47, journal_entry_id: 52, customer_name: "Amir Demir", amount: "4556.66", due_date: "2023-04-30" },
            { id: 48, journal_entry_id: 191, customer_name: "Olivia Khan", amount: "779.68", due_date: "2023-06-28" },
            { id: 49, journal_entry_id: 61, customer_name: "Selin Rossi", amount: "1887.48", due_date: "2023-12-04" },
            { id: 50, journal_entry_id: 153, customer_name: "Carlos Singh", amount: "111.47", due_date: "2023-06-14" },
            { id: 51, journal_entry_id: 69, customer_name: "Karim Jansen", amount: "1238.90", due_date: "2023-09-29" },
            { id: 52, journal_entry_id: 153, customer_name: "Victor Hansen", amount: "3162.19", due_date: null },
            { id: 53, journal_entry_id: 62, customer_name: "Maya Murphy", amount: "3416.21", due_date: null },
            { id: 54, journal_entry_id: 98, customer_name: "Maja Yilmaz", amount: "1539.14", due_date: "2023-02-23" },
            { id: 55, journal_entry_id: 25, customer_name: "Anna Jansen", amount: "278.34", due_date: "2023-08-31" },
            { id: 56, journal_entry_id: 27, customer_name: "Ruby Demir", amount: "3245.02", due_date: "2023-10-25" },
            { id: 57, journal_entry_id: 162, customer_name: "Jonas Lee", amount: "2150.62", due_date: "2023-11-14" },
            { id: 58, journal_entry_id: 45, customer_name: "Andre Hughes", amount: "2427.35", due_date: "2023-04-10" },
            { id: 59, journal_entry_id: 171, customer_name: null, amount: "1617.74", due_date: "2023-09-05" },
            { id: 60, journal_entry_id: 156, customer_name: "Arjun Wright", amount: "3482.32", due_date: null },
            { id: 61, journal_entry_id: 150, customer_name: "Grace Baker", amount: "892.67", due_date: "2023-04-06" },
            { id: 62, journal_entry_id: 36, customer_name: "Elif Garcia", amount: "161.67", due_date: "2023-12-13" },
            { id: 63, journal_entry_id: 138, customer_name: "Mateo Patel", amount: "3985.81", due_date: null },
            { id: 64, journal_entry_id: 67, customer_name: "Hugo Bennett", amount: "1484.21", due_date: "2023-02-05" },
            { id: 65, journal_entry_id: 56, customer_name: "Jonas Ruiz", amount: "3280.43", due_date: "2023-08-05" },
            { id: 66, journal_entry_id: 56, customer_name: "Rafael Singh", amount: "47.15", due_date: "2023-10-14" },
            { id: 67, journal_entry_id: 168, customer_name: "Yusuf Gupta", amount: "1052.48", due_date: "2023-10-18" },
            { id: 68, journal_entry_id: 135, customer_name: "Noah Tanaka", amount: "87.10", due_date: "2023-01-16" },
            { id: 69, journal_entry_id: 164, customer_name: "Chen Shah", amount: "59.67", due_date: "2023-09-12" },
            { id: 70, journal_entry_id: 149, customer_name: "Diego Taylor", amount: "763.71", due_date: "2023-10-16" },
            { id: 71, journal_entry_id: 40, customer_name: "Nadia Diaz", amount: "3581.01", due_date: "2023-11-15" },
            { id: 72, journal_entry_id: 56, customer_name: null, amount: "626.81", due_date: "2023-02-10" },
            { id: 73, journal_entry_id: 159, customer_name: "Wei Carter", amount: "2305.77", due_date: "2023-12-08" },
            { id: 74, journal_entry_id: 49, customer_name: null, amount: "3486.69", due_date: "2023-11-11" },
            { id: 75, journal_entry_id: 128, customer_name: "Felix Kumar", amount: "315.50", due_date: "2023-07-23" },
            { id: 76, journal_entry_id: 34, customer_name: "Nadia Zhang", amount: "2669.00", due_date: "2023-10-22" },
            { id: 77, journal_entry_id: 43, customer_name: "Tomas Dubois", amount: "1156.60", due_date: "2023-08-19" },
            { id: 78, journal_entry_id: 17, customer_name: null, amount: "3598.49", due_date: "2023-08-12" },
            { id: 79, journal_entry_id: 196, customer_name: "Zara Hassan", amount: "2512.50", due_date: "2023-11-08" },
            { id: 80, journal_entry_id: 97, customer_name: "Rafael Yilmaz", amount: "4661.99", due_date: "2023-04-04" },
            { id: 81, journal_entry_id: 134, customer_name: "Oscar Castro", amount: "1741.47", due_date: "2023-12-17" },
            { id: 82, journal_entry_id: 152, customer_name: "Marco Patel", amount: "1243.98", due_date: "2023-07-16" },
            { id: 83, journal_entry_id: 172, customer_name: "Uma Adams", amount: "4471.84", due_date: null },
            { id: 84, journal_entry_id: 48, customer_name: "Pedro Gupta", amount: "931.63", due_date: "2023-07-13" },
            { id: 85, journal_entry_id: 81, customer_name: "Laura Johnson", amount: "164.06", due_date: "2023-02-15" },
            { id: 86, journal_entry_id: 25, customer_name: "Tomas Rossi", amount: "260.84", due_date: "2023-09-06" },
            { id: 87, journal_entry_id: 33, customer_name: "Julia Baker", amount: "2103.32", due_date: "2023-06-07" },
            { id: 88, journal_entry_id: 70, customer_name: "Carla Chen", amount: "3469.32", due_date: "2023-05-09" },
            { id: 89, journal_entry_id: 55, customer_name: null, amount: "1584.31", due_date: "2023-12-07" },
            { id: 90, journal_entry_id: 16, customer_name: "Ravi Ali", amount: "2093.02", due_date: "2023-01-09" },
            { id: 91, journal_entry_id: 61, customer_name: "Lena Mendes", amount: "466.58", due_date: "2023-10-17" },
            { id: 92, journal_entry_id: 99, customer_name: "Olivia Bennett", amount: "2695.09", due_date: "2023-03-18" },
            { id: 93, journal_entry_id: 18, customer_name: "Hana Schmidt", amount: "162.31", due_date: "2023-11-12" },
            { id: 94, journal_entry_id: 121, customer_name: "Ravi Cruz", amount: "4432.14", due_date: "2023-09-15" },
            { id: 95, journal_entry_id: 175, customer_name: "Maya Smith", amount: "2606.87", due_date: "2023-12-17" },
            { id: 96, journal_entry_id: 115, customer_name: null, amount: "317.86", due_date: "2023-10-25" },
            { id: 97, journal_entry_id: 158, customer_name: "Sven Chen", amount: "3319.64", due_date: "2023-08-06" },
            { id: 98, journal_entry_id: 129, customer_name: "Carla Zhang", amount: "982.50", due_date: "2023-04-23" },
            { id: 99, journal_entry_id: 43, customer_name: null, amount: "12.74", due_date: "2023-11-05" },
            { id: 100, journal_entry_id: 153, customer_name: "Mila Ahmed", amount: "10.64", due_date: "2023-07-21" },
            { id: 101, journal_entry_id: 59, customer_name: "Mateo Nguyen", amount: "173.11", due_date: "2023-09-16" },
            { id: 102, journal_entry_id: 85, customer_name: null, amount: "718.44", due_date: "2023-11-03" },
            { id: 103, journal_entry_id: 53, customer_name: null, amount: "142.74", due_date: null },
            { id: 104, journal_entry_id: 185, customer_name: "Hana Ahmed", amount: "538.93", due_date: null },
            { id: 105, journal_entry_id: 129, customer_name: "Amir Garcia", amount: "245.74", due_date: "2023-01-12" },
            { id: 106, journal_entry_id: 186, customer_name: "Lena Ruiz", amount: "2390.14", due_date: "2023-12-10" },
            { id: 107, journal_entry_id: 158, customer_name: "Kai Jensen", amount: "1132.82", due_date: "2023-03-10" },
            { id: 108, journal_entry_id: 118, customer_name: "James Hassan", amount: "2762.55", due_date: "2023-09-17" },
            { id: 109, journal_entry_id: 102, customer_name: "Olivia Schneider", amount: "770.94", due_date: "2023-12-29" },
            { id: 110, journal_entry_id: 101, customer_name: null, amount: "3056.85", due_date: "2023-12-26" },
            { id: 111, journal_entry_id: 73, customer_name: "Mei Almeida", amount: "212.46", due_date: "2023-08-14" },
            { id: 112, journal_entry_id: 196, customer_name: "Elena Oliveira", amount: "34.65", due_date: null },
            { id: 113, journal_entry_id: 77, customer_name: "Victor Oliveira", amount: "1495.45", due_date: "2023-03-13" },
            { id: 114, journal_entry_id: 77, customer_name: "Sven Almeida", amount: "2281.30", due_date: "2023-02-18" },
            { id: 115, journal_entry_id: 165, customer_name: "Sara Young", amount: "680.81", due_date: "2023-10-22" },
            { id: 116, journal_entry_id: 86, customer_name: "Lucas Martin", amount: "4504.94", due_date: "2023-12-29" },
            { id: 117, journal_entry_id: 149, customer_name: "Hannah Reyes", amount: "132.61", due_date: "2023-10-13" },
            { id: 118, journal_entry_id: 78, customer_name: "Theo Andersen", amount: "395.28", due_date: "2023-12-19" },
            { id: 119, journal_entry_id: 61, customer_name: "Nour Wilson", amount: "37.37", due_date: "2023-08-25" },
            { id: 120, journal_entry_id: 18, customer_name: null, amount: "2916.13", due_date: "2023-10-22" },
            { id: 121, journal_entry_id: 8, customer_name: "Hugo Demir", amount: "1935.39", due_date: "2023-08-01" },
            { id: 122, journal_entry_id: 85, customer_name: "Tariq Clark", amount: "1769.75", due_date: "2023-01-02" },
            { id: 123, journal_entry_id: 35, customer_name: "Sofia Ali", amount: "4989.59", due_date: "2023-10-02" },
            { id: 124, journal_entry_id: 21, customer_name: "Ravi Hoffmann", amount: "3592.46", due_date: "2023-12-02" },
            { id: 125, journal_entry_id: 74, customer_name: "Jade Costa", amount: "3622.05", due_date: null },
            { id: 126, journal_entry_id: 66, customer_name: null, amount: "405.17", due_date: "2023-03-08" },
            { id: 127, journal_entry_id: 62, customer_name: null, amount: "1845.61", due_date: "2023-10-14" },
            { id: 128, journal_entry_id: 102, customer_name: "Ethan Tanaka", amount: "169.22", due_date: "2023-09-05" },
            { id: 129, journal_entry_id: 166, customer_name: "Mohamed Kaya", amount: "1933.69", due_date: "2023-12-22" },
            { id: 130, journal_entry_id: 1, customer_name: "Maja Lopez", amount: "2049.62", due_date: "2023-08-04" },
            { id: 131, journal_entry_id: 61, customer_name: "Leo Ahmed", amount: "435.21", due_date: "2023-02-01" },
            { id: 132, journal_entry_id: 154, customer_name: "Mohamed Oliveira", amount: "3880.59", due_date: "2023-10-18" },
            { id: 133, journal_entry_id: 180, customer_name: "Emma Moreau", amount: "13.43", due_date: "2023-05-24" },
            { id: 134, journal_entry_id: 151, customer_name: "James Wright", amount: "4316.87", due_date: "2023-11-01" },
            { id: 135, journal_entry_id: 57, customer_name: "Tariq Walker", amount: "1471.66", due_date: "2023-09-17" },
            { id: 136, journal_entry_id: 38, customer_name: "Fatima Almeida", amount: "288.89", due_date: "2023-04-22" },
            { id: 137, journal_entry_id: 82, customer_name: "Arjun Yilmaz", amount: "78.58", due_date: "2023-06-18" },
            { id: 138, journal_entry_id: 43, customer_name: "Rafael Ruiz", amount: "2127.05", due_date: "2023-04-04" },
            { id: 139, journal_entry_id: 85, customer_name: "Sofia Kim", amount: "506.26", due_date: "2023-01-08" },
            { id: 140, journal_entry_id: 152, customer_name: "Deniz Wang", amount: "471.75", due_date: "2023-12-05" },
            { id: 141, journal_entry_id: 133, customer_name: "Jack Nguyen", amount: "155.20", due_date: "2023-12-22" },
            { id: 142, journal_entry_id: 28, customer_name: "Isaac Shah", amount: "2993.16", due_date: "2023-02-05" },
            { id: 143, journal_entry_id: 91, customer_name: "Ben Castro", amount: "2862.61", due_date: "2023-03-10" },
            { id: 144, journal_entry_id: 193, customer_name: "David Wilson", amount: "4890.85", due_date: "2023-07-13" },
            { id: 145, journal_entry_id: 94, customer_name: "Tomas Khan", amount: "2470.43", due_date: "2023-12-10" },
            { id: 146, journal_entry_id: 166, customer_name: "Nina Nakamura", amount: "4571.55", due_date: null },
            { id: 147, journal_entry_id: 96, customer_name: "Rafael Taylor", amount: "2630.67", due_date: "2023-04-27" },
            { id: 148, journal_entry_id: 104, customer_name: "Carla Schneider", amount: "12.82", due_date: "2023-10-25" },
            { id: 149, journal_entry_id: 76, customer_name: "Ravi Mendes", amount: "3180.30", due_date: "2023-01-07" },
            { id: 150, journal_entry_id: 55, customer_name: "Mei Martin", amount: "4878.77", due_date: "2023-03-11" },
        ],
    });
    await prisma.purchases.createMany({
        data: [
            { id: 1, journal_entry_id: 16, supplier_name: null, amount: "14.60", purchase_date: "2023-09-12" },
            { id: 2, journal_entry_id: 105, supplier_name: "Sable Health", amount: "5.02", purchase_date: "2023-04-20" },
            { id: 3, journal_entry_id: 7, supplier_name: "Juniper Group", amount: "8852.60", purchase_date: "2023-12-28" },
            { id: 4, journal_entry_id: 86, supplier_name: "Sable Foods", amount: "10.12", purchase_date: "2023-05-28" },
            { id: 5, journal_entry_id: 86, supplier_name: "Tidal Holdings", amount: "5814.48", purchase_date: "2023-09-01" },
            { id: 6, journal_entry_id: 123, supplier_name: "Ember Health", amount: "597.83", purchase_date: "2023-06-24" },
            { id: 7, journal_entry_id: 2, supplier_name: "Orbit Industries", amount: "6522.80", purchase_date: "2023-01-31" },
            { id: 8, journal_entry_id: 97, supplier_name: "Vector Health", amount: "6447.44", purchase_date: "2023-05-21" },
            { id: 9, journal_entry_id: 53, supplier_name: "Atlas Foods", amount: "362.71", purchase_date: "2023-04-18" },
            { id: 10, journal_entry_id: 2, supplier_name: null, amount: "998.83", purchase_date: "2023-10-29" },
            { id: 11, journal_entry_id: 33, supplier_name: "Quill Studio", amount: "3712.53", purchase_date: "2023-03-16" },
            { id: 12, journal_entry_id: 84, supplier_name: "Harbor Group", amount: "1760.39", purchase_date: "2023-09-26" },
            { id: 13, journal_entry_id: 74, supplier_name: "Tidal Group", amount: "1832.81", purchase_date: "2023-07-19" },
            { id: 14, journal_entry_id: 67, supplier_name: "Keystone Energy", amount: "127.74", purchase_date: "2023-01-30" },
            { id: 15, journal_entry_id: 42, supplier_name: null, amount: "49.65", purchase_date: "2023-06-22" },
            { id: 16, journal_entry_id: 174, supplier_name: "Cedar Digital", amount: "38.69", purchase_date: "2023-01-22" },
            { id: 17, journal_entry_id: 156, supplier_name: null, amount: "6838.50", purchase_date: "2023-08-22" },
            { id: 18, journal_entry_id: 131, supplier_name: "Delta Studio", amount: "5.12", purchase_date: "2023-04-22" },
            { id: 19, journal_entry_id: 114, supplier_name: "Field Analytics", amount: "6386.77", purchase_date: "2023-10-07" },
            { id: 20, journal_entry_id: 15, supplier_name: "Lantern Health", amount: "240.40", purchase_date: "2023-09-19" },
            { id: 21, journal_entry_id: 196, supplier_name: "Acme Software", amount: "755.87", purchase_date: "2023-10-24" },
            { id: 22, journal_entry_id: 45, supplier_name: "Cedar Partners", amount: "5419.73", purchase_date: "2023-12-29" },
            { id: 23, journal_entry_id: 2, supplier_name: "North Analytics", amount: "321.81", purchase_date: "2023-10-02" },
            { id: 24, journal_entry_id: 121, supplier_name: "Quill Labs", amount: "9635.11", purchase_date: "2023-09-10" },
            { id: 25, journal_entry_id: 61, supplier_name: "Summit Digital", amount: "8673.32", purchase_date: "2023-06-06" },
            { id: 26, journal_entry_id: 116, supplier_name: "Atlas Digital", amount: "951.24", purchase_date: "2023-06-06" },
            { id: 27, journal_entry_id: 80, supplier_name: "Cedar Analytics", amount: "3020.92", purchase_date: "2023-04-16" },
            { id: 28, journal_entry_id: 187, supplier_name: "Quill Works", amount: "8679.09", purchase_date: "2023-09-01" },
            { id: 29, journal_entry_id: 139, supplier_name: "Pine Logistics", amount: "631.81", purchase_date: "2023-01-14" },
            { id: 30, journal_entry_id: 177, supplier_name: null, amount: "2494.70", purchase_date: "2023-12-19" },
            { id: 31, journal_entry_id: 95, supplier_name: "Sable Logistics", amount: "982.41", purchase_date: "2023-11-14" },
            { id: 32, journal_entry_id: 9, supplier_name: "Compass Labs", amount: "28.77", purchase_date: "2023-11-12" },
            { id: 33, journal_entry_id: 13, supplier_name: "Delta Holdings", amount: "209.64", purchase_date: "2023-10-06" },
            { id: 34, journal_entry_id: 120, supplier_name: "Sable Health", amount: "1294.43", purchase_date: "2023-05-04" },
            { id: 35, journal_entry_id: 176, supplier_name: "Willow Studio", amount: "8053.87", purchase_date: "2023-07-07" },
            { id: 36, journal_entry_id: 102, supplier_name: "Atlas Industries", amount: "7285.08", purchase_date: "2023-09-20" },
            { id: 37, journal_entry_id: 77, supplier_name: "Ember Digital", amount: "424.58", purchase_date: "2023-04-22" },
            { id: 38, journal_entry_id: 60, supplier_name: "Oak Studio", amount: "54.62", purchase_date: "2023-12-31" },
            { id: 39, journal_entry_id: 140, supplier_name: "Vector Works", amount: "845.25", purchase_date: "2023-11-30" },
            { id: 40, journal_entry_id: 192, supplier_name: "Clear Logistics", amount: "3121.07", purchase_date: "2023-03-21" },
            { id: 41, journal_entry_id: 110, supplier_name: "Meridian Energy", amount: "664.10", purchase_date: "2023-11-27" },
            { id: 42, journal_entry_id: 62, supplier_name: "Meridian Logistics", amount: "6632.41", purchase_date: "2023-10-12" },
            { id: 43, journal_entry_id: 90, supplier_name: "Crest Health", amount: "905.14", purchase_date: "2023-11-15" },
            { id: 44, journal_entry_id: 68, supplier_name: "Beacon Works", amount: "7429.88", purchase_date: "2023-04-17" },
            { id: 45, journal_entry_id: 191, supplier_name: "Bright Foods", amount: "4625.28", purchase_date: "2023-05-06" },
            { id: 46, journal_entry_id: 178, supplier_name: "Willow Works", amount: "94.23", purchase_date: "2023-11-11" },
            { id: 47, journal_entry_id: 197, supplier_name: "Harbor Energy", amount: "3074.73", purchase_date: "2023-11-05" },
            { id: 48, journal_entry_id: 121, supplier_name: "Orbit Studio", amount: "808.62", purchase_date: "2023-03-05" },
            { id: 49, journal_entry_id: 188, supplier_name: "Ridge Partners", amount: "4682.84", purchase_date: "2023-03-09" },
            { id: 50, journal_entry_id: 131, supplier_name: "Summit Works", amount: "3223.81", purchase_date: "2023-10-28" },
            { id: 51, journal_entry_id: 23, supplier_name: "Clear Analytics", amount: "1864.40", purchase_date: "2023-09-28" },
            { id: 52, journal_entry_id: 76, supplier_name: "Juniper Analytics", amount: "3005.21", purchase_date: "2023-12-03" },
            { id: 53, journal_entry_id: 112, supplier_name: "Granite Holdings", amount: "4188.80", purchase_date: "2023-11-22" },
            { id: 54, journal_entry_id: 89, supplier_name: "Cedar Media", amount: "4639.57", purchase_date: "2023-12-05" },
            { id: 55, journal_entry_id: 23, supplier_name: "Compass Digital", amount: "3185.46", purchase_date: "2023-03-24" },
            { id: 56, journal_entry_id: 147, supplier_name: "Compass Digital", amount: "4507.47", purchase_date: "2023-01-08" },
            { id: 57, journal_entry_id: 141, supplier_name: "Blue Partners", amount: "1640.60", purchase_date: "2023-06-16" },
            { id: 58, journal_entry_id: 73, supplier_name: "Compass Works", amount: "41.78", purchase_date: "2023-12-05" },
            { id: 59, journal_entry_id: 37, supplier_name: "Sable Group", amount: "4733.95", purchase_date: "2023-05-17" },
            { id: 60, journal_entry_id: 94, supplier_name: "Blue Labs", amount: "9.15", purchase_date: "2023-10-21" },
            { id: 61, journal_entry_id: 40, supplier_name: null, amount: "9386.72", purchase_date: "2023-06-02" },
            { id: 62, journal_entry_id: 63, supplier_name: "Lantern Systems", amount: "171.15", purchase_date: "2023-10-20" },
            { id: 63, journal_entry_id: 113, supplier_name: "Vista Holdings", amount: "1452.59", purchase_date: "2023-12-27" },
            { id: 64, journal_entry_id: 198, supplier_name: "Forge Energy", amount: "3079.09", purchase_date: "2023-10-21" },
            { id: 65, journal_entry_id: 85, supplier_name: "Keystone Analytics", amount: "1465.37", purchase_date: "2023-06-21" },
            { id: 66, journal_entry_id: 80, supplier_name: "Tidal Partners", amount: "1418.37", purchase_date: "2023-02-10" },
            { id: 67, journal_entry_id: 81, supplier_name: null, amount: "5943.22", purchase_date: "2023-09-01" },
            { id: 68, journal_entry_id: 80, supplier_name: "Summit Software", amount: "2567.49", purchase_date: "2023-09-24" },
            { id: 69, journal_entry_id: 20, supplier_name: "Lumen Media", amount: "5125.69", purchase_date: "2023-02-13" },
            { id: 70, journal_entry_id: 29, supplier_name: null, amount: "1585.93", purchase_date: "2023-10-11" },
            { id: 71, journal_entry_id: 68, supplier_name: "Pine Industries", amount: "3227.02", purchase_date: "2023-11-08" },
            { id: 72, journal_entry_id: 195, supplier_name: "Cedar Industries", amount: "1859.61", purchase_date: "2023-07-27" },
            { id: 73, journal_entry_id: 175, supplier_name: "Vector Works", amount: "7341.30", purchase_date: "2023-07-05" },
            { id: 74, journal_entry_id: 71, supplier_name: null, amount: "604.03", purchase_date: "2023-11-11" },
            { id: 75, journal_entry_id: 67, supplier_name: "Bright Holdings", amount: "9764.74", purchase_date: "2023-07-18" },
            { id: 76, journal_entry_id: 157, supplier_name: "Atlas Studio", amount: "459.73", purchase_date: "2023-06-15" },
            { id: 77, journal_entry_id: 164, supplier_name: "Harbor Group", amount: "4338.91", purchase_date: "2023-06-29" },
            { id: 78, journal_entry_id: 59, supplier_name: "Vector Digital", amount: "1750.67", purchase_date: "2023-07-21" },
            { id: 79, journal_entry_id: 82, supplier_name: "Orbit Group", amount: "1074.16", purchase_date: "2023-10-02" },
            { id: 80, journal_entry_id: 44, supplier_name: "Blue Group", amount: "4494.57", purchase_date: "2023-04-12" },
            { id: 81, journal_entry_id: 188, supplier_name: "Iron Health", amount: "9704.26", purchase_date: "2023-12-14" },
            { id: 82, journal_entry_id: 32, supplier_name: "Iron Partners", amount: "832.68", purchase_date: "2023-07-02" },
            { id: 83, journal_entry_id: 91, supplier_name: "Delta Industries", amount: "1813.40", purchase_date: "2023-12-11" },
            { id: 84, journal_entry_id: 160, supplier_name: "Juniper Analytics", amount: "5861.16", purchase_date: "2023-07-03" },
            { id: 85, journal_entry_id: 13, supplier_name: "Compass Digital", amount: "2386.87", purchase_date: "2023-12-13" },
            { id: 86, journal_entry_id: 99, supplier_name: null, amount: "6916.01", purchase_date: "2023-03-24" },
            { id: 87, journal_entry_id: 175, supplier_name: "Juniper Industries", amount: "587.10", purchase_date: "2023-12-14" },
            { id: 88, journal_entry_id: 200, supplier_name: "Apex Analytics", amount: "6924.09", purchase_date: "2023-01-16" },
            { id: 89, journal_entry_id: 156, supplier_name: "Compass Logistics", amount: "3276.81", purchase_date: "2023-12-01" },
            { id: 90, journal_entry_id: 156, supplier_name: "Harbor Software", amount: "9984.01", purchase_date: "2023-10-10" },
            { id: 91, journal_entry_id: 27, supplier_name: "Oak Studio", amount: "1246.12", purchase_date: "2023-05-09" },
            { id: 92, journal_entry_id: 194, supplier_name: "Vector Works", amount: "1454.85", purchase_date: "2023-08-27" },
            { id: 93, journal_entry_id: 29, supplier_name: "Vector Media", amount: "6.28", purchase_date: "2023-04-17" },
            { id: 94, journal_entry_id: 48, supplier_name: null, amount: "1332.42", purchase_date: "2023-11-11" },
            { id: 95, journal_entry_id: 190, supplier_name: "Meridian Energy", amount: "7272.82", purchase_date: "2023-04-11" },
            { id: 96, journal_entry_id: 16, supplier_name: "Delta Media", amount: "3311.19", purchase_date: "2023-01-31" },
            { id: 97, journal_entry_id: 124, supplier_name: "Forge Energy", amount: "2122.14", purchase_date: "2023-04-29" },
            { id: 98, journal_entry_id: 152, supplier_name: "River Works", amount: "984.29", purchase_date: "2023-02-26" },
            { id: 99, journal_entry_id: 77, supplier_name: "Lantern Partners", amount: "1263.97", purchase_date: "2023-12-16" },
            { id: 100, journal_entry_id: 62, supplier_name: "Willow Partners", amount: "7354.05", purchase_date: "2023-07-31" },
        ],
    });
    await prisma.tax_rates.createMany({
        data: [
            { id: 1, description: "Flagged as unusual. The team closed the request.", rate: "0.1350", is_active: true, effective_date: "2023-07-15" },
            { id: 2, description: "The customer reported an automatic issue; the delivery was processed.", rate: "0.1991", is_active: false, effective_date: "2023-01-22" },
            { id: 3, description: "The booking was closed following an automatic review.", rate: "0.1677", is_active: false, effective_date: "2023-12-20" },
            { id: 4, description: "The document was updated following an unusual review.", rate: "0.0957", is_active: true, effective_date: "2023-04-05" },
            { id: 5, description: null, rate: "0.1301", is_active: false, effective_date: "2023-02-24" },
            { id: 6, description: "The record was reviewed after a duplicate check.", rate: "0.1057", is_active: true, effective_date: "2023-03-05" },
            { id: 7, description: "The reviewer confirmed the details and the booking was rejected.", rate: "0.2122", is_active: true, effective_date: "2023-09-09" },
            { id: 8, description: "Flagged as incomplete. The courier approved the request.", rate: "0.1682", is_active: true, effective_date: "2023-08-02" },
            { id: 9, description: null, rate: "0.1737", is_active: true, effective_date: "2023-07-23" },
            { id: 10, description: "No response from the team, so the account was cancelled.", rate: "0.2435", is_active: true, effective_date: "2023-07-09" },
            { id: 11, description: "Flagged as partial. Support reopened the session.", rate: "0.0192", is_active: true, effective_date: "2023-10-21" },
            { id: 12, description: "An unusual invoice was completed the same day.", rate: "0.2159", is_active: true, effective_date: "2023-10-01" },
            { id: 13, description: null, rate: "0.2387", is_active: false, effective_date: "2023-08-03" },
            { id: 14, description: "The order was escalated — repeat case, no further action.", rate: "0.0359", is_active: true, effective_date: "2023-05-20" },
            { id: 15, description: null, rate: "0.2556", is_active: true, effective_date: "2023-01-24" },
            { id: 16, description: "Flagged as repeat. The customer refunded the appointment.", rate: "0.2923", is_active: true, effective_date: "2023-01-05" },
            { id: 17, description: "The order was approved — incomplete case, no further action.", rate: "0.0495", is_active: true, effective_date: "2023-01-26" },
            { id: 18, description: "Flagged as incomplete. The customer replaced the appointment.", rate: "0.1651", is_active: true, effective_date: "2023-03-21" },
            { id: 19, description: "The team confirmed the details and the request was cancelled.", rate: "0.0164", is_active: false, effective_date: "2023-12-16" },
            { id: 20, description: "A routine shipment was escalated the same day.", rate: "0.0599", is_active: true, effective_date: "2023-12-14" },
        ],
    });
}

main()
    .then(() => prisma.$disconnect())
    .catch(async error => {
        console.error(error);
        await prisma.$disconnect();
        process.exit(1);
    });
