<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "https://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" dtd-version="1.2" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">IJARA</journal-id>
<journal-title-group><journal-title>International Journal of Accounting Research and Auditing</journal-title></journal-title-group>
<publisher><publisher-name>Thomson &amp; Ryberg Publications</publisher-name></publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.62715/ijara.2026.v1.i1.pp14-18</article-id>
<article-id pub-id-type="publisher-id">4b872447f4</article-id>
<article-categories><subj-group subj-group-type="heading"><subject>Methodology Article</subject></subj-group></article-categories>
<title-group><article-title>Setting Up Continuous Auditing With Process Mining for a Mid-Sized Manufacturer&#x27;s Procure-to-Pay Cycle: A Methodological Guide</article-title></title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes"><name><surname>Wojcik</surname><given-names>Jack</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1">*</xref></contrib>
<contrib contrib-type="author"><name><surname>Cote</surname><given-names>Camille</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib>
<contrib contrib-type="author"><name><surname>Osborne</surname><given-names>Aiko</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib>
<aff id="aff1"><label>1</label>Department of Accounting, Sharavati Research Institute of Accounting, Finland</aff>
<aff id="aff2"><label>2</label>Department of Accounting, Ural Institute for Advanced Accounting, Jordan</aff>
<aff id="aff3"><label>3</label>Department of Accounting, Pearl River Academy of Accounting, Armenia</aff>
</contrib-group>
<author-notes><corresp id="cor1">* Correspondence: <email>jack.wojcik@sharavati.edu</email></corresp></author-notes>
<pub-date pub-type="epub" iso-8601-date="2026-06-08"><day>08</day><month>06</month><year>2026</year></pub-date>
<volume>1</volume>
<issue>1</issue>
<fpage>14</fpage>
<lpage>18</lpage>
<history>
<date date-type="received" iso-8601-date="2026-01-24"><day>24</day><month>01</month><year>2026</year></date>
<date date-type="accepted" iso-8601-date="2026-04-09"><day>09</day><month>04</month><year>2026</year></date>
</history>
<permissions><copyright-statement>© 2026 The Author(s)</copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><license-p>This is an open access article distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).</license-p></license></permissions>
<self-uri xlink:href="https://trpub.org/article.php?id=4b872447f4"/>
<abstract><p>Continuous auditing has been discussed for more than thirty years and is still rare outside large groups. Process mining, which reconstructs how transactions actually moved through a system from the traces they leave, has made it more attainable, because the same event log can show the real process, test it against the intended one and be refreshed on a schedule. This article sets out a method for establishing continuous auditing of the procure-to-pay cycle in a mid-sized manufacturing company using process mining. It is a guide to the method and reports no implementation. Eight stages are described: fixing scope and control objectives, building the event log, checking data quality, discovering the process as it runs, defining the reference model and rules, conformance checking, scheduling and alerting, and follow-up with feedback into the rules. For each control objective the article gives the deviation to look for and the event-log test that detects it. The discussion covers the choices a mid-sized firm faces on tooling, frequency and ownership, and the limits of what an event log can show.</p></abstract>
<kwd-group kwd-group-type="author">
<kwd>Continuous auditing</kwd>
<kwd>Process mining</kwd>
<kwd>Procure-to-pay</kwd>
<kwd>Conformance checking</kwd>
<kwd>Internal control</kwd>
<kwd>Event log</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="sec1"><title>1. Introduction</title>
<p>The idea of auditing transactions as they occur, and not months later from a sample, goes back at least to Vasarhelyi and Halper (1991). Pilot systems followed in large organisations, the best documented being the continuous monitoring of business process controls at Siemens (Alles et al., 2006). Three decades on, continuous auditing remains unusual in companies of ordinary size. The obstacles are well known: rules have to be written for each control, the systems that hold the data were not built to be audited, and somebody has to deal with the exceptions (Chan and Vasarhelyi, 2011).</p>
<p>Process mining changes the first of those obstacles. Every purchase order created, approved, received and paid leaves a time-stamped record in the enterprise system. Collected into an event log, those records allow the path of each transaction to be reconstructed and compared with the path it was supposed to take (van der Aalst, 2016). Jans et al. (2013) argued that this gives auditors something no sample can: evidence on the whole population, generated by the system and not by the auditee. A field study at a European bank then showed that mining the procurement event log surfaced control failures a conventional audit had not found (Jans et al., 2014).</p>
<p>This article turns that body of work into a method for one common setting: the procure-to-pay cycle of a mid-sized manufacturer. Purchasing is where a manufacturer spends most of its money, the process is standardised enough to model, and the classic control failures are easy to state. The article does not describe an implementation at a particular company. It sets out what would need to be done, in what order, and what could go wrong.</p>
</sec>
<sec id="sec2"><title>2. Background</title>
<p>Two ideas are combined here, and it helps to be exact about each.</p>
<sec id="sec2-2"><title>2.1. Continuous auditing</title>
<p>Continuous auditing produces assurance on a subject matter at short intervals, using automated procedures over complete data. It is usually distinguished from continuous monitoring, which is management&#x27;s own check on its controls; professional guidance treats the two as complementary and stresses that the auditor must stay independent of the process being monitored (IIA, 2015). Kogan et al. (2014) designed and evaluated a continuous system working at the level of individual transactions, and showed that most of the value lies in the choice of what counts as an exception. Too tight, and real problems pass; too loose, and reviewers drown.</p>
</sec>
<sec id="sec2-3"><title>2.2. Process mining as audit evidence</title>
<p>Process mining has three main tasks (van der Aalst et al., 2012). Discovery builds a model of the process from the log alone. Conformance checking compares the log with a model and reports where they disagree. Enhancement adds information such as waiting times or the people involved. For an auditor, discovery supports understanding the process, and conformance checking is a test of controls. Chiu and Jans (2019) used it to evaluate internal control effectiveness, and Werner et al. (2021) describe how it can be embedded in a financial statement audit. Open source tools now cover the full range of techniques (Berti et al., 2019).</p>
</sec>
</sec>
<sec id="sec3"><title>3. The Method</title>
<p>The method has eight stages. Figure 1 shows the flow of data and work, and the stages are described below. Table 1, which belongs to the fifth stage, links each control objective to a test.</p>
<table-wrap id="tbl1"><label>Table 1</label><caption><p>Control objectives for procure-to-pay, the deviation that signals failure and the event-log test for each</p></caption><table frame="hsides" rules="groups"><thead><tr><th>Control objective</th><th>Deviation to detect</th><th>Event-log test</th></tr></thead><tbody><tr><td>Purchases authorised before commitment</td><td>Invoice dated before the order; order sent without approval</td><td>Invoice receipt precedes order creation; no approval event before goods receipt</td></tr><tr><td>Goods received before payment</td><td>Payment with no goods receipt</td><td>Payment event with no earlier goods receipt on the case</td></tr><tr><td>Invoice agrees with order and receipt</td><td>Price or quantity changed after approval</td><td>Order change event after approval without a second approval</td></tr><tr><td>Approval limits respected</td><td>One purchase split into several orders below the limit</td><td>Same vendor, requester and day; individual values under the limit, sum above it</td></tr><tr><td>Segregation of duties</td><td>One person creates and approves, or receives and pays</td><td>Same user on two incompatible activities within one case</td></tr><tr><td>Vendors are genuine</td><td>Vendor bank details changed shortly before payment</td><td>Master data change event within a set number of days before payment</td></tr><tr><td>No duplicate payments</td><td>Same invoice paid twice</td><td>Two payment events with matching vendor, amount and reference</td></tr></tbody></table></table-wrap>
<fig id="fig1"><label>Figure 1</label><caption><p>Data and work flow of the proposed continuous auditing arrangement for the procure-to-pay cycle</p></caption><graphic xlink:href="IJARA_V1I1_2026_03_Figure1.png" mimetype="image" mime-subtype="png"/></fig>
<sec id="sec3-2"><title>3.1. Stage 1: Fix the scope and the control objectives</title>
<p>Start with what the controls are meant to achieve, not with what the data happen to contain. For procure-to-pay the objectives are few: purchases are authorised before commitment, goods are received before payment, invoices agree with orders and receipts, duties are separated, and vendors are genuine. The control framework the company already uses, typically the COSO framework (COSO, 2013), supplies the vocabulary. Scope is then set by materiality and risk: which company codes, which purchasing organisations, which document types.</p>
</sec>
<sec id="sec3-3"><title>3.2. Stage 2: Build the event log</title>
<p>An event log needs three things for every event: a case identifier, an activity name and a timestamp. The choice of case is the most consequential decision in the whole method. For procurement the purchase order line item is usually the right one, because quantities are received and invoiced by line. Activities are then read from the system&#x27;s records: requisition created, order created, order approved, order changed, goods received, invoice received, invoice cleared for payment, payment made. In an SAP system these come from the purchasing document tables, the purchase order history, the invoice and accounting documents, and the change log. Attributes worth carrying are the user, vendor, amount, plant and material group.</p>
</sec>
<sec id="sec3-4"><title>3.3. Stage 3: Check the quality of the log</title>
<p>Before any mining, the log is tested like any other audit evidence. Totals of ordered and invoiced value are agreed to the ledger. Cases that began before the extraction window or were unfinished at its end are identified, since an order with no payment is only an exception if the payment is overdue. Timestamps are examined for batch postings recorded at midnight and for clock differences between modules. Shared or generic user accounts are listed, because they defeat any test of who did what.</p>
</sec>
<sec id="sec3-5"><title>3.4. Stage 4: Discover the process as it runs</title>
<p>A discovery algorithm is run over the log to draw the process actually followed. Methods that guarantee a sound, readable model, such as the inductive miner (Leemans et al., 2013), suit audit use. The auditor lists the variants by frequency: commonly a small number of paths accounts for most cases and a long tail for the rest. The tail is where the audit interest lies, but the main paths must be understood first, with the people who run the process, so that legitimate variations are not mistaken for failures.</p>
</sec>
<sec id="sec3-6"><title>3.5. Stage 5: Define the reference model and the rules</title>
<p>The reference model states the permitted paths. It is derived from policy, adjusted for the legitimate variants confirmed in stage 4, and agreed with management. Alongside it sit rules that a path model cannot express, such as limits on who may perform two activities on the same case. Table 1 sets out the core set for a manufacturer.</p>
</sec>
<sec id="sec3-7"><title>3.6. Stage 6: Check conformance</title>
<p>The log is replayed against the reference model and each rule is evaluated. The output is a list of cases with the reason each failed. Two measures are worth recording for every run: the share of cases that conform, and the value they represent. A process in which nine cases in ten conform but the tenth carries most of the spending is not under control.</p>
</sec>
<sec id="sec3-8"><title>3.7. Stage 7: Schedule and alert</title>
<p>What makes the arrangement continuous is repetition. The extraction, log construction and conformance check are scripted and run on a schedule, with each run adding the events since the last. For a mid-sized manufacturer a weekly or monthly cycle is usually enough; daily runs matter only for the few rules, such as changes to vendor bank details, where delay increases the loss. Exceptions go to a queue with an owner and a due date.</p>
</sec>
<sec id="sec3-9"><title>3.8. Stage 8: Follow up and feed back</title>
<p>Each exception is examined and classified: a control failure, a legitimate variant not yet in the model, or a data artefact. Failures are reported and tracked to correction. Legitimate variants lead to a change in the reference model, approved and dated, so that the same pattern is not raised again. Data artefacts lead to a fix in the extraction. This loop is what stops the exception count from growing until nobody looks at it.</p>
</sec>
</sec>
<sec id="sec4"><title>4. Fitting the Method to a Mid-Sized Manufacturer</title>
<p>Large groups buy commercial process mining platforms and staff a team to run them. A mid-sized company has neither the budget nor the people, and three choices follow. On tooling, open source libraries are adequate for a single process and avoid licence cost, at the price of needing someone who can write and maintain scripts. On ownership, the arrangement should sit with internal audit where there is one, and otherwise with a finance function independent of purchasing; the external auditor can use the output but should not operate a control on the client&#x27;s behalf. On ambition, it is better to run seven rules reliably than forty badly. The rules in Table 1 cover the classic procurement control failures.</p>
</sec>
<sec id="sec5"><title>5. Limitations</title>
<p>The method is presented without an implementation, so nothing here shows how many exceptions it would raise in a given company or how many would prove to be real. That is the first thing an application would need to establish. Beyond that, an event log shows only what passed through the system. Orders placed by telephone and entered afterwards, approvals given by email, and collusion between two people who each perform their own step correctly are invisible to it. Timestamps record when something was entered, which is not always when it happened. And logs contain personal data about employees, so their use has to respect local data protection and employment rules. Process mining strengthens a control environment; it is not a substitute for one.</p>
</sec>
<sec id="sec6"><title>6. Conclusion</title>
<p>Continuous auditing of procure-to-pay is within reach of a mid-sized manufacturer if it is built on the event log the company already produces. The eight stages set out here move from control objectives to a scheduled conformance check with a managed exception queue, and the table of tests gives a starting set of rules. Whether the effort pays for itself depends on findings that only an implementation can supply, and reporting such implementations, with their false alarms as well as their successes, would be a useful contribution.</p>
</sec>
<sec id="sec7"><title>Conflict of interest</title>
<p>To be declared by the author(s) before publication.</p>
</sec>
<sec id="sec8"><title>Funding</title>
<p>To be declared by the author(s) before publication.</p>
</sec>
</body>
<back>
<ref-list><title>References</title>
<ref id="ref1"><label>1</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Alles, M., Brennan, G., Kogan, A. and Vasarhelyi, M.A.</string-name></person-group> (<year>2006</year>). <article-title>Continuous monitoring of business process controls: A pilot implementation of a continuous auditing system at Siemens</article-title>. <source>International Journal of Accounting Information Systems</source>, <volume>7(2)</volume>, <fpage>137-161</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.accinf.2005.10.004">https://doi.org/10.1016/j.accinf.2005.10.004</ext-link></mixed-citation></ref>
<ref id="ref2"><label>2</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Berti, A., van Zelst, S.J. and van der Aalst, W.M.P.</string-name></person-group> (<year>2019</year>). <article-title>Process mining for Python (PM4Py): Bridging the gap between process and data science</article-title>. <source>arXiv preprint arXiv:1905.06169</source></mixed-citation></ref>
<ref id="ref3"><label>3</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Chan, D.Y. and Vasarhelyi, M.A.</string-name></person-group> (<year>2011</year>). <article-title>Innovation and practice of continuous auditing</article-title>. <source>International Journal of Accounting Information Systems</source>, <volume>12(2)</volume>, <fpage>152-160</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.accinf.2011.01.001">https://doi.org/10.1016/j.accinf.2011.01.001</ext-link></mixed-citation></ref>
<ref id="ref4"><label>4</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Chiu, T. and Jans, M.</string-name></person-group> (<year>2019</year>). <article-title>Process mining of event logs: A case study evaluating internal control effectiveness</article-title>. <source>Accounting Horizons</source>, <volume>33(3)</volume>, <fpage>141-156</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2308/acch-52458">https://doi.org/10.2308/acch-52458</ext-link></mixed-citation></ref>
<ref id="ref5"><label>5</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>COSO</string-name></person-group> (<year>2013</year>). <article-title>Internal Control - Integrated Framework</article-title>. <source>Committee of Sponsoring Organizations of the Treadway Commission, New York</source></mixed-citation></ref>
<ref id="ref6"><label>6</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>IIA</string-name></person-group> (<year>2015</year>). <article-title>Global Technology Audit Guide 3: Continuous Auditing: Coordinating Continuous Auditing and Monitoring to Provide Continuous Assurance (2nd ed.)</article-title>. <source>The Institute of Internal Auditors, Altamonte Springs, FL</source></mixed-citation></ref>
<ref id="ref7"><label>7</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Jans, M., Alles, M. and Vasarhelyi, M.</string-name></person-group> (<year>2013</year>). <article-title>The case for process mining in auditing: Sources of value added and areas of application</article-title>. <source>International Journal of Accounting Information Systems</source>, <volume>14(1)</volume>, <fpage>1-20</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.accinf.2012.06.015">https://doi.org/10.1016/j.accinf.2012.06.015</ext-link></mixed-citation></ref>
<ref id="ref8"><label>8</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Jans, M., Alles, M.G. and Vasarhelyi, M.A.</string-name></person-group> (<year>2014</year>). <article-title>A field study on the use of process mining of event logs as an analytical procedure in auditing</article-title>. <source>The Accounting Review</source>, <volume>89(5)</volume>, <fpage>1751-1773</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2308/accr-50807">https://doi.org/10.2308/accr-50807</ext-link></mixed-citation></ref>
<ref id="ref9"><label>9</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Kogan, A., Alles, M.G., Vasarhelyi, M.A. and Wu, J.</string-name></person-group> (<year>2014</year>). <article-title>Design and evaluation of a continuous data level auditing system</article-title>. <source>Auditing: A Journal of Practice &amp; Theory</source>, <volume>33(4)</volume>, <fpage>221-245</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2308/ajpt-50844">https://doi.org/10.2308/ajpt-50844</ext-link></mixed-citation></ref>
<ref id="ref10"><label>10</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Leemans, S.J.J., Fahland, D. and van der Aalst, W.M.P.</string-name></person-group> (<year>2013</year>). <article-title>Discovering block-structured process models from event logs: A constructive approach</article-title>. <source>Application and Theory of Petri Nets and Concurrency, Lecture Notes in Computer Science</source>, <volume>7927</volume>, <fpage>311-329</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-642-38697-8_17">https://doi.org/10.1007/978-3-642-38697-8_17</ext-link></mixed-citation></ref>
<ref id="ref11"><label>11</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>van der Aalst, W.M.P.</string-name></person-group> (<year>2016</year>). <article-title>Process Mining: Data Science in Action (2nd ed.)</article-title>. <source>Springer, Berlin</source> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-662-49851-4">https://doi.org/10.1007/978-3-662-49851-4</ext-link></mixed-citation></ref>
<ref id="ref12"><label>12</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>van der Aalst, W.M.P., Adriansyah, A., de Medeiros, A.K.A., et al.</string-name></person-group> (<year>2012</year>). <article-title>Process mining manifesto</article-title>. <source>Business Process Management Workshops, Lecture Notes in Business Information Processing</source>, <volume>99</volume>, <fpage>169-194</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-642-28108-2_19">https://doi.org/10.1007/978-3-642-28108-2_19</ext-link></mixed-citation></ref>
<ref id="ref13"><label>13</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Vasarhelyi, M.A. and Halper, F.B.</string-name></person-group> (<year>1991</year>). <article-title>The continuous audit of online systems</article-title>. <source>Auditing: A Journal of Practice &amp; Theory</source>, <volume>10(1)</volume>, <fpage>110-125</fpage></mixed-citation></ref>
<ref id="ref14"><label>14</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Werner, M., Wiese, M. and Maas, A.</string-name></person-group> (<year>2021</year>). <article-title>Embedding process mining into financial statement audits</article-title>. <source>International Journal of Accounting Information Systems</source>, <volume>41</volume>, <fpage>100514</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.accinf.2021.100514">https://doi.org/10.1016/j.accinf.2021.100514</ext-link></mixed-citation></ref>
</ref-list>
</back>
</article>