curl --request POST \
--url https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "SLIK",
"reportingYear": 2025,
"webhookUrl": "https://example.com/mai55/webhook"
}
'import requests
url = "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions"
payload = {
"type": "SLIK",
"reportingYear": 2025,
"webhookUrl": "https://example.com/mai55/webhook"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'SLIK',
reportingYear: 2025,
webhookUrl: 'https://example.com/mai55/webhook'
})
};
fetch('https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'SLIK',
'reportingYear' => 2025,
'webhookUrl' => 'https://example.com/mai55/webhook'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions"
payload := strings.NewReader("{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}"
response = http.request(request)
puts response.read_body{
"submissionId": "6f1b0c1e-6c0b-4c39-9a2e-1d9d2f0f7a11",
"type": "SLIK",
"kind": "SUBMISSION"
}{
"submissionId": "<string>",
"type": "SLIK",
"kind": "SUBMISSION"
}{
"submissionId": "<string>",
"type": "SLIK",
"kind": "SUBMISSION"
}Open a submission
Open a reporting batch for one sub-report and reporting year.
curl --request POST \
--url https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "SLIK",
"reportingYear": 2025,
"webhookUrl": "https://example.com/mai55/webhook"
}
'import requests
url = "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions"
payload = {
"type": "SLIK",
"reportingYear": 2025,
"webhookUrl": "https://example.com/mai55/webhook"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'SLIK',
reportingYear: 2025,
webhookUrl: 'https://example.com/mai55/webhook'
})
};
fetch('https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'SLIK',
'reportingYear' => 2025,
'webhookUrl' => 'https://example.com/mai55/webhook'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions"
payload := strings.NewReader("{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rrc.dev.finventi.com/reports/mai55/v1/submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"SLIK\",\n \"reportingYear\": 2025,\n \"webhookUrl\": \"https://example.com/mai55/webhook\"\n}"
response = http.request(request)
puts response.read_body{
"submissionId": "6f1b0c1e-6c0b-4c39-9a2e-1d9d2f0f7a11",
"type": "SLIK",
"kind": "SUBMISSION"
}{
"submissionId": "<string>",
"type": "SLIK",
"kind": "SUBMISSION"
}{
"submissionId": "<string>",
"type": "SLIK",
"kind": "SUBMISSION"
}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Open a MAI55 submission for one sub-report and one reporting year
Which sub-report this submission carries. It fixes which data endpoint accepts pushes under the returned submission id. Only the three MAI55 sub-reports are accepted; any other ReportType is rejected.
SIPL, SLIK, SKIS "SLIK"
Calendar year the data is reported for. If nothing has been reported for this report and year yet a submission is opened; if it has already been reported a correction is opened instead.
2016 <= x <= 21002025
Optional webhook URL. When the submission finishes processing it is called with a POST carrying the final status: ACCEPTED or REJECTED.
1024"https://example.com/mai55/webhook"
Response
Submission or correction opened
Handle of an opened submission
Submission id, scopes all subsequent calls
Which sub-report this submission carries
SIPL, SLIK, SKIS "SLIK"
Whether the reporting year was opened as a submission or as a correction of it
SUBMISSION, CORRECTION