{"service":"abil-api","version":"0.1.0","portal_base_domain":"admin.ip4x.systems","categories":[{"key":"communications","label":"Communications","description":"Messages to people: WhatsApp, SMS, email"},{"key":"payments","label":"Payments & fintech","description":"Vending, bill payment, collections, commission"},{"key":"identity","label":"Identity & verification","description":"Know-your-customer, identity and document checks"},{"key":"health","label":"Health","description":"Medical records, labs, pharmacy, insurance eligibility and health reference data"},{"key":"maps","label":"Maps & location","description":"Address search, geocoding, maps, line of sight"},{"key":"network","label":"Network & telecom","description":"Subscriber authentication, device management, network provisioning"},{"key":"metering","label":"Utilities & metering","description":"Meter reads and utility consumption"},{"key":"municipal","label":"Government & municipal","description":"Municipal systems of record and citizen services"},{"key":"safety","label":"Safety & security","description":"Panic alerts, armed response, emergency services"},{"key":"weather","label":"Weather & environment","description":"Forecasts, observations and environmental data"},{"key":"accounting","label":"Accounting & ERP","description":"Books, invoices and the systems customers run their business on"},{"key":"tax","label":"Tax authorities","description":"Revenue services: VAT number checks and tax filings"},{"key":"ai","label":"AI models","description":"Large language models: chat, structured output and web-grounded answers"},{"key":"access","label":"Access control","description":"Gate and visitor access: invites, gate PINs and QR codes, member access and face checks"},{"key":"developer","label":"Developer tools","description":"Code hosting: repositories, issues and pull requests"},{"key":"economic","label":"Economic data","description":"Official rate series from central banks and statistics agencies"},{"key":"provisioning","label":"Workspace provisioning","description":"Creating, changing and suspending the workspaces customers buy on partner platforms"},{"key":"support","label":"Support work","description":"Handing support requests to partners who work in their own tools"},{"key":"reporting","label":"Reporting & BI","description":"Business intelligence dashboards embedded in the platform"},{"key":"order_management","label":"Order management","description":"Network operators' order APIs: placing, changing, cancelling and tracking a line order"}],"industries":[{"id":"residential-estates","label":"Residential estates & HOAs","sector":"Property & community"},{"id":"retirement-villages","label":"Retirement & lifestyle villages","sector":"Property & community"},{"id":"student-housing","label":"Student housing (PBSA)","sector":"Property & community"},{"id":"commercial-property","label":"Commercial & mixed-use property","sector":"Property & community"},{"id":"telco-isp","label":"Telecommunications & ISPs","sector":"Networks & utilities"},{"id":"utilities-metered","label":"Utilities & metered resellers","sector":"Networks & utilities"},{"id":"energy-solar","label":"Energy, solar & IPPs","sector":"Networks & utilities"},{"id":"waste-services","label":"Waste & environmental services","sector":"Networks & utilities"},{"id":"logistics-courier","label":"Logistics & courier","sector":"Transport & mobility"},{"id":"fleet-transport","label":"Fleet & passenger transport","sector":"Transport & mobility"},{"id":"ports-aviation","label":"Ports, airports & border facilities","sector":"Transport & mobility"},{"id":"automotive","label":"Automotive dealerships & workshops","sector":"Transport & mobility"},{"id":"manufacturing","label":"Manufacturing & industrial parks","sector":"Industrial"},{"id":"mining","label":"Mining & resources","sector":"Industrial"},{"id":"agriculture","label":"Agriculture & agri-estates","sector":"Industrial"},{"id":"construction-fm","label":"Construction & facilities management","sector":"Industrial"},{"id":"healthcare","label":"Healthcare & clinic groups","sector":"Health & wellbeing"},{"id":"aged-care","label":"Assisted living & aged care","sector":"Health & wellbeing"},{"id":"veterinary","label":"Veterinary & pet services","sector":"Health & wellbeing"},{"id":"fitness","label":"Gyms, fitness & wellness","sector":"Health & wellbeing"},{"id":"schools","label":"Schools (K–12)","sector":"Education"},{"id":"higher-ed","label":"Higher education","sector":"Education"},{"id":"training-providers","label":"Training & skills providers","sector":"Education"},{"id":"faith","label":"Faith-based organisations","sector":"Education"},{"id":"sports-clubs","label":"Sports clubs & federations","sector":"Membership & workspace"},{"id":"associations","label":"Member associations & NGOs","sector":"Membership & workspace"},{"id":"professional-bodies","label":"Professional bodies & licensing councils","sector":"Membership & workspace"},{"id":"coworking","label":"Co-working & flexible workspace","sector":"Membership & workspace"},{"id":"ecommerce","label":"E-commerce & online retail","sector":"Commerce"},{"id":"subscription-digital","label":"Subscription & digital services","sector":"Commerce"},{"id":"sme","label":"Small & medium enterprises","sector":"Commerce"},{"id":"retail-franchise","label":"Retail & franchise networks","sector":"Commerce"},{"id":"hospitality","label":"Hotels, resorts & lodges","sector":"Hospitality & property services"},{"id":"restaurants","label":"Restaurants & food service","sector":"Hospitality & property services"},{"id":"events-venues","label":"Events & venue management","sector":"Hospitality & property services"},{"id":"real-estate","label":"Real estate agencies & rental management","sector":"Hospitality & property services"},{"id":"financial-services","label":"Financial services & broker networks","sector":"Professional & financial services"},{"id":"insurance","label":"Insurance & assistance providers","sector":"Professional & financial services"},{"id":"professional-services","label":"Legal, accounting & consulting firms","sector":"Professional & financial services"},{"id":"media-publishing","label":"Media, publishing & content","sector":"Professional & financial services"},{"id":"government","label":"Government & municipal services","sector":"Public sector & safety"},{"id":"security-guarding","label":"Security & guarding services","sector":"Public sector & safety"},{"id":"tourism","label":"Tourism boards & destination management","sector":"Public sector & safety"},{"id":"emergency-services","label":"Emergency & response services","sector":"Public sector & safety"},{"id":"trades-artisan-services","label":"Trades & artisan services","sector":"Trades & field services"},{"id":"home-property-services","label":"Home & property services","sector":"Trades & field services"},{"id":"makers-craft-producers","label":"Makers & craft producers","sector":"Trades & field services"}],"metrics":[{"key":"vumatel_orders.api_call","label":"Vumatel order call","unit":"call","aggregation":"sum"},{"key":"vumatel_orders.callback","label":"Vumatel order callback relayed","unit":"event","aggregation":"sum"},{"key":"frogfoot_orders.api_call","label":"Frogfoot order call","unit":"call","aggregation":"sum"},{"key":"frogfoot_orders.callback","label":"Frogfoot order callback relayed","unit":"event","aggregation":"sum"},{"key":"metrofibre_orders.api_call","label":"MetroFibre order call","unit":"call","aggregation":"sum"},{"key":"metrofibre_orders.callback","label":"MetroFibre order callback relayed","unit":"event","aggregation":"sum"},{"key":"octotel_orders.api_call","label":"Octotel order call","unit":"call","aggregation":"sum"},{"key":"octotel_orders.callback","label":"Octotel order callback relayed","unit":"event","aggregation":"sum"},{"key":"aex_orders.api_call","label":"AEX order call","unit":"call","aggregation":"sum"},{"key":"aex_orders.callback","label":"AEX order callback relayed","unit":"event","aggregation":"sum"},{"key":"mns_orders.api_call","label":"MNS order call","unit":"call","aggregation":"sum"},{"key":"mns_orders.callback","label":"MNS order callback relayed","unit":"event","aggregation":"sum"},{"key":"custom_orders.api_call","label":"Custom order call","unit":"call","aggregation":"sum"},{"key":"lesaka.vp.vend","label":"Virtual product vend","unit":"transaction","aggregation":"sum"},{"key":"lesaka.vp.topup","label":"Pinless top-up","unit":"transaction","aggregation":"sum"},{"key":"lesaka.ppu.vend","label":"Prepaid utility vend","unit":"transaction","aggregation":"sum"},{"key":"lesaka.bps.payment","label":"Bill payment","unit":"transaction","aggregation":"sum"},{"key":"intouch.verification","label":"Verification service call","unit":"call","aggregation":"sum"},{"key":"intouch.workflow","label":"Workflow run","unit":"workflow","aggregation":"sum"},{"key":"intouch.consent","label":"Consent request","unit":"request","aggregation":"sum"},{"key":"intouch.tfs_screening","label":"TFS continuous screening","unit":"client_month","aggregation":"period_snapshot"},{"key":"openitem.api_call","label":"OpenItem call","unit":"call","aggregation":"sum"},{"key":"clickon.api_call","label":"ClickOn call","unit":"call","aggregation":"sum"},{"key":"clickon.activity","label":"ClickOn activity relayed","unit":"event","aggregation":"sum"},{"key":"aratek.api_call","label":"TruFace call","unit":"call","aggregation":"sum"},{"key":"aratek.export","label":"TruFace export relayed","unit":"event","aggregation":"sum"},{"key":"gatekeepr.api_call","label":"GateKeeper call","unit":"call","aggregation":"sum"},{"key":"gatekeepr.event","label":"GateKeeper event relayed","unit":"event","aggregation":"sum"},{"key":"fortress.api_call","label":"Fortress PAC call","unit":"call","aggregation":"sum"},{"key":"riddler_provisioning.request","label":"Riddler provisioning call","unit":"call","aggregation":"sum"},{"key":"riddler_provisioning.usage","label":"Riddler usage pushed","unit":"unit","aggregation":"sum"},{"key":"clickup.request","label":"ClickUp call","unit":"call","aggregation":"sum"},{"key":"clickup.webhook","label":"ClickUp webhook","unit":"event","aggregation":"sum"},{"key":"powerbi.embed_token","label":"Power BI embed token","unit":"token","aggregation":"sum"},{"key":"embeddable.security_token","label":"Embeddable security token","unit":"token","aggregation":"sum"},{"key":"google_maps.geocoding","label":"Geocoding","unit":"call","aggregation":"sum"},{"key":"google_maps.places_details","label":"Place Details Essentials (Places API New)","unit":"call","aggregation":"sum"},{"key":"google_maps.autocomplete_request","label":"Autocomplete Requests (Places API New, per request)","unit":"call","aggregation":"sum"},{"key":"google_maps.autocomplete_session_unconcluded","label":"Autocomplete session w/o Details","unit":"session","aggregation":"sum"},{"key":"google_elevation.path","label":"Elevation along a path","unit":"call","aggregation":"sum"},{"key":"google_maps.dynamic_maps","label":"Dynamic map load","unit":"load","aggregation":"sum"},{"key":"google_maps.static_maps","label":"Static map","unit":"call","aggregation":"sum"},{"key":"google_maps.routes","label":"Compute Routes Essentials","unit":"call","aggregation":"sum"},{"key":"google_maps.map_tiles_2d","label":"2D Map Tiles","unit":"tile","aggregation":"sum"},{"key":"google_maps.viewport_info","label":"Map Tiles viewport information","unit":"call","aggregation":"sum"},{"key":"nominatim.search","label":"Address search","unit":"call","aggregation":"sum"},{"key":"nominatim.reverse","label":"Reverse geocode","unit":"call","aggregation":"sum"},{"key":"valhalla.route","label":"Route","unit":"call","aggregation":"sum"},{"key":"valhalla.isochrone","label":"Isochrone","unit":"call","aggregation":"sum"},{"key":"xyz_tiles.tile","label":"Map tile","unit":"tile","aggregation":"sum"},{"key":"riskscape.autocomplete","label":"Autocomplete request","unit":"event","aggregation":"sum"},{"key":"riskscape.address_details","label":"Address details","unit":"event","aggregation":"sum"},{"key":"riskscape.reverse_geocode","label":"Reverse geocode","unit":"event","aggregation":"sum"},{"key":"riskscape.dynamic_maps","label":"Dynamic map transaction","unit":"transaction","aggregation":"sum"},{"key":"riskscape.elevation_3d","label":"3D elevation query","unit":"event","aggregation":"sum"},{"key":"firstdmt_acs.device_licence","label":"ACS device licence","unit":"device_month","aggregation":"period_snapshot"},{"key":"firstdmt_acs.api_call","label":"ACS API call","unit":"call","aggregation":"sum"},{"key":"gti_los.query","label":"Line-of-sight query","unit":"call","aggregation":"sum"},{"key":"interstellio.subscriber_active","label":"Active subscriber month","unit":"subscriber_month","aggregation":"period_snapshot"},{"key":"interstellio.subscriber_suspended","label":"Suspended subscriber month","unit":"subscriber_month","aggregation":"period_snapshot"},{"key":"interstellio.virtual_server","label":"Virtual RADIUS server month","unit":"instance_month","aggregation":"period_snapshot"},{"key":"interstellio.domain","label":"Domain month","unit":"instance_month","aggregation":"period_snapshot"},{"key":"interstellio.api_call","label":"Provisioning/CoA API call","unit":"call","aggregation":"sum"},{"key":"kamstrup_ready.read","label":"Meter reading ingested","unit":"reading","aggregation":"sum"},{"key":"kamstrup_ready.meter_reporting","label":"Meters reporting in period","unit":"meter_month","aggregation":"period_snapshot"},{"key":"kamstrup_ready.api_call","label":"READy API call","unit":"call","aggregation":"sum"},{"key":"smsportal.whatsapp.message","label":"WhatsApp message delivered","unit":"message","aggregation":"sum"},{"key":"smsportal.sms.part","label":"SMS message part sent","unit":"part","aggregation":"sum"},{"key":"smsportal.sms.receipt","label":"SMS delivery report (SMSPortal)","unit":"report","aggregation":"sum"},{"key":"smsportal.api_call","label":"SMSPortal API call","unit":"call","aggregation":"sum"},{"key":"smsportal.platform_fee","label":"Message, ATSC's fee (SMSPortal)","unit":"message","aggregation":"sum"},{"key":"meta_whatsapp.message","label":"WhatsApp message delivered (Meta)","unit":"message","aggregation":"sum"},{"key":"meta_whatsapp.platform_fee","label":"WhatsApp message, ATSC's fee (Meta)","unit":"message","aggregation":"sum"},{"key":"meta_whatsapp.api_call","label":"Meta WhatsApp API call","unit":"call","aggregation":"sum"},{"key":"twilio_whatsapp.message","label":"WhatsApp message delivered (Twilio)","unit":"message","aggregation":"sum"},{"key":"twilio_whatsapp.api_call","label":"Twilio WhatsApp API call","unit":"call","aggregation":"sum"},{"key":"twilio_whatsapp.platform_fee","label":"Message, ATSC's fee (Twilio WhatsApp)","unit":"message","aggregation":"sum"},{"key":"bulksms.sms.part","label":"SMS message part sent (BulkSMS)","unit":"part","aggregation":"sum"},{"key":"bulksms.sms.receipt","label":"SMS delivery report (BulkSMS)","unit":"report","aggregation":"sum"},{"key":"bulksms.api_call","label":"BulkSMS API call","unit":"call","aggregation":"sum"},{"key":"bulksms.platform_fee","label":"Message, ATSC's fee (BulkSMS)","unit":"message","aggregation":"sum"},{"key":"infobip_sms.sms.part","label":"SMS message part sent (Infobip)","unit":"part","aggregation":"sum"},{"key":"infobip_sms.sms.receipt","label":"SMS delivery report (Infobip)","unit":"report","aggregation":"sum"},{"key":"infobip_sms.api_call","label":"Infobip SMS API call","unit":"call","aggregation":"sum"},{"key":"infobip_sms.platform_fee","label":"Message, ATSC's fee (Infobip SMS)","unit":"message","aggregation":"sum"},{"key":"custom_smpp.sms.part","label":"SMS message part submitted (SMPP)","unit":"part","aggregation":"sum"},{"key":"custom_smpp.sms.receipt","label":"SMS delivery receipt (SMPP)","unit":"report","aggregation":"sum"},{"key":"custom_smpp.api_call","label":"SMPP submit refused","unit":"call","aggregation":"sum"},{"key":"custom_smpp.platform_fee","label":"Message, ATSC's fee (SMPP)","unit":"message","aggregation":"sum"},{"key":"infobip_whatsapp.message","label":"WhatsApp message delivered (Infobip)","unit":"message","aggregation":"sum"},{"key":"infobip_whatsapp.api_call","label":"Infobip WhatsApp API call","unit":"call","aggregation":"sum"},{"key":"infobip_whatsapp.platform_fee","label":"Message, ATSC's fee (Infobip WhatsApp)","unit":"message","aggregation":"sum"},{"key":"sendgrid.email","label":"Email processed (SendGrid)","unit":"email","aggregation":"sum"},{"key":"sendgrid.event","label":"SendGrid delivery event","unit":"event","aggregation":"sum"},{"key":"sendgrid.api_call","label":"SendGrid API call","unit":"call","aggregation":"sum"},{"key":"smtp.email","label":"Email accepted (own SMTP server)","unit":"email","aggregation":"sum"},{"key":"apns.notification","label":"Push notification sent (APNs)","unit":"notification","aggregation":"sum"},{"key":"apns.api_call","label":"APNs push refused","unit":"call","aggregation":"sum"},{"key":"web_push.notification","label":"Push notification sent (Web Push)","unit":"notification","aggregation":"sum"},{"key":"web_push.api_call","label":"Web Push refused","unit":"call","aggregation":"sum"},{"key":"payfast.api_call","label":"PayFast payment link created","unit":"call","aggregation":"sum"},{"key":"payfast.payment","label":"PayFast payment notification","unit":"notification","aggregation":"sum"},{"key":"stripe.api_call","label":"Stripe API call","unit":"call","aggregation":"sum"},{"key":"stripe.payment","label":"Stripe payment notification","unit":"notification","aggregation":"sum"},{"key":"instapay.api_call","label":"InstaPay payment link created","unit":"call","aggregation":"sum"},{"key":"instapay.payment","label":"InstaPay payment notification","unit":"notification","aggregation":"sum"},{"key":"instapay.process","label":"InstaPay process stage","unit":"notification","aggregation":"sum"},{"key":"payat.api_call","label":"Pay@ API call","unit":"call","aggregation":"sum"},{"key":"payat.payment","label":"Pay@ payment notification","unit":"notification","aggregation":"sum"},{"key":"yoco.api_call","label":"Yoco API call","unit":"call","aggregation":"sum"},{"key":"yoco.payment","label":"Yoco payment notification","unit":"notification","aggregation":"sum"},{"key":"imis.get_build_pre_app","label":"IMIS building application read","unit":"call","aggregation":"sum"},{"key":"imis.capture_complaint","label":"IMIS complaint captured","unit":"complaint","aggregation":"sum"},{"key":"imis.get_complaint_status","label":"IMIS complaint status read (PROPOSED)","unit":"call","aggregation":"sum"},{"key":"imis.get_consumers_account_data","label":"IMIS consumer account read","unit":"call","aggregation":"sum"},{"key":"amber_panic.raise_alert","label":"Panic alert raised","unit":"alert","aggregation":"sum"},{"key":"amber_panic.update_location","label":"Panic live-location ping","unit":"call","aggregation":"sum"},{"key":"fasten.connection","label":"Patient health-system connection","unit":"connection","aggregation":"sum"},{"key":"fasten.export_request","label":"Medical records export requested","unit":"request","aggregation":"sum"},{"key":"fasten.export_download","label":"Records export download link","unit":"call","aggregation":"sum"},{"key":"rxnorm.lookup","label":"RxNav lookup","unit":"call","aggregation":"sum"},{"key":"fda_ndc.lookup","label":"openFDA NDC lookup","unit":"call","aggregation":"sum"},{"key":"clinicaltrials.search","label":"ClinicalTrials.gov search","unit":"call","aggregation":"sum"},{"key":"medlineplus.lookup","label":"MedlinePlus lookup","unit":"call","aggregation":"sum"},{"key":"nppes.search","label":"NPI Registry search","unit":"call","aggregation":"sum"},{"key":"stedi.eligibility_check","label":"Insurance eligibility check","unit":"check","aggregation":"sum"},{"key":"walgreens.checkout","label":"Walgreens refill or transfer checkout","unit":"call","aggregation":"sum"},{"key":"stedi.payer_search","label":"Payer directory search","unit":"call","aggregation":"sum"},{"key":"flexpa.connection","label":"A member's plan connected","unit":"connection","aggregation":"sum"},{"key":"flexpa.claims_fetch","label":"Claims fetched","unit":"claim","aggregation":"sum"},{"key":"plannet.lookup","label":"Provider directory lookup","unit":"call","aggregation":"sum"},{"key":"junction.order","label":"Lab test order","unit":"test","aggregation":"sum"},{"key":"lancet.order","label":"Lab order submitted to Lancet","unit":"test","aggregation":"sum"},{"key":"lancet.result","label":"Lab result received from Lancet","unit":"message","aggregation":"sum"},{"key":"lancet.api_call","label":"Lancet API call","unit":"call","aggregation":"sum"},{"key":"junction.api_call","label":"Junction API call","unit":"call","aggregation":"sum"},{"key":"meteosource.point","label":"Weather point query","unit":"call","aggregation":"sum"},{"key":"open_meteo.forecast","label":"Weather forecast query","unit":"call","aggregation":"sum"},{"key":"open_meteo.marine","label":"Marine sea-state query","unit":"call","aggregation":"sum"},{"key":"eskomsepush.status","label":"Load-shedding status query","unit":"call","aggregation":"sum"},{"key":"eskomsepush.allowance","label":"Quota allowance read","unit":"call","aggregation":"sum"},{"key":"hmrc.vat_check","label":"UK VAT number check","unit":"call","aggregation":"sum"},{"key":"vies.vat_check","label":"EU VAT number check (VIES)","unit":"call","aggregation":"sum"},{"key":"brreg.vat_check","label":"Norwegian VAT check (Brønnøysund)","unit":"call","aggregation":"sum"},{"key":"rd_th.vat_check","label":"Thai VAT check (Revenue Department)","unit":"call","aggregation":"sum"},{"key":"uid_ch.vat_check","label":"Swiss VAT check (UID register)","unit":"call","aggregation":"sum"},{"key":"abr_au.vat_check","label":"Australian GST check (ABN Lookup)","unit":"call","aggregation":"sum"},{"key":"nta_jp.vat_check","label":"Japanese invoice registration check (NTA)","unit":"call","aggregation":"sum"},{"key":"myinvois_my.tin_check","label":"Malaysian TIN check (MyInvois)","unit":"call","aggregation":"sum"},{"key":"github.read","label":"GitHub read","unit":"call","aggregation":"sum"},{"key":"github.write","label":"GitHub issue or comment created","unit":"call","aggregation":"sum"},{"key":"opencellid.cell","label":"OpenCelliD cell lookup","unit":"call","aggregation":"sum"},{"key":"opencellid.area","label":"OpenCelliD cells in an area","unit":"call","aggregation":"sum"},{"key":"rate_series.observations","label":"Rate series observations","unit":"call","aggregation":"sum"},{"key":"xero.document","label":"Document posted to Xero","unit":"document","aggregation":"sum"},{"key":"odoo.ledger_read","label":"Ledger read from Odoo","unit":"call","aggregation":"sum"},{"key":"sage_accounting.ledger_read","label":"Ledger read from Sage Accounting (UK, Ireland, Canada)","unit":"call","aggregation":"sum"},{"key":"sage_za.ledger_read","label":"Ledger read from Sage Accounting (South Africa)","unit":"call","aggregation":"sum"},{"key":"odoo.document","label":"Document posted to Odoo","unit":"document","aggregation":"sum"},{"key":"sage_za.document","label":"Document posted to Sage Accounting (South Africa)","unit":"document","aggregation":"sum"},{"key":"openserve.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"frogfoot.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"vodacom.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"mtn.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"telkom_lte.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"skywire.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"linkafrica.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"ttconnect.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"comsol.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"metrofibre.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"rushnetworks.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"herotel.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"liquidtel.coverage_check","label":"Coverage check","unit":"check","aggregation":"sum"},{"key":"openai.input_tokens","label":"OpenAI input tokens","unit":"mtok","aggregation":"sum"},{"key":"openai.output_tokens","label":"OpenAI output tokens","unit":"mtok","aggregation":"sum"},{"key":"openai.cached_input_tokens","label":"OpenAI cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"openai.web_search","label":"OpenAI web searches","unit":"search","aggregation":"sum"},{"key":"openai.embedding_tokens","label":"OpenAI embedding tokens","unit":"mtok","aggregation":"sum"},{"key":"anthropic.input_tokens","label":"Anthropic input tokens","unit":"mtok","aggregation":"sum"},{"key":"anthropic.output_tokens","label":"Anthropic output tokens","unit":"mtok","aggregation":"sum"},{"key":"anthropic.cached_input_tokens","label":"Anthropic cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"anthropic.cache_write_tokens","label":"Anthropic cache write tokens","unit":"mtok","aggregation":"sum"},{"key":"anthropic.web_search","label":"Anthropic web searches","unit":"search","aggregation":"sum"},{"key":"gemini.input_tokens","label":"Gemini input tokens","unit":"mtok","aggregation":"sum"},{"key":"gemini.output_tokens","label":"Gemini output tokens","unit":"mtok","aggregation":"sum"},{"key":"gemini.cached_input_tokens","label":"Gemini cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"gemini.web_search","label":"Gemini web searches","unit":"search","aggregation":"sum"},{"key":"gemini.embedding_tokens","label":"Gemini embedding tokens","unit":"mtok","aggregation":"sum"},{"key":"grok.input_tokens","label":"Grok (xAI) input tokens","unit":"mtok","aggregation":"sum"},{"key":"grok.output_tokens","label":"Grok (xAI) output tokens","unit":"mtok","aggregation":"sum"},{"key":"grok.cached_input_tokens","label":"Grok (xAI) cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"grok.embedding_tokens","label":"Grok (xAI) embedding tokens","unit":"mtok","aggregation":"sum"},{"key":"gork.input_tokens","label":"Gork input tokens","unit":"mtok","aggregation":"sum"},{"key":"gork.output_tokens","label":"Gork output tokens","unit":"mtok","aggregation":"sum"},{"key":"gork.cached_input_tokens","label":"Gork cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"gork.embedding_tokens","label":"Gork embedding tokens","unit":"mtok","aggregation":"sum"},{"key":"openai_compatible.input_tokens","label":"OpenAI-compatible host input tokens","unit":"mtok","aggregation":"sum"},{"key":"openai_compatible.output_tokens","label":"OpenAI-compatible host output tokens","unit":"mtok","aggregation":"sum"},{"key":"openai_compatible.cached_input_tokens","label":"OpenAI-compatible host cached input tokens","unit":"mtok","aggregation":"sum"},{"key":"openai_compatible.embedding_tokens","label":"OpenAI-compatible host embedding tokens","unit":"mtok","aggregation":"sum"},{"key":"openai_compatible.transcription_seconds","label":"Riddler transcription","unit":"second","aggregation":"sum"}],"endpoints":[{"group":"Channels","routes":[["GET","/v1/abil-channels","List channels (secrets masked; secrets_set booleans)"],["POST","/v1/abil-channels","Create channel (configuration encrypted at rest; a secret is never returned once stored). credential_source: abil (credentials kept in ABIL, the default where the provider takes any) or none (a public service). zero_rated: usage recorded, never billed. no_default_cap (AI channels and the handlers IP4X syncs only): no default monthly spend cap, for IP4X's channel sync. Auth: IP4X user with abil:channels:manage, OR X-ABIL-Service-Key of IP4X's connector key (consumer ip4x-connector) carrying channels:manage, for a handler IP4X syncs (else 403), in the key's tenant, with only code, name, handler, configuration and no_default_cap (else 403); refused 409 while the key holds 50 live channels; the channel then joins that key's channels"],["GET","/v1/abil-channels/:id","Get channel"],["PUT","/v1/abil-channels/:id","Update channel (omitted secrets preserved, unless a URL moves to another host: then every stored secret must be entered again; clear_secrets: [key] removes held ones by name, or holds one blank where configuration sends it empty). URL fields are https, and a fixed supplier's only on its own hosts. An AI channel's URL may be any http(s) host but cloud metadata or link-local, with no query or fragment (a private address is reached only where the operator allows it for the tenant), its key kept only while the URL stays on the supplier's own hosts; and `handler` may move an AI channel to another AI handler, with its key entered again and the rest of its configuration from the request (licensed for the new handler). Auth: IP4X user with abil:channels:manage, OR IP4X's connector key carrying channels:manage, for a channel on the key, of a handler IP4X syncs, in the key's tenant (another answers 404), with only code, name, handler and configuration (else 403), moved only to another such handler"],["DELETE","/v1/abil-channels/:id","Soft-delete channel. Auth: IP4X user with abil:channels:manage, OR IP4X's connector key carrying channels:manage, for a channel on the key, of a handler IP4X syncs, in the key's tenant (another answers 404)"],["GET","/v1/abil-channels/available-handlers","Provider catalog for this licence, narrowed to the tenant's audience"],["GET","/v1/abil-catalogue","The integrations this tenant is shown (its audience, plus any it already has a channel for, flagged in_audience: false), with categories, industries and use cases"]]},{"group":"Integration audiences (platform tenant, abil:channels:manage)","routes":[["GET","/v1/abil-admin/integrations","Every integration with its audience and use-case tags, hidden flag, version and suggested industries"],["PUT","/v1/abil-admin/integrations/:handler","Set {audiences?, use_cases?, hidden?, version}; version is the one read (409 if changed since). Audited"],["POST","/v1/abil-admin/integrations/bulk","Add or remove tags across integrations {handlers, field: audiences|use_cases, add?, remove?}"],["GET","/v1/abil-admin/tags","Segment and use-case vocabularies, with how often each is used"],["POST","/v1/abil-admin/tags","Add a tag {kind: segment|use_case, value, label, description?}"],["PUT","/v1/abil-admin/tags/:kind/:value","Rename a tag {label, description?}"],["DELETE","/v1/abil-admin/tags/:kind/:value","Delete a tag no integration or tenant uses"],["GET","/v1/abil-admin/tenants","Every tenant ABIL has met, with its region (from IP4X) and tags"],["PUT","/v1/abil-admin/tenants/:tenantId/tags","Replace a tenant's industry and segment tags {tags}"],["GET","/v1/abil-admin/tenants/:tenantId/catalogue","Preview the catalogue as that tenant sees it"],["GET","/v1/abil-admin/history","Every audience change, newest first: integration profiles, tenant tags and the tag vocabularies (?kind=integration|tenant|tag, ?subject, ?handler, ?limit)"],["GET","/v1/abil-admin/regions","Region quick picks: ABIL deployment regions and their countries"],["GET","/v1/abil-channels/handlers/:handler/schema","Configuration schema"],["GET","/v1/abil-channels/handlers/:handler/actions","Actions a handler exposes, with the parameters each takes where they are described"],["GET","/v1/abil-channels/:id/metrics","One channel in a period (?period=YYYY-MM, default the current one): calls, failures, success rate, response times, quantity and cost per metric and per day. Test calls counted apart"],["POST","/v1/abil-channels/:id/execute","Execute an action {action, params, disposition?, trace?} — records CDRs. Answers {data, price?}: data is the handler payload; price {amount_micros, currency, provisional: true} is the billable usage of the call at its IP4X product price (excl. tax) × quantity — provisional, as IP4X prices the month when it invoices; never supplier cost; absent when nothing billable was recorded, a SKU has no priced IP4X product, no service account reads it, or the products are priced in different currencies. trace: true (a signed-in operator only, never a service key) adds `trace`, the supplier requests the call made (method, host, path, status, time; no query, header or body), to the answer and to an error. Auth: IP4X user with abil:channels:execute, OR X-ABIL-Service-Key carrying channels:execute for this channel (disposition is always billable; customer_ref must be the key's consumer or beneath it). Idempotency-Key header replays the stored response; 429 cap_exceeded/float_exhausted (ABIL's own limits); 429 supplier_rate_limited or 503 supplier_unavailable when the supplier said so, with its Retry-After passed on; 428 when an action that must not repeat (a live Amber raise_alert) comes without an Idempotency-Key; 504 outcome_unknown after a vendor timeout, with or without an Idempotency-Key"]]},{"group":"Tenants below a product (TaskR's asks, docs/TASKR-ASKS.md)","routes":[["*","X-ABIL-On-Behalf-Of: <child tenant id>","ABIL-T3: on the setup routes (channels, consumers and keys, caps, billing bindings, service account, event receivers, events) a parent's staff act for a DIRECT child; IP4X confirms the parentage, anything else is a 404. Every other route answers 400 on_behalf_not_supported"],["GET","/v1/abil-ip4x/service-account","ABIL-T2: where licence reads by key sign in from (env | stored | shared) and the stored account, masked"],["PUT","/v1/abil-ip4x/service-account","ABIL-T2: hold the tenant's IP4X service account in ABIL {email, password}: proven against IP4X first (422 login_refused stores nothing), encrypted, never returned. No env change or redeploy per tenant"],["DELETE","/v1/abil-ip4x/service-account","ABIL-T2: forget it"],["GET","/v1/abil-ip4x/parent-key","ABIL-2: this parent's IP4X key held in ABIL (name, prefix, routes, last confirmed; never the key), whether an env directory key for it is used first, and the routes the key must be held to"],["PUT","/v1/abil-ip4x/parent-key","ABIL-2: hold the parent's IP4X API key {key}. IP4X GET /api-keys/me must say it is this tenant's own and held to GET /child-tenants/:id and GET /child-tenants/:id/license only (422 key_refused | key_wrong_tenant | key_unlimited | key_cannot_read_licence | key_too_wide stores nothing). It reads its direct children's licences and countries; a grandchild needs its own parent's key"],["POST","/v1/abil-ip4x/parent-key/check","ABIL-2: ask IP4X again who the stored key is; a refusal keeps the key and says why"],["DELETE","/v1/abil-ip4x/parent-key","ABIL-2: forget it; licence reads fall back to each child's own service account"],["POST","/v1/abil-channels/:id/shares","ABIL-F10: share a channel with a direct child {child_tenant_id}; the child executes it (its usage names the funder, both tenants' caps apply) and never reads it. 404 for a tenant that is not your child"],["GET","/v1/abil-channels/:id/shares","ABIL-F10: a channel's shares, live and revoked"],["DELETE","/v1/abil-channels/shares/:shareId","ABIL-F10: revoke; the next call by the child is refused"],["PUT","/v1/abil-event-receivers","ABIL-F01/T5: where events go {url, consumer_id?, secret?}: the tenant's default, or one consumer's. A generated secret is returned only here (docs/EVENTS.md)"],["GET","/v1/abil-event-receivers","Receivers, never their secrets"],["DELETE","/v1/abil-event-receivers/:id","Remove a receiver"],["GET","/v1/abil-events","Events (?state=queued|delivered|failed|dead&type=&limit=): message.delivered/failed/inbound/opt_out/opt_in, newest first"],["POST","/v1/abil-events/:id/redeliver","Queue an event again now"],["POST","/v1/abil-opt-outs/remove","ABIL-T6: lift a WhatsApp or SMS opt-out {channel_id, to, customer_ref?}: that consumer's, else every consumer's (the number is hashed, never stored)"]]},{"group":"Supplier webhooks (PUBLIC — the channel's webhook_secret is the credential)","routes":[["POST","/v1/abil-webhooks/:channelId/delivery","SMSPortal WhatsApp status receipts: SMSPortal's native bare array [{MessageId, Status, Timestamp…}] or {events:[…]} / {statuses:[…]} (1–500) → ingest_delivery through the executor; billable CDRs only for receipts that correlate to this channel's own send, priced at the category that send recorded. Auth: X-ABIL-Webhook-Secret (a custom header on the SMSPortal webhook) OR Authorization: Basic base64(<any user>:<webhook_secret>) — never path, query or body. 200 {data:{received, delivered, failed, ignored, malformed, cdr_uncorrelated?}}; every refusal (no/wrong secret, unknown, deleted, inactive or non-smsportal channel) the same 401 + WWW-Authenticate: Basic; 400 validation for a malformed batch; 429 per source IP (ABIL_WEBHOOK_RATE_PER_MIN)"]]},{"group":"CDRs (metering spine)","routes":[["GET","/v1/abil-cdrs/metrics","Metric registry"],["POST","/v1/abil-cdrs","Record a CDR (idempotent via client_reference)"],["GET","/v1/abil-cdrs","Query CDRs (period, metric_key, product_sku, handler, channel or abil_channel_id, client_reference, disposition, include_shared…)"],["GET","/v1/abil-cdrs/summary/:period","Per-metric aggregates for a period"]]},{"group":"Cost rates (ABIL holds cost only — the customer price lives on the IP4X Product)","routes":[["GET","/v1/abil-rates","Cost rate cards (negative = commission earned)"],["POST","/v1/abil-rates","Create a cost rate (effective-dated; supersede, never edit)"],["POST","/v1/abil-rates/:id/close","End-date a rate"],["POST","/v1/abil-rates/rate-period/:period","Rating pass (?reRate=true for month-end whole-volume correction)"]]},{"group":"SKU mapping (cost ↔ IP4X Product — see docs/SKU-CONTRACT.md)","routes":[["GET","/v1/abil-sku-map","(metric_key, service_code) → product SKU"],["POST","/v1/abil-sku-map","Add a mapping (effective-dated; supersede, never edit)"],["POST","/v1/abil-sku-map/:id/close","End-date a mapping"],["DELETE","/v1/abil-sku-map/:id","Soft-delete a mapping"],["POST","/v1/abil-sku-map/restamp/:period","Re-resolve SKUs on a period (409 once pushed)"],["GET","/v1/abil-sku-map/coverage/:period","Mapped vs still on the metric-key fallback"]]},{"group":"Consumers & service keys","routes":[["GET","/v1/abil-consumers","Consumer registry (a per-tenant tree)"],["POST","/v1/abil-consumers","Register a consumer (optional parent_id = tree edge)"],["PUT","/v1/abil-consumers/:id","Update a consumer {name?, notes?, is_active?} — is_active: true reactivates one a blocking cap switched off"],["POST","/v1/abil-consumers/:id/keys","Issue a service key {name?, scopes?: [ingest|usage|billing|channels:execute|accounting|channels:manage|accounting:read] (billing needs abil:periods:manage; channels:manage needs abil:channels:manage and goes only on the ip4x-connector consumer's key, beside channels:execute; accounting and accounting:read need abil:xero:map, each on a key and a consumer of its own, accounting bound to ledgers ABIL posts to, accounting:read to ledger channels), allowed_channel_ids? (required with channels:execute, accounting or accounting:read), allowed_models? (on its AI channels, the only models a call may name; the first runs when a call names none)} — secret shown once"],["PUT","/v1/abil-consumers/keys/:keyId/models","Change a live key's allowed models {allowed_models: [model…] | null} — null lifts the limit; the secret is unchanged. Needs abil:channels:execute as well as abil:consumers:manage"],["PUT","/v1/abil-consumers/keys/:keyId/channels","Replace a live execute or accounting key's channels {allowed_channel_ids: [id…] (1..50, 1..1000 on IP4X's connector key, this tenant's)} — checked as at issue, a channel deleted since it was on the key dropped, and on a channels:manage key a live channel the key created itself kept; the secret is unchanged. Needs abil:consumers:manage and the issuer bar for the key's scopes (abil:channels:execute, abil:xero:map for accounting). IP4X's connector key (consumer ip4x-connector, scopes [channels:execute] or [channels:execute, channels:manage]) is also kept, with this and the other registry calls IP4X makes for it, by abil:channels:manage + abil:channels:execute (docs/OPERATIONS.md). Creating the ip4x-connector consumer, or issuing, re-pointing, limiting or revoking a key on it, also needs IP4X's platform key (X-IP4X-Platform-Key) whoever calls; issuing one replaces the live one, and it binds only the channels IP4X syncs"],["DELETE","/v1/abil-consumers/keys/:keyId","Revoke a service key"],["GET","/v1/abil-caps","Usage / spend caps (?scope=channel|consumer|tenant&scope_id=)"],["GET","/v1/abil-caps/usage","Caps with the current window's used vs limit, percentage and, on an ATSC-paid cap, the month by original currency"],["GET","/v1/abil-caps/atsc-paid","The tenant's cap on the ATSC-paid usage it causes, and its USD 300 ceiling (or IP4X's key for it)"],["PUT","/v1/abil-caps/atsc-paid","Set it: { limit_value, currency }, 0 up to the USD 300 equivalent (or IP4X's key for it)"],["POST","/v1/abil-caps","Create a cap {scope, scope_id?, metric_key?, service_code? (on an AI channel the model: only its calls count), kind: quantity|cost (a quantity cap on a token metric counts tokens), window: day|period, limit_value, currency?, soft_pct?, action: block|warn}"],["DELETE","/v1/abil-caps/:id","Remove a cap"],["GET","/v1/abil-services","Service groups: one service, several providers"],["GET","/v1/abil-services/status","Members in cost order + the margin verdict per service (?code=)"],["POST","/v1/abil-services","Create a service {code, name, product_sku, margin_floor_pct?=10}"],["PUT","/v1/abil-services/:code","Update a service (name, product_sku, margin_floor_pct 0–95 as a margin on price, is_active, notes)"],["DELETE","/v1/abil-services/:code","Remove a service"],["POST","/v1/abil-services/:code/members","Add a provider {abil_channel_id, action, metric_key, service_code?}"],["DELETE","/v1/abil-services/members/:id","Remove a provider"],["POST","/v1/abil-services/:code/execute","Run the service: margin floor (409 margin_breach; 503 margin_unverified), then cheapest live provider first, failover on supplier failure (a supplier's 429 or 503 included); 429 on the caller's own cap; 502 when all fail; 504 outcome_unknown when a transactional provider times out. Answers {data, price?, served_by, attempts}, price as on channel execute (the IP4X product price, provisional). Same auth, Idempotency-Key and service-key rules as channel execute; no supplier cost in the response"],["POST","/v1/abil-ingest","Consumer usage ingest — auth by X-ABIL-Service-Key; customer_ref from the key, not the body"]]},{"group":"Periods & the pull read API","routes":[["GET","/v1/abil-periods/:period","Period status (open | rated | sealed)"],["POST","/v1/abil-periods/:period/seal","Seal a period — the read API then serves it"],["POST","/v1/abil-periods/:period/reopen","Audited reopen (reason required) -> rated"],["GET","/v1/usage","PULL: sealed rated usage per consumer per SKU, each line with the consumer ip4x_customer_id; auth by service key (usage or billing scope), scoped to the caller subtree. Only a billing key claims the month for the pull (the legacy push is then refused); a usage read claims nothing"]]},{"group":"Reports (manual recon)","routes":[["GET","/v1/abil-reports/supplier/:period","Supplier usage/cost by metric (+ flat-fee amortisation) — ?format=csv"],["GET","/v1/abil-reports/billing/:period","What the next usage push will claim, per customer per SKU — ?format=csv"],["GET","/v1/abil-reports/tenant/:period","Tenant cost by SKU / customer / metric — ?format=csv"]]},{"group":"Ledger & waterfall (all configuration)","routes":[["GET","/v1/abil-ledger/parties","Party registry"],["POST","/v1/abil-ledger/parties","Create party"],["GET","/v1/abil-ledger/schemes","Split schemes with lines"],["POST","/v1/abil-ledger/schemes","Create effective-dated waterfall scheme"],["POST","/v1/abil-ledger/allocate/:period","Allocate rated CDRs to ledger entries + float draws"],["GET","/v1/abil-ledger/report/:period","Party totals for a period"],["GET","/v1/abil-ledger/floats","Float balances per channel"],["POST","/v1/abil-ledger/float-events","Record top-up/adjustment"]]},{"group":"Xero connection & mapping (docs/XERO-INTEGRATION.md — 503 xero_not_configured until XERO_CLIENT_ID is set)","routes":[["GET","/v1/abil-xero/status","Every Xero channel: organisation, legal name, base currency, status, last sync, last error, call-budget usage"],["POST","/v1/abil-xero/connect","Start a connection {abil_channel_id} → {authorize_url} (one-time, 5 minutes; abil:xero:connect)"],["GET","/v1/abil-xero/authorize","PUBLIC browser leg (?ticket=): sets the HttpOnly nonce cookie and 302s to Xero"],["GET","/v1/abil-xero/callback","PUBLIC: Xero redirects here; 302 to XERO_RETURN_URL?xero=choose|error&xero_state=… (never tokens)"],["POST","/v1/abil-xero/webhook","PUBLIC: Xero webhook (G-14). x-xero-signature = base64 HMAC-SHA256 of the raw body with XERO_WEBHOOK_KEY; 200 valid / 401 not, empty body"],["GET","/v1/abil-xero/pending/:stateId","Organisations this approval returned (name, legal name, VAT number, currency, demo flag, already bound elsewhere)"],["POST","/v1/abil-xero/confirm","Bind one organisation to the channel {state_id, xero_tenant_id}; the others from that approval are disconnected"],["POST","/v1/abil-xero/:channelId/disconnect","Stop posting: remove the connection at Xero and revoke the grant once nothing uses it (posted documents stay in Xero)"],["GET","/v1/abil-xero/:channelId/mappings","Tax label → TaxType, revenue key → account code, clearing account, sundry contact name"],["PUT","/v1/abil-xero/:channelId/mappings","Upsert mappings {entries:[{kind: tax|account|setting|item|tracking, source_key, xero_value}]} (tracking: \"category/option\" both sides); empty xero_value removes (abil:xero:map)"],["GET","/v1/abil-xero/:channelId/options","Live ACTIVE revenue/payment accounts and sales tax rates from the organisation (spends Xero calls)"],["POST","/v1/abil-xero/:channelId/validate","Check every mapping against the live organisation → {ok, problems, warnings}"]]},{"group":"Accounting documents (canonical format → the tenant's ledger, Xero or Odoo: docs/LEDGER-PROVIDERS.md). A channel takes its ledger's licence key (abil:xero, abil:odoo, abil:sage); 503 <handler>_not_configured (xero_not_configured) while its ledger is not configured. Odoo takes invoice, credit_note, payment and void (any other kind is refused per document, kind_unsupported), only once its mapping has been validated (409 ledger_not_connected until then), and answers 501 on drift and reconcile. A ledger ABIL only reads answers 422 posting_unsupported on documents in, preview, sync, drift and reconcile, and queues nothing","routes":[["POST","/v1/abil-accounting/:channelId/documents","Queue up to 500 canonical documents {source, documents[]} → 202. Auth: X-ABIL-Service-Key with the accounting scope for this channel, OR an IP4X user with abil:xero:map"],["POST","/v1/abil-accounting/:channelId/preview","Render the payloads these documents would become in the channel's ledger (Xero, or Odoo with provider and body) — nothing queued, nothing sent"],["GET","/v1/abil-accounting/:channelId/documents","Outbox and ID map (?state=queued|synced|exception|blocked&kind=contact|contact_update|invoice|credit_note|allocation|payment|overpayment|credit_allocation|void|attachment|journal|settlement_transfer|settlement_fee|refund|bill|bill_credit|bill_allocation|bill_payment|batch_payment). Each row names its provider and the ledger's external_id and external_number; xero_id and xero_number are deprecated aliases of those two"],["POST","/v1/abil-accounting/documents/:id/retry","Re-queue an exception after fixing its cause"],["POST","/v1/abil-accounting/documents/:id/resolve","Settle a doubt only a person can (settlement_possible_duplicate, settlement_fee_voided_in_xero, journal_voided_in_xero): {action: adopt, xero_id} or {action: post_anyway} (abil:xero:map)"],["POST","/v1/abil-accounting/:channelId/sync","Post this channel's due documents now instead of on the worker's next tick"],["POST","/v1/abil-accounting/:channelId/drift","Check now for documents ABIL posted that were changed or voided in Xero (flags, never reverts; spends Xero calls)"],["GET","/v1/abil-accounting/:channelId/reconcile/:period","ABIL net revenue per Xero account code beside Xero's own Profit and Loss for the month (reads Xero: chart of accounts + one report; accounting.reports.profitandloss.read, or the broad accounting.reports.read an older grant carries until 13 Sept 2027) (G-11)"],["GET","/v1/abil-accounting/:channelId/events","What ABIL concluded of payments entered in the ledger against invoices it posted (payment.recorded_externally): from Xero's webhooks (G-14), or from polling Odoo (every ABIL_LEDGER_POLL_INTERVAL_MS, 5 min; docs/ODOO.md), in the same shape, by cursor: ?after=<seq>&limit=. Each event names its provider (xero, odoo), external_id and external_status (Xero: the invoice's Status; Odoo: its payment_state); xero_id and xero_status are deprecated aliases of those two"],["GET","/v1/abil-accounting/:channelId/tie-out/:period","Month-end tie-out (YYYY-MM): what ABIL posted vs what the organisation holds, one currency at a time (?currency=, default the base currency)"],["GET","/v1/abil-accounting/:channelId/mappings","The channel's mapping, whatever its ledger → [{kind, source_key, value, updated_by, updated_at}] (Xero: the /abil-xero mapping, xero_value as value; Odoo: tax → account.tax id, account → account code, setting sales_journal | payment_journal | payment_method_line | sundry_contact_name, item → product.product id)"],["PUT","/v1/abil-accounting/:channelId/mappings","Upsert {entries:[{kind, source_key, value}]} (the provider's kinds; an empty value removes; abil:xero:map)"],["GET","/v1/abil-accounting/:channelId/mappings/options","What the mapping may name, read from the ledger (Odoo: sales taxes, income accounts, sales and bank/cash journals, inbound payment methods, products; Xero: its options)"],["POST","/v1/abil-accounting/:channelId/mappings/validate","Check the mapping against the live ledger → {ok, problems, warnings}; an Odoo channel's company and currencies are recorded by it (documents are refused, 409 ledger_not_connected, until it has run)"]]},{"group":"Ledger reads (the tenant's books read back, Odoo 18+, Xero, Sage Accounting South Africa and Sage Accounting v3.1 (UK, IE, CA): docs/LEDGER-PROVIDERS.md, docs/ODOO.md, docs/XERO-INTEGRATION.md, docs/SAGE-ZA.md, docs/SAGE-ACCOUNTING.md). The same shapes whatever the ledger: provider, currency (the company's), minor_units, amounts as *_minor integers, ids as strings. One company (the channel's company_id, else the bot user's), posted entries only. Auth: X-ABIL-Service-Key with the accounting:read scope for this channel, OR an IP4X user with abil:xero:map; the channel's ledger licence key. A ledger without reads answers 501 ledger_reads_unsupported, one without a given read 501 ledger_read_unsupported; Xero: 409 scope_missing when the grant lacks a read's scope, 422 xero_trial_balance_range_unsupported for a trial balance with from, xero_rate_limited, xero_access_denied, xero_error; Sage v3.1: sage_not_connected, sage_needs_reconnect, sage_access_denied, sage_rate_limited; a paused channel 409 channel_inactive; ABIL_LEDGER_READS_PER_CHANNEL_PER_MIN per channel (429 throttled). The ledger's failures: odoo_auth_failed, odoo_access_denied, odoo_https_required, odoo_egress_refused, odoo_redirect_refused, odoo_unreachable, odoo_timeout, odoo_version_unsupported, odoo_error; sage_auth_failed (the channel stops: sage_needs_attention until its credentials change), sage_rate_limited, sage_backing_off, sage_daily_budget, sage_busy (429s with detail.retry_after_sec), sage_foreign_currency, sage_unreachable, sage_timeout, sage_error (docs/SAGE-ZA.md). Lists page with ?cursor (next_cursor; null on the last page) and ?limit (default 100, at most 500)","routes":[["POST","/v1/abil-accounting/:channelId/ledger/test","Test the connection → {provider, ok, server_version, api (Odoo: jsonrpc|json2; Sage ZA: sage_za_v2, server_version 2.0.0), company {id, name}, currency, minor_units}. No secrets"],["GET","/v1/abil-accounting/:channelId/ledger/trial-balance","?to=YYYY-MM-DD&from= (from omitted: everything posted up to to) → {accounts: [{account_id, code, name, type, debit_minor, credit_minor, balance_minor}], totals}"],["GET","/v1/abil-accounting/:channelId/ledger/accounts","The chart of accounts → {accounts: [{account_id, code, name, type}], next_cursor}"],["GET","/v1/abil-accounting/:channelId/ledger/revenue","?from&to&by=customer|item → {rows: [{id, name, code?, category?, amount_minor}], total_minor}: untaxed, signed (a credit note reduces it), on the accounting date"],["GET","/v1/abil-accounting/:channelId/ledger/open-items","?side=receivable|payable → {items: [{item_id, number, reference, kind, partner_id, partner_name, date, due_date, total_minor, residual_minor}], next_cursor}"],["GET","/v1/abil-accounting/:channelId/ledger/bank-lines","?from&to → {lines: [{line_id, date, amount_minor, currency, partner_id, partner_name, reference, journal, reconciled}], next_cursor}: each line in its bank account's currency"],["GET","/v1/abil-accounting/:channelId/ledger/customers","→ {customers: [{customer_id, name, reference, tax_number, is_company, country}], next_cursor}"],["GET","/v1/abil-accounting/:channelId/ledger/items","→ {items: [{item_id, code, name, category, type}], next_cursor}"],["GET","/v1/abil-accounting/:channelId/ledger/journal-lines","?from&to (ABIL-30) → {lines: [{line_id, entry_id, entry_number, date, account_id, account_code, account_name, description, reference, partner_id, partner_name, debit_minor, credit_minor, source_type}], next_cursor}: posted journal lines in the company's currency (Odoo account.move.line; Xero Journals, which need accounting.journals.read; Sage ZA DetailedLedgerTransaction, entry_id null; Sage v3.1 ledger_entries). Xero pages by journal number with no date filter: a page may be empty with a next_cursor"],["POST","/v1/abil-accounting/:channelId/sage/connect","{business_id?} → {authorize_url, expires_at}: Sage Accounting v3.1 (UK, IE, CA; handler sage_accounting) is connected by OAuth on Sage's site; the business named, else the Sage user's lead business (abil:xero:map; docs/SAGE-ACCOUNTING.md)"],["GET","/v1/abil-sage/callback","Sage's OAuth redirect (public: the single-use state is the credential); sends the browser to SAGE_ACCOUNTING_RETURN_URL with ?sage=connected|error&reason="]]},{"group":"Privacy (regimes, agreements register, record of processing)","routes":[["GET","/v1/abil-privacy/regimes","Regime profiles (POPIA, GDPR / UK GDPR, HIPAA) and the regimes this deployment is cleared for (ABIL_PRIVACY_REGIMES)"],["GET","/v1/abil-privacy/record","Record of processing for the tenant (GDPR Art. 30(2)): each channel's supplier, data, governing regimes, agreements in force and gaps. The platform may pass ?tenant_id"],["GET","/v1/abil-privacy/agreements","The agreements register (?include_revoked=true). A tenant sees its own; the platform sees all or ?tenant_id"],["POST","/v1/abil-privacy/agreements","Record an agreement {tenant_id, party: tenant|supplier, regime, handler (supplier only), reference, signed_on, expires_on?}. Platform tenant only"],["POST","/v1/abil-privacy/agreements/:id/revoke","Revoke {reason}; the row stays as history. Platform tenant only"]]},{"group":"Tenant settings (the platform operator's, per tenant)","routes":[["GET","/v1/abil-tenant-settings/:tenantId","{ ai_private_hosts, private_host_channels: [{ channel_id, origin }] }. A tenant reads its own; the platform any"],["PUT","/v1/abil-tenant-settings/:tenantId","{ ai_private_hosts: boolean }: an AI channel's base_url may reach a private address. Platform tenant only"],["PATCH","/v1/abil-tenant-settings/:tenantId/private-host-channels","{ add?: uuid[], remove?: uuid[] }: approve the tenant's self-hosted channels (a region's own Nominatim and Valhalla) for private egress at their base_url's origin, or withdraw approvals; never the whole list. Platform tenant only"]]},{"group":"Billing binding (SKU + customer → IP4X account item)","routes":[["GET","/v1/abil-billing/bindings","(product_sku, customer_ref) → IP4X account item"],["POST","/v1/abil-billing/bindings","Create binding"],["DELETE","/v1/abil-billing/bindings/:id","Remove binding"],["POST","/v1/abil-billing/push/:period","Push counts-only usage to IP4X partner ingest"]]}]}