You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1423,7 +1470,7 @@ public function listInvoices(array $options = []): \Recurly\Pager
1423
1470
/**
1424
1471
* Fetch an invoice
1425
1472
*
1426
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1473
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
@@ -1437,7 +1484,7 @@ public function getInvoice(string $invoice_id): \Recurly\Resources\Invoice
1437
1484
/**
1438
1485
* Update an invoice
1439
1486
*
1440
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1487
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1441
1488
* @param array $body The body of the request.
1442
1489
*
1443
1490
* @return \Recurly\Resources\Invoice An invoice.
@@ -1452,7 +1499,7 @@ public function putInvoice(string $invoice_id, array $body): \Recurly\Resources\
1452
1499
/**
1453
1500
* Fetch an invoice as a PDF
1454
1501
*
1455
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1502
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1456
1503
*
1457
1504
* @return \Recurly\Resources\BinaryFile An invoice as a PDF.
@@ -1466,7 +1513,7 @@ public function getInvoicePdf(string $invoice_id): \Recurly\Resources\BinaryFile
1466
1513
/**
1467
1514
* Apply available credit to a pending or past due charge invoice
1468
1515
*
1469
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1516
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1470
1517
*
1471
1518
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1480,7 +1527,7 @@ public function applyCreditBalance(string $invoice_id): \Recurly\Resources\Invoi
1480
1527
/**
1481
1528
* Collect a pending or past due, automatic invoice
1482
1529
*
1483
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1530
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1484
1531
* @param array $body The body of the request.
1485
1532
*
1486
1533
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1495,7 +1542,7 @@ public function collectInvoice(string $invoice_id, array $body = []): \Recurly\R
1495
1542
/**
1496
1543
* Mark an open invoice as failed
1497
1544
*
1498
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1545
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1499
1546
*
1500
1547
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1509,7 +1556,7 @@ public function failInvoice(string $invoice_id): \Recurly\Resources\Invoice
1509
1556
/**
1510
1557
* Mark an open invoice as successful
1511
1558
*
1512
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1559
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1513
1560
*
1514
1561
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1523,7 +1570,7 @@ public function markInvoiceSuccessful(string $invoice_id): \Recurly\Resources\In
1523
1570
/**
1524
1571
* Reopen a closed, manual invoice
1525
1572
*
1526
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1573
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1527
1574
*
1528
1575
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1537,7 +1584,7 @@ public function reopenInvoice(string $invoice_id): \Recurly\Resources\Invoice
1537
1584
/**
1538
1585
* Void a credit invoice.
1539
1586
*
1540
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1587
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1541
1588
*
1542
1589
* @return \Recurly\Resources\Invoice The updated invoice.
@@ -1551,7 +1598,7 @@ public function voidInvoice(string $invoice_id): \Recurly\Resources\Invoice
1551
1598
/**
1552
1599
* Record an external payment for a manual invoices.
1553
1600
*
1554
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1601
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1555
1602
* @param array $body The body of the request.
1556
1603
*
1557
1604
* @return \Recurly\Resources\Transaction The recorded transaction.
@@ -1566,7 +1613,7 @@ public function recordExternalTransaction(string $invoice_id, array $body): \Rec
1566
1613
/**
1567
1614
* List an invoice's line items
1568
1615
*
1569
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1616
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1570
1617
* @param array $options Associative array of optional parameters
1571
1618
*
1572
1619
* Supported optional query string parameters:
@@ -1607,7 +1654,7 @@ public function listInvoiceLineItems(string $invoice_id, array $options = []): \
1607
1654
/**
1608
1655
* List the coupon redemptions applied to an invoice
1609
1656
*
1610
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1657
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1611
1658
* @param array $options Associative array of optional parameters
1612
1659
*
1613
1660
* Supported optional query string parameters:
@@ -1643,7 +1690,7 @@ public function listInvoiceCouponRedemptions(string $invoice_id, array $options
1643
1690
/**
1644
1691
* List an invoice's related credit or charge invoices
1645
1692
*
1646
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1693
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1647
1694
*
1648
1695
* @return \Recurly\Pager A list of the credit or charge invoices associated with the invoice.
@@ -1657,7 +1704,7 @@ public function listRelatedInvoices(string $invoice_id): \Recurly\Pager
1657
1704
/**
1658
1705
* Refund an invoice
1659
1706
*
1660
-
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`.
1707
+
* @param string $invoice_id Invoice ID or number. For ID no prefix is used e.g. `e28zov4fw0v2`. For number use prefix `number-`, e.g. `number-1000`. For number with prefix or country code, use `number-` and `prefix`, e.g. `number-TEST-FR1001`
1661
1708
* @param array $body The body of the request.
1662
1709
*
1663
1710
* @return \Recurly\Resources\Invoice Returns the new credit invoice.
Copy file name to clipboardExpand all lines: lib/recurly/resources/add_on.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -507,7 +507,7 @@ public function setState(string $state): void
507
507
508
508
/**
509
509
* Getter method for the tax_code attribute.
510
-
* Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
510
+
* Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent.
Copy file name to clipboardExpand all lines: lib/recurly/resources/item.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -384,7 +384,7 @@ public function setState(string $state): void
384
384
385
385
/**
386
386
* Getter method for the tax_code attribute.
387
-
* Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
387
+
* Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
Copy file name to clipboardExpand all lines: lib/recurly/resources/line_item.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ public function setAddOnId(string $add_on_id): void
164
164
165
165
/**
166
166
* Getter method for the amount attribute.
167
-
* `(quantity * unit_amount) - (discount + tax)`
167
+
* `(quantity * unit_amount) - discount + tax`
168
168
*
169
169
* @return ?float
170
170
*/
@@ -1066,7 +1066,7 @@ public function setTax(float $tax): void
1066
1066
1067
1067
/**
1068
1068
* Getter method for the tax_code attribute.
1069
-
* Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
1069
+
* Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
Copy file name to clipboardExpand all lines: lib/recurly/resources/plan.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -611,7 +611,7 @@ public function setState(string $state): void
611
611
612
612
/**
613
613
* Getter method for the tax_code attribute.
614
-
* Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
614
+
* Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
0 commit comments