cid-erp-api

Perform CRUD operations on CID ERP records via REST API with Odoo domain filters.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill cid-erp-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cid-erp-api
Source: https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills/tree/main/cid-api
Command: npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill cid-erp-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the problem of integrating with CID ERP data without manually figuring out the correct REST endpoints, authentication headers, URL structure, and Odoo domain syntax.

Core Features & Use Cases

  • ERP CRUD via REST: Read (getters/search_get), filter IDs (search), create, update, and delete records in CID ERP.
  • Correct request construction: Build CID endpoint URLs using the Base64-encoded database name and fixed path constants.
  • Odoo domain filtering: Write Odoo-style domain expressions to target the exact accounting documents or business objects you need.
  • Authentication-ready workflows: Load CID_API_BASE and CID_TOKEN from the local credentials file and send Bearer auth headers on every request.
  • Use cases: Retrieve posted invoices and accounting journal lines, sync partners and accounting masters, or automate ERP-driven workflows like reading and generating accounting exports.

Quick Start

Ask: "Using CID ERP API, fetch all posted customer invoices from account.move for the last 30 days with id, name, date, partner_id, and amount_total, and format the result as JSON."

Frequently Asked Questions about cid-erp-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate HTTP requests to an Odoo REST API?

To authenticate Odoo REST API requests, load your `CID_TOKEN` from local credentials and send it in the Authorization header as a Bearer token on every HTTP request to ensure secure access.

How do I filter accounting invoices using Odoo domain expressions?

Filtering accounting invoices via Odoo domain expressions involves writing Odoo-style syntax to target exact business objects. You pass these domain expressions in the request body using the search_get function to retrieve specific relational data.

How do I construct a CID ERP endpoint URL for data integration?

Constructing a CID ERP endpoint URL requires your database name encoded in Base64 and fixed path constants. Combine these with the `CID_API_BASE` environment variable to form the correct endpoint for your HTTP requests.

Can I perform CRUD operations on Odoo accounting records via REST?

Yes, you can perform CRUD operations on Odoo accounting records via REST. The workflow supports reading single or relational data with search_get, and executing create, update, and delete operations for selected models.

What is the expected request body schema for Odoo REST API search_get?

The expected request body schema for Odoo REST API search_get must match the `data_to_fetch` schema. This structure defines the fields and domain expressions needed to retrieve your specific accounting records correctly.