You are on page 1of 13

Document Title

Test Scenarios
VAT Changes

Author:

QA

Version:

1.0

Document Title
Title:
System:
Reference:
Author:
Date:
Version:

Test Scenarios, VAT Changes
QA systems and processes

11 December 2009

1.0

Table of Contents
Version History....................................................................................................................... 1
Scope..................................................................................................................................... 2
0

Setup / Prerequisites..............................................................................................................2
Auto Confirm Delivery Note - OFF..........................................................................................6
Auto Confirm Delivery Note - ON...........................................................................................7
Credit Notes........................................................................................................................... 8
General Discount.................................................................................................................... 9

Version History
Version

Date

Author

Comment

1.0

01/01/2009

QA

Initial document release

1

Scope.
The new VAT rate will be effective from 1 January. However, since this date occurs in the
future, we can’t use this date for testing.
For purposes of the exercise, the tests will be conducted as if the VAT rate change occurred
on 1 December.
We will configure Eproc so that T1 changes from 15% on 30 November to 17.5% on 1
December and the ‘Alias’ changes from ‘LOW’ to ‘STD’
VAT tests will be conducted according to the following rules:
1. Manually confirmed delivery notes:
If the confirmed delivery date falls between start and end date of a VAT rate entry,
then the rate active at that period should be used for the invoice.
2. Automatically confirmed delivery notes:
If the delivery date selected in Step 2 of the PO wizard falls between start and end
date of a VAT rate entry, then that rate should be used for the invoice.
3. Credit notes:
Each purchase item on a credit note should have the same VAT rate as used on the
corresponding invoice.

Setup / Prerequisites.
The first release candidate of Eproc 2.4 does not contain synchronisation, so it will not be
possible to use Catalogue Management 4.5 to setup VAT rate table in Eproc.
Edit the database manually to configure the VAT Source Table as follows:
Vat_VCSID
1
2
3

Vatid
2
2
2

Code
T1
T1
T1

Rate
17.5
15
17.5

Start
01/01/90
01/12/08
01/12/09

2

End Date
30/11/08
30/11/09

Description
Standard rated transactions
Standard rated transactions
Standard rated transactions

14/12/09 Database actually configured as follows:
VatCo
de

Rate

Start

EndDescription

T1

17.501/01/199030/11/2008Standard rated transactions

T1

1501/12/200813/12/2009Standard rated transactions

T1

17.514/12/2009

NULLStandard rated transactions

So...

Invoices with delivery dates confirmed before 01/12/09 should have a rate of 15%

Invoices with delivery dates confirmed on or after 01/12/09 to 13/12/09 should have a
rate of 15%

Invoices with delivery dates confirmed on or after 14/12/2009 should have rate of
17.5%

Organisations / Contracts used for Test:
Buyer
Supplier
Installer
Contract:

Test Previous Order Template used: template 091209
NET
VAT
Gross

15%
504.23
75.64
579.86

17.5%
504.23
88.24
592.47

3

4

