REST interface to Avalara's enterprise tax service, AvaTax.
1curl -g -X PUT 'https://sandbox-rest.avatax.com/api/v2/companies/{companyid}/apconfigsetting' \ 2-H 'X-Avalara-Client: {X-Avalara-Client}' \ 3-H 'Authorization: Basic <Base64-encoded credentials>' \ 4-H 'Content-Type: application/json' \ 5-d '{"amount":1000,"varianceForIgnore":100,"varianceForAccrue":100,"variancePercent":10,"apConfigToleranceType":"Batch","payAsBilledNoAccrual":1,"payAsBilledAccrueUndercharge":2,"shortPayItemsAccrueUndercharge":3,"markForReviewUndercharge":4,"rejectUndercharge":5,"payAsBilledOvercharge":1,"shortPayAvalaraCalculated":2,"shortPayItemsAccrueOvercharge":3,"markForReviewOvercharge":4,"rejectOvercharge":5,"isActive":false}'
1{ 2 "ruleId": 0, 3 "companyId": 1, 4 "meta": { 5 "createdDate": "0001-01-01", 6 "modifiedDate": "0001-01-01" 7 }, 8 "amount": 1000, 9 "varianceForIgnore": 100, 10 "varianceForAccrue": 100, 11 "variancePercent": 10, 12 "apConfigToleranceType": "Batch", 13 "payAsBilledNoAccrual": 1, 14 "payAsBilledAccrueUndercharge": 2, 15 "shortPayItemsAccrueUndercharge": 3, 16 "markForReviewUndercharge": 4, 17 "rejectUndercharge": 5, 18 "payAsBilledOvercharge": 1, 19 "shortPayAvalaraCalculated": 2, 20 "shortPayItemsAccrueOvercharge": 3, 21 "markForReviewOvercharge": 4, 22 "rejectOvercharge": 5, 23 "isActive": false 24}