-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathbasic_layout_of_page
126 lines (114 loc) · 5.18 KB
/
basic_layout_of_page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
layout: page
title: chapter.section - section title
product: avaTax
doctype: dev_guide
chapter: chapter_name
nav: apis
disqus: 1
---
<ul class="pager">
#this should say previous chapter if it is the index page of the chapter
<li class="previous"><a href="/avatax/dev-guide/CHAPTER/SECTION/"><i class="glyphicon glyphicon-chevron-left"></i>Previous</a></li>
#this should say next chapter if it is a chapter summary
<li class="next"><a href="/avatax/dev-guide/CHAPTER/SECTION/">Next<i class="glyphicon glyphicon-chevron-right"></i></a></li>
</ul>
# if creating a link in the text use
<a href="LINK" class="dev-guide-link">Link</a>
# if creating a list, use
<ul class="dev-guide-list">
<li></li>
</ul>
# if creating a certification requirements:
# only put the certified connectors within the box --> the reccommended connector, custom integration, etc, goes underneath in plan txt (use <h4> heading)
<div class="dev-guide-certification">
<div class="dev-guide-certification-heading">Certification Requirements</div>
<div class="dev-guide-certification-content">
AvaTax Certified Connectors must allow for a clear and concise CustomerCode value to be consumed by the AvaTax Service.
Typically this is an account name, customer name, or email address on file for the customer.
The connector must show the following:
<ul class="dev-guide-list">
<li>A CustomerCode field for the invoice</li>
<li>Ability to look up a customer in a dropdown list using the CertCapture federated customer-lookup API</li>
<li>Ability to add a new customer on the fly (user can input customer number, name, mailing address, ship-to-zones, and email address)</li>
<li>View and Update customer record</li>
<li>Ability to list active exemption certificates for a customer (show at a minimum exempt state, exempt reason, expiration date)</li>
<li>Ability to view an exemption certificate</li>
</ul>
</div>
</div>
# if creating a test: format
# all the text underneath shoul always be in bullet point format (no numbered lists)
# the id=test# # should increase as we add more tests per section --> used to link back to in the chapter summary
<div class="dev-guide-test" id="test1">
<div class="dev-guide-test-heading">Test Case - 8.1.1</div>
<div class="dev-guide-test-content">
<h4>Set Up</h4>
<ul class="dev-guide-list">
<li>Your DEVGUIDE company should have nexus in Washington State, but not in Rhode Island.</li>
<li>In your connector, create the following transaction:</li>
<ul class="dev-guide-list">
<li>Transaction Type: SalesInvoice</li>
<li>Transaction Code: Chapter-8-Test-1</li>
<li>Document Date: 2017-06-15</li>
<li>Addresses:</li>
<ul class="dev-guide-list">
<li>SingleLocation</li>
<li>468 Angell Street, Providence, RI 02906</li>
</ul>
<li>Line #1</li>
<ul class="dev-guide-list">
<li>Amount: 100</li>
<li>TaxCode: P0000000</li>
</ul>
</ul>
<li>Calculate tax for your transaction using AvaTax.</li>
</ul>
<h4>Assertions</h4>
<ul class="dev-guide-list">
<li>The tax for line 1 should be $0.00.</li>
<li>The Taxable amount for line 1 should be $0.00. </li>
<li>The Exempt amount for line 1 should be $100.00.</li>
</ul>
<div class="dev-guide-dropdown">
<input id="checkbox_toggle" type="checkbox" />
<i id="icon-up" class="glyphicon glyphicon-chevron-down"></i><i id="icon-down" class="glyphicon glyphicon-chevron-right"></i>
<label for="checkbox_toggle"><h4>Expected API Call</h4></label>
<ul class="dev-guide-dropdown-content">
<li>
<pre>
{
"type": "SalesInvoice",
"code": "Chapter-8-Test-1",
"companyCode": "DEVGUIDE",
"date": "2017-06-15",
"customerCode": "ABC",
"addresses": {
"singleLocation": {
"line1": "468 Angell Street",
"city": "Providence",
"region": "RI",
"country": "US",
"postalCode": "02906"
}
},
"lines": [
{
"number": "1",
"amount": 100,
"taxCode": "P0000000"
}
]
}
</pre>
</li>
</ul>
</div>
</div>
</div>
<ul class="pager">
#this should say previous chapter if it is he index page of the chapter
<li class="previous"><a href="/avatax/dev-guide/CHAPTER/SECTION/"><i class="glyphicon glyphicon-chevron-left"></i>Previous</a></li>
#this should say next chapter if it is a chapter summary
<li class="next"><a href="/avatax/dev-guide/CHAPTER/SECTION/">Next<i class="glyphicon glyphicon-chevron-right"></i></a></li>
</ul>