aws-sdk-invoicing 1.21.0 → 1.22.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5c624fc169944833e33c3267eb3338cf44f183c08f699db51df0bc574182033
4
- data.tar.gz: 071e5c8093accbc8b671b1817da30d30f7f99fef7d0a36e765523e9c343f8d67
3
+ metadata.gz: 061c5d4bb0a04f7c869dd45db42bc26a88234278bab7e4aa5f3b4a1759c27ab1
4
+ data.tar.gz: 5244839bf2fac9d670dc4727d3f90f8bdf60c581ed981629831908a5f2a6cf49
5
5
  SHA512:
6
- metadata.gz: f297b4f3ada809f5ad2bf35a08bb66e6e717d2357ac00cf1bacf556df8bbd8883a9f77cd66524f1a8443e1e67c278fb373eb7f423034a7c4425e6fd08f9f68ab
7
- data.tar.gz: 6ced70bfc5a57d953718caffe2b64ade6d2517d415b646e6c9e630a4768283d19dd72811a90e4cce4e32eddf064d665a45a92855b9a60c44d423f6ddd1897a7c
6
+ metadata.gz: 07faa4200d9973847ece281234d8bd915673c0f5e192fca4462d8711ecf02c8f7e3690156c9d7cd21d21af477bbaa986d256e63d82eb93ee4beba7e21e8514bc
7
+ data.tar.gz: ad244d608fb2ca365966df892354a8ba9941086e94f874c8fda925a9f2d0702cc1c007b15f87e1d2cbcf76ae566c4eafd1a593a73f446b5fbec0920d1c5bb929
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.0 (2026-05-07)
5
+ ------------------
6
+
7
+ * Feature - Updated ListInvoiceSummaries API to add new ReceiverRole filter in Request and Response
8
+
4
9
  1.21.0 (2026-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.22.0
@@ -643,6 +643,11 @@ module Aws::Invoicing
643
643
  req.send_request(options)
644
644
  end
645
645
 
646
+ # <i> <b>This feature API is subject to changing at any time. For more
647
+ # information, see the <a
648
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
649
+ # Service Terms</a> (Betas and Previews).</b> </i>
650
+ #
646
651
  # Creates a procurement portal preference configuration for e-invoice
647
652
  # delivery and purchase order retrieval. This preference defines how
648
653
  # invoices are delivered to a procurement portal and how purchase orders
@@ -888,6 +893,11 @@ module Aws::Invoicing
888
893
  req.send_request(options)
889
894
  end
890
895
 
896
+ # <i> <b>This feature API is subject to changing at any time. For more
897
+ # information, see the <a
898
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
899
+ # Service Terms</a> (Betas and Previews).</b> </i>
900
+ #
891
901
  # Deletes an existing procurement portal preference. This action cannot
892
902
  # be undone. Active e-invoice delivery and PO retrieval configurations
893
903
  # will be terminated.
@@ -979,6 +989,8 @@ module Aws::Invoicing
979
989
  # invoice_id: "abc123",
980
990
  # supplemental_documents: [
981
991
  # {
992
+ # document_id: "supp-doc-1",
993
+ # document_type: "TAX_E_INVOICE",
982
994
  # document_url: "https://abcd123.com?securityTokenForSupplementalDoc",
983
995
  # document_url_expiration_date: Time.parse("2025-04-01T01:00:00.000Z"),
984
996
  # },
@@ -998,6 +1010,8 @@ module Aws::Invoicing
998
1010
  # resp.invoice_pdf.document_url #=> String
999
1011
  # resp.invoice_pdf.document_url_expiration_date #=> Time
1000
1012
  # resp.invoice_pdf.supplemental_documents #=> Array
1013
+ # resp.invoice_pdf.supplemental_documents[0].document_type #=> String, one of "GOVERNMENT_INVOICE", "TAX_E_INVOICE", "PAYMENT_RECEIPT", "SUPPLEMENT"
1014
+ # resp.invoice_pdf.supplemental_documents[0].document_id #=> String
1001
1015
  # resp.invoice_pdf.supplemental_documents[0].document_url #=> String
1002
1016
  # resp.invoice_pdf.supplemental_documents[0].document_url_expiration_date #=> Time
1003
1017
  #
@@ -1105,6 +1119,11 @@ module Aws::Invoicing
1105
1119
  req.send_request(options)
1106
1120
  end
1107
1121
 
1122
+ # <i> <b>This feature API is subject to changing at any time. For more
1123
+ # information, see the <a
1124
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
1125
+ # Service Terms</a> (Betas and Previews).</b> </i>
1126
+ #
1108
1127
  # Retrieves the details of a specific procurement portal preference
1109
1128
  # configuration.
1110
1129
  #
@@ -1305,17 +1324,27 @@ module Aws::Invoicing
1305
1324
  # total_amount: "1.00",
1306
1325
  # total_amount_before_tax: "1.00",
1307
1326
  # },
1327
+ # bill_source_accounts: [
1328
+ # "111111111111",
1329
+ # ],
1330
+ # bill_source_accounts_total_count: 1,
1331
+ # bill_type: "ANNIVERSARY",
1308
1332
  # billing_period: {
1309
1333
  # month: 1,
1310
1334
  # year: 2025,
1311
1335
  # },
1336
+ # commercial_invoice_id: "2222222222",
1312
1337
  # due_date: Time.parse("2025-04-01T01:00:00.000Z"),
1338
+ # einvoice_delivery_status: "DELIVERED",
1313
1339
  # entity: {
1340
+ # billing_entity: "AWS",
1314
1341
  # invoicing_entity: "Amazon Web Services, Inc.",
1315
1342
  # },
1343
+ # invoice_frequency: "RECURRING",
1316
1344
  # invoice_id: "1111111111",
1317
1345
  # invoice_type: "INVOICE",
1318
1346
  # issued_date: Time.parse("2025-04-01T01:00:00.000Z"),
1347
+ # original_invoice_id: "1111111111",
1319
1348
  # payment_currency_amount: {
1320
1349
  # amount_breakdown: {
1321
1350
  # discounts: {
@@ -1342,6 +1371,9 @@ module Aws::Invoicing
1342
1371
  # total_amount: "1.00",
1343
1372
  # total_amount_before_tax: "1.00",
1344
1373
  # },
1374
+ # purchase_order_number: "PO-12345",
1375
+ # receiver_role: "BUYER",
1376
+ # tax_authority_status: "ISSUED",
1345
1377
  # tax_currency_amount: {
1346
1378
  # amount_breakdown: {
1347
1379
  # discounts: {
@@ -1406,14 +1438,22 @@ module Aws::Invoicing
1406
1438
  # total_amount: "1.00",
1407
1439
  # total_amount_before_tax: "1.00",
1408
1440
  # },
1441
+ # bill_source_accounts: [
1442
+ # "111111111111",
1443
+ # ],
1444
+ # bill_source_accounts_total_count: 1,
1445
+ # bill_type: "ANNIVERSARY",
1409
1446
  # billing_period: {
1410
1447
  # month: 1,
1411
1448
  # year: 2025,
1412
1449
  # },
1413
1450
  # due_date: Time.parse("2025-04-01T01:00:00.000Z"),
1451
+ # einvoice_delivery_status: "DELIVERED",
1414
1452
  # entity: {
1453
+ # billing_entity: "AWS",
1415
1454
  # invoicing_entity: "Amazon Web Services, Inc.",
1416
1455
  # },
1456
+ # invoice_frequency: "RECURRING",
1417
1457
  # invoice_id: "1111111111",
1418
1458
  # invoice_type: "INVOICE",
1419
1459
  # issued_date: Time.parse("2025-04-01T01:00:00.000Z"),
@@ -1443,6 +1483,8 @@ module Aws::Invoicing
1443
1483
  # total_amount: "1.00",
1444
1484
  # total_amount_before_tax: "1.00",
1445
1485
  # },
1486
+ # receiver_role: "BUYER",
1487
+ # tax_authority_status: "ISSUED",
1446
1488
  # tax_currency_amount: {
1447
1489
  # amount_breakdown: {
1448
1490
  # discounts: {
@@ -1507,14 +1549,22 @@ module Aws::Invoicing
1507
1549
  # total_amount: "1.00",
1508
1550
  # total_amount_before_tax: "1.00",
1509
1551
  # },
1552
+ # bill_source_accounts: [
1553
+ # "111111111111",
1554
+ # ],
1555
+ # bill_source_accounts_total_count: 1,
1556
+ # bill_type: "ANNIVERSARY",
1510
1557
  # billing_period: {
1511
1558
  # month: 1,
1512
1559
  # year: 2025,
1513
1560
  # },
1514
1561
  # due_date: Time.parse("2025-04-01T01:00:00.000Z"),
1562
+ # einvoice_delivery_status: "DELIVERED",
1515
1563
  # entity: {
1564
+ # billing_entity: "AWS",
1516
1565
  # invoicing_entity: "Amazon Web Services, Inc.",
1517
1566
  # },
1567
+ # invoice_frequency: "RECURRING",
1518
1568
  # invoice_id: "1111111111",
1519
1569
  # invoice_type: "INVOICE",
1520
1570
  # issued_date: Time.parse("2025-04-01T01:00:00.000Z"),
@@ -1544,6 +1594,120 @@ module Aws::Invoicing
1544
1594
  # total_amount: "1.00",
1545
1595
  # total_amount_before_tax: "1.00",
1546
1596
  # },
1597
+ # receiver_role: "BUYER",
1598
+ # tax_authority_status: "ISSUED",
1599
+ # tax_currency_amount: {
1600
+ # amount_breakdown: {
1601
+ # discounts: {
1602
+ # total_amount: "1.00",
1603
+ # },
1604
+ # sub_total_amount: "1.00",
1605
+ # taxes: {
1606
+ # breakdown: [
1607
+ # {
1608
+ # amount: "1",
1609
+ # description: "VAT",
1610
+ # rate: "1.0",
1611
+ # },
1612
+ # ],
1613
+ # total_amount: "1.00",
1614
+ # },
1615
+ # },
1616
+ # currency_code: "USD",
1617
+ # currency_exchange_details: {
1618
+ # rate: "1.0",
1619
+ # source_currency_code: "USD",
1620
+ # target_currency_code: "USD",
1621
+ # },
1622
+ # total_amount: "1.00",
1623
+ # total_amount_before_tax: "1.00",
1624
+ # },
1625
+ # },
1626
+ # ],
1627
+ # }
1628
+ #
1629
+ # @example Example: ListInvoiceSummaries filtered by ReceiverRole
1630
+ #
1631
+ # resp = client.list_invoice_summaries({
1632
+ # filter: {
1633
+ # receiver_role: "SELLER",
1634
+ # time_interval: {
1635
+ # end_date: Time.parse(1751328000),
1636
+ # start_date: Time.parse(1748736000),
1637
+ # },
1638
+ # },
1639
+ # selector: {
1640
+ # resource_type: "ACCOUNT_ID",
1641
+ # value: "111111111111",
1642
+ # },
1643
+ # })
1644
+ #
1645
+ # resp.to_h outputs the following:
1646
+ # {
1647
+ # invoice_summaries: [
1648
+ # {
1649
+ # account_id: "111111111111",
1650
+ # base_currency_amount: {
1651
+ # amount_breakdown: {
1652
+ # discounts: {
1653
+ # total_amount: "1.00",
1654
+ # },
1655
+ # sub_total_amount: "1.00",
1656
+ # taxes: {
1657
+ # total_amount: "1.00",
1658
+ # },
1659
+ # },
1660
+ # currency_code: "USD",
1661
+ # total_amount: "1.00",
1662
+ # total_amount_before_tax: "1.00",
1663
+ # },
1664
+ # bill_source_accounts: [
1665
+ # "222222222222",
1666
+ # ],
1667
+ # bill_source_accounts_total_count: 1,
1668
+ # bill_type: "ANNIVERSARY",
1669
+ # billing_period: {
1670
+ # month: 6,
1671
+ # year: 2025,
1672
+ # },
1673
+ # due_date: Time.parse("2025-07-15T01:00:00.000Z"),
1674
+ # einvoice_delivery_status: "DELIVERED",
1675
+ # entity: {
1676
+ # billing_entity: "AWS_MARKETPLACE",
1677
+ # invoicing_entity: "Amazon Web Services, Inc.",
1678
+ # },
1679
+ # invoice_frequency: "RECURRING",
1680
+ # invoice_id: "1111111111",
1681
+ # invoice_type: "INVOICE",
1682
+ # issued_date: Time.parse("2025-06-15T01:00:00.000Z"),
1683
+ # payment_currency_amount: {
1684
+ # amount_breakdown: {
1685
+ # discounts: {
1686
+ # total_amount: "1.00",
1687
+ # },
1688
+ # sub_total_amount: "1.00",
1689
+ # taxes: {
1690
+ # breakdown: [
1691
+ # {
1692
+ # amount: "1",
1693
+ # description: "VAT",
1694
+ # rate: "1.0",
1695
+ # },
1696
+ # ],
1697
+ # total_amount: "1.00",
1698
+ # },
1699
+ # },
1700
+ # currency_code: "USD",
1701
+ # currency_exchange_details: {
1702
+ # rate: "1.0",
1703
+ # source_currency_code: "USD",
1704
+ # target_currency_code: "USD",
1705
+ # },
1706
+ # total_amount: "1.00",
1707
+ # total_amount_before_tax: "1.00",
1708
+ # },
1709
+ # receiver_role: "SELLER",
1710
+ # tax_authority_status: "ISSUED",
1547
1711
  # tax_currency_amount: {
1548
1712
  # amount_breakdown: {
1549
1713
  # discounts: {
@@ -1609,14 +1773,22 @@ module Aws::Invoicing
1609
1773
  # total_amount: "1.00",
1610
1774
  # total_amount_before_tax: "1.00",
1611
1775
  # },
1776
+ # bill_source_accounts: [
1777
+ # "111111111111",
1778
+ # ],
1779
+ # bill_source_accounts_total_count: 1,
1780
+ # bill_type: "ANNIVERSARY",
1612
1781
  # billing_period: {
1613
1782
  # month: 1,
1614
1783
  # year: 2025,
1615
1784
  # },
1616
1785
  # due_date: Time.parse("2025-04-01T01:00:00.000Z"),
1786
+ # einvoice_delivery_status: "DELIVERED",
1617
1787
  # entity: {
1788
+ # billing_entity: "AWS",
1618
1789
  # invoicing_entity: "Amazon Web Services, Inc.",
1619
1790
  # },
1791
+ # invoice_frequency: "RECURRING",
1620
1792
  # invoice_id: "1111111111",
1621
1793
  # invoice_type: "INVOICE",
1622
1794
  # issued_date: Time.parse("2025-04-01T01:00:00.000Z"),
@@ -1646,6 +1818,8 @@ module Aws::Invoicing
1646
1818
  # total_amount: "1.00",
1647
1819
  # total_amount_before_tax: "1.00",
1648
1820
  # },
1821
+ # receiver_role: "BUYER",
1822
+ # tax_authority_status: "ISSUED",
1649
1823
  # tax_currency_amount: {
1650
1824
  # amount_breakdown: {
1651
1825
  # discounts: {
@@ -1712,14 +1886,22 @@ module Aws::Invoicing
1712
1886
  # total_amount: "1.00",
1713
1887
  # total_amount_before_tax: "1.00",
1714
1888
  # },
1889
+ # bill_source_accounts: [
1890
+ # "111111111111",
1891
+ # ],
1892
+ # bill_source_accounts_total_count: 1,
1893
+ # bill_type: "ANNIVERSARY",
1715
1894
  # billing_period: {
1716
1895
  # month: 1,
1717
1896
  # year: 2025,
1718
1897
  # },
1719
1898
  # due_date: Time.parse("2025-04-01T01:00:00.000Z"),
1899
+ # einvoice_delivery_status: "DELIVERED",
1720
1900
  # entity: {
1901
+ # billing_entity: "AWS",
1721
1902
  # invoicing_entity: "Amazon Web Services, Inc.",
1722
1903
  # },
1904
+ # invoice_frequency: "RECURRING",
1723
1905
  # invoice_id: "1111111111",
1724
1906
  # invoice_type: "INVOICE",
1725
1907
  # issued_date: Time.parse("2025-04-01T01:00:00.000Z"),
@@ -1749,6 +1931,8 @@ module Aws::Invoicing
1749
1931
  # total_amount: "1.00",
1750
1932
  # total_amount_before_tax: "1.00",
1751
1933
  # },
1934
+ # receiver_role: "BUYER",
1935
+ # tax_authority_status: "ISSUED",
1752
1936
  # tax_currency_amount: {
1753
1937
  # amount_breakdown: {
1754
1938
  # discounts: {
@@ -1796,6 +1980,7 @@ module Aws::Invoicing
1796
1980
  # year: 1, # required
1797
1981
  # },
1798
1982
  # invoicing_entity: "BasicString",
1983
+ # receiver_role: "SELLER", # accepts SELLER, RESELLER, BUYER
1799
1984
  # },
1800
1985
  # next_token: "NextTokenString",
1801
1986
  # max_results: 1,
@@ -1808,12 +1993,22 @@ module Aws::Invoicing
1808
1993
  # resp.invoice_summaries[0].invoice_id #=> String
1809
1994
  # resp.invoice_summaries[0].issued_date #=> Time
1810
1995
  # resp.invoice_summaries[0].due_date #=> Time
1996
+ # resp.invoice_summaries[0].bill_source_accounts #=> Array
1997
+ # resp.invoice_summaries[0].bill_source_accounts[0] #=> String
1998
+ # resp.invoice_summaries[0].bill_source_accounts_total_count #=> Integer
1999
+ # resp.invoice_summaries[0].receiver_role #=> String, one of "SELLER", "RESELLER", "BUYER"
1811
2000
  # resp.invoice_summaries[0].entity.invoicing_entity #=> String
2001
+ # resp.invoice_summaries[0].entity.billing_entity #=> String, one of "AWS", "AWS_MARKETPLACE"
1812
2002
  # resp.invoice_summaries[0].billing_period.month #=> Integer
1813
2003
  # resp.invoice_summaries[0].billing_period.year #=> Integer
1814
- # resp.invoice_summaries[0].invoice_type #=> String, one of "INVOICE", "CREDIT_MEMO"
2004
+ # resp.invoice_summaries[0].invoice_frequency #=> String, one of "ONE_TIME", "RECURRING"
2005
+ # resp.invoice_summaries[0].bill_type #=> String, one of "ANNIVERSARY", "PURCHASE", "REFUND"
2006
+ # resp.invoice_summaries[0].invoice_type #=> String, one of "INVOICE", "CREDIT_MEMO", "PAYMENT_RECEIPT"
2007
+ # resp.invoice_summaries[0].commercial_invoice_id #=> String
1815
2008
  # resp.invoice_summaries[0].original_invoice_id #=> String
1816
2009
  # resp.invoice_summaries[0].purchase_order_number #=> String
2010
+ # resp.invoice_summaries[0].einvoice_delivery_status #=> String, one of "DELIVERED", "NOT_DELIVERED"
2011
+ # resp.invoice_summaries[0].tax_authority_status #=> String, one of "ISSUED", "CANCELLED"
1817
2012
  # resp.invoice_summaries[0].base_currency_amount.total_amount #=> String
1818
2013
  # resp.invoice_summaries[0].base_currency_amount.total_amount_before_tax #=> String
1819
2014
  # resp.invoice_summaries[0].base_currency_amount.currency_code #=> String
@@ -2078,6 +2273,11 @@ module Aws::Invoicing
2078
2273
  req.send_request(options)
2079
2274
  end
2080
2275
 
2276
+ # <i> <b>This feature API is subject to changing at any time. For more
2277
+ # information, see the <a
2278
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
2279
+ # Service Terms</a> (Betas and Previews).</b> </i>
2280
+ #
2081
2281
  # Retrieves a list of procurement portal preferences associated with the
2082
2282
  # Amazon Web Services account.
2083
2283
  #
@@ -2286,6 +2486,11 @@ module Aws::Invoicing
2286
2486
  req.send_request(options)
2287
2487
  end
2288
2488
 
2489
+ # <i> <b>This feature API is subject to changing at any time. For more
2490
+ # information, see the <a
2491
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
2492
+ # Service Terms</a> (Betas and Previews).</b> </i>
2493
+ #
2289
2494
  # Updates an existing procurement portal preference configuration. This
2290
2495
  # operation can modify settings for e-invoice delivery and purchase
2291
2496
  # order retrieval.
@@ -2607,6 +2812,11 @@ module Aws::Invoicing
2607
2812
  req.send_request(options)
2608
2813
  end
2609
2814
 
2815
+ # <i> <b>This feature API is subject to changing at any time. For more
2816
+ # information, see the <a
2817
+ # href="https://aws.amazon.com/service-terms/">Amazon Web Services
2818
+ # Service Terms</a> (Betas and Previews).</b> </i>
2819
+ #
2610
2820
  # Updates the status of a procurement portal preference, including the
2611
2821
  # activation state of e-invoice delivery and purchase order retrieval
2612
2822
  # features.
@@ -2690,7 +2900,7 @@ module Aws::Invoicing
2690
2900
  tracer: tracer
2691
2901
  )