Tests:
1. Create a PO as a buyer on 15 December (post VAT change) test151209#1
PO VAT = 17.5%
Supplier Delivery Date = 15/12/09
Installer Actual delivery date = 15/12/09 (i.e Post VAT change)
Unpaid Inv VAT = 17.5% (ijtest151209#1_Inv)
Approve Inv
Submit draft VAT=17.5%( ijtest151209#1_Pay)
2. Create a PO as an Installer on 15 December (post VAT change) test151209#2
PO VAT = 17.5%
Supplier Delivery Date = 15/12/09
Installer Actual delivery date = 13/12/09 (i.e Pre VAT change)
Unpaid Inv VAT =?? No Unpaid Invoice created?
Test 2 appeared not to create an unpaid invoice on confirming the delivery note, so try same
steps again:
3. Create a PO as an Installer on 15 December (post VAT change) ijtest151209#3
PO VAT = 17.5%
Supplier Delivery Date = 15/12/09
Installer Actual delivery date = 13/12/09 (i.e Pre VAT change)
Unpaid Inv VAT =?? No Unpaid Invoice created?

Test 2 again with an earlier Actual Delivery Date:
4. Create a PO as an Installer on 15 December (post VAT change) test151209#3b
PO VAT = 17.5%
Supplier Delivery Date = 15/12/09
Installer Actual delivery date = 12/12/09 (i.e Pre VAT change)
Unpaid Inv VAT = 15%
Received payment = 15%

16.12.09 Test 2 again following boundary fix in 2.4.1:
1. Create a PO as an Installer on 15 December (post VAT change) test161209#1
PO VAT = 17.5%
Supplier Delivery Date = 15/12/09
Installer Actual delivery date = 13/12/09 (i.e Pre VAT change)
Unpaid Inv VAT = 15%
Received payment = 15%
NOW FIXED

5

2. Create a PO as an Installer on 15 December (post VAT change) ijtest151209#4
PO VAT = 17.5%
PO Pend Del - Set Supplier Delivery Date to Pre VAT Change = 13/12/09
Delivery Note becomes stuck in transition
Test to confirm defect:
3. Create a PO as an Installer on 15 December (post VAT change) ijtest151209#5
PO VAT = 17.5%
PO Pend Del - Set Supplier Delivery Date to Pre VAT Change = 13/12/09
Delivery Note becomes stuck in transition
Tests 4 and 5 – Defect Logged, TT6403
Test again, but setting Supplier delivery date to an earlier date to avoid ‘boundary’ issues’
4. Create a PO as an Installer on 15 December (post VAT change) ijtest151209#6 (&
#7)
PO VAT = 17.5%
PO Pend Del - Set Supplier Delivery Date to Pre VAT Change = 12/12/09
Unpaid Inv VAT = 15% (ijtest151209#6_Inv)
Approve Inv
Submit draft VAT=15%( ijtest151209#6_Pay)

16.12. 09 Test again, but setting Supplier delivery date to an earlier date to avoid ‘boundary’
issues’
1. Create a PO as an Installer on 15 December (post VAT change) ijtest161209#2
PO VAT = 17.5%
PO Pend Del - Set Supplier Delivery Date to Pre VAT Change = 12/12/09
Unpaid Inv VAT = 15% (ijtest151209#6_Inv)
Approve Inv
Submit draft VAT=15%( ijtest151209#6_Pay)

6

Auto Confirm Delivery Note – OFF (Manual Confirmation)
Test 1
Delivery Date pre VAT change date




Raise a Purchase Order post VAT Change date - PO VAT Rate should show 17.5%
Set Supplier Date Delivery to pre VAT Change Date - 12 December
Check VAT calculation at each stage
Unpaid Invoice shows 15% VAT Rate
PO Documents show 17.5%

15.12.09 – Confirmed OK

Test 2
Delivery Date post VAT change date




Raise a Purchase Order post VAT change Date- VAT Rate should show 17.5%
Set Supplier Date Delivery to post VAT Change Date - 16 December
Check VAT calculation at each stage
Unpaid Invoice shows 17.5% VAT Rate
PO Documents show 17.5%

15.12.09 – Confirmed OK

Test 3
Delivery Date pre VAT change date




Raise a Purchase Order post VAT Change date - PO VAT Rate should show 17.5%
Installer Date of Confirmation of Delivery is pre VAT Change Date - 12 December
Check VAT calculation at each stage
Unpaid Invoice shows 15% VAT Rate
PO Documents show 17.5%

15.12.09 – Confirmed OK

Test 4
Delivery Date post VAT change date




Raise a Purchase Order post VAT change Date- VAT Rate should show 17.5%
Installer Date of Confirmation of Delivery is post VAT Change Date - 16 December
Check VAT calculation at each stage
Unpaid Invoice shows 17.5% VAT Rate
PO Documents show 17.5%

15.12.09 – Confirmed OK
7

Test 5
Part Delivery Date pre / post VAT change date







Raise a Purchase Order post VAT change Date- VAT Rate should show 17.5%
Progress PO through system to Pending Delivery
Create a part delivery (by delivering, say, 2 out of 4 complete lines) then Confirm
delivery for remainder of order setting delivery dates as follows:
Date of Del of Delivery for 1st part of PO (inv1) unchanged at 12 December
Amend Delivery Date for 2nd part of PO (inv2) to 17th December
Invoice for Part confirmed 30th November shows 15%
Invoice for Part confirmed 1st December shows 17.5%
PO Documents show 17.5%

16.12.09 – Confirmed OK

Auto Confirm Delivery Note - ON
2 places where delivery date can be set – PO Wizard and Supplier DN.

Test 6
Delivery Date post VAT change date





Raise a Purchase Order where the delivery date is 17th December - PO VAT Rate
should show 17.5%
As Supplier, Create DN/Inv
Delivery Note is raised automatically
Invoice is at Unpaid
Check VAT Rate of invoice – should be at 17.5%
Check VAT calculation at each stage

17/12/09 - Confirmed OK

Test 7
Delivery Date pre VAT change date





Raise a Purchase Order, specifying a delivery date in the PO Wizard of
December - PO VAT Rate should show 17.5%
As Supplier, Create DN/Inv
Delivery Note is raised automatically
Invoice is at Unpaid
Check VAT Rate of invoice – should be at 15%
Check VAT calculation at each stage
8

12

17/12/09 - Confirmed OK

Test 8
Part Delivery Date pre / post VAT change date








Raise a Purchase Order setting the delivery date in the Wizard to pre VAT change
date. (Eg 12th December) - PO VAT Rate should show 17.5%
Progress PO through system to Pending Delivery
Create a part delivery (by delivering, say, 2 out of 4 complete lines) then Confirm
delivery for remainder of order setting delivery dates as follows:
Date of Del of Delivery for 1st part of PO (inv1) unchanged at 12 December
Amend Delivery Date for 2nd part of PO (inv2) to 17th December
Invoice ‘Inv1’ November shows 15%
Invoice ‘Inv2’ shows 17.5%
PO Documents remain unchanged at 17.5%
Check VAT calculation at each stage

17.12.09 Confirmed works OK

Credit Notes
Scenario 1
Credit notes with one or more items of the same VAT rate
for delivery notes confirmed pre VAT change


As the buyer, dispute an invoice where the delivery date is 30th November - VAT
Rate should show 15%
As Supplier, Create CRN
Check VAT Rate of CRN – should be at 15%

16.12.09 Confirmed works OK

9

Scenario 2
Credit notes with one or more items of the same VAT rate
for delivery notes confirmed post VAT change


As the buyer, dispute an invoice where the delivery date is 1st December - VAT Rate
should show 17.5%
As Supplier, Create CRN
Check VAT Rate of CRN – should be at 17.5%

16.12.09 Confirmed works OK

Payments

Scenario 1
Payments with single VAT rate (15%)




No change to existing functionality
Select an unpaid invoice with a VAT rate of 15%
Approve invoice for payment and progress through to Payment Received
Check VAT rate and calculation at each state
VAT rate is 15%

16.12.09 Confirmed works OK

Scenario 2
Payments with single VAT rate (17.5%)




No change to existing functionality
Select an unpaid invoice with a VAT rate of 17.5%
Approve invoice for payment and progress through to Payment Received
Check VAT rate and calculation at each state
VAT rate is 17.5%

16.12.09 Confirmed works OK

10

Scenario 3
Batch Payments with mixed VAT rates




No change to existing functionality
From Invoice Unpaid summary screen invoices with a VAT rates of 15% and 17.5%
Approve invoice for payment and progress through to Payment Received
Check VAT rate and calculation at each state
Invoices / Payment documents are displayed with PIs sectioned according to VAT
rate

16.12.09 Confirmed works OK

11

General Discount
16.12.09 - Unable to test General discounts due to error message generated
“VAT should be one of the ticked PurchiseItem's VAT”
Logged in Testtrack – TT6439

Eproc 2.4 introduces new functionality to the process of generating General Discount Credit
Notes. Where there are multiple VAT rated items on an invoice, a drop down becomes active
– requiring the user to specify the VAT rate to be applied.

Scenario 1
Credit notes with mixed VAT rates





As the buyer, dispute an invoice with a mixture of VAT rated items
As Supplier, Create CRN
VAT Rate Dropdown is active
Rates shown in drop down correspond to rates on invoice for which CRN is being
created
Check VAT Rate of CRN – should correspond to one selected in dropdown and be
applied correctly
Need some mixed VAT items...!!

Scenario 2
General Discount for one or more items of the same VAT
rate for delivery notes confirmed pre VAT change



As the buyer, dispute an invoice where the delivery date is 30th November - VAT
Rate should show 15%
As Supplier, Create a General discount based CRN
‘Select’ VAT Rate dropdown is not active
Check VAT Rate of CRN – should be at 15%

Scenario 3
Credit notes with mixed VAT rates



As the buyer, dispute an invoice where the delivery date is 30th November - VAT
Rate should show 17.5%
As Supplier, Create a General discount based CRN
‘Select’ VAT Rate dropdown is not active
Check VAT Rate of CRN – should be at 17.5%

12