Wholesale Pricing Schema
Felder
Wholesale Pricing Schema
MSP resell-pricing config for wholesale customer-tenants. One default per MSP (customerTenantId=null) plus optional per-customer overrides.
customerTenantId
Customer tenant this pricing applies to. null = default config for all wholesale customers of the MSP.
defaultMarkupPercent
Markup applied on top of Codemeta wholesale price (e.g. 50 = +50%). Used for any module without an explicit override.
moduleOverrides
Per-module explicit unit-price overrides in EUR cents. Keyed by module id (e.g. "ticketing").
tierMarkupPercent
Markup applied on top of the Codemeta wholesale tier price (TIER_WHOLESALE_PRICING). Falls back to defaultMarkupPercent when null. Keep separate from defaultMarkupPercent so MSPs can mark up bundles differently from individual modules.
vatRate
VAT rate (percent string) applied to generated wholesale invoices. Set to "0" together with reverseCharge=true for cross-border EU B2B (recipient owes the VAT).
reverseCharge
EU B2B reverse-charge mechanism. When true, vatAmount is forced to 0 and a "Reverse Charge — recipient liable for VAT (§13b UStG / Art. 196 MwStSystRL)" notice is appended to the invoice closingText.
currency
ISO 4217 currency code for invoices generated from this config (e.g. EUR, CHF, GBP). Must match the currency of the configured Stripe wholesale prices for the same MSP.
paymentTermsDays
Default payment terms (days) for generated wholesale invoices.
introText
Optional intro text written above invoice positions.
closingText
Optional closing text written below invoice positions.
notes
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/wholesale_pricings— Liste, paginiert + filterbarGET /api/v1/wholesale_pricings/<id>— Einzelne EntityPOST /api/v1/wholesale_pricings— AnlegenPATCH /api/v1/wholesale_pricings/<id>— Teil-UpdateDELETE /api/v1/wholesale_pricings/<id>— Soft-DeleteGET /api/v1/wholesale_pricings/<id>/timeline— Audit + Aktivitäten