2692
2902
  context[:gem_name] = 'aws-sdk-invoicing'
2693
- context[:gem_version] = '1.21.0'
2903
+ context[:gem_version] = '1.22.0'
2694
2904
  Seahorse::Client::Request.new(handlers, context)
2695
2905
  end
2696
2906
 
@@ -23,6 +23,9 @@ module Aws::Invoicing
23
23
  BasicStringWithoutSpace = Shapes::StringShape.new(name: 'BasicStringWithoutSpace')
24
24
  BatchGetInvoiceProfileRequest = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileRequest')
25
25
  BatchGetInvoiceProfileResponse = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileResponse')
26
+ BillSourceAccountList = Shapes::ListShape.new(name: 'BillSourceAccountList')
27
+ BillType = Shapes::StringShape.new(name: 'BillType')
28
+ BillingEntity = Shapes::StringShape.new(name: 'BillingEntity')
26
29
  BillingPeriod = Shapes::StructureShape.new(name: 'BillingPeriod')
27
30
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
31
  BuyerDomain = Shapes::StringShape.new(name: 'BuyerDomain')
@@ -50,6 +53,7 @@ module Aws::Invoicing
50
53
  EinvoiceDeliveryDocumentType = Shapes::StringShape.new(name: 'EinvoiceDeliveryDocumentType')
