Order contribution USD — локальный калькулятор

Один локальный калькулятор: Order contribution USD. Формула до покупки: order_revenue_usd-product_cost_usd-payment_fee_usd-shipping_cost_usd. Редактируемые входные данные, таблица измерений и синтетический пример. Подробная инструкция и поля на английском.

Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.

49 XTR

Открыть магазин

Цены указаны в Telegram Stars (XTR). Доход и результаты клиентов не гарантируются.

Магазины по специализациям

Formula / input / worked example (English)

# Order contribution USD

`order_revenue_usd-product_cost_usd-payment_fee_usd-shipping_cost_usd`

Input semantics and units:
- `order_revenue_usd`: numeric input; units are part of the field name where applicable.
- `payment_fee_usd`: numeric input; units are part of the field name where applicable.
- `product_cost_usd`: numeric input; units are part of the field name where applicable.
- `shipping_cost_usd`: numeric input; units are part of the field name where applicable.

Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.

example-input.json

{
  "order_revenue_usd": 12.0,
  "payment_fee_usd": 15.0,
  "product_cost_usd": 18.0,
  "shipping_cost_usd": 21.0
}

example-output.json

{
  "product_id": "commerce-contribution",
  "result": -42.0,
  "scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}