Contents
Get French Fiscal Status - Plugixa POS for WooCommerce
GET /plugixa-pos/v1/fiscal/france
Where each register stands for the French cash register rules as the plugin implements them: the signing key, the last journal verification, the closed months and years not yet archived, and the business identity used on the attestation.
Needs a user with the plugixa_pos_fiscal_audit capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; other roles only when you grant it.
Request
GET https://your-site.example/wp-json/plugixa-pos/v1/fiscal/france
Responses
200 OK.
{
"success": true,
"data": {
"enabled": true,
"country": "FR",
"key": {
"active": "4232bfeb57db94fe",
"keys": [
{
"kid": "4232bfeb57db94fe",
"source": "option",
"created_at": "2026-11-18T12:24:23+00:00"
}
],
"file_configured": false
},
"registers": [
{
"id": 1,
"code": "R1",
"name": "Front counter",
"last_verification": {
"ok": true,
"at": "2026-11-18 13:12:21"
},
"missing_archives": []
},
{
"id": 3,
"code": "R3",
"name": "Lyon counter",
"last_verification": null,
"missing_archives": [
{
"period": "month",
"period_key": "2026-10"
}
]
}
],
"archives": 2,
"identity": {
"company": "Maison Plugixa",
"legal_form": "SAS",
"siren": "123456789",
"address": "12 rue des Archives",
"city": "75004 Paris"
},
"identity_ok": true,
"editor_ok": false,
"version": "1",
"attestation_url": "https://your-site.example/wp-admin/admin-post.php?action=plugixa_pos_fr_attestation&_wpnonce=89c8506a53"
}
}
| Field | Type | Meaning |
|---|---|---|
data.key |
object |
Signing keys: the active key id, each key’s source, and whether a key file is set |
data.registers[].last_verification |
object|null |
Result and time of the last Verify Journal |
data.registers[].missing_archives |
object[] |
Closed months and years without an archive |
data.identity |
object |
Your business: company, legal_form, siren, address, city |
data.editor_ok |
boolean |
The software editor’s identity is filled in; until then the attestation prints as a draft |
data.attestation_url |
string |
Opens the attestation page in wp-admin (needs plugixa_pos_manage_settings) |
Errors
This endpoint has no errors of its own.
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-pos/v1/fiscal/france" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-pos/v1/fiscal/france');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => getenv('WP_USER') . ':' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-pos/v1/fiscal/france', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share