51
54
  EinvoiceDeliveryDocumentTypes = Shapes::ListShape.new(name: 'EinvoiceDeliveryDocumentTypes')
52
55
  EinvoiceDeliveryPreference = Shapes::StructureShape.new(name: 'EinvoiceDeliveryPreference')
56
+ EinvoiceDeliveryStatus = Shapes::StringShape.new(name: 'EinvoiceDeliveryStatus')
53
57
  EmailString = Shapes::StringShape.new(name: 'EmailString')
54
58
  Entity = Shapes::StructureShape.new(name: 'Entity')
55
59
  FeesBreakdown = Shapes::StructureShape.new(name: 'FeesBreakdown')
@@ -65,6 +69,7 @@ module Aws::Invoicing
65
69
  Integer = Shapes::IntegerShape.new(name: 'Integer')
66
70
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
67
71
  InvoiceCurrencyAmount = Shapes::StructureShape.new(name: 'InvoiceCurrencyAmount')
72
+ InvoiceFrequency = Shapes::StringShape.new(name: 'InvoiceFrequency')
68
73
  InvoicePDF = Shapes::StructureShape.new(name: 'InvoicePDF')
69
74
  InvoiceProfile = Shapes::StructureShape.new(name: 'InvoiceProfile')
70
75
  InvoiceSummaries = Shapes::ListShape.new(name: 'InvoiceSummaries')
