Update item 'Security Incident Response - Managed Service' by changing category to 'Monitoring Services', sale price to '$15,800.00', enable purchase information with price '$11,400.00', add 'Income Tax Withholding' tax, then create a bill for vendor 'Scholars Academy' dated '12 March 2027' due '12 April 2027' for 2 units with 8% discount.
{
"message": "✅ Test passed: Correct system state.",
"success": true
}{
"action": "screenshot"
}{
"coordinate": {
"x": 700,
"y": 506
},
"action": "left_click"
}{
"coordinate": {
"y": 326,
"x": 107
},
"action": "left_click"
}{
"duration": 5,
"action": "wait"
}{
"coordinate": {
"x": 356,
"y": 300
},
"action": "left_click"
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"text": "Return",
"action": "key"
}{
"coordinate": {
"x": 380,
"y": 466
},
"action": "left_click"
}{
"coordinate": {
"x": 579,
"y": 565
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 401,
"x": 576
}
}{
"scroll_direction": "down",
"scroll_amount": 20,
"action": "scroll"
}{
"start_coordinate": {
"x": 270,
"y": 397
},
"action": "left_click_drag",
"coordinate": {
"x": 308,
"y": 397
}
}{
"coordinate": {
"y": 397,
"x": 308
},
"action": "triple_click"
}{
"text": "ctrl+a",
"action": "key"
}{
"text": "15800",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 502,
"y": 292
}
}{
"action": "left_click",
"coordinate": {
"x": 571,
"y": 401
}
}{
"action": "type",
"text": "11400"
}{
"coordinate": {
"y": 506,
"x": 387
},
"action": "left_click"
}{
"coordinate": {
"y": 631,
"x": 387
},
"action": "left_click"
}{
"coordinate": {
"y": 631,
"x": 681
},
"action": "left_click"
}{
"duration": 5,
"action": "wait"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 20
}{
"scroll_amount": 20,
"action": "scroll",
"scroll_direction": "down"
}{
"action": "left_click",
"coordinate": {
"y": 631,
"x": 681
}
}{
"action": "wait",
"duration": 5
}{
"coordinate": {
"x": 114,
"y": 427
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 114,
"y": 480
}
}{
"action": "wait",
"duration": 5
}{
"action": "left_click",
"coordinate": {
"y": 209,
"x": 709
}
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 527
}
}{
"action": "type",
"text": "Scholars Academy"
}{
"coordinate": {
"x": 107,
"y": 520
},
"action": "left_click"
}{
"action": "wait",
"duration": 5
}{
"coordinate": {
"x": 356,
"y": 463
},
"action": "left_click"
}{
"action": "type",
"text": "Scholars"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"x": 114,
"y": 480
},
"action": "left_click"
}{
"duration": 5,
"action": "wait"
}{
"action": "left_click",
"coordinate": {
"y": 209,
"x": 709
}
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 527
}
}{
"text": "Scholars",
"action": "type"
}{
"action": "type",
"text": " Academy"
}{
"coordinate": {
"x": 356,
"y": 486
},
"action": "left_click"
}{
"coordinate": {
"y": 438,
"x": 601
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 486,
"x": 733
}
}{
"text": "2027",
"action": "type"
}{
"coordinate": {
"x": 788,
"y": 486
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 616,
"x": 751
}
}{
"action": "left_click",
"coordinate": {
"x": 601,
"y": 555
}
}{
"coordinate": {
"y": 185,
"x": 788
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 606,
"y": 357
}
}{
"coordinate": {
"y": 687,
"x": 595
},
"action": "left_click"
}{
"action": "type",
"text": "Security Incident"
}{
"coordinate": {
"x": 571,
"y": 747
},
"action": "left_click"
}{
"coordinate": {
"y": 710,
"x": 671
},
"action": "left_click_drag",
"start_coordinate": {
"y": 710,
"x": 645
}
}{
"text": "2",
"action": "type"
}{
"scroll_amount": 20,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_direction": "up",
"scroll_amount": 10,
"action": "scroll"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 5
}{
"coordinate": {
"x": 766,
"y": 434
},
"action": "left_click"
}{
"action": "type",
"text": "8"
}{
"action": "left_click",
"coordinate": {
"y": 434,
"x": 766
}
}{
"text": "8",
"action": "type"
}{
"text": "BackSpace",
"action": "key"
}{
"text": "BackSpace",
"action": "key"
}{
"text": "8",
"action": "type"
}{
"scroll_direction": "up",
"scroll_amount": 5,
"action": "scroll"
}{
"coordinate": {
"y": 710,
"x": 660
},
"action": "left_click"
}{
"text": "ctrl+a",
"action": "key"
}{
"text": "2",
"action": "type"
}{
"scroll_amount": 5,
"scroll_direction": "down",
"action": "scroll"
}{
"coordinate": {
"y": 703,
"x": 922
},
"action": "left_click"
}{
"action": "wait",
"duration": 5
}{
"scroll_amount": 20,
"scroll_direction": "down",
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"x": 917,
"y": 703
}
}{
"action": "screenshot"
}{
"action": "screenshot"
}The to_compare transcript created a new vendor 'Scholars Academy' instead of selecting the existing vendor, resulting in a duplicate vendor with incomplete contact information (missing address, email, phone, tax number) and wrong contact_id, which caused incorrect bill totals and tax calculations.
{
"diffs": {
"ami_contacts": {
"insert.$insert.0.city": null,
"insert.$insert.0.name": "Scholars Academy",
"insert.$insert.0.type": "vendor",
"insert.$insert.0.email": null,
"insert.$insert.0.phone": null,
"insert.$insert.0.state": null,
"insert.$insert.0.address": null,
"insert.$insert.0.country": null,
"insert.$insert.0.enabled": true,
"insert.$insert.0.user_id": null,
"insert.$insert.0.website": null,
"insert.$insert.0.zip_code": null,
"insert.$insert.0.reference": null,
"insert.$insert.0.company_id": 1,
"insert.$insert.0.created_by": 1,
"insert.$insert.0.deleted_at": null,
"insert.$insert.0.tax_number": null,
"insert.$insert.0.currency_code": "USD"
},
"ami_documents": {
"insert.0.amount": [
18924.0,
17556.0
],
"insert.0.contact_id": [
203,
251
],
"insert.0.contact_city": [
"Atlanta",
null
],
"insert.0.contact_email": [
"ar@scholarsacademy.com",
null
],
"insert.0.contact_phone": [
"001-938-902-3597x832",
null
],
"insert.0.contact_address": [
"2450 Educational Plaza Drive, Suite 300",
null
],
"insert.0.contact_country": [
"US",
null
],
"insert.0.contact_tax_number": [
"66-4961312",
null
]
},
"ami_item_taxes": {
"insert.0.tax_id": [
1,
4
],
"insert.$delete.1.tax_id": 4,
"insert.$delete.1.item_id": 92,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null
},
"ami_document_items": {
"insert.0.tax": [
-2052.0,
-3420.0
]
},
"ami_document_totals": {
"insert.2.name": [
"Sales Tax",
"Income Tax Withholding"
],
"insert.3.code": [
"tax",
"total"
],
"insert.3.name": [
"Income Tax Withholding",
"invoices.total"
],
"insert.2.amount": [
1368.0,
3420.0
],
"insert.3.amount": [
3420.0,
17556.0
],
"insert.$delete.4.code": "total",
"insert.$delete.4.name": "invoices.total",
"insert.$delete.4.type": "bill",
"insert.$delete.4.amount": 18924.0,
"insert.$delete.4.company_id": 1,
"insert.$delete.4.created_by": 1,
"insert.$delete.4.deleted_at": null,
"insert.$delete.4.sort_order": 5,
"insert.$delete.4.document_id": 6188
},
"ami_document_item_taxes": {
"insert.$delete.1.name": "Sales Tax",
"insert.$delete.1.type": "bill",
"insert.$delete.1.amount": 1368.0,
"insert.$delete.1.tax_id": 1,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null,
"insert.$delete.1.document_id": 6188
}
},
"message": "❌ Test failed: Incorrect system state.",
"success": false
}{
"action": "screenshot"
}{
"action": "left_click",
"coordinate": {
"x": 704,
"y": 506
}
}{
"action": "left_click",
"coordinate": {
"y": 327,
"x": 71
}
}{
"action": "wait",
"duration": 3
}{
"coordinate": {
"x": 356,
"y": 300
},
"action": "left_click"
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"action": "left_click",
"coordinate": {
"y": 466,
"x": 387
}
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 500
}{
"scroll_direction": "up",
"action": "scroll",
"scroll_amount": 500
}{
"action": "left_click",
"coordinate": {
"y": 565,
"x": 578
}
}{
"coordinate": {
"x": 576,
"y": 400
},
"action": "left_click"
}{
"scroll_direction": "down",
"scroll_amount": 500,
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"y": 400,
"x": 335
}
}{
"action": "key",
"text": "ctrl+a"
}{
"text": "BackSpace",
"action": "key"
}{
"text": "15800.00",
"action": "type"
}{
"coordinate": {
"y": 293,
"x": 502
},
"action": "left_click"
}{
"coordinate": {
"y": 399,
"x": 584
},
"action": "left_click"
}{
"text": "11400.00",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 458,
"y": 512
}
}{
"action": "left_click",
"coordinate": {
"x": 458,
"y": 512
}
}{
"action": "left_click",
"coordinate": {
"y": 631,
"x": 360
}
}{
"coordinate": {
"y": 631,
"x": 681
},
"action": "left_click"
}{
"duration": 3,
"action": "wait"
}{
"coordinate": {
"x": 123,
"y": 425
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 120,
"y": 484
}
}{
"action": "wait",
"duration": 3
}{
"action": "left_click",
"coordinate": {
"y": 211,
"x": 696
}
}{
"action": "wait",
"duration": 3
}{
"action": "left_click",
"coordinate": {
"y": 484,
"x": 362
}
}{
"text": "Scholars Academy",
"action": "type"
}{
"coordinate": {
"y": 546,
"x": 357
},
"action": "left_click"
}{
"action": "type",
"text": "Scholars Academy"
}{
"action": "left_click",
"coordinate": {
"x": 396,
"y": 425
}
}{
"action": "type",
"text": "Scholars Academy"
}{
"action": "scroll",
"scroll_amount": 300,
"scroll_direction": "down"
}{
"coordinate": {
"y": 827,
"x": 626
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 600,
"y": 433
}
}{
"action": "left_click",
"coordinate": {
"x": 720,
"y": 485
}
}{
"action": "left_click",
"coordinate": {
"x": 745,
"y": 481
}
}{
"action": "left_click",
"coordinate": {
"x": 658,
"y": 486
}
}{
"action": "left_click",
"coordinate": {
"y": 606,
"x": 658
}
}{
"coordinate": {
"y": 616,
"x": 748
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 591,
"y": 559
}
}{
"action": "left_click",
"coordinate": {
"y": 176,
"x": 788
}
}{
"action": "left_click",
"coordinate": {
"x": 608,
"y": 356
}
}{
"coordinate": {
"y": 681,
"x": 608
},
"action": "left_click"
}{
"text": "Security Incident Response",
"action": "type"
}{
"coordinate": {
"x": 380,
"y": 741
},
"action": "left_click"
}{
"coordinate": {
"y": 699,
"x": 643
},
"action": "left_click"
}{
"text": "2",
"action": "type"
}{
"coordinate": {
"x": 664,
"y": 699
},
"action": "left_click"
}{
"text": "ctrl+a",
"action": "key"
}{
"action": "key",
"text": "BackSpace"
}{
"text": "2",
"action": "type"
}{
"action": "scroll",
"scroll_amount": 300,
"scroll_direction": "down"
}{
"action": "scroll",
"scroll_amount": 200,
"scroll_direction": "up"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 100
}{
"scroll_amount": 100,
"action": "scroll",
"scroll_direction": "up"
}{
"scroll_direction": "down",
"scroll_amount": 200,
"action": "scroll"
}{
"scroll_direction": "up",
"action": "scroll",
"scroll_amount": 100
}{
"action": "scroll",
"scroll_amount": 50,
"scroll_direction": "down"
}{
"scroll_direction": "up",
"scroll_amount": 50,
"action": "scroll"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 100
}{
"action": "left_click",
"coordinate": {
"x": 939,
"y": 825
}
}{
"scroll_amount": 100,
"scroll_direction": "up",
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"y": 825,
"x": 939
}
}{
"scroll_amount": 50,
"scroll_direction": "down",
"action": "scroll"
}{
"action": "scroll",
"scroll_amount": 20,
"scroll_direction": "up"
}{
"action": "key",
"text": "ctrl+minus"
}{
"text": "ctrl+minus",
"action": "key"
}{
"coordinate": {
"x": 750,
"y": 829
},
"action": "left_click"
}{
"text": "8",
"action": "type"
}{
"coordinate": {
"x": 714,
"y": 829
},
"action": "left_click"
}{
"action": "type",
"text": "8"
}{
"coordinate": {
"x": 612,
"y": 650
},
"action": "left_click"
}{
"coordinate": {
"x": 714,
"y": 696
},
"action": "left_click"
}{
"coordinate": {
"y": 520,
"x": 681
},
"action": "left_click"
}{
"action": "scroll",
"scroll_amount": 200,
"scroll_direction": "down"
}{
"action": "left_click",
"coordinate": {
"x": 920,
"y": 750
}
}{
"action": "screenshot"
}The to_compare transcript created a new vendor 'Scholars Academy' with minimal information instead of using the existing vendor with complete contact details, and also replaced the Sales Tax with Income Tax Withholding instead of adding it as an additional tax to the item.
{
"diffs": {
"ami_contacts": {
"insert.$insert.0.city": null,
"insert.$insert.0.name": "Scholars Academy",
"insert.$insert.0.type": "vendor",
"insert.$insert.0.email": null,
"insert.$insert.0.phone": null,
"insert.$insert.0.state": null,
"insert.$insert.0.address": null,
"insert.$insert.0.country": null,
"insert.$insert.0.enabled": true,
"insert.$insert.0.user_id": null,
"insert.$insert.0.website": null,
"insert.$insert.0.zip_code": null,
"insert.$insert.0.reference": null,
"insert.$insert.0.company_id": 1,
"insert.$insert.0.created_by": 1,
"insert.$insert.0.deleted_at": null,
"insert.$insert.0.tax_number": null,
"insert.$insert.0.currency_code": "USD"
},
"ami_documents": {
"insert.0.amount": [
18924.0,
17556.0
],
"insert.0.contact_id": [
203,
251
],
"insert.0.contact_city": [
"Atlanta",
null
],
"insert.0.contact_email": [
"ar@scholarsacademy.com",
null
],
"insert.0.contact_phone": [
"001-938-902-3597x832",
null
],
"insert.0.contact_address": [
"2450 Educational Plaza Drive, Suite 300",
null
],
"insert.0.contact_country": [
"US",
null
],
"insert.0.contact_tax_number": [
"66-4961312",
null
]
},
"ami_item_taxes": {
"insert.0.tax_id": [
1,
4
],
"insert.$delete.1.tax_id": 4,
"insert.$delete.1.item_id": 92,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null
},
"ami_document_items": {
"insert.0.tax": [
-2052.0,
-3420.0
]
},
"ami_document_totals": {
"insert.2.name": [
"Sales Tax",
"Income Tax Withholding"
],
"insert.3.code": [
"tax",
"total"
],
"insert.3.name": [
"Income Tax Withholding",
"invoices.total"
],
"insert.2.amount": [
1368.0,
3420.0
],
"insert.3.amount": [
3420.0,
17556.0
],
"insert.$delete.4.code": "total",
"insert.$delete.4.name": "invoices.total",
"insert.$delete.4.type": "bill",
"insert.$delete.4.amount": 18924.0,
"insert.$delete.4.company_id": 1,
"insert.$delete.4.created_by": 1,
"insert.$delete.4.deleted_at": null,
"insert.$delete.4.sort_order": 5,
"insert.$delete.4.document_id": 6188
},
"ami_document_item_taxes": {
"insert.$delete.1.name": "Sales Tax",
"insert.$delete.1.type": "bill",
"insert.$delete.1.amount": 1368.0,
"insert.$delete.1.tax_id": 1,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null,
"insert.$delete.1.document_id": 6188
}
},
"message": "❌ Test failed: Incorrect system state.",
"success": false
}{
"action": "screenshot"
}{
"coordinate": {
"x": 713,
"y": 509
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 332,
"x": 103
}
}{
"duration": 5,
"action": "wait"
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"action": "left_click",
"coordinate": {
"y": 298,
"x": 354
}
}{
"coordinate": {
"x": 16,
"y": 120
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 300,
"y": 300
}
}{
"action": "left_click",
"coordinate": {
"x": 16,
"y": 120
}
}{
"coordinate": {
"y": 122,
"x": 73
},
"action": "left_click"
}{
"duration": 5,
"action": "wait"
}{
"coordinate": {
"x": 300,
"y": 290
},
"action": "left_click"
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 460,
"x": 300
}
}{
"action": "left_click",
"coordinate": {
"y": 563,
"x": 605
}
}{
"text": "Monitoring Services",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"y": 630,
"x": 600
},
"action": "left_click"
}{
"scroll_direction": "down",
"scroll_amount": 300,
"action": "scroll"
}{
"coordinate": {
"x": 300,
"y": 400
},
"action": "triple_click"
}{
"text": "15800.00",
"action": "type"
}{
"coordinate": {
"x": 502,
"y": 290
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 400,
"x": 550
}
}{
"action": "type",
"text": "11400.00"
}{
"action": "left_click",
"coordinate": {
"x": 450,
"y": 510
}
}{
"action": "left_click",
"coordinate": {
"x": 450,
"y": 510
}
}{
"coordinate": {
"x": 300,
"y": 630
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 630,
"x": 680
}
}{
"action": "left_click",
"coordinate": {
"y": 430,
"x": 100
}
}{
"coordinate": {
"y": 475,
"x": 100
},
"action": "left_click"
}{
"action": "wait",
"duration": 5
}{
"action": "left_click",
"coordinate": {
"x": 700,
"y": 200
}
}{
"action": "left_click",
"coordinate": {
"x": 350,
"y": 500
}
}{
"action": "type",
"text": "Scholars Academy"
}{
"coordinate": {
"y": 540,
"x": 350
},
"action": "left_click"
}{
"action": "type",
"text": "Scholars Academy"
}{
"coordinate": {
"x": 400,
"y": 430
},
"action": "left_click"
}{
"action": "type",
"text": "Scholars Academy"
}{
"scroll_amount": 300,
"action": "scroll",
"scroll_direction": "down"
}{
"action": "left_click",
"coordinate": {
"x": 630,
"y": 820
}
}{
"action": "left_click",
"coordinate": {
"y": 440,
"x": 600
}
}{
"coordinate": {
"y": 440,
"x": 600
},
"action": "triple_click"
}{
"action": "type",
"text": "12 Mar 2027"
}{
"coordinate": {
"y": 490,
"x": 720
},
"action": "left_click"
}{
"action": "triple_click",
"coordinate": {
"y": 490,
"x": 720
}
}{
"text": "2027",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 485,
"x": 790
}
}{
"action": "left_click",
"coordinate": {
"x": 750,
"y": 615
}
}{
"action": "left_click",
"coordinate": {
"y": 550,
"x": 600
}
}{
"coordinate": {
"x": 788,
"y": 172
},
"action": "left_click"
}{
"coordinate": {
"y": 350,
"x": 610
},
"action": "left_click"
}{
"coordinate": {
"y": 680,
"x": 600
},
"action": "left_click"
}{
"action": "type",
"text": "Security"
}{
"action": "left_click",
"coordinate": {
"x": 500,
"y": 780
}
}{
"coordinate": {
"x": 650,
"y": 700
},
"action": "left_click"
}{
"coordinate": {
"y": 700,
"x": 650
},
"action": "triple_click"
}{
"text": "2",
"action": "type"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 200
}{
"action": "scroll",
"scroll_amount": 100,
"scroll_direction": "up"
}{
"scroll_amount": 300,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_direction": "up",
"action": "scroll",
"scroll_amount": 150
}{
"scroll_amount": 100,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_direction": "up",
"scroll_amount": 50,
"action": "scroll"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 150
}{
"scroll_amount": 100,
"scroll_direction": "up",
"action": "scroll"
}{
"scroll_direction": "down",
"scroll_amount": 400,
"action": "scroll"
}{
"scroll_direction": "up",
"scroll_amount": 50,
"action": "scroll"
}{
"action": "scroll",
"scroll_amount": 200,
"scroll_direction": "down"
}{
"action": "key",
"text": "ctrl+minus"
}{
"scroll_amount": 100,
"scroll_direction": "up",
"action": "scroll"
}{
"action": "scroll",
"scroll_amount": 300,
"scroll_direction": "down"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 50
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 100
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 50
}{
"text": "ctrl+minus",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 890,
"x": 750
}
}{
"action": "left_click",
"coordinate": {
"y": 890,
"x": 700
}
}{
"action": "type",
"text": "8"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 200
}{
"action": "left_click",
"coordinate": {
"y": 740,
"x": 900
}
}{
"action": "screenshot"
}The to_compare transcript created a new vendor 'Scholars Academy' instead of using the existing vendor in the system, and later applied the 8% discount by manually reducing the unit price to $10,488 instead of using the discount field, resulting in incorrect contact information, discount calculations, and document totals.
{
"diffs": {
"ami_contacts": {
"insert.$insert.0.city": null,
"insert.$insert.0.name": "Scholars Academy",
"insert.$insert.0.type": "vendor",
"insert.$insert.0.email": null,
"insert.$insert.0.phone": null,
"insert.$insert.0.state": null,
"insert.$insert.0.address": null,
"insert.$insert.0.country": null,
"insert.$insert.0.enabled": true,
"insert.$insert.0.user_id": null,
"insert.$insert.0.website": null,
"insert.$insert.0.zip_code": null,
"insert.$insert.0.reference": null,
"insert.$insert.0.company_id": 1,
"insert.$insert.0.created_by": 1,
"insert.$insert.0.deleted_at": null,
"insert.$insert.0.tax_number": null,
"insert.$insert.0.currency_code": "USD"
},
"ami_documents": {
"insert.0.amount": [
18924.0,
19088.16
],
"insert.0.contact_id": [
203,
251
],
"insert.0.contact_city": [
"Atlanta",
null
],
"insert.0.contact_email": [
"ar@scholarsacademy.com",
null
],
"insert.0.contact_phone": [
"001-938-902-3597x832",
null
],
"insert.0.discount_rate": [
8.0,
null
],
"insert.0.contact_address": [
"2450 Educational Plaza Drive, Suite 300",
null
],
"insert.0.contact_country": [
"US",
null
],
"insert.0.contact_tax_number": [
"66-4961312",
null
]
},
"ami_document_items": {
"insert.0.tax": [
-2052.0,
-1887.84
],
"insert.0.price": [
11400.0,
10488.0
],
"insert.0.total": [
22800.0,
20976.0
]
},
"ami_document_totals": {
"insert.1.code": [
"discount",
"tax"
],
"insert.1.name": [
"invoices.discount",
"Sales Tax"
],
"insert.2.name": [
"Sales Tax",
"Income Tax Withholding"
],
"insert.3.code": [
"tax",
"total"
],
"insert.3.name": [
"Income Tax Withholding",
"invoices.total"
],
"insert.0.amount": [
22800.0,
20976.0
],
"insert.1.amount": [
1824.0,
1258.56
],
"insert.2.amount": [
1368.0,
3146.4
],
"insert.3.amount": [
3420.0,
19088.16
],
"insert.$delete.4.code": "total",
"insert.$delete.4.name": "invoices.total",
"insert.$delete.4.type": "bill",
"insert.$delete.4.amount": 18924.0,
"insert.$delete.4.company_id": 1,
"insert.$delete.4.created_by": 1,
"insert.$delete.4.deleted_at": null,
"insert.$delete.4.sort_order": 5,
"insert.$delete.4.document_id": 6188
},
"ami_document_item_taxes": {
"insert.0.amount": [
1368.0,
1258.56
],
"insert.1.amount": [
3420.0,
3146.4
]
}
},
"message": "❌ Test failed: Incorrect system state.",
"success": false
}{
"action": "screenshot"
}{
"action": "left_click",
"coordinate": {
"y": 506,
"x": 704
}
}{
"action": "left_click",
"coordinate": {
"x": 90,
"y": 327
}
}{
"coordinate": {
"x": 398,
"y": 292
},
"action": "left_click"
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 462,
"x": 411
}
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 500
}{
"scroll_direction": "up",
"scroll_amount": 200,
"action": "scroll"
}{
"coordinate": {
"x": 571,
"y": 564
},
"action": "left_click"
}{
"coordinate": {
"x": 584,
"y": 397
},
"action": "left_click"
}{
"scroll_amount": 500,
"action": "scroll",
"scroll_direction": "down"
}{
"coordinate": {
"x": 360,
"y": 397
},
"action": "triple_click"
}{
"text": "15800.00",
"action": "type"
}{
"coordinate": {
"x": 502,
"y": 293
},
"action": "left_click"
}{
"coordinate": {
"y": 397,
"x": 584
},
"action": "left_click"
}{
"action": "type",
"text": "11400.00"
}{
"coordinate": {
"y": 512,
"x": 458
},
"action": "left_click"
}{
"coordinate": {
"x": 458,
"y": 512
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 631,
"x": 356
}
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 685
}
}{
"action": "left_click",
"coordinate": {
"x": 682,
"y": 631
}
}{
"action": "screenshot"
}{
"coordinate": {
"x": 682,
"y": 631
},
"action": "left_click"
}{
"scroll_direction": "up",
"scroll_amount": 500,
"action": "scroll"
}{
"scroll_direction": "down",
"scroll_amount": 500,
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"x": 682,
"y": 631
}
}{
"coordinate": {
"x": 107,
"y": 425
},
"action": "left_click"
}{
"coordinate": {
"y": 481,
"x": 107
},
"action": "left_click"
}{
"duration": 2,
"action": "wait"
}{
"coordinate": {
"y": 203,
"x": 691
},
"action": "left_click"
}{
"coordinate": {
"x": 356,
"y": 527
},
"action": "left_click"
}{
"text": "Scholars Academy",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 546
}
}{
"action": "left_click",
"coordinate": {
"y": 434,
"x": 431
}
}{
"text": "Scholars Academy",
"action": "type"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 200
}{
"action": "left_click",
"coordinate": {
"y": 823,
"x": 626
}
}{
"action": "left_click",
"coordinate": {
"y": 440,
"x": 632
}
}{
"coordinate": {
"x": 632,
"y": 440
},
"action": "triple_click"
}{
"action": "type",
"text": "12 Mar 2027"
}{
"coordinate": {
"x": 720,
"y": 486
},
"action": "left_click"
}{
"action": "type",
"text": "2027"
}{
"text": "Return",
"action": "key"
}{
"coordinate": {
"y": 486,
"x": 788
},
"action": "left_click"
}{
"coordinate": {
"x": 751,
"y": 618
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 670,
"y": 556
}
}{
"coordinate": {
"x": 788,
"y": 176
},
"action": "left_click"
}{
"coordinate": {
"y": 354,
"x": 613
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 684,
"x": 600
}
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"action": "left_click",
"coordinate": {
"x": 576,
"y": 746
}
}{
"coordinate": {
"y": 703,
"x": 668
},
"action": "left_click"
}{
"action": "type",
"text": "2"
}{
"coordinate": {
"x": 668,
"y": 703
},
"action": "left_click"
}{
"action": "type",
"text": "BackSpace"
}{
"action": "type",
"text": "BackSpace"
}{
"text": "2",
"action": "type"
}{
"coordinate": {
"x": 668,
"y": 703
},
"action": "double_click"
}{
"text": "2",
"action": "type"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 300
}{
"scroll_amount": 200,
"action": "scroll",
"scroll_direction": "up"
}{
"scroll_amount": 400,
"action": "scroll",
"scroll_direction": "down"
}{
"action": "scroll",
"scroll_amount": 200,
"scroll_direction": "up"
}{
"scroll_direction": "down",
"scroll_amount": 300,
"action": "scroll"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 100
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 50
}{
"scroll_amount": 50,
"action": "scroll",
"scroll_direction": "up"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 100
}{
"scroll_amount": 100,
"scroll_direction": "up",
"action": "scroll"
}{
"action": "scroll",
"scroll_amount": 200,
"scroll_direction": "down"
}{
"action": "scroll",
"scroll_amount": 100,
"scroll_direction": "up"
}{
"scroll_amount": 100,
"action": "scroll",
"scroll_direction": "down"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 50
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 150
}{
"text": "ctrl+minus",
"action": "key"
}{
"action": "key",
"text": "ctrl+minus"
}{
"scroll_direction": "up",
"scroll_amount": 400,
"action": "scroll"
}{
"coordinate": {
"x": 939,
"y": 689
},
"action": "left_click"
}{
"coordinate": {
"x": 939,
"y": 689
},
"action": "left_click"
}{
"coordinate": {
"y": 739,
"x": 939
},
"action": "left_click"
}{
"coordinate": {
"x": 939,
"y": 739
},
"action": "left_click"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 100
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 200
}{
"coordinate": {
"y": 689,
"x": 930
},
"action": "left_click"
}{
"coordinate": {
"x": 930,
"y": 689
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 762,
"y": 831
}
}{
"text": "8",
"action": "type"
}{
"coordinate": {
"y": 829,
"x": 728
},
"action": "left_click"
}{
"action": "type",
"text": "8"
}{
"action": "key",
"text": "BackSpace"
}{
"action": "left_click",
"coordinate": {
"y": 651,
"x": 600
}
}{
"coordinate": {
"x": 728,
"y": 591
},
"action": "double_click"
}{
"text": "10488.00",
"action": "type"
}{
"action": "triple_click",
"coordinate": {
"y": 591,
"x": 728
}
}{
"action": "type",
"text": "10488.00"
}{
"coordinate": {
"y": 690,
"x": 643
},
"action": "left_click"
}{
"coordinate": {
"y": 520,
"x": 643
},
"action": "left_click"
}{
"coordinate": {
"y": 645,
"x": 610
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 740,
"x": 643
}
}{
"action": "left_click",
"coordinate": {
"y": 600,
"x": 643
}
}{
"scroll_amount": 200,
"action": "scroll",
"scroll_direction": "down"
}{
"action": "left_click",
"coordinate": {
"y": 746,
"x": 904
}
}{
"action": "screenshot"
}{
"action": "screenshot"
}The to_compare transcript abandons the first bill creation and starts a new bill, resulting in two bills being created (one incomplete draft with $0 amount, one complete). The golden transcript persists with the original bill and successfully completes it by finding the Add Discount option without restarting.
{
"diffs": {
"ami_settings": {
"update.11.value.1": [
"2245",
"2246"
]
},
"ami_documents": {
"insert.0.amount": [
18924.0,
0.0
],
"insert.$insert.1.type": "bill",
"insert.$insert.1.color": "#55588b",
"insert.$insert.1.notes": null,
"insert.$insert.1.title": null,
"insert.0.discount_rate": [
8.0,
null
],
"insert.$insert.1.amount": 18924.0,
"insert.$insert.1.due_at": "2027-04-12 11:30:18",
"insert.$insert.1.footer": null,
"insert.$insert.1.status": "draft",
"insert.$insert.1.template": "default",
"insert.$insert.1.issued_at": "2027-03-12 11:30:18",
"insert.$insert.1.parent_id": 0,
"insert.$insert.1.company_id": 1,
"insert.$insert.1.contact_id": 203,
"insert.$insert.1.created_by": 1,
"insert.$insert.1.deleted_at": null,
"insert.$insert.1.subheading": null,
"insert.$insert.1.category_id": 4,
"insert.$insert.1.contact_city": "Atlanta",
"insert.$insert.1.contact_name": "Scholars Academy",
"insert.$insert.1.order_number": null,
"insert.$insert.1.contact_email": "ar@scholarsacademy.com",
"insert.$insert.1.contact_phone": "001-938-902-3597x832",
"insert.$insert.1.contact_state": null,
"insert.$insert.1.currency_code": "USD",
"insert.$insert.1.currency_rate": 1.0,
"insert.$insert.1.discount_rate": 8.0,
"insert.$insert.1.discount_type": "percentage",
"insert.$insert.1.contact_address": "2450 Educational Plaza Drive, Suite 300",
"insert.$insert.1.contact_country": "US",
"insert.$insert.1.document_number": "BILL-02245",
"insert.$insert.1.contact_zip_code": null,
"insert.$insert.1.contact_tax_number": "66-4961312"
},
"ami_document_items": {
"insert.0.document_id": [
6188,
6189
]
},
"ami_document_totals": {
"insert.4.code": [
"total",
"sub_total"
],
"insert.4.name": [
"invoices.total",
"invoices.sub_total"
],
"insert.3.amount": [
22800.0,
0.0
],
"insert.4.amount": [
18924.0,
22800.0
],
"insert.4.sort_order": [
5,
1
],
"insert.0.document_id": [
6188,
6189
],
"insert.1.document_id": [
6188,
6189
],
"insert.2.document_id": [
6188,
6189
],
"insert.4.document_id": [
6188,
6189
],
"insert.$insert.5.code": "total",
"insert.$insert.5.name": "invoices.total",
"insert.$insert.5.type": "bill",
"insert.$insert.6.code": "total",
"insert.$insert.6.name": "invoices.total",
"insert.$insert.6.type": "bill",
"insert.$insert.5.amount": 0.0,
"insert.$insert.6.amount": 18924.0,
"insert.$insert.5.company_id": 1,
"insert.$insert.5.created_by": 1,
"insert.$insert.5.deleted_at": null,
"insert.$insert.5.sort_order": 2,
"insert.$insert.6.company_id": 1,
"insert.$insert.6.created_by": 1,
"insert.$insert.6.deleted_at": null,
"insert.$insert.6.sort_order": 5,
"insert.$insert.5.document_id": 6188,
"insert.$insert.6.document_id": 6189
},
"ami_document_histories": {
"insert.$insert.1.type": "bill",
"insert.$insert.1.notify": false,
"insert.$insert.1.status": "draft",
"insert.$insert.1.company_id": 1,
"insert.$insert.1.created_by": 1,
"insert.$insert.1.deleted_at": null,
"insert.$insert.1.description": "BILL-02245 added!",
"insert.$insert.1.document_id": 6189
},
"ami_document_item_taxes": {
"insert.0.document_id": [
6188,
6189
],
"insert.1.document_id": [
6188,
6189
]
}
},
"message": "❌ Test failed: Incorrect system state.",
"success": false
}{
"action": "screenshot"
}{
"coordinate": {
"x": 704,
"y": 506
},
"action": "left_click"
}{
"coordinate": {
"y": 325,
"x": 107
},
"action": "left_click"
}{
"duration": 2,
"action": "wait"
}{
"coordinate": {
"x": 300,
"y": 294
},
"action": "left_click"
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 466,
"x": 387
}
}{
"coordinate": {
"x": 605,
"y": 559
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 407,
"x": 571
}
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 300
}{
"action": "triple_click",
"coordinate": {
"y": 392,
"x": 304
}
}{
"action": "type",
"text": "15800.00"
}{
"action": "left_click",
"coordinate": {
"y": 292,
"x": 502
}
}{
"action": "left_click",
"coordinate": {
"y": 383,
"x": 571
}
}{
"action": "type",
"text": "11400.00"
}{
"action": "left_click",
"coordinate": {
"x": 389,
"y": 508
}
}{
"action": "left_click",
"coordinate": {
"y": 631,
"x": 357
}
}{
"coordinate": {
"y": 631,
"x": 691
},
"action": "left_click"
}{
"coordinate": {
"x": 691,
"y": 631
},
"action": "left_click"
}{
"scroll_amount": 300,
"scroll_direction": "up",
"action": "scroll"
}{
"scroll_amount": 300,
"scroll_direction": "down",
"action": "scroll"
}{
"coordinate": {
"y": 631,
"x": 691
},
"action": "left_click"
}{
"action": "wait",
"duration": 3
}{
"action": "left_click",
"coordinate": {
"x": 120,
"y": 429
}
}{
"coordinate": {
"y": 486,
"x": 120
},
"action": "left_click"
}{
"action": "wait",
"duration": 2
}{
"action": "left_click",
"coordinate": {
"x": 696,
"y": 203
}
}{
"coordinate": {
"x": 696,
"y": 203
},
"action": "left_click"
}{
"coordinate": {
"y": 525,
"x": 356
},
"action": "left_click"
}{
"text": "Scholars Academy",
"action": "type"
}{
"action": "key",
"text": "BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace"
}{
"coordinate": {
"y": 492,
"x": 356
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 601,
"y": 438
}
}{
"coordinate": {
"x": 601,
"y": 438
},
"action": "triple_click"
}{
"text": "12 Mar 2027",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"y": 489,
"x": 720
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 896,
"y": 203
}
}{
"action": "left_click",
"coordinate": {
"x": 635,
"y": 438
}
}{
"action": "left_click",
"coordinate": {
"y": 489,
"x": 718
}
}{
"text": "2027",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"action": "left_click",
"coordinate": {
"y": 489,
"x": 643
}
}{
"action": "left_click",
"coordinate": {
"y": 609,
"x": 643
}
}{
"coordinate": {
"x": 747,
"y": 616
},
"action": "left_click"
}{
"coordinate": {
"y": 556,
"x": 601
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 787,
"y": 184
}
}{
"action": "left_click",
"coordinate": {
"x": 606,
"y": 356
}
}{
"action": "left_click",
"coordinate": {
"x": 622,
"y": 698
}
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"coordinate": {
"y": 757,
"x": 380
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 711,
"x": 639
}
}{
"text": "2",
"action": "type"
}{
"action": "triple_click",
"coordinate": {
"y": 711,
"x": 639
}
}{
"action": "type",
"text": "2"
}{
"scroll_amount": 300,
"action": "scroll",
"scroll_direction": "down"
}{
"scroll_direction": "up",
"scroll_amount": 150,
"action": "scroll"
}{
"scroll_amount": 100,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_amount": 150,
"scroll_direction": "up",
"action": "scroll"
}{
"scroll_amount": 100,
"scroll_direction": "down",
"action": "scroll"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 100
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 200
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 50
}{
"text": "ctrl+minus",
"action": "key"
}{
"action": "key",
"text": "ctrl+minus"
}{
"scroll_amount": 50,
"action": "scroll",
"scroll_direction": "down"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 50
}{
"scroll_amount": 150,
"scroll_direction": "up",
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"y": 612,
"x": 930
}
}{
"scroll_amount": 50,
"action": "scroll",
"scroll_direction": "down"
}{
"scroll_direction": "up",
"action": "scroll",
"scroll_amount": 100
}{
"action": "left_click",
"coordinate": {
"x": 696,
"y": 203
}
}{
"coordinate": {
"x": 123,
"y": 484
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 425,
"x": 123
}
}{
"duration": 2,
"action": "wait"
}{
"coordinate": {
"x": 743,
"y": 197
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 421
}
}{
"text": "Scholars Academy",
"action": "type"
}{
"text": "BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"x": 356,
"y": 421
}
}{
"action": "triple_click",
"coordinate": {
"y": 377,
"x": 601
}
}{
"action": "type",
"text": "12 Mar 2027"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 192,
"x": 888
}
}{
"action": "triple_click",
"coordinate": {
"x": 601,
"y": 377
}
}{
"text": "12 Mar 2027",
"action": "type"
}{
"action": "key",
"text": "Tab"
}{
"action": "left_click",
"coordinate": {
"y": 377,
"x": 601
}
}{
"action": "left_click",
"coordinate": {
"x": 668,
"y": 421
}
}{
"text": "2027",
"action": "type"
}{
"text": "Return",
"action": "key"
}{
"coordinate": {
"x": 594,
"y": 421
},
"action": "left_click"
}{
"coordinate": {
"x": 594,
"y": 521
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 521,
"x": 686
}
}{
"action": "left_click",
"coordinate": {
"x": 601,
"y": 467
}
}{
"action": "left_click",
"coordinate": {
"y": 514,
"x": 718
}
}{
"coordinate": {
"x": 578,
"y": 656
},
"action": "left_click"
}{
"coordinate": {
"y": 711,
"x": 765
},
"action": "left_click"
}{
"action": "type",
"text": "8"
}{
"coordinate": {
"y": 578,
"x": 584
},
"action": "left_click"
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"coordinate": {
"x": 415,
"y": 624
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 589,
"x": 643
}
}{
"text": "2",
"action": "type"
}{
"action": "triple_click",
"coordinate": {
"y": 589,
"x": 643
}
}{
"text": "2",
"action": "type"
}{
"scroll_amount": 200,
"scroll_direction": "down",
"action": "scroll"
}{
"action": "scroll",
"scroll_direction": "up",
"scroll_amount": 150
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 50
}{
"coordinate": {
"y": 589,
"x": 930
},
"action": "left_click"
}{
"scroll_amount": 200,
"action": "scroll",
"scroll_direction": "up"
}{
"scroll_amount": 50,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_direction": "up",
"scroll_amount": 200,
"action": "scroll"
}{
"coordinate": {
"x": 929,
"y": 592
},
"action": "left_click"
}{
"text": "8",
"action": "type"
}{
"coordinate": {
"x": 713,
"y": 711
},
"action": "triple_click"
}{
"action": "type",
"text": "8"
}{
"action": "left_click",
"coordinate": {
"x": 594,
"y": 581
}
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"action": "left_click",
"coordinate": {
"x": 415,
"y": 624
}
}{
"action": "left_click",
"coordinate": {
"y": 589,
"x": 643
}
}{
"action": "type",
"text": "2"
}{
"action": "triple_click",
"coordinate": {
"y": 589,
"x": 643
}
}{
"action": "type",
"text": "2"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 200
}{
"coordinate": {
"x": 911,
"y": 746
},
"action": "left_click"
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 300
}{
"action": "screenshot"
}The to_compare transcript creates a new manual item entry for 'Security Incident Response - Managed Service' in the bill instead of selecting the existing updated item, which means the bill is not linked to the properly configured item with its purchase price and tax settings, resulting in duplicate item creation and missing tax associations.
{
"diffs": {
"ami_items": {
"insert.$insert.0.sku": null,
"insert.$insert.0.name": "Security Incident Response - Managed Service",
"insert.$insert.0.type": "product",
"insert.$insert.0.enabled": true,
"insert.$insert.0.company_id": 1,
"insert.$insert.0.created_by": 1,
"insert.$insert.0.deleted_at": null,
"insert.$insert.0.sale_price": 11400.0,
"insert.$insert.0.category_id": null,
"insert.$insert.0.description": null,
"update.$delete.92.sale_price.0": 12500.0,
"update.$delete.92.sale_price.1": 15800.0,
"insert.$insert.0.purchase_price": 11400.0,
"update.$delete.92.category_id.0": 25,
"update.$delete.92.category_id.1": 24,
"update.$delete.92.purchase_price.0": null,
"update.$delete.92.purchase_price.1": 11400.0
},
"ami_contacts": {
"insert.$insert.0.city": null,
"insert.$insert.0.name": "Scholars Academy",
"insert.$insert.0.type": "vendor",
"insert.$insert.1.city": null,
"insert.$insert.1.name": "Scholars Academy",
"insert.$insert.1.type": "vendor",
"insert.$insert.0.email": null,
"insert.$insert.0.phone": null,
"insert.$insert.0.state": null,
"insert.$insert.1.email": null,
"insert.$insert.1.phone": null,
"insert.$insert.1.state": null,
"insert.$insert.0.address": null,
"insert.$insert.0.country": null,
"insert.$insert.0.enabled": true,
"insert.$insert.0.user_id": null,
"insert.$insert.0.website": null,
"insert.$insert.1.address": null,
"insert.$insert.1.country": null,
"insert.$insert.1.enabled": true,
"insert.$insert.1.user_id": null,
"insert.$insert.1.website": null,
"insert.$insert.0.zip_code": null,
"insert.$insert.1.zip_code": null,
"insert.$insert.0.reference": null,
"insert.$insert.1.reference": null,
"insert.$insert.0.company_id": 1,
"insert.$insert.0.created_by": 1,
"insert.$insert.0.deleted_at": null,
"insert.$insert.0.tax_number": null,
"insert.$insert.1.company_id": 1,
"insert.$insert.1.created_by": 1,
"insert.$insert.1.deleted_at": null,
"insert.$insert.1.tax_number": null,
"insert.$insert.0.currency_code": "USD",
"insert.$insert.1.currency_code": "USD"
},
"ami_settings": {
"update.11.value.1": [
"2245",
"2246"
]
},
"ami_documents": {
"insert.0.amount": [
18924.0,
0.0
],
"insert.0.contact_id": [
203,
251
],
"insert.$insert.1.type": "bill",
"insert.0.contact_city": [
"Atlanta",
null
],
"insert.$insert.1.color": "#55588b",
"insert.$insert.1.notes": null,
"insert.$insert.1.title": null,
"insert.0.contact_email": [
"ar@scholarsacademy.com",
null
],
"insert.0.contact_phone": [
"001-938-902-3597x832",
null
],
"insert.0.discount_rate": [
8.0,
null
],
"insert.$insert.1.amount": 20976.0,
"insert.$insert.1.due_at": "2027-04-12 11:31:06",
"insert.$insert.1.footer": null,
"insert.$insert.1.status": "draft",
"insert.0.contact_address": [
"2450 Educational Plaza Drive, Suite 300",
null
],
"insert.0.contact_country": [
"US",
null
],
"insert.$insert.1.template": "default",
"insert.$insert.1.issued_at": "2027-03-12 11:31:06",
"insert.$insert.1.parent_id": 0,
"insert.$insert.1.company_id": 1,
"insert.$insert.1.contact_id": 252,
"insert.$insert.1.created_by": 1,
"insert.$insert.1.deleted_at": null,
"insert.$insert.1.subheading": null,
"insert.0.contact_tax_number": [
"66-4961312",
null
],
"insert.$insert.1.category_id": 4,
"insert.$insert.1.contact_city": null,
"insert.$insert.1.contact_name": "Scholars Academy",
"insert.$insert.1.order_number": null,
"insert.$insert.1.contact_email": null,
"insert.$insert.1.contact_phone": null,
"insert.$insert.1.contact_state": null,
"insert.$insert.1.currency_code": "USD",
"insert.$insert.1.currency_rate": 1.0,
"insert.$insert.1.discount_rate": 8.0,
"insert.$insert.1.discount_type": "percentage",
"insert.$insert.1.contact_address": null,
"insert.$insert.1.contact_country": null,
"insert.$insert.1.document_number": "BILL-02245",
"insert.$insert.1.contact_zip_code": null,
"insert.$insert.1.contact_tax_number": null
},
"ami_item_taxes": {
"insert.$delete.0.tax_id": 1,
"insert.$delete.1.tax_id": 4,
"insert.$delete.0.item_id": 92,
"insert.$delete.1.item_id": 92,
"insert.$delete.0.company_id": 1,
"insert.$delete.0.created_by": 1,
"insert.$delete.0.deleted_at": null,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null,
"update.$delete.108.deleted_at.0": null,
"update.$delete.108.deleted_at.1": "2026-01-30 15:33:07"
},
"ami_document_items": {
"insert.0.tax": [
-2052.0,
0.0
],
"insert.0.item_id": [
92,
101
],
"insert.0.description": [
"Managed security incident response service with 24/7 monitoring, threat hunting, and incident containment capabilities.",
""
],
"insert.0.document_id": [
6188,
6189
]
},
"ami_document_totals": {
"insert.2.code": [
"tax",
"sub_total"
],
"insert.2.name": [
"Sales Tax",
"invoices.sub_total"
],
"insert.3.code": [
"tax",
"total"
],
"insert.3.name": [
"Income Tax Withholding",
"invoices.total"
],
"insert.1.amount": [
22800.0,
0.0
],
"insert.2.amount": [
1368.0,
22800.0
],
"insert.3.amount": [
3420.0,
0.0
],
"insert.4.amount": [
18924.0,
20976.0
],
"insert.2.sort_order": [
3,
1
],
"insert.3.sort_order": [
4,
2
],
"insert.4.sort_order": [
5,
3
],
"insert.0.document_id": [
6188,
6189
],
"insert.2.document_id": [
6188,
6189
],
"insert.4.document_id": [
6188,
6189
]
},
"ami_document_histories": {
"insert.$insert.1.type": "bill",
"insert.$insert.1.notify": false,
"insert.$insert.1.status": "draft",
"insert.$insert.1.company_id": 1,
"insert.$insert.1.created_by": 1,
"insert.$insert.1.deleted_at": null,
"insert.$insert.1.description": "BILL-02245 added!",
"insert.$insert.1.document_id": 6189
},
"ami_document_item_taxes": {
"insert.$delete.0.name": "Sales Tax",
"insert.$delete.0.type": "bill",
"insert.$delete.1.name": "Income Tax Withholding",
"insert.$delete.1.type": "bill",
"insert.$delete.0.amount": 1368.0,
"insert.$delete.0.tax_id": 1,
"insert.$delete.1.amount": 3420.0,
"insert.$delete.1.tax_id": 4,
"insert.$delete.0.company_id": 1,
"insert.$delete.0.created_by": 1,
"insert.$delete.0.deleted_at": null,
"insert.$delete.1.company_id": 1,
"insert.$delete.1.created_by": 1,
"insert.$delete.1.deleted_at": null,
"insert.$delete.0.document_id": 6188,
"insert.$delete.1.document_id": 6188
}
},
"message": "❌ Test failed: Incorrect system state.",
"success": false
}{
"action": "screenshot"
}{
"coordinate": {
"y": 507,
"x": 709
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 107,
"y": 327
}
}{
"duration": 2,
"action": "wait"
}{
"action": "left_click",
"coordinate": {
"y": 292,
"x": 305
}
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"y": 462,
"x": 410
},
"action": "left_click"
}{
"scroll_amount": 20,
"scroll_direction": "down",
"action": "scroll"
}{
"scroll_amount": 20,
"scroll_direction": "up",
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"y": 566,
"x": 681
}
}{
"action": "left_click",
"coordinate": {
"x": 601,
"y": 397
}
}{
"scroll_direction": "down",
"scroll_amount": 20,
"action": "scroll"
}{
"coordinate": {
"y": 388,
"x": 314
},
"action": "double_click"
}{
"text": "15800",
"action": "type"
}{
"coordinate": {
"y": 289,
"x": 502
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 502,
"y": 289
}
}{
"coordinate": {
"x": 571,
"y": 289
},
"action": "left_click"
}{
"coordinate": {
"y": 396,
"x": 571
},
"action": "left_click"
}{
"text": "11400",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 389,
"y": 518
}
}{
"coordinate": {
"x": 389,
"y": 633
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 631,
"x": 683
}
}{
"action": "left_click",
"coordinate": {
"y": 425,
"x": 123
}
}{
"coordinate": {
"y": 481,
"x": 114
},
"action": "left_click"
}{
"duration": 2,
"action": "wait"
}{
"action": "left_click",
"coordinate": {
"x": 730,
"y": 209
}
}{
"action": "left_click",
"coordinate": {
"y": 484,
"x": 345
}
}{
"text": "Scholars Academy",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 546,
"x": 357
}
}{
"action": "type",
"text": "Scholars Academy"
}{
"action": "left_click",
"coordinate": {
"y": 425,
"x": 454
}
}{
"action": "type",
"text": "Scholars Academy"
}{
"scroll_amount": 20,
"action": "scroll",
"scroll_direction": "down"
}{
"coordinate": {
"y": 823,
"x": 626
},
"action": "left_click"
}{
"coordinate": {
"y": 440,
"x": 639
},
"action": "left_click"
}{
"action": "triple_click",
"coordinate": {
"x": 639,
"y": 440
}
}{
"action": "type",
"text": "12 Mar 2027"
}{
"action": "key",
"text": "Return"
}{
"action": "left_click",
"coordinate": {
"x": 895,
"y": 203
}
}{
"coordinate": {
"x": 601,
"y": 429
},
"action": "triple_click"
}{
"text": "12 Mar 2027",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 537,
"x": 601
}
}{
"action": "left_click",
"coordinate": {
"x": 720,
"y": 486
}
}{
"text": "2027",
"action": "type"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 486,
"x": 787
}
}{
"action": "left_click",
"coordinate": {
"y": 615,
"x": 750
}
}{
"action": "left_click",
"coordinate": {
"y": 546,
"x": 639
}
}{
"action": "left_click",
"coordinate": {
"x": 787,
"y": 174
}
}{
"coordinate": {
"x": 606,
"y": 356
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 608,
"y": 687
}
}{
"action": "type",
"text": "Security Incident Response - Managed Service"
}{
"coordinate": {
"y": 687,
"x": 357
},
"action": "triple_click"
}{
"text": "Security",
"action": "type"
}{
"coordinate": {
"y": 687,
"x": 357
},
"action": "triple_click"
}{
"action": "type",
"text": "Managed Service"
}{
"coordinate": {
"y": 687,
"x": 357
},
"action": "triple_click"
}{
"text": "BackSpace",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 125,
"x": 76
}
}{
"duration": 2,
"action": "wait"
}{
"action": "triple_click",
"coordinate": {
"y": 434,
"x": 601
}
}{
"text": "12 Mar 2027",
"action": "type"
}{
"action": "key",
"text": "Tab"
}{
"coordinate": {
"x": 601,
"y": 434
},
"action": "left_click"
}{
"coordinate": {
"y": 486,
"x": 720
},
"action": "left_click"
}{
"action": "type",
"text": "2027"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"y": 486,
"x": 787
},
"action": "left_click"
}{
"coordinate": {
"y": 615,
"x": 750
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 537,
"x": 601
}
}{
"coordinate": {
"y": 174,
"x": 787
},
"action": "left_click"
}{
"coordinate": {
"x": 606,
"y": 356
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 687,
"x": 608
}
}{
"action": "type",
"text": "Security"
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 20
}{
"coordinate": {
"x": 357,
"y": 687
},
"action": "left_click"
}{
"scroll_direction": "up",
"action": "scroll",
"scroll_amount": 20
}{
"action": "left_click",
"coordinate": {
"x": 608,
"y": 687
}
}{
"scroll_direction": "down",
"action": "scroll",
"scroll_amount": 20
}{
"action": "left_click",
"coordinate": {
"x": 357,
"y": 687
}
}{
"scroll_direction": "up",
"scroll_amount": 20,
"action": "scroll"
}{
"action": "left_click",
"coordinate": {
"x": 608,
"y": 687
}
}{
"text": "Security Incident",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 784,
"x": 635
}
}{
"action": "left_click",
"coordinate": {
"x": 118,
"y": 327
}
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"coordinate": {
"y": 301,
"x": 284
},
"action": "left_click"
}{
"text": "Security Incident Response - Managed Service",
"action": "type"
}{
"action": "key",
"text": "Return"
}{
"text": "Return",
"action": "key"
}{
"action": "type",
"text": "Security"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"y": 703,
"x": 895
}
}{
"coordinate": {
"x": 933,
"y": 703
},
"action": "left_click"
}{
"coordinate": {
"y": 631,
"x": 606
},
"action": "left_click"
}{
"scroll_amount": 20,
"action": "scroll",
"scroll_direction": "down"
}{
"coordinate": {
"x": 610,
"y": 631
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"x": 120,
"y": 425
}
}{
"coordinate": {
"x": 114,
"y": 481
},
"action": "left_click"
}{
"action": "wait",
"duration": 2
}{
"action": "left_click",
"coordinate": {
"y": 442,
"x": 357
}
}{
"action": "wait",
"duration": 2
}{
"action": "scroll",
"scroll_direction": "down",
"scroll_amount": 20
}{
"coordinate": {
"x": 514,
"y": 531
},
"action": "left_click"
}{
"action": "type",
"text": "Scholars"
}{
"action": "key",
"text": "Return"
}{
"coordinate": {
"y": 502,
"x": 861
},
"action": "left_click"
}{
"action": "wait",
"duration": 2
}{
"coordinate": {
"y": 209,
"x": 730
},
"action": "left_click"
}{
"coordinate": {
"y": 484,
"x": 362
},
"action": "left_click"
}{
"text": "Scholars",
"action": "type"
}{
"coordinate": {
"x": 357,
"y": 546
},
"action": "left_click"
}{
"text": "Scholars Academy",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 454,
"y": 425
}
}{
"text": "Scholars Academy",
"action": "type"
}{
"scroll_amount": 20,
"scroll_direction": "down",
"action": "scroll"
}{
"coordinate": {
"x": 626,
"y": 823
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 434,
"x": 601
}
}{
"action": "left_click",
"coordinate": {
"x": 720,
"y": 486
}
}{
"text": "2027",
"action": "type"
}{
"text": "Return",
"action": "key"
}{
"action": "left_click",
"coordinate": {
"x": 787,
"y": 486
}
}{
"coordinate": {
"x": 750,
"y": 615
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 537,
"x": 601
}
}{
"coordinate": {
"y": 174,
"x": 787
},
"action": "left_click"
}{
"action": "left_click",
"coordinate": {
"y": 356,
"x": 606
}
}{
"coordinate": {
"y": 687,
"x": 608
},
"action": "left_click"
}{
"text": "Security",
"action": "type"
}{
"coordinate": {
"y": 896,
"x": 608
},
"action": "left_click"
}{
"text": " Incident Response - Managed Service",
"action": "type"
}{
"coordinate": {
"y": 697,
"x": 650
},
"action": "left_click"
}{
"text": "2",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 697,
"x": 720
}
}{
"text": "11400.00",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 664,
"y": 697
}
}{
"coordinate": {
"y": 697,
"x": 664
},
"action": "triple_click"
}{
"text": "2",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 753,
"y": 853
}
}{
"scroll_amount": 20,
"scroll_direction": "down",
"action": "scroll"
}{
"action": "scroll",
"scroll_amount": 10,
"scroll_direction": "up"
}{
"scroll_amount": 5,
"scroll_direction": "down",
"action": "scroll"
}{
"coordinate": {
"y": 281,
"x": 753
},
"action": "left_click"
}{
"action": "type",
"text": "8"
}{
"text": "8",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"y": 281,
"x": 713
}
}{
"text": "8",
"action": "type"
}{
"action": "left_click",
"coordinate": {
"x": 930,
"y": 879
}
}{
"duration": 3,
"action": "wait"
}{
"action": "screenshot"
}