This repository was archived by the owner on Apr 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
PayrollTests.AU/Integration
Xero.Api/Payroll/Australia/Model Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void create_employee()
30
30
{
31
31
AccountName = "Cheque" ,
32
32
AccountNumber = "645645645" ,
33
- BankStateBranch = 121232 ,
33
+ BankStateBranch = "021232" ,
34
34
Remainder = true ,
35
35
StatementText = "Salary"
36
36
}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ protected Guid super_fund_id()
60
60
return Api . Create ( new SuperFund
61
61
{
62
62
Type = SuperfundType . Regulated ,
63
- Abn = 78984178687 ,
63
+ Abn = " 78984178687" ,
64
64
} ) . Id ;
65
65
}
66
66
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public void create_superfund()
17
17
var sf = Api . Create ( new SuperFund
18
18
{
19
19
Type = SuperfundType . Regulated ,
20
- Abn = 78984178687 ,
20
+ Abn = "08984178687" ,
21
21
} ) ;
22
22
23
23
Assert . IsTrue ( sf . Id != Guid . Empty ) ;
Original file line number Diff line number Diff line change @@ -14,23 +14,23 @@ public void update_superfund()
14
14
var sf = Api . Create ( new SuperFund
15
15
{
16
16
Type = SuperfundType . SelfManaged ,
17
- Abn = 11001032511 ,
17
+ Abn = "01001032511" ,
18
18
Name = "Clive Monk Superannuation Fund" ,
19
- BankStateBranch = 159357 ,
19
+ BankStateBranch = " 159357" ,
20
20
AccountName = "Clive Monk Superannuation Fund" ,
21
- AccountNumber = 111222333 ,
21
+ AccountNumber = " 111222333" ,
22
22
} ) ;
23
23
24
24
25
25
var updated_superfund = Api . Update ( new SuperFund
26
26
{
27
27
Id = sf . Id ,
28
28
Type = SuperfundType . SelfManaged ,
29
- Abn = 11001032511 ,
29
+ Abn = " 11001032511" ,
30
30
Name = "Clive Superannuation Fund" ,
31
- BankStateBranch = 159357 ,
31
+ BankStateBranch = "059357" ,
32
32
AccountName = "Test" ,
33
- AccountNumber = 654645645 ,
33
+ AccountNumber = " 654645645" ,
34
34
} ) ;
35
35
36
36
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class BankAccount
12
12
public string AccountName { get ; set ; }
13
13
14
14
[ DataMember ( Name = "BSB" ) ]
15
- public int BankStateBranch { get ; set ; }
15
+ public string BankStateBranch { get ; set ; }
16
16
17
17
[ DataMember ]
18
18
public string AccountNumber { get ; set ; }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class SuperFund : HasUpdatedDate
13
13
14
14
[ DataMember ( Name = "ABN" ) ]
15
15
// Australian Business Number
16
- public long Abn { get ; set ; }
16
+ public string Abn { get ; set ; }
17
17
18
18
[ DataMember ( Name = "SPIN" ) ]
19
19
// Superannuation Product Identification Number
@@ -30,13 +30,13 @@ public class SuperFund : HasUpdatedDate
30
30
public string AccountName { get ; set ; }
31
31
32
32
[ DataMember ]
33
- public long AccountNumber { get ; set ; }
33
+ public string AccountNumber { get ; set ; }
34
34
35
35
[ DataMember ( Name = "BSB" ) ]
36
- public int BankStateBranch { get ; set ; }
36
+ public string BankStateBranch { get ; set ; }
37
37
38
38
[ DataMember ]
39
- public long EmployerNumber { get ; set ; }
39
+ public string EmployerNumber { get ; set ; }
40
40
41
41
[ DataMember ]
42
42
public string ElectronicServiceAddress { get ; set ; }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class SuperFundProduct : HasUpdatedDate
8
8
{
9
9
[ DataMember ( Name = "ABN" ) ]
10
10
// Australian Business Number
11
- public long Abn { get ; set ; }
11
+ public string Abn { get ; set ; }
12
12
13
13
[ DataMember ( Name = "SPIN" ) ]
14
14
// Superannuation Product Identification Number
You can’t perform that action at this time.
0 commit comments