@@ -110,6 +115,7 @@ module Aws::Invoicing
110
115
  PutProcurementPortalPreferenceRequest = Shapes::StructureShape.new(name: 'PutProcurementPortalPreferenceRequest')
111
116
  PutProcurementPortalPreferenceResponse = Shapes::StructureShape.new(name: 'PutProcurementPortalPreferenceResponse')
112
117
  ReceiverAddress = Shapes::StructureShape.new(name: 'ReceiverAddress')
118
+ ReceiverRole = Shapes::StringShape.new(name: 'ReceiverRole')
113
119
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
114
120
  ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
115
121
  ResourceTagKey = Shapes::StringShape.new(name: 'ResourceTagKey')
@@ -122,11 +128,13 @@ module Aws::Invoicing
122
128
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
123
129
  StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
124
130
  SupplementalDocument = Shapes::StructureShape.new(name: 'SupplementalDocument')
131
+ SupplementalDocumentType = Shapes::StringShape.new(name: 'SupplementalDocumentType')
125
132
  SupplementalDocuments = Shapes::ListShape.new(name: 'SupplementalDocuments')
126
133
  SupplierDomain = Shapes::StringShape.new(name: 'SupplierDomain')
127
134
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
128
135
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
129
136
  TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
137
+ TaxAuthorityStatus = Shapes::StringShape.new(name: 'TaxAuthorityStatus')
130
138
  TaxInheritanceDisabledFlag = Shapes::BooleanShape.new(name: 'TaxInheritanceDisabledFlag')
