ares_export_for_invoicing
Transform a Czech company's ARES profile into a ready-to-use payload for Fakturoid, iDoklad, or Pohoda, filling identification and address fields for invoicing.
Instructions
Transform an ARES company profile into a payload ready for a Czech invoicing system: Fakturoid (JSON), iDoklad (JSON), or Pohoda (XML-hint JSON). Pure data transformation — no calls to the target system. The result is a paste-ready or post-ready object that fills the identification + address fields; the caller adds contact, bank and pricing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ico | Yes | Czech IČO of the entity to export. | |
| target | Yes | Invoice-system target format. `fakturoid` returns a JSON shape ready to POST to https://app.fakturoid.cz/api/v3/{slug}/subjects.json. `idoklad` returns a JSON shape compatible with https://api.idoklad.cz Contact endpoint. `pohoda` returns an XML-hint JSON that maps onto Pohoda's `<dat:address>` element in its mServer / XML export schemas. |