Skip to content

Commit c8ddbbf

Browse files
author
AWS
committed
Tax Settings Update: PutTaxRegistration API changes for Egypt, Greece, Vietnam countries
1 parent f5a2d52 commit c8ddbbf

File tree

2 files changed

+107
-7
lines changed

2 files changed

+107
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Tax Settings",
4+
"contributor": "",
5+
"description": "PutTaxRegistration API changes for Egypt, Greece, Vietnam countries"
6+
}

services/taxsettings/src/main/resources/codegen-resources/service-2.json

Lines changed: 101 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{"shape":"ResourceNotFoundException"},
4545
{"shape":"InternalServerException"}
4646
],
47-
"documentation":"<p>Get the active tax exemptions for a given list of accounts. </p>"
47+
"documentation":"<p>Get the active tax exemptions for a given list of accounts. The IAM action is <code>tax:GetExemptions</code>. </p>"
4848
},
4949
"BatchPutTaxRegistration":{
5050
"name":"BatchPutTaxRegistration",
@@ -110,7 +110,7 @@
110110
{"shape":"ResourceNotFoundException"},
111111
{"shape":"InternalServerException"}
112112
],
113-
"documentation":"<p>Get supported tax exemption types. </p>"
113+
"documentation":"<p>Get supported tax exemption types. The IAM action is <code>tax:GetExemptions</code>. </p>"
114114
},
115115
"GetTaxInheritance":{
116116
"name":"GetTaxInheritance",
@@ -189,7 +189,7 @@
189189
{"shape":"ResourceNotFoundException"},
190190
{"shape":"InternalServerException"}
191191
],
192-
"documentation":"<p>Retrieves the tax exemption of accounts listed in a consolidated billing family. </p>"
192+
"documentation":"<p>Retrieves the tax exemption of accounts listed in a consolidated billing family. The IAM action is <code>tax:GetExemptions</code>.</p>"
193193
},
194194
"ListTaxRegistrations":{
195195
"name":"ListTaxRegistrations",
@@ -240,7 +240,7 @@
240240
{"shape":"AttachmentUploadException"},
241241
{"shape":"InternalServerException"}
242242
],
243-
"documentation":"<p>Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. </p>"
243+
"documentation":"<p>Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is <code>tax:UpdateExemptions</code>. </p>"
244244
},
245245
"PutTaxInheritance":{
246246
"name":"PutTaxInheritance",
@@ -283,7 +283,7 @@
283283
"members":{
284284
"message":{"shape":"ErrorMessage"}
285285
},
286-
"documentation":"<p>The access is denied for the Amazon Web Services Support API. </p>",
286+
"documentation":"<p>The access is denied for the Amazon Web ServicesSupport API. </p>",
287287
"error":{
288288
"httpStatusCode":401,
289289
"senderFault":true
@@ -364,6 +364,10 @@
364364
"shape":"CanadaAdditionalInfo",
365365
"documentation":"<p> Additional tax information associated with your TRN in Canada.</p>"
366366
},
367+
"egyptAdditionalInfo":{
368+
"shape":"EgyptAdditionalInfo",
369+
"documentation":"<p>Additional tax information to specify for a TRN in Egypt. </p>"
370+
},
367371
"estoniaAdditionalInfo":{
368372
"shape":"EstoniaAdditionalInfo",
369373
"documentation":"<p> Additional tax information to specify for a TRN in Estonia.</p>"
@@ -372,6 +376,10 @@
372376
"shape":"GeorgiaAdditionalInfo",
373377
"documentation":"<p> Additional tax information to specify for a TRN in Georgia. </p>"
374378
},
379+
"greeceAdditionalInfo":{
380+
"shape":"GreeceAdditionalInfo",
381+
"documentation":"<p>Additional tax information to specify for a TRN in Greece.</p>"
382+
},
375383
"israelAdditionalInfo":{
376384
"shape":"IsraelAdditionalInfo",
377385
"documentation":"<p> Additional tax information to specify for a TRN in Israel.</p>"
@@ -415,6 +423,10 @@
415423
"ukraineAdditionalInfo":{
416424
"shape":"UkraineAdditionalInfo",
417425
"documentation":"<p> Additional tax information associated with your TRN in Ukraine. </p>"
426+
},
427+
"vietnamAdditionalInfo":{
428+
"shape":"VietnamAdditionalInfo",
429+
"documentation":"<p>Additional tax information to specify for a TRN in Vietnam. </p>"
418430
}
419431
},
420432
"documentation":"<p>Additional tax information associated with your tax registration number (TRN). Depending on the TRN for a specific country, you might need to specify this information when you set your TRN. </p> <p>You can only specify one of the following parameters and the value can't be empty. </p> <note> <p>The parameter that you specify must match the country for the TRN, if available. For example, if you set a TRN in Canada for specific provinces, you must also specify the <code>canadaAdditionalInfo</code> parameter.</p> </note>"
@@ -430,6 +442,10 @@
430442
"shape":"CanadaAdditionalInfo",
431443
"documentation":"<p>Additional tax information associated with your TRN in Canada. </p>"
432444
},
445+
"egyptAdditionalInfo":{
446+
"shape":"EgyptAdditionalInfo",
447+
"documentation":"<p>Additional tax information to specify for a TRN in Egypt. </p>"
448+
},
433449
"estoniaAdditionalInfo":{
434450
"shape":"EstoniaAdditionalInfo",
435451
"documentation":"<p> Additional tax information associated with your TRN in Estonia. </p>"
@@ -438,6 +454,10 @@
438454
"shape":"GeorgiaAdditionalInfo",
439455
"documentation":"<p> Additional tax information associated with your TRN in Georgia. </p>"
440456
},
457+
"greeceAdditionalInfo":{
458+
"shape":"GreeceAdditionalInfo",
459+
"documentation":"<p>Additional tax information to specify for a TRN in Greece. </p>"
460+
},
441461
"indiaAdditionalInfo":{
442462
"shape":"IndiaAdditionalInfo",
443463
"documentation":"<p> Additional tax information in India. </p>"
@@ -485,6 +505,10 @@
485505
"ukraineAdditionalInfo":{
486506
"shape":"UkraineAdditionalInfo",
487507
"documentation":"<p> Additional tax information associated with your TRN in Ukraine. </p>"
508+
},
509+
"vietnamAdditionalInfo":{
510+
"shape":"VietnamAdditionalInfo",
511+
"documentation":"<p>Additional tax information to specify for a TRN in Vietnam. </p>"
488512
}
489513
},
490514
"documentation":"<p> Additional tax information associated with your TRN. The Tax Settings API returns country-specific information in the response when any additional information is present with your TRN for the following countries.</p>"
@@ -570,7 +594,7 @@
570594
"members":{
571595
"message":{"shape":"ErrorMessage"}
572596
},
573-
"documentation":"<p>Failed to upload the tax exemption document to Amazon Web Services Support case. </p>",
597+
"documentation":"<p>Failed to upload the tax exemption document to Amazon Web ServicesSupport case. </p>",
574598
"error":{
575599
"httpStatusCode":400,
576600
"senderFault":true
@@ -792,7 +816,7 @@
792816
"members":{
793817
"message":{"shape":"ErrorMessage"}
794818
},
795-
"documentation":"<p>You've exceeded the Amazon Web Services Support case creation limit for your account. </p>",
819+
"documentation":"<p>You've exceeded the Amazon Web ServicesSupport case creation limit for your account. </p>",
796820
"error":{
797821
"httpStatusCode":413,
798822
"senderFault":true
@@ -839,6 +863,10 @@
839863
},
840864
"exception":true
841865
},
866+
"ContractingAuthorityCode":{
867+
"type":"string",
868+
"pattern":"^\\d{4}\\.[A-Z]\\d{5}\\.\\d{4}$"
869+
},
842870
"CountryCode":{
843871
"type":"string",
844872
"max":2,
@@ -855,6 +883,10 @@
855883
"min":10,
856884
"pattern":"^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$"
857885
},
886+
"DateString":{
887+
"type":"string",
888+
"pattern":"^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$"
889+
},
858890
"DeleteSupplementalTaxRegistrationRequest":{
859891
"type":"structure",
860892
"required":["authorityId"],
@@ -915,6 +947,28 @@
915947
"min":1,
916948
"pattern":"^(?!\\s*$)[\\s\\S]+$"
917949
},
950+
"EgyptAdditionalInfo":{
951+
"type":"structure",
952+
"members":{
953+
"uniqueIdentificationNumber":{
954+
"shape":"UniqueIdentificationNumber",
955+
"documentation":"<p>The unique identification number provided by the Egypt Tax Authority.</p>"
956+
},
957+
"uniqueIdentificationNumberExpirationDate":{
958+
"shape":"DateString",
959+
"documentation":"<p>The expiration date of the unique identification number provided by the Egypt Tax Authority.</p>"
960+
}
961+
},
962+
"documentation":"<p>Additional tax information to specify for a TRN in Egypt.</p>"
963+
},
964+
"ElectronicTransactionCodeNumber":{
965+
"type":"string",
966+
"pattern":"^\\d{17}$"
967+
},
968+
"EnterpriseIdentificationNumber":{
969+
"type":"string",
970+
"pattern":"^(\\d{10}|(\\d{10}-\\d{3}))$"
971+
},
918972
"EntityExemptionAccountStatus":{
919973
"type":"string",
920974
"enum":[
@@ -1076,6 +1130,16 @@
10761130
}
10771131
}
10781132
},
1133+
"GreeceAdditionalInfo":{
1134+
"type":"structure",
1135+
"members":{
1136+
"contractingAuthorityCode":{
1137+
"shape":"ContractingAuthorityCode",
1138+
"documentation":"<p>The code of contracting authority for e-invoicing.</p>"
1139+
}
1140+
},
1141+
"documentation":"<p>Additional tax information to specify for a TRN in Greece. </p>"
1142+
},
10791143
"HeritageStatus":{
10801144
"type":"string",
10811145
"enum":[
@@ -1367,6 +1431,10 @@
13671431
"type":"string",
13681432
"pattern":"^[A-Z]{5}[0-9]{4}[A-Z]{1}$"
13691433
},
1434+
"PaymentVoucherNumber":{
1435+
"type":"string",
1436+
"pattern":"^\\d{17}$"
1437+
},
13701438
"PersonType":{
13711439
"type":"string",
13721440
"enum":[
@@ -2118,6 +2186,10 @@
21182186
"Individual"
21192187
]
21202188
},
2189+
"UniqueIdentificationNumber":{
2190+
"type":"string",
2191+
"pattern":"^[a-zA-Z0-9]{39}$"
2192+
},
21212193
"Url":{
21222194
"type":"string",
21232195
"max":200,
@@ -2186,6 +2258,28 @@
21862258
}
21872259
},
21882260
"documentation":"<p>Required information to verify your TRN.</p>"
2261+
},
2262+
"VietnamAdditionalInfo":{
2263+
"type":"structure",
2264+
"members":{
2265+
"electronicTransactionCodeNumber":{
2266+
"shape":"ElectronicTransactionCodeNumber",
2267+
"documentation":"<p>The electronic transaction code number on the tax return document.</p>"
2268+
},
2269+
"enterpriseIdentificationNumber":{
2270+
"shape":"EnterpriseIdentificationNumber",
2271+
"documentation":"<p>The enterprise identification number for tax registration.</p>"
2272+
},
2273+
"paymentVoucherNumber":{
2274+
"shape":"PaymentVoucherNumber",
2275+
"documentation":"<p>The payment voucher number on the tax return payment document.</p>"
2276+
},
2277+
"paymentVoucherNumberDate":{
2278+
"shape":"DateString",
2279+
"documentation":"<p>The date on the tax return payment document.</p>"
2280+
}
2281+
},
2282+
"documentation":"<p>Additional tax information to specify for a TRN in Vietnam.</p>"
21892283
}
21902284
},
21912285
"documentation":"<p>You can use the tax setting API to programmatically set, modify, and delete the tax registration number (TRN), associated business legal name, and address (Collectively referred to as \"TRN information\"). You can also programmatically view TRN information and tax addresses (\"Tax profiles\"). </p> <p>You can use this API to automate your TRN information settings instead of manually using the console.</p> <p>Service Endpoint</p> <ul> <li> <p>https://tax.us-east-1.amazonaws.com</p> </li> </ul>"

0 commit comments

Comments
 (0)