131
139
  TaxesBreakdown = Shapes::StructureShape.new(name: 'TaxesBreakdown')
132
140
  TaxesBreakdownAmount = Shapes::StructureShape.new(name: 'TaxesBreakdownAmount')
@@ -165,6 +173,8 @@ module Aws::Invoicing
165
173
  BatchGetInvoiceProfileResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: ProfileList, location_name: "Profiles"))
166
174
  BatchGetInvoiceProfileResponse.struct_class = Types::BatchGetInvoiceProfileResponse
167
175
 
176
+ BillSourceAccountList.member = Shapes::ShapeRef.new(shape: AccountIdString)
177
+
168
178
  BillingPeriod.add_member(:month, Shapes::ShapeRef.new(shape: Month, required: true, location_name: "Month"))
169
179
  BillingPeriod.add_member(:year, Shapes::ShapeRef.new(shape: Year, required: true, location_name: "Year"))
170
180
  BillingPeriod.struct_class = Types::BillingPeriod
@@ -256,6 +266,7 @@ module Aws::Invoicing
256
266
  EinvoiceDeliveryPreference.struct_class = Types::EinvoiceDeliveryPreference
257
267
 
258
268
  Entity.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
269
+ Entity.add_member(:billing_entity, Shapes::ShapeRef.new(shape: BillingEntity, location_name: "BillingEntity"))
259
270
  Entity.struct_class = Types::Entity
