@erp-galoper/types 1.0.1284 → 1.0.1286
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/openapi.ts +5 -3
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -14854,14 +14854,16 @@ export interface paths {
|
|
|
14854
14854
|
};
|
|
14855
14855
|
/**
|
|
14856
14856
|
* Cost Rate Required
|
|
14857
|
-
* @description
|
|
14857
|
+
* @description Check if custom exchange rates should be provided for accurate cost calculation.
|
|
14858
|
+
*
|
|
14859
|
+
* While usd_rate and company_rate are always optional (defaults to currency model rates),
|
|
14860
|
+
* this endpoint helps determine when you might want to provide custom rates for scenarios like:
|
|
14858
14861
|
*
|
|
14859
|
-
* Rates are required when:
|
|
14860
14862
|
* 1. The requested currency is not the company's primary or secondary currency
|
|
14861
14863
|
* 2. The item uses market_cost strategy and its default_cost_currency differs from the requested currency
|
|
14862
14864
|
* 3. The item has no purchase history and its default_cost_currency differs from the requested currency
|
|
14863
14865
|
*
|
|
14864
|
-
* Returns True if
|
|
14866
|
+
* Returns True if custom rates are recommended for better accuracy, False if default rates are sufficient
|
|
14865
14867
|
*
|
|
14866
14868
|
* Response:
|
|
14867
14869
|
* - 200: bool
|