Skip to content

Commit 168d4a2

Browse files
author
AWS
committed
Tax Settings Update: Adjust Vietnam PaymentVoucherNumber regex and minor API change.
1 parent a3bf5e7 commit 168d4a2

File tree

2 files changed

+42
-14
lines changed

2 files changed

+42
-14
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": "Adjust Vietnam PaymentVoucherNumber regex and minor API change."
6+
}

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

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,7 @@
325325
},
326326
"AccountIds":{
327327
"type":"list",
328-
"member":{"shape":"AccountId"},
329-
"max":5,
330-
"min":1
328+
"member":{"shape":"AccountId"}
331329
},
332330
"AccountMetaData":{
333331
"type":"structure",
@@ -651,11 +649,17 @@
651649
"required":["accountIds"],
652650
"members":{
653651
"accountIds":{
654-
"shape":"AccountIds",
652+
"shape":"BatchDeleteTaxRegistrationRequestAccountIdsList",
655653
"documentation":"<p>List of unique account identifiers. </p>"
656654
}
657655
}
658656
},
657+
"BatchDeleteTaxRegistrationRequestAccountIdsList":{
658+
"type":"list",
659+
"member":{"shape":"AccountId"},
660+
"max":5,
661+
"min":1
662+
},
659663
"BatchDeleteTaxRegistrationResponse":{
660664
"type":"structure",
661665
"required":["errors"],
@@ -671,11 +675,17 @@
671675
"required":["accountIds"],
672676
"members":{
673677
"accountIds":{
674-
"shape":"AccountIds",
678+
"shape":"BatchGetTaxExemptionsRequestAccountIdsList",
675679
"documentation":"<p> List of unique account identifiers. </p>"
676680
}
677681
}
678682
},
683+
"BatchGetTaxExemptionsRequestAccountIdsList":{
684+
"type":"list",
685+
"member":{"shape":"AccountId"},
686+
"max":5,
687+
"min":1
688+
},
679689
"BatchGetTaxExemptionsResponse":{
680690
"type":"structure",
681691
"members":{
@@ -723,7 +733,7 @@
723733
],
724734
"members":{
725735
"accountIds":{
726-
"shape":"AccountIds",
736+
"shape":"BatchPutTaxRegistrationRequestAccountIdsList",
727737
"documentation":"<p> List of unique account identifiers.</p>"
728738
},
729739
"taxRegistrationEntry":{
@@ -732,6 +742,12 @@
732742
}
733743
}
734744
},
745+
"BatchPutTaxRegistrationRequestAccountIdsList":{
746+
"type":"list",
747+
"member":{"shape":"AccountId"},
748+
"max":550,
749+
"min":1
750+
},
735751
"BatchPutTaxRegistrationResponse":{
736752
"type":"structure",
737753
"required":["errors"],
@@ -1433,7 +1449,7 @@
14331449
},
14341450
"PaymentVoucherNumber":{
14351451
"type":"string",
1436-
"pattern":"^\\d{17}$"
1452+
"pattern":"^(\\d{17}|[A-Za-z]{3}\\d{13})$"
14371453
},
14381454
"PersonType":{
14391455
"type":"string",
@@ -1500,17 +1516,23 @@
15001516
],
15011517
"members":{
15021518
"accountIds":{
1503-
"shape":"AccountIds",
1519+
"shape":"PutTaxExemptionRequestAccountIdsList",
15041520
"documentation":"<p> The list of unique account identifiers. </p>"
15051521
},
15061522
"authority":{"shape":"Authority"},
15071523
"exemptionCertificate":{"shape":"ExemptionCertificate"},
15081524
"exemptionType":{
15091525
"shape":"GenericString",
1510-
"documentation":"<p>The exemption type. </p>"
1526+
"documentation":"<p>The exemption type. Use the supported tax exemption type description. </p>"
15111527
}
15121528
}
15131529
},
1530+
"PutTaxExemptionRequestAccountIdsList":{
1531+
"type":"list",
1532+
"member":{"shape":"AccountId"},
1533+
"max":550,
1534+
"min":1
1535+
},
15141536
"PutTaxExemptionResponse":{
15151537
"type":"structure",
15161538
"members":{
@@ -1968,7 +1990,7 @@
19681990
},
19691991
"registrationType":{
19701992
"shape":"TaxRegistrationType",
1971-
"documentation":"<p>Type of your tax registration. This can be either <code>VAT</code> or <code>GST</code>. </p>"
1993+
"documentation":"<p>Type of your tax registration. </p>"
19721994
},
19731995
"sector":{
19741996
"shape":"Sector",
@@ -2264,19 +2286,19 @@
22642286
"members":{
22652287
"electronicTransactionCodeNumber":{
22662288
"shape":"ElectronicTransactionCodeNumber",
2267-
"documentation":"<p>The electronic transaction code number on the tax return document.</p>"
2289+
"documentation":"<p>The electronic transaction code number on the tax return document. This field must be provided for successful API operation.</p>"
22682290
},
22692291
"enterpriseIdentificationNumber":{
22702292
"shape":"EnterpriseIdentificationNumber",
2271-
"documentation":"<p>The enterprise identification number for tax registration.</p>"
2293+
"documentation":"<p>The enterprise identification number for tax registration. This field must be provided for successful API operation.</p>"
22722294
},
22732295
"paymentVoucherNumber":{
22742296
"shape":"PaymentVoucherNumber",
2275-
"documentation":"<p>The payment voucher number on the tax return payment document.</p>"
2297+
"documentation":"<p>The payment voucher number on the tax return payment document. This field must be provided for successful API operation.</p>"
22762298
},
22772299
"paymentVoucherNumberDate":{
22782300
"shape":"DateString",
2279-
"documentation":"<p>The date on the tax return payment document.</p>"
2301+
"documentation":"<p>The date on the tax return payment document. This field must be provided for successful API operation.</p>"
22802302
}
22812303
},
22822304
"documentation":"<p>Additional tax information to specify for a TRN in Vietnam.</p>"

0 commit comments

Comments
 (0)