260
271
 
261
272
  FeesBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: FeesBreakdownAmountList, location_name: "Breakdown"))
@@ -330,6 +341,7 @@ module Aws::Invoicing
330
341
  InvoiceSummariesFilter.add_member(:time_interval, Shapes::ShapeRef.new(shape: DateInterval, location_name: "TimeInterval"))
331
342
  InvoiceSummariesFilter.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
332
343
  InvoiceSummariesFilter.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
344
+ InvoiceSummariesFilter.add_member(:receiver_role, Shapes::ShapeRef.new(shape: ReceiverRole, location_name: "ReceiverRole"))
333
345
  InvoiceSummariesFilter.struct_class = Types::InvoiceSummariesFilter
334
346
 
335
347
  InvoiceSummariesSelector.add_member(:resource_type, Shapes::ShapeRef.new(shape: ListInvoiceSummariesResourceType, required: true, location_name: "ResourceType"))
@@ -340,11 +352,19 @@ module Aws::Invoicing
340
352
  InvoiceSummary.add_member(:invoice_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoiceId"))
341
353
  InvoiceSummary.add_member(:issued_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "IssuedDate"))
342
354
  InvoiceSummary.add_member(:due_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DueDate"))
355
+ InvoiceSummary.add_member(:bill_source_accounts, Shapes::ShapeRef.new(shape: BillSourceAccountList, location_name: "BillSourceAccounts"))
356
+ InvoiceSummary.add_member(:bill_source_accounts_total_count, Shapes::ShapeRef.new(shape: Integer, location_name: "BillSourceAccountsTotalCount"))
357
+ InvoiceSummary.add_member(:receiver_role, Shapes::ShapeRef.new(shape: ReceiverRole, location_name: "ReceiverRole"))
343
358
  InvoiceSummary.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "Entity"))
344
359
  InvoiceSummary.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
360
+ InvoiceSummary.add_member(:invoice_frequency, Shapes::ShapeRef.new(shape: InvoiceFrequency, location_name: "InvoiceFrequency"))
361
+ InvoiceSummary.add_member(:bill_type, Shapes::ShapeRef.new(shape: BillType, location_name: "BillType"))
345
362
  InvoiceSummary.add_member(:invoice_type, Shapes::ShapeRef.new(shape: InvoiceType, location_name: "InvoiceType"))
363
+ InvoiceSummary.add_member(:commercial_invoice_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "CommercialInvoiceId"))
346
364
  InvoiceSummary.add_member(:original_invoice_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "OriginalInvoiceId"))
347
365
  InvoiceSummary.add_member(:purchase_order_number, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderNumber"))
366
+ InvoiceSummary.add_member(:einvoice_delivery_status, Shapes::ShapeRef.new(shape: EinvoiceDeliveryStatus, location_name: "EinvoiceDeliveryStatus"))
367
+ InvoiceSummary.add_member(:tax_authority_status, Shapes::ShapeRef.new(shape: TaxAuthorityStatus, location_name: "TaxAuthorityStatus"))
348
368
  InvoiceSummary.add_member(:base_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "BaseCurrencyAmount"))
349
369
  InvoiceSummary.add_member(:tax_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "TaxCurrencyAmount"))
350
370
  InvoiceSummary.add_member(:payment_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "PaymentCurrencyAmount"))
@@ -505,6 +525,8 @@ module Aws::Invoicing
505
525
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, required: true, location_name: "message"))
506
526
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
507
527
 
528
+ SupplementalDocument.add_member(:document_type, Shapes::ShapeRef.new(shape: SupplementalDocumentType, location_name: "DocumentType"))
529
+ SupplementalDocument.add_member(:document_id, Shapes::ShapeRef.new(shape: StringWithoutNewLine, location_name: "DocumentId"))
508
530
  SupplementalDocument.add_member(:document_url, Shapes::ShapeRef.new(shape: StringWithoutNewLine, location_name: "DocumentUrl"))
509
531
  SupplementalDocument.add_member(:document_url_expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DocumentUrlExpirationDate"))
510
532
  SupplementalDocument.struct_class = Types::SupplementalDocument
@@ -510,10 +510,16 @@ module Aws::Invoicing
510
510
  # The name of the entity that issues the Amazon Web Services invoice.
511
511
  # @return [String]
512
512
  #
513
+ # @!attribute [rw] billing_entity
514
+ # Helps you identify whether your invoices are for Amazon Web Services
515
+ # Marketplace or for purchases of other Amazon Web Services services.
516
+ # @return [String]
517
+ #
513
518
  # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/Entity AWS API Documentation
514
519
  #
515
520
  class Entity < Struct.new(
516
- :invoicing_entity)
521
+ :invoicing_entity,
522
+ :billing_entity)
517
523
  SENSITIVE = []
518
524
  include Aws::Structure
519
525
  end
@@ -593,10 +599,10 @@ module Aws::Invoicing
593
599
  # @return [Array<String>]
