@rebilly/api 0.19.3 → 0.19.5
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 +1 -1
- package/dist/core-client.schemas.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3050,6 +3050,10 @@ export type CreditMemoInvoiceAllocation = {
|
|
|
3050
3050
|
invoiceId?: string;
|
|
3051
3051
|
/**
|
|
3052
3052
|
* Amount of credit that is allocated from the credit memo to the invoice.
|
|
3053
|
+
* When a credit memo is updated, the specified `amount` replaces the existing allocation to the invoice.
|
|
3054
|
+
* It is not added to the existing allocation.
|
|
3055
|
+
* If the credit memo is already allocated to the invoice,
|
|
3056
|
+
* the unused amount of the credit memo and the amount due on the invoice both include the existing allocation.
|
|
3053
3057
|
* If the `amount` value is not supplied or exceeds the unused amount of the credit memo or the invoice due amount, the lesser of the following two values is used:
|
|
3054
3058
|
* - The unused amount of the credit memo.
|
|
3055
3059
|
* - The invoice due amount.
|