Skip to main content

confirm_check_reconciliation

PostgREST stored procedure — POST /rest/v1/rpc/confirm_check_reconciliation.

These are SECURITY DEFINER functions granted only to the service role (execute is revoked from anon/authenticated). They bypass table RLS and enforce their own company_id and status checks internally, so call them server-side with the service-role key:

const { data, error } = await supabase.rpc('confirm_check_reconciliation', { p_actor, p_applications, p_check_id, p_company_id });

Arguments

ArgumentTypeRequired
p_actoruuidyes
p_applicationsjsonbyes
p_check_iduuidyes
p_company_iduuidyes

Generated from specs/supabase.json. The function's behaviour is defined by its SQL migration; this page documents its call signature only.