594
600
  #
595
601
  # @!attribute [rw] bill_source_accounts
596
- # A list of Amazon Web Services account account IDs used to filter
597
- # invoice units. These are payer accounts from other Organizations
598
- # that have delegated their billing responsibility to the receiver
599
- # account through the billing transfer feature.
602
+ # A list of Amazon Web Services account IDs used to filter invoice
603
+ # units. These are payer accounts from other Organizations that have
604
+ # delegated their billing responsibility to the receiver account
605
+ # through the billing transfer feature.
600
606
  # @return [Array<String>]
601
607
  #
602
608
  # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/Filters AWS API Documentation
@@ -867,12 +873,27 @@ module Aws::Invoicing
867
873
  # The name of the entity that issues the Amazon Web Services invoice.
868
874
  # @return [String]
869
875
  #
876
+ # @!attribute [rw] receiver_role
877
+ # The role of the invoice receiver to filter by.
878
+ #
879
+ # <note markdown="1"> When `ReceiverRole` is specified:
880
+ #
881
+ # * Data is available starting `2025-06-01`. Queries for periods
882
+ # before `2025-06-01` return a validation error.
883
+ #
884
+ # * `TimeInterval` supports a time interval of up to 5 years. Without
885
+ # `ReceiverRole`, `TimeInterval` is limited to one month.
886
+ #
887
+ # </note>
888
+ # @return [String]
889
+ #
870
890
  # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceSummariesFilter AWS API Documentation
871
891
  #
872
892
  class InvoiceSummariesFilter < Struct.new(
873
893
  :time_interval,
874
894
  :billing_period,
875
- :invoicing_entity)
895
+ :invoicing_entity,
896
+ :receiver_role)
876
897
  SENSITIVE = []
877
898
  include Aws::Structure
878
899
  end
@@ -914,6 +935,21 @@ module Aws::Invoicing
914
935
  # The invoice due date.
915
936
  # @return [Time]
916
937
  #
938
+ # @!attribute [rw] bill_source_accounts
939
+ # The list of Amazon Web Services account IDs that are the bill source
940
+ # of the invoice. Currently, only a single bill source account is
941
+ # returned.
942
+ # @return [Array<String>]
943
+ #
944
+ # @!attribute [rw] bill_source_accounts_total_count
945
+ # The total number of accounts that are the bill source of the
946
+ # invoice.
947
+ # @return [Integer]
948
+ #
949
+ # @!attribute [rw] receiver_role
950
+ # The role of the invoice receiver.
951
+ # @return [String]
952
+ #
917
953
  # @!attribute [rw] entity
918
954
  # The organization name providing Amazon Web Services services.
919
955
  # @return [Types::Entity]
@@ -922,10 +958,23 @@ module Aws::Invoicing
922
958
  # The billing period of the invoice-related document.
923
959
  # @return [Types::BillingPeriod]
924
960
  #
961
+ # @!attribute [rw] invoice_frequency
962
+ # The frequency of the invoice.
963
+ # @return [String]
964
+ #
965
+ # @!attribute [rw] bill_type
966
+ # The type of the bill.
967
+ # @return [String]
968
+ #
925
969
  # @!attribute [rw] invoice_type
926
970
  # The type of invoice.
927
971
  # @return [String]
928
972
  #
973
+ # @!attribute [rw] commercial_invoice_id
974
+ # The commercial invoice ID. This is only applicable for tax invoices
975
+ # and identifies the associated commercial invoice.
976
+ # @return [String]
977
+ #
929
978
  # @!attribute [rw] original_invoice_id
930
979
  # The initial or original invoice ID.
931
980
  # @return [String]
@@ -934,6 +983,16 @@ module Aws::Invoicing
934
983
  # The purchase order number associated to the invoice.
935
984
  # @return [String]
936
985
  #
986
+ # @!attribute [rw] einvoice_delivery_status
987
+ # The e-invoice delivery status.
988
+ # @return [String]
989
+ #
990
+ # @!attribute [rw] tax_authority_status
991
+ # The current status of an invoice as reported to the tax authority.
992
+ # This captures scenarios where an invoice may be cancelled after
993
+ # issuance.
994
+ # @return [String]
995
+ #
937
996
  # @!attribute [rw] base_currency_amount
938
997
  # The summary with the product and service currency.
939
998
  # @return [Types::InvoiceCurrencyAmount]
@@ -953,11 +1012,19 @@ module Aws::Invoicing
953
1012
  :invoice_id,
954
1013
  :issued_date,
955
1014
  :due_date,
1015
+ :bill_source_accounts,
1016
+ :bill_source_accounts_total_count,
1017
+ :receiver_role,
956
1018
  :entity,
957
1019
  :billing_period,
1020
+ :invoice_frequency,
1021
+ :bill_type,
958
1022
  :invoice_type,
1023
+ :commercial_invoice_id,
959
1024
  :original_invoice_id,
960
1025
  :purchase_order_number,
1026
+ :einvoice_delivery_status,
1027
+ :tax_authority_status,
961
1028
  :base_currency_amount,
962
1029
  :tax_currency_amount,
963
1030
  :payment_currency_amount)
@@ -1028,11 +1095,11 @@ module Aws::Invoicing
1028
1095
  # @return [Array<String>]
1029
1096
  #
1030
1097
  # @!attribute [rw] bill_source_accounts
