@aws-sdk/client-invoicing 3.1043.0 → 3.1045.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +40 -0
- package/dist-cjs/schemas/schemas_0.js +19 -8
- package/dist-es/models/enums.js +33 -0
- package/dist-es/schemas/schemas_0.js +19 -8
- package/dist-types/commands/CreateProcurementPortalPreferenceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProcurementPortalPreferenceCommand.d.ts +1 -1
- package/dist-types/commands/GetInvoicePDFCommand.d.ts +4 -0
- package/dist-types/commands/GetProcurementPortalPreferenceCommand.d.ts +1 -1
- package/dist-types/commands/ListInvoiceSummariesCommand.d.ts +182 -1
- package/dist-types/commands/ListProcurementPortalPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/PutProcurementPortalPreferenceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProcurementPortalPreferenceStatusCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +63 -3
- package/dist-types/ts3.4/models/enums.d.ts +44 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -365,6 +365,15 @@ const ValidationExceptionReason = {
|
|
|
365
365
|
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
366
366
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
367
367
|
};
|
|
368
|
+
const BillingEntity = {
|
|
369
|
+
AWS: "AWS",
|
|
370
|
+
AWS_MARKETPLACE: "AWS_MARKETPLACE",
|
|
371
|
+
};
|
|
372
|
+
const BillType = {
|
|
373
|
+
ANNIVERSARY: "ANNIVERSARY",
|
|
374
|
+
PURCHASE: "PURCHASE",
|
|
375
|
+
REFUND: "REFUND",
|
|
376
|
+
};
|
|
368
377
|
const BuyerDomain = {
|
|
369
378
|
NetworkID: "NetworkID",
|
|
370
379
|
};
|
|
@@ -397,6 +406,16 @@ const ProcurementPortalName = {
|
|
|
397
406
|
const SupplierDomain = {
|
|
398
407
|
NetworkID: "NetworkID",
|
|
399
408
|
};
|
|
409
|
+
const EinvoiceDeliveryStatus = {
|
|
410
|
+
DELIVERED: "DELIVERED",
|
|
411
|
+
NOT_DELIVERED: "NOT_DELIVERED",
|
|
412
|
+
};
|
|
413
|
+
const SupplementalDocumentType = {
|
|
414
|
+
GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE",
|
|
415
|
+
PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
|
|
416
|
+
SUPPLEMENT: "SUPPLEMENT",
|
|
417
|
+
TAX_E_INVOICE: "TAX_E_INVOICE",
|
|
418
|
+
};
|
|
400
419
|
const ProcurementPortalPreferenceStatus = {
|
|
401
420
|
ACTIVE: "ACTIVE",
|
|
402
421
|
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
@@ -405,9 +424,23 @@ const ProcurementPortalPreferenceStatus = {
|
|
|
405
424
|
TEST_INITIALIZATION_FAILED: "TEST_INITIALIZATION_FAILED",
|
|
406
425
|
TEST_INITIALIZED: "TEST_INITIALIZED",
|
|
407
426
|
};
|
|
427
|
+
const InvoiceFrequency = {
|
|
428
|
+
ONE_TIME: "ONE_TIME",
|
|
429
|
+
RECURRING: "RECURRING",
|
|
430
|
+
};
|
|
408
431
|
const InvoiceType = {
|
|
409
432
|
CREDIT_MEMO: "CREDIT_MEMO",
|
|
410
433
|
INVOICE: "INVOICE",
|
|
434
|
+
PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
|
|
435
|
+
};
|
|
436
|
+
const ReceiverRole = {
|
|
437
|
+
BUYER: "BUYER",
|
|
438
|
+
RESELLER: "RESELLER",
|
|
439
|
+
SELLER: "SELLER",
|
|
440
|
+
};
|
|
441
|
+
const TaxAuthorityStatus = {
|
|
442
|
+
CANCELLED: "CANCELLED",
|
|
443
|
+
ISSUED: "ISSUED",
|
|
411
444
|
};
|
|
412
445
|
const ListInvoiceSummariesResourceType = {
|
|
413
446
|
ACCOUNT_ID: "ACCOUNT_ID",
|
|
@@ -418,6 +451,8 @@ exports.$Command = smithyClient.Command;
|
|
|
418
451
|
exports.__Client = smithyClient.Client;
|
|
419
452
|
exports.InvoicingServiceException = InvoicingServiceException.InvoicingServiceException;
|
|
420
453
|
exports.BatchGetInvoiceProfileCommand = BatchGetInvoiceProfileCommand;
|
|
454
|
+
exports.BillType = BillType;
|
|
455
|
+
exports.BillingEntity = BillingEntity;
|
|
421
456
|
exports.BuyerDomain = BuyerDomain;
|
|
422
457
|
exports.ConnectionTestingMethod = ConnectionTestingMethod;
|
|
423
458
|
exports.CreateInvoiceUnitCommand = CreateInvoiceUnitCommand;
|
|
@@ -426,9 +461,11 @@ exports.DeleteInvoiceUnitCommand = DeleteInvoiceUnitCommand;
|
|
|
426
461
|
exports.DeleteProcurementPortalPreferenceCommand = DeleteProcurementPortalPreferenceCommand;
|
|
427
462
|
exports.EinvoiceDeliveryAttachmentType = EinvoiceDeliveryAttachmentType;
|
|
428
463
|
exports.EinvoiceDeliveryDocumentType = EinvoiceDeliveryDocumentType;
|
|
464
|
+
exports.EinvoiceDeliveryStatus = EinvoiceDeliveryStatus;
|
|
429
465
|
exports.GetInvoicePDFCommand = GetInvoicePDFCommand;
|
|
430
466
|
exports.GetInvoiceUnitCommand = GetInvoiceUnitCommand;
|
|
431
467
|
exports.GetProcurementPortalPreferenceCommand = GetProcurementPortalPreferenceCommand;
|
|
468
|
+
exports.InvoiceFrequency = InvoiceFrequency;
|
|
432
469
|
exports.InvoiceType = InvoiceType;
|
|
433
470
|
exports.Invoicing = Invoicing;
|
|
434
471
|
exports.InvoicingClient = InvoicingClient;
|
|
@@ -442,8 +479,11 @@ exports.ProcurementPortalPreferenceStatus = ProcurementPortalPreferenceStatus;
|
|
|
442
479
|
exports.Protocol = Protocol;
|
|
443
480
|
exports.PurchaseOrderDataSourceType = PurchaseOrderDataSourceType;
|
|
444
481
|
exports.PutProcurementPortalPreferenceCommand = PutProcurementPortalPreferenceCommand;
|
|
482
|
+
exports.ReceiverRole = ReceiverRole;
|
|
483
|
+
exports.SupplementalDocumentType = SupplementalDocumentType;
|
|
445
484
|
exports.SupplierDomain = SupplierDomain;
|
|
446
485
|
exports.TagResourceCommand = TagResourceCommand;
|
|
486
|
+
exports.TaxAuthorityStatus = TaxAuthorityStatus;
|
|
447
487
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
448
488
|
exports.UpdateInvoiceUnitCommand = UpdateInvoiceUnitCommand;
|
|
449
489
|
exports.UpdateProcurementPortalPreferenceStatusCommand = UpdateProcurementPortalPreferenceStatusCommand;
|
|
@@ -16,18 +16,22 @@ const _Ac = "Accounts";
|
|
|
16
16
|
const _B = "Breakdown";
|
|
17
17
|
const _BCA = "BaseCurrencyAmount";
|
|
18
18
|
const _BD = "BuyerDomain";
|
|
19
|
+
const _BE = "BillingEntity";
|
|
19
20
|
const _BGIP = "BatchGetInvoiceProfile";
|
|
20
21
|
const _BGIPR = "BatchGetInvoiceProfileRequest";
|
|
21
22
|
const _BGIPRa = "BatchGetInvoiceProfileResponse";
|
|
22
23
|
const _BI = "BuyerIdentifier";
|
|
23
24
|
const _BP = "BillingPeriod";
|
|
24
25
|
const _BSA = "BillSourceAccounts";
|
|
26
|
+
const _BSATC = "BillSourceAccountsTotalCount";
|
|
27
|
+
const _BT = "BillType";
|
|
25
28
|
const _C = "Contact";
|
|
26
29
|
const _CC = "CurrencyCode";
|
|
27
30
|
const _CCo = "CountryCode";
|
|
28
31
|
const _CD = "CreateDate";
|
|
29
32
|
const _CE = "ConflictException";
|
|
30
33
|
const _CED = "CurrencyExchangeDetails";
|
|
34
|
+
const _CII = "CommercialInvoiceId";
|
|
31
35
|
const _CIU = "CreateInvoiceUnit";
|
|
32
36
|
const _CIUR = "CreateInvoiceUnitRequest";
|
|
33
37
|
const _CIURr = "CreateInvoiceUnitResponse";
|
|
@@ -48,10 +52,12 @@ const _DI = "DateInterval";
|
|
|
48
52
|
const _DIU = "DeleteInvoiceUnit";
|
|
49
53
|
const _DIUR = "DeleteInvoiceUnitRequest";
|
|
50
54
|
const _DIURe = "DeleteInvoiceUnitResponse";
|
|
55
|
+
const _DIo = "DocumentId";
|
|
51
56
|
const _DOC = "DistrictOrCounty";
|
|
52
57
|
const _DPPP = "DeleteProcurementPortalPreference";
|
|
53
58
|
const _DPPPR = "DeleteProcurementPortalPreferenceRequest";
|
|
54
59
|
const _DPPPRe = "DeleteProcurementPortalPreferenceResponse";
|
|
60
|
+
const _DT = "DocumentType";
|
|
55
61
|
const _DU = "DocumentUrl";
|
|
56
62
|
const _DUED = "DocumentUrlExpirationDate";
|
|
57
63
|
const _De = "Description";
|
|
@@ -65,6 +71,7 @@ const _EDE = "EinvoiceDeliveryEnabled";
|
|
|
65
71
|
const _EDP = "EinvoiceDeliveryPreference";
|
|
66
72
|
const _EDPS = "EinvoiceDeliveryPreferenceStatus";
|
|
67
73
|
const _EDPSR = "EinvoiceDeliveryPreferenceStatusReason";
|
|
74
|
+
const _EDS = "EinvoiceDeliveryStatus";
|
|
68
75
|
const _En = "Entity";
|
|
69
76
|
const _F = "Fees";
|
|
70
77
|
const _FB = "FeesBreakdown";
|
|
@@ -85,6 +92,7 @@ const _I = "Issuer";
|
|
|
85
92
|
const _ICA = "InvoiceCurrencyAmount";
|
|
86
93
|
const _ID = "IssuedDate";
|
|
87
94
|
const _IE = "InvoicingEntity";
|
|
95
|
+
const _IF = "InvoiceFrequency";
|
|
88
96
|
const _II = "InvoiceId";
|
|
89
97
|
const _IP = "InvoiceProfile";
|
|
90
98
|
const _IPDF = "InvoicePDF";
|
|
@@ -155,6 +163,7 @@ const _RAes = "ResourceArn";
|
|
|
155
163
|
const _RE = "ReceiverEmail";
|
|
156
164
|
const _RN = "ReceiverName";
|
|
157
165
|
const _RNFE = "ResourceNotFoundException";
|
|
166
|
+
const _RR = "ReceiverRole";
|
|
158
167
|
const _RT = "ResourceTags";
|
|
159
168
|
const _RTK = "ResourceTagKeys";
|
|
160
169
|
const _RTL = "ResourceTagList";
|
|
@@ -176,6 +185,7 @@ const _STA = "SubTotalAmount";
|
|
|
176
185
|
const _T = "Taxes";
|
|
177
186
|
const _TA = "TotalAmount";
|
|
178
187
|
const _TABT = "TotalAmountBeforeTax";
|
|
188
|
+
const _TAS = "TaxAuthorityStatus";
|
|
179
189
|
const _TB = "TaxesBreakdown";
|
|
180
190
|
const _TBA = "TaxesBreakdownAmount";
|
|
181
191
|
const _TBAL = "TaxesBreakdownAmountList";
|
|
@@ -367,8 +377,8 @@ exports.EinvoiceDeliveryPreference$ = [3, n0, _EDP,
|
|
|
367
377
|
];
|
|
368
378
|
exports.Entity$ = [3, n0, _En,
|
|
369
379
|
0,
|
|
370
|
-
[_IE],
|
|
371
|
-
[0]
|
|
380
|
+
[_IE, _BE],
|
|
381
|
+
[0, 0]
|
|
372
382
|
];
|
|
373
383
|
exports.FeesBreakdown$ = [3, n0, _FB,
|
|
374
384
|
0,
|
|
@@ -432,8 +442,8 @@ exports.InvoiceProfile$ = [3, n0, _IP,
|
|
|
432
442
|
];
|
|
433
443
|
exports.InvoiceSummariesFilter$ = [3, n0, _ISF,
|
|
434
444
|
0,
|
|
435
|
-
[_TI, _BP, _IE],
|
|
436
|
-
[() => exports.DateInterval$, () => exports.BillingPeriod$, 0]
|
|
445
|
+
[_TI, _BP, _IE, _RR],
|
|
446
|
+
[() => exports.DateInterval$, () => exports.BillingPeriod$, 0, 0]
|
|
437
447
|
];
|
|
438
448
|
exports.InvoiceSummariesSelector$ = [3, n0, _ISS,
|
|
439
449
|
0,
|
|
@@ -442,8 +452,8 @@ exports.InvoiceSummariesSelector$ = [3, n0, _ISS,
|
|
|
442
452
|
];
|
|
443
453
|
exports.InvoiceSummary$ = [3, n0, _IS,
|
|
444
454
|
0,
|
|
445
|
-
[_AIc, _II, _ID, _DD, _En, _BP, _IT, _OII, _PON, _BCA, _TCA, _PCA],
|
|
446
|
-
[0, 0, 4, 4, () => exports.Entity$, () => exports.BillingPeriod$, 0, 0, 0, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$]
|
|
455
|
+
[_AIc, _II, _ID, _DD, _BSA, _BSATC, _RR, _En, _BP, _IF, _BT, _IT, _CII, _OII, _PON, _EDS, _TAS, _BCA, _TCA, _PCA],
|
|
456
|
+
[0, 0, 4, 4, 64 | 0, 1, 0, () => exports.Entity$, () => exports.BillingPeriod$, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$]
|
|
447
457
|
];
|
|
448
458
|
exports.InvoiceUnit$ = [3, n0, _IU,
|
|
449
459
|
0,
|
|
@@ -537,8 +547,8 @@ exports.ResourceTag$ = [3, n0, _RTes,
|
|
|
537
547
|
];
|
|
538
548
|
exports.SupplementalDocument$ = [3, n0, _SDup,
|
|
539
549
|
0,
|
|
540
|
-
[_DU, _DUED],
|
|
541
|
-
[0, 4]
|
|
550
|
+
[_DT, _DIo, _DU, _DUED],
|
|
551
|
+
[0, 0, 0, 4]
|
|
542
552
|
];
|
|
543
553
|
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
544
554
|
0,
|
|
@@ -606,6 +616,7 @@ exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
|
606
616
|
[0, 0], 2
|
|
607
617
|
];
|
|
608
618
|
var AccountIdList = 64 | 0;
|
|
619
|
+
var BillSourceAccountList = 64 | 0;
|
|
609
620
|
var Contacts = [1, n0, _Co,
|
|
610
621
|
0, [() => exports.Contact$,
|
|
611
622
|
0]
|
package/dist-es/models/enums.js
CHANGED
|
@@ -14,6 +14,15 @@ export const ValidationExceptionReason = {
|
|
|
14
14
|
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
15
15
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
16
16
|
};
|
|
17
|
+
export const BillingEntity = {
|
|
18
|
+
AWS: "AWS",
|
|
19
|
+
AWS_MARKETPLACE: "AWS_MARKETPLACE",
|
|
20
|
+
};
|
|
21
|
+
export const BillType = {
|
|
22
|
+
ANNIVERSARY: "ANNIVERSARY",
|
|
23
|
+
PURCHASE: "PURCHASE",
|
|
24
|
+
REFUND: "REFUND",
|
|
25
|
+
};
|
|
17
26
|
export const BuyerDomain = {
|
|
18
27
|
NetworkID: "NetworkID",
|
|
19
28
|
};
|
|
@@ -46,6 +55,16 @@ export const ProcurementPortalName = {
|
|
|
46
55
|
export const SupplierDomain = {
|
|
47
56
|
NetworkID: "NetworkID",
|
|
48
57
|
};
|
|
58
|
+
export const EinvoiceDeliveryStatus = {
|
|
59
|
+
DELIVERED: "DELIVERED",
|
|
60
|
+
NOT_DELIVERED: "NOT_DELIVERED",
|
|
61
|
+
};
|
|
62
|
+
export const SupplementalDocumentType = {
|
|
63
|
+
GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE",
|
|
64
|
+
PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
|
|
65
|
+
SUPPLEMENT: "SUPPLEMENT",
|
|
66
|
+
TAX_E_INVOICE: "TAX_E_INVOICE",
|
|
67
|
+
};
|
|
49
68
|
export const ProcurementPortalPreferenceStatus = {
|
|
50
69
|
ACTIVE: "ACTIVE",
|
|
51
70
|
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
@@ -54,9 +73,23 @@ export const ProcurementPortalPreferenceStatus = {
|
|
|
54
73
|
TEST_INITIALIZATION_FAILED: "TEST_INITIALIZATION_FAILED",
|
|
55
74
|
TEST_INITIALIZED: "TEST_INITIALIZED",
|
|
56
75
|
};
|
|
76
|
+
export const InvoiceFrequency = {
|
|
77
|
+
ONE_TIME: "ONE_TIME",
|
|
78
|
+
RECURRING: "RECURRING",
|
|
79
|
+
};
|
|
57
80
|
export const InvoiceType = {
|
|
58
81
|
CREDIT_MEMO: "CREDIT_MEMO",
|
|
59
82
|
INVOICE: "INVOICE",
|
|
83
|
+
PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
|
|
84
|
+
};
|
|
85
|
+
export const ReceiverRole = {
|
|
86
|
+
BUYER: "BUYER",
|
|
87
|
+
RESELLER: "RESELLER",
|
|
88
|
+
SELLER: "SELLER",
|
|
89
|
+
};
|
|
90
|
+
export const TaxAuthorityStatus = {
|
|
91
|
+
CANCELLED: "CANCELLED",
|
|
92
|
+
ISSUED: "ISSUED",
|
|
60
93
|
};
|
|
61
94
|
export const ListInvoiceSummariesResourceType = {
|
|
62
95
|
ACCOUNT_ID: "ACCOUNT_ID",
|
|
@@ -12,18 +12,22 @@ const _Ac = "Accounts";
|
|
|
12
12
|
const _B = "Breakdown";
|
|
13
13
|
const _BCA = "BaseCurrencyAmount";
|
|
14
14
|
const _BD = "BuyerDomain";
|
|
15
|
+
const _BE = "BillingEntity";
|
|
15
16
|
const _BGIP = "BatchGetInvoiceProfile";
|
|
16
17
|
const _BGIPR = "BatchGetInvoiceProfileRequest";
|
|
17
18
|
const _BGIPRa = "BatchGetInvoiceProfileResponse";
|
|
18
19
|
const _BI = "BuyerIdentifier";
|
|
19
20
|
const _BP = "BillingPeriod";
|
|
20
21
|
const _BSA = "BillSourceAccounts";
|
|
22
|
+
const _BSATC = "BillSourceAccountsTotalCount";
|
|
23
|
+
const _BT = "BillType";
|
|
21
24
|
const _C = "Contact";
|
|
22
25
|
const _CC = "CurrencyCode";
|
|
23
26
|
const _CCo = "CountryCode";
|
|
24
27
|
const _CD = "CreateDate";
|
|
25
28
|
const _CE = "ConflictException";
|
|
26
29
|
const _CED = "CurrencyExchangeDetails";
|
|
30
|
+
const _CII = "CommercialInvoiceId";
|
|
27
31
|
const _CIU = "CreateInvoiceUnit";
|
|
28
32
|
const _CIUR = "CreateInvoiceUnitRequest";
|
|
29
33
|
const _CIURr = "CreateInvoiceUnitResponse";
|
|
@@ -44,10 +48,12 @@ const _DI = "DateInterval";
|
|
|
44
48
|
const _DIU = "DeleteInvoiceUnit";
|
|
45
49
|
const _DIUR = "DeleteInvoiceUnitRequest";
|
|
46
50
|
const _DIURe = "DeleteInvoiceUnitResponse";
|
|
51
|
+
const _DIo = "DocumentId";
|
|
47
52
|
const _DOC = "DistrictOrCounty";
|
|
48
53
|
const _DPPP = "DeleteProcurementPortalPreference";
|
|
49
54
|
const _DPPPR = "DeleteProcurementPortalPreferenceRequest";
|
|
50
55
|
const _DPPPRe = "DeleteProcurementPortalPreferenceResponse";
|
|
56
|
+
const _DT = "DocumentType";
|
|
51
57
|
const _DU = "DocumentUrl";
|
|
52
58
|
const _DUED = "DocumentUrlExpirationDate";
|
|
53
59
|
const _De = "Description";
|
|
@@ -61,6 +67,7 @@ const _EDE = "EinvoiceDeliveryEnabled";
|
|
|
61
67
|
const _EDP = "EinvoiceDeliveryPreference";
|
|
62
68
|
const _EDPS = "EinvoiceDeliveryPreferenceStatus";
|
|
63
69
|
const _EDPSR = "EinvoiceDeliveryPreferenceStatusReason";
|
|
70
|
+
const _EDS = "EinvoiceDeliveryStatus";
|
|
64
71
|
const _En = "Entity";
|
|
65
72
|
const _F = "Fees";
|
|
66
73
|
const _FB = "FeesBreakdown";
|
|
@@ -81,6 +88,7 @@ const _I = "Issuer";
|
|
|
81
88
|
const _ICA = "InvoiceCurrencyAmount";
|
|
82
89
|
const _ID = "IssuedDate";
|
|
83
90
|
const _IE = "InvoicingEntity";
|
|
91
|
+
const _IF = "InvoiceFrequency";
|
|
84
92
|
const _II = "InvoiceId";
|
|
85
93
|
const _IP = "InvoiceProfile";
|
|
86
94
|
const _IPDF = "InvoicePDF";
|
|
@@ -151,6 +159,7 @@ const _RAes = "ResourceArn";
|
|
|
151
159
|
const _RE = "ReceiverEmail";
|
|
152
160
|
const _RN = "ReceiverName";
|
|
153
161
|
const _RNFE = "ResourceNotFoundException";
|
|
162
|
+
const _RR = "ReceiverRole";
|
|
154
163
|
const _RT = "ResourceTags";
|
|
155
164
|
const _RTK = "ResourceTagKeys";
|
|
156
165
|
const _RTL = "ResourceTagList";
|
|
@@ -172,6 +181,7 @@ const _STA = "SubTotalAmount";
|
|
|
172
181
|
const _T = "Taxes";
|
|
173
182
|
const _TA = "TotalAmount";
|
|
174
183
|
const _TABT = "TotalAmountBeforeTax";
|
|
184
|
+
const _TAS = "TaxAuthorityStatus";
|
|
175
185
|
const _TB = "TaxesBreakdown";
|
|
176
186
|
const _TBA = "TaxesBreakdownAmount";
|
|
177
187
|
const _TBAL = "TaxesBreakdownAmountList";
|
|
@@ -363,8 +373,8 @@ export var EinvoiceDeliveryPreference$ = [3, n0, _EDP,
|
|
|
363
373
|
];
|
|
364
374
|
export var Entity$ = [3, n0, _En,
|
|
365
375
|
0,
|
|
366
|
-
[_IE],
|
|
367
|
-
[0]
|
|
376
|
+
[_IE, _BE],
|
|
377
|
+
[0, 0]
|
|
368
378
|
];
|
|
369
379
|
export var FeesBreakdown$ = [3, n0, _FB,
|
|
370
380
|
0,
|
|
@@ -428,8 +438,8 @@ export var InvoiceProfile$ = [3, n0, _IP,
|
|
|
428
438
|
];
|
|
429
439
|
export var InvoiceSummariesFilter$ = [3, n0, _ISF,
|
|
430
440
|
0,
|
|
431
|
-
[_TI, _BP, _IE],
|
|
432
|
-
[() => DateInterval$, () => BillingPeriod$, 0]
|
|
441
|
+
[_TI, _BP, _IE, _RR],
|
|
442
|
+
[() => DateInterval$, () => BillingPeriod$, 0, 0]
|
|
433
443
|
];
|
|
434
444
|
export var InvoiceSummariesSelector$ = [3, n0, _ISS,
|
|
435
445
|
0,
|
|
@@ -438,8 +448,8 @@ export var InvoiceSummariesSelector$ = [3, n0, _ISS,
|
|
|
438
448
|
];
|
|
439
449
|
export var InvoiceSummary$ = [3, n0, _IS,
|
|
440
450
|
0,
|
|
441
|
-
[_AIc, _II, _ID, _DD, _En, _BP, _IT, _OII, _PON, _BCA, _TCA, _PCA],
|
|
442
|
-
[0, 0, 4, 4, () => Entity$, () => BillingPeriod$, 0, 0, 0, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$]
|
|
451
|
+
[_AIc, _II, _ID, _DD, _BSA, _BSATC, _RR, _En, _BP, _IF, _BT, _IT, _CII, _OII, _PON, _EDS, _TAS, _BCA, _TCA, _PCA],
|
|
452
|
+
[0, 0, 4, 4, 64 | 0, 1, 0, () => Entity$, () => BillingPeriod$, 0, 0, 0, 0, 0, 0, 0, 0, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$]
|
|
443
453
|
];
|
|
444
454
|
export var InvoiceUnit$ = [3, n0, _IU,
|
|
445
455
|
0,
|
|
@@ -533,8 +543,8 @@ export var ResourceTag$ = [3, n0, _RTes,
|
|
|
533
543
|
];
|
|
534
544
|
export var SupplementalDocument$ = [3, n0, _SDup,
|
|
535
545
|
0,
|
|
536
|
-
[_DU, _DUED],
|
|
537
|
-
[0, 4]
|
|
546
|
+
[_DT, _DIo, _DU, _DUED],
|
|
547
|
+
[0, 0, 0, 4]
|
|
538
548
|
];
|
|
539
549
|
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
540
550
|
0,
|
|
@@ -602,6 +612,7 @@ export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
|
602
612
|
[0, 0], 2
|
|
603
613
|
];
|
|
604
614
|
var AccountIdList = 64 | 0;
|
|
615
|
+
var BillSourceAccountList = 64 | 0;
|
|
605
616
|
var Contacts = [1, n0, _Co,
|
|
606
617
|
0, [() => Contact$,
|
|
607
618
|
0]
|
|
@@ -27,7 +27,7 @@ declare const CreateProcurementPortalPreferenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a procurement portal preference configuration for e-invoice delivery and purchase order retrieval. This preference defines how invoices are delivered to a procurement portal and how purchase orders are retrieved.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Creates a procurement portal preference configuration for e-invoice delivery and purchase order retrieval. This preference defines how invoices are delivered to a procurement portal and how purchase orders are retrieved.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteProcurementPortalPreferenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes an existing procurement portal preference. This action cannot be undone. Active e-invoice delivery and PO retrieval configurations will be terminated.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Deletes an existing procurement portal preference. This action cannot be undone. Active e-invoice delivery and PO retrieval configurations will be terminated.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -48,6 +48,8 @@ declare const GetInvoicePDFCommand_base: {
|
|
|
48
48
|
* // DocumentUrlExpirationDate: new Date("TIMESTAMP"),
|
|
49
49
|
* // SupplementalDocuments: [ // SupplementalDocuments
|
|
50
50
|
* // { // SupplementalDocument
|
|
51
|
+
* // DocumentType: "GOVERNMENT_INVOICE" || "TAX_E_INVOICE" || "PAYMENT_RECEIPT" || "SUPPLEMENT",
|
|
52
|
+
* // DocumentId: "STRING_VALUE",
|
|
51
53
|
* // DocumentUrl: "STRING_VALUE",
|
|
52
54
|
* // DocumentUrlExpirationDate: new Date("TIMESTAMP"),
|
|
53
55
|
* // },
|
|
@@ -118,6 +120,8 @@ declare const GetInvoicePDFCommand_base: {
|
|
|
118
120
|
* InvoiceId: "abc123",
|
|
119
121
|
* SupplementalDocuments: [
|
|
120
122
|
* {
|
|
123
|
+
* DocumentId: "supp-doc-1",
|
|
124
|
+
* DocumentType: "TAX_E_INVOICE",
|
|
121
125
|
* DocumentUrl: "https://abcd123.com?securityTokenForSupplementalDoc",
|
|
122
126
|
* DocumentUrlExpirationDate: "2025-04-01T01:00:00.000Z"
|
|
123
127
|
* }
|
|
@@ -27,7 +27,7 @@ declare const GetProcurementPortalPreferenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the details of a specific procurement portal preference configuration.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Retrieves the details of a specific procurement portal preference configuration.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -51,6 +51,7 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
51
51
|
* Year: Number("int"), // required
|
|
52
52
|
* },
|
|
53
53
|
* InvoicingEntity: "STRING_VALUE",
|
|
54
|
+
* ReceiverRole: "SELLER" || "RESELLER" || "BUYER",
|
|
54
55
|
* },
|
|
55
56
|
* NextToken: "STRING_VALUE",
|
|
56
57
|
* MaxResults: Number("int"),
|
|
@@ -64,16 +65,27 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
64
65
|
* // InvoiceId: "STRING_VALUE",
|
|
65
66
|
* // IssuedDate: new Date("TIMESTAMP"),
|
|
66
67
|
* // DueDate: new Date("TIMESTAMP"),
|
|
68
|
+
* // BillSourceAccounts: [ // BillSourceAccountList
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // BillSourceAccountsTotalCount: Number("int"),
|
|
72
|
+
* // ReceiverRole: "SELLER" || "RESELLER" || "BUYER",
|
|
67
73
|
* // Entity: { // Entity
|
|
68
74
|
* // InvoicingEntity: "STRING_VALUE",
|
|
75
|
+
* // BillingEntity: "AWS" || "AWS_MARKETPLACE",
|
|
69
76
|
* // },
|
|
70
77
|
* // BillingPeriod: { // BillingPeriod
|
|
71
78
|
* // Month: Number("int"), // required
|
|
72
79
|
* // Year: Number("int"), // required
|
|
73
80
|
* // },
|
|
74
|
-
* //
|
|
81
|
+
* // InvoiceFrequency: "ONE_TIME" || "RECURRING",
|
|
82
|
+
* // BillType: "ANNIVERSARY" || "PURCHASE" || "REFUND",
|
|
83
|
+
* // InvoiceType: "INVOICE" || "CREDIT_MEMO" || "PAYMENT_RECEIPT",
|
|
84
|
+
* // CommercialInvoiceId: "STRING_VALUE",
|
|
75
85
|
* // OriginalInvoiceId: "STRING_VALUE",
|
|
76
86
|
* // PurchaseOrderNumber: "STRING_VALUE",
|
|
87
|
+
* // EinvoiceDeliveryStatus: "DELIVERED" || "NOT_DELIVERED",
|
|
88
|
+
* // TaxAuthorityStatus: "ISSUED" || "CANCELLED",
|
|
77
89
|
* // BaseCurrencyAmount: { // InvoiceCurrencyAmount
|
|
78
90
|
* // TotalAmount: "STRING_VALUE",
|
|
79
91
|
* // TotalAmountBeforeTax: "STRING_VALUE",
|
|
@@ -265,17 +277,27 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
265
277
|
* TotalAmount: "1.00",
|
|
266
278
|
* TotalAmountBeforeTax: "1.00"
|
|
267
279
|
* },
|
|
280
|
+
* BillSourceAccounts: [
|
|
281
|
+
* "111111111111"
|
|
282
|
+
* ],
|
|
283
|
+
* BillSourceAccountsTotalCount: 1,
|
|
284
|
+
* BillType: "ANNIVERSARY",
|
|
268
285
|
* BillingPeriod: {
|
|
269
286
|
* Month: 1,
|
|
270
287
|
* Year: 2025
|
|
271
288
|
* },
|
|
289
|
+
* CommercialInvoiceId: "2222222222",
|
|
272
290
|
* DueDate: "2025-04-01T01:00:00.000Z",
|
|
291
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
273
292
|
* Entity: {
|
|
293
|
+
* BillingEntity: "AWS",
|
|
274
294
|
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
275
295
|
* },
|
|
296
|
+
* InvoiceFrequency: "RECURRING",
|
|
276
297
|
* InvoiceId: "1111111111",
|
|
277
298
|
* InvoiceType: "INVOICE",
|
|
278
299
|
* IssuedDate: "2025-04-01T01:00:00.000Z",
|
|
300
|
+
* OriginalInvoiceId: "1111111111",
|
|
279
301
|
* PaymentCurrencyAmount: {
|
|
280
302
|
* AmountBreakdown: {
|
|
281
303
|
* Discounts: {
|
|
@@ -302,6 +324,9 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
302
324
|
* TotalAmount: "1.00",
|
|
303
325
|
* TotalAmountBeforeTax: "1.00"
|
|
304
326
|
* },
|
|
327
|
+
* PurchaseOrderNumber: "PO-12345",
|
|
328
|
+
* ReceiverRole: "BUYER",
|
|
329
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
305
330
|
* TaxCurrencyAmount: {
|
|
306
331
|
* AmountBreakdown: {
|
|
307
332
|
* Discounts: {
|
|
@@ -370,14 +395,22 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
370
395
|
* TotalAmount: "1.00",
|
|
371
396
|
* TotalAmountBeforeTax: "1.00"
|
|
372
397
|
* },
|
|
398
|
+
* BillSourceAccounts: [
|
|
399
|
+
* "111111111111"
|
|
400
|
+
* ],
|
|
401
|
+
* BillSourceAccountsTotalCount: 1,
|
|
402
|
+
* BillType: "ANNIVERSARY",
|
|
373
403
|
* BillingPeriod: {
|
|
374
404
|
* Month: 1,
|
|
375
405
|
* Year: 2025
|
|
376
406
|
* },
|
|
377
407
|
* DueDate: "2025-04-01T01:00:00.000Z",
|
|
408
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
378
409
|
* Entity: {
|
|
410
|
+
* BillingEntity: "AWS",
|
|
379
411
|
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
380
412
|
* },
|
|
413
|
+
* InvoiceFrequency: "RECURRING",
|
|
381
414
|
* InvoiceId: "1111111111",
|
|
382
415
|
* InvoiceType: "INVOICE",
|
|
383
416
|
* IssuedDate: "2025-04-01T01:00:00.000Z",
|
|
@@ -407,6 +440,8 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
407
440
|
* TotalAmount: "1.00",
|
|
408
441
|
* TotalAmountBeforeTax: "1.00"
|
|
409
442
|
* },
|
|
443
|
+
* ReceiverRole: "BUYER",
|
|
444
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
410
445
|
* TaxCurrencyAmount: {
|
|
411
446
|
* AmountBreakdown: {
|
|
412
447
|
* Discounts: {
|
|
@@ -475,14 +510,22 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
475
510
|
* TotalAmount: "1.00",
|
|
476
511
|
* TotalAmountBeforeTax: "1.00"
|
|
477
512
|
* },
|
|
513
|
+
* BillSourceAccounts: [
|
|
514
|
+
* "111111111111"
|
|
515
|
+
* ],
|
|
516
|
+
* BillSourceAccountsTotalCount: 1,
|
|
517
|
+
* BillType: "ANNIVERSARY",
|
|
478
518
|
* BillingPeriod: {
|
|
479
519
|
* Month: 1,
|
|
480
520
|
* Year: 2025
|
|
481
521
|
* },
|
|
482
522
|
* DueDate: "2025-04-01T01:00:00.000Z",
|
|
523
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
483
524
|
* Entity: {
|
|
525
|
+
* BillingEntity: "AWS",
|
|
484
526
|
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
485
527
|
* },
|
|
528
|
+
* InvoiceFrequency: "RECURRING",
|
|
486
529
|
* InvoiceId: "1111111111",
|
|
487
530
|
* InvoiceType: "INVOICE",
|
|
488
531
|
* IssuedDate: "2025-04-01T01:00:00.000Z",
|
|
@@ -512,6 +555,124 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
512
555
|
* TotalAmount: "1.00",
|
|
513
556
|
* TotalAmountBeforeTax: "1.00"
|
|
514
557
|
* },
|
|
558
|
+
* ReceiverRole: "BUYER",
|
|
559
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
560
|
+
* TaxCurrencyAmount: {
|
|
561
|
+
* AmountBreakdown: {
|
|
562
|
+
* Discounts: {
|
|
563
|
+
* TotalAmount: "1.00"
|
|
564
|
+
* },
|
|
565
|
+
* SubTotalAmount: "1.00",
|
|
566
|
+
* Taxes: {
|
|
567
|
+
* Breakdown: [
|
|
568
|
+
* {
|
|
569
|
+
* Amount: "1",
|
|
570
|
+
* Description: "VAT",
|
|
571
|
+
* Rate: "1.0"
|
|
572
|
+
* }
|
|
573
|
+
* ],
|
|
574
|
+
* TotalAmount: "1.00"
|
|
575
|
+
* }
|
|
576
|
+
* },
|
|
577
|
+
* CurrencyCode: "USD",
|
|
578
|
+
* CurrencyExchangeDetails: {
|
|
579
|
+
* Rate: "1.0",
|
|
580
|
+
* SourceCurrencyCode: "USD",
|
|
581
|
+
* TargetCurrencyCode: "USD"
|
|
582
|
+
* },
|
|
583
|
+
* TotalAmount: "1.00",
|
|
584
|
+
* TotalAmountBeforeTax: "1.00"
|
|
585
|
+
* }
|
|
586
|
+
* }
|
|
587
|
+
* ]
|
|
588
|
+
* }
|
|
589
|
+
* *\/
|
|
590
|
+
* ```
|
|
591
|
+
*
|
|
592
|
+
* @example ListInvoiceSummaries filtered by ReceiverRole
|
|
593
|
+
* ```javascript
|
|
594
|
+
* //
|
|
595
|
+
* const input = {
|
|
596
|
+
* Filter: {
|
|
597
|
+
* ReceiverRole: "SELLER",
|
|
598
|
+
* TimeInterval: {
|
|
599
|
+
* EndDate: 1751328000,
|
|
600
|
+
* StartDate: 1748736000
|
|
601
|
+
* }
|
|
602
|
+
* },
|
|
603
|
+
* Selector: {
|
|
604
|
+
* ResourceType: "ACCOUNT_ID",
|
|
605
|
+
* Value: "111111111111"
|
|
606
|
+
* }
|
|
607
|
+
* };
|
|
608
|
+
* const command = new ListInvoiceSummariesCommand(input);
|
|
609
|
+
* const response = await client.send(command);
|
|
610
|
+
* /* response is
|
|
611
|
+
* {
|
|
612
|
+
* InvoiceSummaries: [
|
|
613
|
+
* {
|
|
614
|
+
* AccountId: "111111111111",
|
|
615
|
+
* BaseCurrencyAmount: {
|
|
616
|
+
* AmountBreakdown: {
|
|
617
|
+
* Discounts: {
|
|
618
|
+
* TotalAmount: "1.00"
|
|
619
|
+
* },
|
|
620
|
+
* SubTotalAmount: "1.00",
|
|
621
|
+
* Taxes: {
|
|
622
|
+
* TotalAmount: "1.00"
|
|
623
|
+
* }
|
|
624
|
+
* },
|
|
625
|
+
* CurrencyCode: "USD",
|
|
626
|
+
* TotalAmount: "1.00",
|
|
627
|
+
* TotalAmountBeforeTax: "1.00"
|
|
628
|
+
* },
|
|
629
|
+
* BillSourceAccounts: [
|
|
630
|
+
* "222222222222"
|
|
631
|
+
* ],
|
|
632
|
+
* BillSourceAccountsTotalCount: 1,
|
|
633
|
+
* BillType: "ANNIVERSARY",
|
|
634
|
+
* BillingPeriod: {
|
|
635
|
+
* Month: 6,
|
|
636
|
+
* Year: 2025
|
|
637
|
+
* },
|
|
638
|
+
* DueDate: "2025-07-15T01:00:00.000Z",
|
|
639
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
640
|
+
* Entity: {
|
|
641
|
+
* BillingEntity: "AWS_MARKETPLACE",
|
|
642
|
+
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
643
|
+
* },
|
|
644
|
+
* InvoiceFrequency: "RECURRING",
|
|
645
|
+
* InvoiceId: "1111111111",
|
|
646
|
+
* InvoiceType: "INVOICE",
|
|
647
|
+
* IssuedDate: "2025-06-15T01:00:00.000Z",
|
|
648
|
+
* PaymentCurrencyAmount: {
|
|
649
|
+
* AmountBreakdown: {
|
|
650
|
+
* Discounts: {
|
|
651
|
+
* TotalAmount: "1.00"
|
|
652
|
+
* },
|
|
653
|
+
* SubTotalAmount: "1.00",
|
|
654
|
+
* Taxes: {
|
|
655
|
+
* Breakdown: [
|
|
656
|
+
* {
|
|
657
|
+
* Amount: "1",
|
|
658
|
+
* Description: "VAT",
|
|
659
|
+
* Rate: "1.0"
|
|
660
|
+
* }
|
|
661
|
+
* ],
|
|
662
|
+
* TotalAmount: "1.00"
|
|
663
|
+
* }
|
|
664
|
+
* },
|
|
665
|
+
* CurrencyCode: "USD",
|
|
666
|
+
* CurrencyExchangeDetails: {
|
|
667
|
+
* Rate: "1.0",
|
|
668
|
+
* SourceCurrencyCode: "USD",
|
|
669
|
+
* TargetCurrencyCode: "USD"
|
|
670
|
+
* },
|
|
671
|
+
* TotalAmount: "1.00",
|
|
672
|
+
* TotalAmountBeforeTax: "1.00"
|
|
673
|
+
* },
|
|
674
|
+
* ReceiverRole: "SELLER",
|
|
675
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
515
676
|
* TaxCurrencyAmount: {
|
|
516
677
|
* AmountBreakdown: {
|
|
517
678
|
* Discounts: {
|
|
@@ -581,14 +742,22 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
581
742
|
* TotalAmount: "1.00",
|
|
582
743
|
* TotalAmountBeforeTax: "1.00"
|
|
583
744
|
* },
|
|
745
|
+
* BillSourceAccounts: [
|
|
746
|
+
* "111111111111"
|
|
747
|
+
* ],
|
|
748
|
+
* BillSourceAccountsTotalCount: 1,
|
|
749
|
+
* BillType: "ANNIVERSARY",
|
|
584
750
|
* BillingPeriod: {
|
|
585
751
|
* Month: 1,
|
|
586
752
|
* Year: 2025
|
|
587
753
|
* },
|
|
588
754
|
* DueDate: "2025-04-01T01:00:00.000Z",
|
|
755
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
589
756
|
* Entity: {
|
|
757
|
+
* BillingEntity: "AWS",
|
|
590
758
|
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
591
759
|
* },
|
|
760
|
+
* InvoiceFrequency: "RECURRING",
|
|
592
761
|
* InvoiceId: "1111111111",
|
|
593
762
|
* InvoiceType: "INVOICE",
|
|
594
763
|
* IssuedDate: "2025-04-01T01:00:00.000Z",
|
|
@@ -618,6 +787,8 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
618
787
|
* TotalAmount: "1.00",
|
|
619
788
|
* TotalAmountBeforeTax: "1.00"
|
|
620
789
|
* },
|
|
790
|
+
* ReceiverRole: "BUYER",
|
|
791
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
621
792
|
* TaxCurrencyAmount: {
|
|
622
793
|
* AmountBreakdown: {
|
|
623
794
|
* Discounts: {
|
|
@@ -688,14 +859,22 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
688
859
|
* TotalAmount: "1.00",
|
|
689
860
|
* TotalAmountBeforeTax: "1.00"
|
|
690
861
|
* },
|
|
862
|
+
* BillSourceAccounts: [
|
|
863
|
+
* "111111111111"
|
|
864
|
+
* ],
|
|
865
|
+
* BillSourceAccountsTotalCount: 1,
|
|
866
|
+
* BillType: "ANNIVERSARY",
|
|
691
867
|
* BillingPeriod: {
|
|
692
868
|
* Month: 1,
|
|
693
869
|
* Year: 2025
|
|
694
870
|
* },
|
|
695
871
|
* DueDate: "2025-04-01T01:00:00.000Z",
|
|
872
|
+
* EinvoiceDeliveryStatus: "DELIVERED",
|
|
696
873
|
* Entity: {
|
|
874
|
+
* BillingEntity: "AWS",
|
|
697
875
|
* InvoicingEntity: "Amazon Web Services, Inc."
|
|
698
876
|
* },
|
|
877
|
+
* InvoiceFrequency: "RECURRING",
|
|
699
878
|
* InvoiceId: "1111111111",
|
|
700
879
|
* InvoiceType: "INVOICE",
|
|
701
880
|
* IssuedDate: "2025-04-01T01:00:00.000Z",
|
|
@@ -725,6 +904,8 @@ declare const ListInvoiceSummariesCommand_base: {
|
|
|
725
904
|
* TotalAmount: "1.00",
|
|
726
905
|
* TotalAmountBeforeTax: "1.00"
|
|
727
906
|
* },
|
|
907
|
+
* ReceiverRole: "BUYER",
|
|
908
|
+
* TaxAuthorityStatus: "ISSUED",
|
|
728
909
|
* TaxCurrencyAmount: {
|
|
729
910
|
* AmountBreakdown: {
|
|
730
911
|
* Discounts: {
|
|
@@ -27,7 +27,7 @@ declare const ListProcurementPortalPreferencesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a list of procurement portal preferences associated with the Amazon Web Services account.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Retrieves a list of procurement portal preferences associated with the Amazon Web Services account.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const PutProcurementPortalPreferenceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates an existing procurement portal preference configuration. This operation can modify settings for e-invoice delivery and purchase order retrieval.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Updates an existing procurement portal preference configuration. This operation can modify settings for e-invoice delivery and purchase order retrieval.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UpdateProcurementPortalPreferenceStatusCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.</p>
|
|
30
|
+
* <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -22,6 +22,31 @@ export declare const ValidationExceptionReason: {
|
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const BillingEntity: {
|
|
30
|
+
readonly AWS: "AWS";
|
|
31
|
+
readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type BillingEntity = (typeof BillingEntity)[keyof typeof BillingEntity];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const BillType: {
|
|
42
|
+
readonly ANNIVERSARY: "ANNIVERSARY";
|
|
43
|
+
readonly PURCHASE: "PURCHASE";
|
|
44
|
+
readonly REFUND: "REFUND";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type BillType = (typeof BillType)[keyof typeof BillType];
|
|
25
50
|
/**
|
|
26
51
|
* @public
|
|
27
52
|
* @enum
|
|
@@ -118,6 +143,32 @@ export declare const SupplierDomain: {
|
|
|
118
143
|
* @public
|
|
119
144
|
*/
|
|
120
145
|
export type SupplierDomain = (typeof SupplierDomain)[keyof typeof SupplierDomain];
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @enum
|
|
149
|
+
*/
|
|
150
|
+
export declare const EinvoiceDeliveryStatus: {
|
|
151
|
+
readonly DELIVERED: "DELIVERED";
|
|
152
|
+
readonly NOT_DELIVERED: "NOT_DELIVERED";
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type EinvoiceDeliveryStatus = (typeof EinvoiceDeliveryStatus)[keyof typeof EinvoiceDeliveryStatus];
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @enum
|
|
161
|
+
*/
|
|
162
|
+
export declare const SupplementalDocumentType: {
|
|
163
|
+
readonly GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE";
|
|
164
|
+
readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
|
|
165
|
+
readonly SUPPLEMENT: "SUPPLEMENT";
|
|
166
|
+
readonly TAX_E_INVOICE: "TAX_E_INVOICE";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type SupplementalDocumentType = (typeof SupplementalDocumentType)[keyof typeof SupplementalDocumentType];
|
|
121
172
|
/**
|
|
122
173
|
* @public
|
|
123
174
|
* @enum
|
|
@@ -134,6 +185,18 @@ export declare const ProcurementPortalPreferenceStatus: {
|
|
|
134
185
|
* @public
|
|
135
186
|
*/
|
|
136
187
|
export type ProcurementPortalPreferenceStatus = (typeof ProcurementPortalPreferenceStatus)[keyof typeof ProcurementPortalPreferenceStatus];
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* @enum
|
|
191
|
+
*/
|
|
192
|
+
export declare const InvoiceFrequency: {
|
|
193
|
+
readonly ONE_TIME: "ONE_TIME";
|
|
194
|
+
readonly RECURRING: "RECURRING";
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export type InvoiceFrequency = (typeof InvoiceFrequency)[keyof typeof InvoiceFrequency];
|
|
137
200
|
/**
|
|
138
201
|
* @public
|
|
139
202
|
* @enum
|
|
@@ -141,11 +204,37 @@ export type ProcurementPortalPreferenceStatus = (typeof ProcurementPortalPrefere
|
|
|
141
204
|
export declare const InvoiceType: {
|
|
142
205
|
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
143
206
|
readonly INVOICE: "INVOICE";
|
|
207
|
+
readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
|
|
144
208
|
};
|
|
145
209
|
/**
|
|
146
210
|
* @public
|
|
147
211
|
*/
|
|
148
212
|
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @enum
|
|
216
|
+
*/
|
|
217
|
+
export declare const ReceiverRole: {
|
|
218
|
+
readonly BUYER: "BUYER";
|
|
219
|
+
readonly RESELLER: "RESELLER";
|
|
220
|
+
readonly SELLER: "SELLER";
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export type ReceiverRole = (typeof ReceiverRole)[keyof typeof ReceiverRole];
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* @enum
|
|
229
|
+
*/
|
|
230
|
+
export declare const TaxAuthorityStatus: {
|
|
231
|
+
readonly CANCELLED: "CANCELLED";
|
|
232
|
+
readonly ISSUED: "ISSUED";
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export type TaxAuthorityStatus = (typeof TaxAuthorityStatus)[keyof typeof TaxAuthorityStatus];
|
|
149
238
|
/**
|
|
150
239
|
* @public
|
|
151
240
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BuyerDomain, ConnectionTestingMethod, EinvoiceDeliveryAttachmentType, EinvoiceDeliveryDocumentType, InvoiceType, ListInvoiceSummariesResourceType, ProcurementPortalName, ProcurementPortalPreferenceStatus, Protocol, PurchaseOrderDataSourceType, SupplierDomain } from "./enums";
|
|
1
|
+
import type { BillingEntity, BillType, BuyerDomain, ConnectionTestingMethod, EinvoiceDeliveryAttachmentType, EinvoiceDeliveryDocumentType, EinvoiceDeliveryStatus, InvoiceFrequency, InvoiceType, ListInvoiceSummariesResourceType, ProcurementPortalName, ProcurementPortalPreferenceStatus, Protocol, PurchaseOrderDataSourceType, ReceiverRole, SupplementalDocumentType, SupplierDomain, TaxAuthorityStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p> The discounted amount. </p>
|
|
4
4
|
* @public
|
|
@@ -318,7 +318,7 @@ export interface InvoiceUnitRule {
|
|
|
318
318
|
*/
|
|
319
319
|
LinkedAccounts?: string[] | undefined;
|
|
320
320
|
/**
|
|
321
|
-
* <p> A list of Amazon Web Services account
|
|
321
|
+
* <p> A list of Amazon Web Services account IDs that have delegated their billing responsibility to the receiver account through transfer billing. Unlike linked accounts, these bill source accounts can be payer accounts from other organizations that have authorized billing transfer to this account. </p>
|
|
322
322
|
* @public
|
|
323
323
|
*/
|
|
324
324
|
BillSourceAccounts?: string[] | undefined;
|
|
@@ -649,6 +649,11 @@ export interface Entity {
|
|
|
649
649
|
* @public
|
|
650
650
|
*/
|
|
651
651
|
InvoicingEntity?: string | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* <p>Helps you identify whether your invoices are for Amazon Web Services Marketplace or for purchases of other Amazon Web Services services.</p>
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
BillingEntity?: BillingEntity | undefined;
|
|
652
657
|
}
|
|
653
658
|
/**
|
|
654
659
|
* <p>An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are <code>InvoiceReceivers</code>, <code>Names</code>, and <code>Accounts</code>. </p>
|
|
@@ -671,7 +676,7 @@ export interface Filters {
|
|
|
671
676
|
*/
|
|
672
677
|
Accounts?: string[] | undefined;
|
|
673
678
|
/**
|
|
674
|
-
* <p> A list of Amazon Web Services account
|
|
679
|
+
* <p> A list of Amazon Web Services account IDs used to filter invoice units. These are payer accounts from other Organizations that have delegated their billing responsibility to the receiver account through the billing transfer feature. </p>
|
|
675
680
|
* @public
|
|
676
681
|
*/
|
|
677
682
|
BillSourceAccounts?: string[] | undefined;
|
|
@@ -691,6 +696,16 @@ export interface GetInvoicePDFRequest {
|
|
|
691
696
|
* @public
|
|
692
697
|
*/
|
|
693
698
|
export interface SupplementalDocument {
|
|
699
|
+
/**
|
|
700
|
+
* <p>The type of supplemental document.</p>
|
|
701
|
+
* @public
|
|
702
|
+
*/
|
|
703
|
+
DocumentType?: SupplementalDocumentType | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* <p>The ID of the supplemental document.</p>
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
DocumentId?: string | undefined;
|
|
694
709
|
/**
|
|
695
710
|
* <p>The pre-signed URL to download invoice supplemental document.</p>
|
|
696
711
|
* @public
|
|
@@ -1031,6 +1046,21 @@ export interface InvoiceSummary {
|
|
|
1031
1046
|
* @public
|
|
1032
1047
|
*/
|
|
1033
1048
|
DueDate?: Date | undefined;
|
|
1049
|
+
/**
|
|
1050
|
+
* <p> The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.</p>
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
BillSourceAccounts?: string[] | undefined;
|
|
1054
|
+
/**
|
|
1055
|
+
* <p> The total number of accounts that are the bill source of the invoice. </p>
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
1058
|
+
BillSourceAccountsTotalCount?: number | undefined;
|
|
1059
|
+
/**
|
|
1060
|
+
* <p>The role of the invoice receiver.</p>
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
ReceiverRole?: ReceiverRole | undefined;
|
|
1034
1064
|
/**
|
|
1035
1065
|
* <p>The organization name providing Amazon Web Services services.</p>
|
|
1036
1066
|
* @public
|
|
@@ -1041,11 +1071,26 @@ export interface InvoiceSummary {
|
|
|
1041
1071
|
* @public
|
|
1042
1072
|
*/
|
|
1043
1073
|
BillingPeriod?: BillingPeriod | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p> The frequency of the invoice. </p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
InvoiceFrequency?: InvoiceFrequency | undefined;
|
|
1079
|
+
/**
|
|
1080
|
+
* <p> The type of the bill. </p>
|
|
1081
|
+
* @public
|
|
1082
|
+
*/
|
|
1083
|
+
BillType?: BillType | undefined;
|
|
1044
1084
|
/**
|
|
1045
1085
|
* <p> The type of invoice. </p>
|
|
1046
1086
|
* @public
|
|
1047
1087
|
*/
|
|
1048
1088
|
InvoiceType?: InvoiceType | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* <p> The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice. </p>
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
CommercialInvoiceId?: string | undefined;
|
|
1049
1094
|
/**
|
|
1050
1095
|
* <p>The initial or original invoice ID. </p>
|
|
1051
1096
|
* @public
|
|
@@ -1056,6 +1101,16 @@ export interface InvoiceSummary {
|
|
|
1056
1101
|
* @public
|
|
1057
1102
|
*/
|
|
1058
1103
|
PurchaseOrderNumber?: string | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* <p> The e-invoice delivery status. </p>
|
|
1106
|
+
* @public
|
|
1107
|
+
*/
|
|
1108
|
+
EinvoiceDeliveryStatus?: EinvoiceDeliveryStatus | undefined;
|
|
1109
|
+
/**
|
|
1110
|
+
* <p> The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance. </p>
|
|
1111
|
+
* @public
|
|
1112
|
+
*/
|
|
1113
|
+
TaxAuthorityStatus?: TaxAuthorityStatus | undefined;
|
|
1059
1114
|
/**
|
|
1060
1115
|
* <p> The summary with the product and service currency. </p>
|
|
1061
1116
|
* @public
|
|
@@ -1092,6 +1147,11 @@ export interface InvoiceSummariesFilter {
|
|
|
1092
1147
|
* @public
|
|
1093
1148
|
*/
|
|
1094
1149
|
InvoicingEntity?: string | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>The role of the invoice receiver to filter by.</p> <note> <p>When <code>ReceiverRole</code> is specified:</p> <ul> <li> <p>Data is available starting <code>2025-06-01</code>. Queries for periods before <code>2025-06-01</code> return a validation error.</p> </li> <li> <p> <code>TimeInterval</code> supports a time interval of up to 5 years. Without <code>ReceiverRole</code>, <code>TimeInterval</code> is limited to one month.</p> </li> </ul> </note>
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
ReceiverRole?: ReceiverRole | undefined;
|
|
1095
1155
|
}
|
|
1096
1156
|
/**
|
|
1097
1157
|
* <p>Specifies the invoice summary.</p>
|
|
@@ -16,6 +16,17 @@ export declare const ValidationExceptionReason: {
|
|
|
16
16
|
};
|
|
17
17
|
export type ValidationExceptionReason =
|
|
18
18
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
19
|
+
export declare const BillingEntity: {
|
|
20
|
+
readonly AWS: "AWS";
|
|
21
|
+
readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
|
|
22
|
+
};
|
|
23
|
+
export type BillingEntity = (typeof BillingEntity)[keyof typeof BillingEntity];
|
|
24
|
+
export declare const BillType: {
|
|
25
|
+
readonly ANNIVERSARY: "ANNIVERSARY";
|
|
26
|
+
readonly PURCHASE: "PURCHASE";
|
|
27
|
+
readonly REFUND: "REFUND";
|
|
28
|
+
};
|
|
29
|
+
export type BillType = (typeof BillType)[keyof typeof BillType];
|
|
19
30
|
export declare const BuyerDomain: {
|
|
20
31
|
readonly NetworkID: "NetworkID";
|
|
21
32
|
};
|
|
@@ -62,6 +73,20 @@ export declare const SupplierDomain: {
|
|
|
62
73
|
};
|
|
63
74
|
export type SupplierDomain =
|
|
64
75
|
(typeof SupplierDomain)[keyof typeof SupplierDomain];
|
|
76
|
+
export declare const EinvoiceDeliveryStatus: {
|
|
77
|
+
readonly DELIVERED: "DELIVERED";
|
|
78
|
+
readonly NOT_DELIVERED: "NOT_DELIVERED";
|
|
79
|
+
};
|
|
80
|
+
export type EinvoiceDeliveryStatus =
|
|
81
|
+
(typeof EinvoiceDeliveryStatus)[keyof typeof EinvoiceDeliveryStatus];
|
|
82
|
+
export declare const SupplementalDocumentType: {
|
|
83
|
+
readonly GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE";
|
|
84
|
+
readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
|
|
85
|
+
readonly SUPPLEMENT: "SUPPLEMENT";
|
|
86
|
+
readonly TAX_E_INVOICE: "TAX_E_INVOICE";
|
|
87
|
+
};
|
|
88
|
+
export type SupplementalDocumentType =
|
|
89
|
+
(typeof SupplementalDocumentType)[keyof typeof SupplementalDocumentType];
|
|
65
90
|
export declare const ProcurementPortalPreferenceStatus: {
|
|
66
91
|
readonly ACTIVE: "ACTIVE";
|
|
67
92
|
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
@@ -72,11 +97,30 @@ export declare const ProcurementPortalPreferenceStatus: {
|
|
|
72
97
|
};
|
|
73
98
|
export type ProcurementPortalPreferenceStatus =
|
|
74
99
|
(typeof ProcurementPortalPreferenceStatus)[keyof typeof ProcurementPortalPreferenceStatus];
|
|
100
|
+
export declare const InvoiceFrequency: {
|
|
101
|
+
readonly ONE_TIME: "ONE_TIME";
|
|
102
|
+
readonly RECURRING: "RECURRING";
|
|
103
|
+
};
|
|
104
|
+
export type InvoiceFrequency =
|
|
105
|
+
(typeof InvoiceFrequency)[keyof typeof InvoiceFrequency];
|
|
75
106
|
export declare const InvoiceType: {
|
|
76
107
|
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
77
108
|
readonly INVOICE: "INVOICE";
|
|
109
|
+
readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
|
|
78
110
|
};
|
|
79
111
|
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
112
|
+
export declare const ReceiverRole: {
|
|
113
|
+
readonly BUYER: "BUYER";
|
|
114
|
+
readonly RESELLER: "RESELLER";
|
|
115
|
+
readonly SELLER: "SELLER";
|
|
116
|
+
};
|
|
117
|
+
export type ReceiverRole = (typeof ReceiverRole)[keyof typeof ReceiverRole];
|
|
118
|
+
export declare const TaxAuthorityStatus: {
|
|
119
|
+
readonly CANCELLED: "CANCELLED";
|
|
120
|
+
readonly ISSUED: "ISSUED";
|
|
121
|
+
};
|
|
122
|
+
export type TaxAuthorityStatus =
|
|
123
|
+
(typeof TaxAuthorityStatus)[keyof typeof TaxAuthorityStatus];
|
|
80
124
|
export declare const ListInvoiceSummariesResourceType: {
|
|
81
125
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
82
126
|
readonly INVOICE_ID: "INVOICE_ID";
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
+
BillingEntity,
|
|
3
|
+
BillType,
|
|
2
4
|
BuyerDomain,
|
|
3
5
|
ConnectionTestingMethod,
|
|
4
6
|
EinvoiceDeliveryAttachmentType,
|
|
5
7
|
EinvoiceDeliveryDocumentType,
|
|
8
|
+
EinvoiceDeliveryStatus,
|
|
9
|
+
InvoiceFrequency,
|
|
6
10
|
InvoiceType,
|
|
7
11
|
ListInvoiceSummariesResourceType,
|
|
8
12
|
ProcurementPortalName,
|
|
9
13
|
ProcurementPortalPreferenceStatus,
|
|
10
14
|
Protocol,
|
|
11
15
|
PurchaseOrderDataSourceType,
|
|
16
|
+
ReceiverRole,
|
|
17
|
+
SupplementalDocumentType,
|
|
12
18
|
SupplierDomain,
|
|
19
|
+
TaxAuthorityStatus,
|
|
13
20
|
} from "./enums";
|
|
14
21
|
export interface DiscountsBreakdownAmount {
|
|
15
22
|
Description?: string | undefined;
|
|
@@ -169,6 +176,7 @@ export interface DeleteProcurementPortalPreferenceResponse {
|
|
|
169
176
|
}
|
|
170
177
|
export interface Entity {
|
|
171
178
|
InvoicingEntity?: string | undefined;
|
|
179
|
+
BillingEntity?: BillingEntity | undefined;
|
|
172
180
|
}
|
|
173
181
|
export interface Filters {
|
|
174
182
|
Names?: string[] | undefined;
|
|
@@ -180,6 +188,8 @@ export interface GetInvoicePDFRequest {
|
|
|
180
188
|
InvoiceId: string | undefined;
|
|
181
189
|
}
|
|
182
190
|
export interface SupplementalDocument {
|
|
191
|
+
DocumentType?: SupplementalDocumentType | undefined;
|
|
192
|
+
DocumentId?: string | undefined;
|
|
183
193
|
DocumentUrl?: string | undefined;
|
|
184
194
|
DocumentUrlExpirationDate?: Date | undefined;
|
|
185
195
|
}
|
|
@@ -261,11 +271,19 @@ export interface InvoiceSummary {
|
|
|
261
271
|
InvoiceId?: string | undefined;
|
|
262
272
|
IssuedDate?: Date | undefined;
|
|
263
273
|
DueDate?: Date | undefined;
|
|
274
|
+
BillSourceAccounts?: string[] | undefined;
|
|
275
|
+
BillSourceAccountsTotalCount?: number | undefined;
|
|
276
|
+
ReceiverRole?: ReceiverRole | undefined;
|
|
264
277
|
Entity?: Entity | undefined;
|
|
265
278
|
BillingPeriod?: BillingPeriod | undefined;
|
|
279
|
+
InvoiceFrequency?: InvoiceFrequency | undefined;
|
|
280
|
+
BillType?: BillType | undefined;
|
|
266
281
|
InvoiceType?: InvoiceType | undefined;
|
|
282
|
+
CommercialInvoiceId?: string | undefined;
|
|
267
283
|
OriginalInvoiceId?: string | undefined;
|
|
268
284
|
PurchaseOrderNumber?: string | undefined;
|
|
285
|
+
EinvoiceDeliveryStatus?: EinvoiceDeliveryStatus | undefined;
|
|
286
|
+
TaxAuthorityStatus?: TaxAuthorityStatus | undefined;
|
|
269
287
|
BaseCurrencyAmount?: InvoiceCurrencyAmount | undefined;
|
|
270
288
|
TaxCurrencyAmount?: InvoiceCurrencyAmount | undefined;
|
|
271
289
|
PaymentCurrencyAmount?: InvoiceCurrencyAmount | undefined;
|
|
@@ -274,6 +292,7 @@ export interface InvoiceSummariesFilter {
|
|
|
274
292
|
TimeInterval?: DateInterval | undefined;
|
|
275
293
|
BillingPeriod?: BillingPeriod | undefined;
|
|
276
294
|
InvoicingEntity?: string | undefined;
|
|
295
|
+
ReceiverRole?: ReceiverRole | undefined;
|
|
277
296
|
}
|
|
278
297
|
export interface InvoiceSummariesSelector {
|
|
279
298
|
ResourceType: ListInvoiceSummariesResourceType | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-invoicing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Invoicing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1045.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-invoicing",
|