Finopswerk
customer payment revenue expense bridge
Reconstructs one seller payment C to its own customer, split between revenue reduction and purchase expense under AASB 15 paragraphs 70-72, for a sale P already earned and collected. The caller qualifies mode 0 = no distinct good/service, mode 1 = distinct service with estimable FV F, mode 2 = distinct service, FV not estimable. Mode 1: expense=min(C,F), revenue reduction=C-expense; modes 0/2: all of C reduces revenue. Recognized revenue=P-reduction, net cash=P-C.
POST https://finops.halowerk.com/v1/customer-payment-revenue-expense-bridgeInputs
| Field | Type | Required | Description |
|---|---|---|---|
| sale_n | integer | Yes | |
| payment_n | integer | Yes | |
| service_fv_n | integer | Yes | |
| mode | integer | Yes | |
| amount_denominator | integer | Yes | |
| report | object | Yes |
Show full input schema
{
"type": "object",
"required": [
"sale_n",
"payment_n",
"service_fv_n",
"mode",
"amount_denominator",
"report"
],
"properties": {
"sale_n": {
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"payment_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"service_fv_n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"mode": {
"type": "integer",
"minimum": 0,
"maximum": 2
},
"amount_denominator": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"report": {
"type": "object",
"minProperties": 20,
"maxProperties": 20,
"propertyNames": {
"enum": [
"gross_sale",
"customer_payment",
"mode",
"service_fv_input",
"purchase_expense",
"revenue_reduction",
"recognized_revenue",
"gross_cash_received",
"cash_paid",
"net_cash",
"profit_slice",
"full_rebate_revenue",
"full_expense_revenue",
"full_expense_cost",
"revenue_over_full_rebate",
"cost_below_full_expense",
"closing_customer_payable",
"payment_split_gap",
"revenue_gap",
"PL_cash_gap"
]
},
"additionalProperties": {
"type": "object",
"required": [
"n",
"d"
],
"propertyNames": {
"enum": [
"n",
"d"
]
},
"additionalProperties": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 64
}
}
}
},
"additionalProperties": false
}Published input example
{
"sale_n": 100,
"payment_n": 30,
"service_fv_n": 20,
"mode": 1,
"amount_denominator": 1,
"report": {
"gross_sale": {
"n": "100",
"d": "1"
},
"customer_payment": {
"n": "30",
"d": "1"
},
"mode": {
"n": "1",
"d": "1"
},
"service_fv_input": {
"n": "20",
"d": "1"
},
"purchase_expense": {
"n": "20",
"d": "1"
},
"revenue_reduction": {
"n": "10",
"d": "1"
},
"recognized_revenue": {
"n": "90",
"d": "1"
},
"gross_cash_received": {
"n": "100",
"d": "1"
},
"cash_paid": {
"n": "30",
"d": "1"
},
"net_cash": {
"n": "70",
"d": "1"
},
"profit_slice": {
"n": "70",
"d": "1"
},
"full_rebate_revenue": {
"n": "70",
"d": "1"
},
"full_expense_revenue": {
"n": "100",
"d": "1"
},
"full_expense_cost": {
"n": "30",
"d": "1"
},
"revenue_over_full_rebate": {
"n": "20",
"d": "1"
},
"cost_below_full_expense": {
"n": "10",
"d": "1"
},
"closing_customer_payable": {
"n": "0",
"d": "1"
},
"payment_split_gap": {
"n": "0",
"d": "1"
},
"revenue_gap": {
"n": "0",
"d": "1"
},
"PL_cash_gap": {
"n": "0",
"d": "1"
}
}
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Finopswerk0.003 USDC
accumulating sick leave liability
POSThttps://finops.halowerk.com/v1/accumulating-sick-leave-liabilityMeasures one closing salary-only liability for non-vesting accumulating sick leave. For N identical employees with unused old carry C and next-year entitlement E (used first), the caller supplies three scenarios of future absence days a_j w
- Finopswerk0.003 USDC
acquisition goodwill nci bridge
POSThttps://finops.halowerk.com/v1/acquisition-goodwill-nci-bridgeReconstructs one acquisition-date business-combination goodwill/NCI bridge from caller-measured identified assets, assumed liabilities, cash and non-cash consideration and previously held interest. NCI mode 0 = proportionate identifiable ne
- Finopswerk0.003 USDC
adjusted coupon cashflow ledger
POSThttps://finops.halowerk.com/v1/adjusted-coupon-cashflow-ledgerFrom a civil start date, tenor, EOM, principal, rate and explicit calendars, derives unadjusted accrual anchors, Following/ModifiedFollowing/Preceding payment dates, ACT365F exact interest and the last principal redemption. Payment adjustme