1031
- # A list of Amazon Web Services account account IDs that have
1032
- # delegated their billing responsibility to the receiver account
1033
- # through transfer billing. Unlike linked accounts, these bill source
1034
- # accounts can be payer accounts from other organizations that have
1035
- # authorized billing transfer to this account.
1098
+ # A list of Amazon Web Services account IDs that have delegated their
1099
+ # billing responsibility to the receiver account through transfer
1100
+ # billing. Unlike linked accounts, these bill source accounts can be
1101
+ # payer accounts from other organizations that have authorized billing
1102
+ # transfer to this account.
1036
1103
  # @return [Array<String>]
1037
1104
  #
1038
1105
  # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceUnitRule AWS API Documentation
@@ -1680,6 +1747,14 @@ module Aws::Invoicing
1680
1747
 
1681
1748
  # Supplemental document associated with the invoice.
1682
1749
  #
1750
+ # @!attribute [rw] document_type
1751
+ # The type of supplemental document.
1752
+ # @return [String]
1753
+ #
1754
+ # @!attribute [rw] document_id
1755
+ # The ID of the supplemental document.
1756
+ # @return [String]
1757
+ #
1683
1758
  # @!attribute [rw] document_url
1684
1759
  # The pre-signed URL to download invoice supplemental document.
1685
1760
  # @return [String]
@@ -1691,6 +1766,8 @@ module Aws::Invoicing
1691
1766
  # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/SupplementalDocument AWS API Documentation
1692
1767
  #
1693
1768
  class SupplementalDocument < Struct.new(
1769
+ :document_type,
1770
+ :document_id,
1694
1771
  :document_url,
1695
1772
  :document_url_expiration_date)
1696
1773
  SENSITIVE = []
@@ -55,7 +55,7 @@ module Aws::Invoicing
55
55
  autoload :EndpointProvider, 'aws-sdk-invoicing/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-invoicing/endpoints'
57
57
 
58
- GEM_VERSION = '1.21.0'
58
+ GEM_VERSION = '1.22.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -245,7 +245,8 @@ module Aws
245
245
  month: ::Integer,
246
246
  year: ::Integer
247
247
  }?,
248
- invoicing_entity: ::String?
248
+ invoicing_entity: ::String?,
249
+ receiver_role: ("SELLER" | "RESELLER" | "BUYER")?
249
250
  },
250
251
  ?next_token: ::String,
251
252
  ?max_results: ::Integer
data/sig/types.rbs CHANGED
@@ -148,6 +148,7 @@ module Aws::Invoicing
148
148
 
149
149
  class Entity
150
150
  attr_accessor invoicing_entity: ::String
151
+ attr_accessor billing_entity: ("AWS" | "AWS_MARKETPLACE")
151
152
  SENSITIVE: []
152
153
  end
153
154
 
@@ -246,6 +247,7 @@ module Aws::Invoicing
246
247
  attr_accessor time_interval: Types::DateInterval
247
248
  attr_accessor billing_period: Types::BillingPeriod
248
249
  attr_accessor invoicing_entity: ::String
250
+ attr_accessor receiver_role: ("SELLER" | "RESELLER" | "BUYER")
249
251
  SENSITIVE: []
250
252
  end
251
253
 
@@ -260,11 +262,19 @@ module Aws::Invoicing
260
262
  attr_accessor invoice_id: ::String
261
263
  attr_accessor issued_date: ::Time
262
264
  attr_accessor due_date: ::Time
265
+ attr_accessor bill_source_accounts: ::Array[::String]
266
+ attr_accessor bill_source_accounts_total_count: ::Integer
267
+ attr_accessor receiver_role: ("SELLER" | "RESELLER" | "BUYER")
263
268
  attr_accessor entity: Types::Entity
264
269
  attr_accessor billing_period: Types::BillingPeriod
265
- attr_accessor invoice_type: ("INVOICE" | "CREDIT_MEMO")
270
+ attr_accessor invoice_frequency: ("ONE_TIME" | "RECURRING")
271
+ attr_accessor bill_type: ("ANNIVERSARY" | "PURCHASE" | "REFUND")
272
+ attr_accessor invoice_type: ("INVOICE" | "CREDIT_MEMO" | "PAYMENT_RECEIPT")
273
+ attr_accessor commercial_invoice_id: ::String
266
274
  attr_accessor original_invoice_id: ::String
267
275
  attr_accessor purchase_order_number: ::String
276
+ attr_accessor einvoice_delivery_status: ("DELIVERED" | "NOT_DELIVERED")
277
+ attr_accessor tax_authority_status: ("ISSUED" | "CANCELLED")
268
278
  attr_accessor base_currency_amount: Types::InvoiceCurrencyAmount
269
279
  attr_accessor tax_currency_amount: Types::InvoiceCurrencyAmount
270
280
  attr_accessor payment_currency_amount: Types::InvoiceCurrencyAmount
@@ -447,6 +457,8 @@ module Aws::Invoicing
447
457
  end
448
458
 
449
459
  class SupplementalDocument
460
+ attr_accessor document_type: ("GOVERNMENT_INVOICE" | "TAX_E_INVOICE" | "PAYMENT_RECEIPT" | "SUPPLEMENT")
461
+ attr_accessor document_id: ::String
450
462
  attr_accessor document_url: ::String
451
463
  attr_accessor document_url_expiration_date: ::Time
452
464
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-invoicing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services