@rebilly/api 0.9.0 → 0.9.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
- ## 0.9.0 (2026-10-26)
1
+ ## 0.9.1 (2026-10-27)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -3977,6 +3977,20 @@ export type Invoice = {
3977
3977
  * @format double
3978
3978
  */
3979
3979
  readonly discountAmount?: number;
3980
+ /**
3981
+ * Shipping settings of the invoice.
3982
+ * The `calculator` property is `manual` when the shipping amount is provided
3983
+ * and `rebilly` when the amount is calculated from shipping rates.
3984
+ * If `calculator` is `manual` and an issued invoice is recalculated or its items change,
3985
+ * the shipping amount is not changed, even if no invoice item requires shipping.
3986
+ * If `calculator` is `manual` and no invoice item requires shipping, the shipping amount is 0 in these cases:
3987
+ *
3988
+ * - A draft invoice is issued with the [Issue an invoice](https://www.rebilly.com/catalog/all/invoices/postinvoiceissuance) operation, a renewal invoice is issued, or a scheduled draft invoice is recalculated.
3989
+ * - An order is created or previewed, a quote is created, or a `pending` order is updated.
3990
+ * This applies to the order invoice. The order keeps its shipping amount.
3991
+ *
3992
+ * To change the shipping amount of an issued invoice, use the [Upsert an invoice](https://www.rebilly.com/catalog/all/invoices/putinvoice) operation.
3993
+ */
3980
3994
  shipping?: Shipping;
3981
3995
  tax?: Taxes;
3982
3996
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,