---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Mobile Message + CII & UBL by InvoiceXML Integrations: Connect with Zapier MCP
> zapier.com/apps/mobile-message-ca21345/integrations/cii-ubl-by-invoicexml
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Mobile Message and CII & UBL by InvoiceXML in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `mobile-message-ca21345` and `cii-ubl-by-invoicexml`, then `enable_zapier_action`. If Mobile Message or CII & UBL by InvoiceXML isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Convert CII to UBL is enabled, call `cii_ubl_by_invoicexml_convert_cii_to_ubl`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "cii-ubl-by-invoicexml", owner: "me" });

const { data } = await zapier.runAction({
  app: "cii-ubl-by-invoicexml",
  actionType: "write",
  action: "convertCiiToUbl",
  connection: connection.id,
  inputs: {
    file: "", // CII XML File
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action cii-ubl-by-invoicexml write convertCiiToUbl \
  --inputs '{"file":""}'
```

## Mobile Message

### Identity
Instantly send an SMS to any Australian mobile phone number, using your Mobile Message account.

- App slug: mobile-message-ca21345
- Operations published here: 17 (2 events, 13 functions, 2 queries)

### Authentication
Zapier connects to Mobile Message via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection mobile-message-ca21345
```

### Capabilities

#### Events (2)

Events fire when something happens in Mobile Message. Use them to start a run.

##### New SMS Delivery Status
Triggers when an SMS delivery status changes (delivered or failed).

- Type: read · Key: `delivery_status`
- Requires: nothing
- MCP tool: `mobile_message_new_sms_delivery_status` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "read", action: "delivery_status" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 read delivery_status`

##### New Inbound SMS
Triggers when an inbound SMS is received.

- Type: read · Key: `inbound_sms`
- Requires: nothing
- MCP tool: `mobile_message_new_inbound_sms` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "read", action: "inbound_sms" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 read inbound_sms`

#### Functions (13)

Functions change something in Mobile Message.

##### Add Contact to List
Adds a contact to a contact list.

- Type: write · Key: `add_contact_to_list`
- Requires: list_id
- Optional: contact_id, number
- MCP tool: `mobile_message_add_contact_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "add_contact_to_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write add_contact_to_list`

##### Add Unsubscribe
Adds a phone number to your unsubscribe (opt-out) list.

- Type: write · Key: `add_unsubscribe`
- Requires: number
- MCP tool: `mobile_message_add_unsubscribe` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "add_unsubscribe" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write add_unsubscribe`

##### Cancel Scheduled Message
Cancels a scheduled message and refunds the credits.

- Type: write · Key: `cancel_message`
- Requires: nothing
- Optional: message_id, custom_ref
- MCP tool: `mobile_message_cancel_scheduled_message` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "cancel_message" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write cancel_message`

##### Create Contact
Creates a new contact in your Mobile Message address book.

- Type: write · Key: `create_contact`
- Requires: number
- Optional: first_name, last_name, company, other
- MCP tool: `mobile_message_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write create_contact`

##### Create Contact List
Creates a new contact list.

- Type: write · Key: `create_list`
- Requires: name
- MCP tool: `mobile_message_create_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "create_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write create_list`

##### Delete Contact
Deletes a contact from your Mobile Message address book.

- Type: write · Key: `delete_contact`
- Requires: contact_id
- MCP tool: `mobile_message_delete_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "delete_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write delete_contact`

##### Delete Contact List
Deletes a contact list (does not delete the contacts themselves).

- Type: write · Key: `delete_list`
- Requires: list_id
- MCP tool: `mobile_message_delete_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "delete_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write delete_list`

##### Remove Contact From List
Removes a contact from a contact list.

- Type: write · Key: `remove_contact_from_list`
- Requires: list_id
- Optional: contact_id, number
- MCP tool: `mobile_message_remove_contact_from_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "remove_contact_from_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write remove_contact_from_list`

##### Remove Unsubscribe
Removes a phone number from your unsubscribe (opt-out) list.

- Type: write · Key: `remove_unsubscribe`
- Requires: number
- MCP tool: `mobile_message_remove_unsubscribe` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "remove_unsubscribe" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write remove_unsubscribe`

##### Rename Contact List
Renames an existing contact list.

- Type: write · Key: `rename_list`
- Requires: list_id, name
- MCP tool: `mobile_message_rename_contact_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "rename_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write rename_list`

##### Send SMS
Sends an SMS message

- Type: write · Key: `sendSMS`
- Requires: to, sender, message
- Optional: custom_ref, enable_unicode, max_parts, scheduled_for, ignore_unsubscribes
- MCP tool: `mobile_message_send_sms` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "sendSMS" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write sendSMS`

##### Send SMS to List
Sends a templated SMS to all contacts in a contact list.

- Type: write · Key: `send_sms_to_list`
- Requires: list_id, sender, message
- Optional: custom_ref, enable_unicode, max_parts, scheduled_for, ignore_unsubscribes
- MCP tool: `mobile_message_send_sms_to_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "send_sms_to_list" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write send_sms_to_list`

##### Update Contact
Updates an existing contact by contact ID.

- Type: write · Key: `update_contact`
- Requires: contact_id
- Optional: number, first_name, last_name, company, other
- MCP tool: `mobile_message_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 write update_contact`

#### Queries (2)

Queries read from Mobile Message and return data. They change nothing.

##### Find Contact
Finds a contact by phone number.

- Type: search · Key: `find_contact`
- Requires: number
- MCP tool: `mobile_message_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 search find_contact`

##### Find Message
Finds a sent or scheduled message by message ID or custom reference.

- Type: search · Key: `find_message`
- Requires: message_id
- Optional: custom_ref
- MCP tool: `mobile_message_find_message` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "mobile-message-ca21345", actionType: "search", action: "find_message" })`
- CLI: `npx zapier-sdk run-action mobile-message-ca21345 search find_message`

## CII & UBL by InvoiceXML

### Identity
CII & UBL by InvoiceXML is an e-invoice compliance service for creating, converting, validating, and extracting CII and UBL formats behind Peppol and Factur-X

- App slug: cii-ubl-by-invoicexml
- Operations published here: 21 (21 functions)

### Authentication
Zapier connects to CII & UBL by InvoiceXML via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection cii-ubl-by-invoicexml
```

### Capabilities

#### Functions (21)

Functions change something in CII & UBL by InvoiceXML.

##### Convert CII to UBL
Translates a UN/CEFACT CII invoice XML into a standards-compliant UBL 2.1 XML document, enabling interoperability between systems that use different e-invoice formats.

- Type: write · Key: `convertCiiToUbl`
- Requires: file
- Optional: filename, profile, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_convert_cii_to_ubl` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "convertCiiToUbl" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write convertCiiToUbl`

##### Convert UBL to CII
Transforms a UBL 2.1 invoice XML into a UN/CEFACT CII XML document, bridging compatibility between PEPPOL-based systems and CII-native accounting platforms.

- Type: write · Key: `convertUblToCii`
- Requires: file
- Optional: filename, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_convert_ubl_to_cii` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "convertUblToCii" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write convertUblToCii`

##### Create CII Invoice
Produces a UN/CEFACT Cross-Industry Invoice (CII) XML document from structured billing data, ready for submission through any EN16931-compliant e-invoicing channel.

- Type: write · Key: `createCii`
- Requires: invoiceNumber, issueDate, paymentDueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, paymentMeansCode
- Optional: showAdvanced, buyerTaxId, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_cii_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "createCii" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write createCii`

##### Create CII Credit Note
Builds a CII credit note from structured data, referencing the invoice it credits, and returns a CII XML file.

- Type: write · Key: `createCiiCreditNote`
- Requires: invoiceNumber, issueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, paymentMeansCode
- Optional: showAdvanced, precedingInvoiceNumber, precedingInvoiceDate, paymentDueDate, buyerTaxId, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_cii_credit_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "createCiiCreditNote" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write createCiiCreditNote`

##### Create UBL Invoice
Generates a standards-compliant UBL 2.1 XML invoice from structured billing data including seller, buyer, line items, and payment details.

- Type: write · Key: `createUbl`
- Requires: invoiceNumber, issueDate, paymentDueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, sellerElectronicAddress, sellerElectronicAddressScheme, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, buyerElectronicAddress, buyerElectronicAddressScheme, paymentMeansCode
- Optional: showAdvanced, profile, sellerContactName, sellerPhone, sellerEmail, buyerTaxId, buyerReference, purchaseOrder, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_ubl_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "createUbl" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write createUbl`

##### Create UBL Credit Note
Builds a UBL credit note from structured data, referencing the invoice it credits, and returns a UBL 2.1 XML file.

- Type: write · Key: `createUblCreditNote`
- Requires: invoiceNumber, issueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, sellerElectronicAddress, sellerElectronicAddressScheme, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, buyerElectronicAddress, buyerElectronicAddressScheme, paymentMeansCode
- Optional: showAdvanced, precedingInvoiceNumber, precedingInvoiceDate, paymentDueDate, profile, sellerContactName, sellerPhone, sellerEmail, buyerTaxId, buyerReference, purchaseOrder, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_ubl_credit_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "createUblCreditNote" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write createUblCreditNote`

##### Create and Email CII Credit Note
Builds a CII credit note from structured data and emails it to the buyer from your own verified sending domain.

- Type: write · Key: `emailCiiCreditNote`
- Requires: emailFrom, emailTo, invoiceNumber, issueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, paymentMeansCode
- Optional: showAdvanced, emailFromName, emailCc, emailBcc, emailReplyTo, emailSubject, emailMessage, precedingInvoiceNumber, precedingInvoiceDate, paymentDueDate, buyerTaxId, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_and_email_cii_credit_` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "emailCiiCreditNote" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write emailCiiCreditNote`

##### Create and Email CII Invoice
Builds a CII invoice from structured data and emails it to the buyer from your own verified sending domain.

- Type: write · Key: `emailCiiInvoice`
- Requires: emailFrom, emailTo, invoiceNumber, issueDate, paymentDueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, paymentMeansCode
- Optional: showAdvanced, emailFromName, emailCc, emailBcc, emailReplyTo, emailSubject, emailMessage, buyerTaxId, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_and_email_cii_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "emailCiiInvoice" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write emailCiiInvoice`

##### Create and Email UBL Credit Note
Builds a UBL credit note from structured data and emails it to the buyer from your own verified sending domain.

- Type: write · Key: `emailUblCreditNote`
- Requires: emailFrom, emailTo, invoiceNumber, issueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, sellerElectronicAddress, sellerElectronicAddressScheme, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, buyerElectronicAddress, buyerElectronicAddressScheme, paymentMeansCode
- Optional: showAdvanced, emailFromName, emailCc, emailBcc, emailReplyTo, emailSubject, emailMessage, precedingInvoiceNumber, precedingInvoiceDate, paymentDueDate, profile, sellerContactName, sellerPhone, sellerEmail, buyerTaxId, buyerReference, purchaseOrder, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_and_email_ubl_credit_` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "emailUblCreditNote" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write emailUblCreditNote`

##### Create and Email UBL Invoice
Builds a UBL invoice from structured data and emails it to the buyer from your own verified sending domain.

- Type: write · Key: `emailUblInvoice`
- Requires: emailFrom, emailTo, invoiceNumber, issueDate, paymentDueDate, currency, sellerName, sellerTaxId, sellerStreet, sellerPostcode, sellerCity, sellerCountry, sellerElectronicAddress, sellerElectronicAddressScheme, buyerName, buyerStreet, buyerPostcode, buyerCity, buyerCountry, buyerElectronicAddress, buyerElectronicAddressScheme, paymentMeansCode
- Optional: showAdvanced, emailFromName, emailCc, emailBcc, emailReplyTo, emailSubject, emailMessage, profile, sellerContactName, sellerPhone, sellerEmail, buyerTaxId, buyerReference, purchaseOrder, iban, rules, language, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_and_email_ubl_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "emailUblInvoice" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write emailUblInvoice`

##### Extract Invoice Attachments
Returns the supporting documents embedded in an e-invoice (PDF or XML) as one ZIP file, for example timesheets or delivery notes.

- Type: write · Key: `extractAttachments`
- Requires: file
- Optional: filename
- MCP tool: `cii_ubl_by_invoicexml_extract_invoice_attachments` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "extractAttachments" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write extractAttachments`

##### Extract Invoice JSON
Parses a PDF invoice into machine-readable JSON by reading the embedded CII or UBL XML. This action is deterministic and uses no AI. A PDF without embedded XML returns error 4006 (NoEmbeddedXml); for scanned or ordinary PDFs, use POST /v1/parse/json instead.

- Type: write · Key: `extractJson`
- Requires: file
- Optional: filename
- MCP tool: `cii_ubl_by_invoicexml_extract_invoice_json` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "extractJson" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write extractJson`

##### Detect E-Invoice Type
Tells whether a file is a ZUGFeRD or Factur-X PDF, a CII or UBL e-invoice (XRechnung included) or a regular file, with the declared profile, the validation endpoint to call next and whether the invoice has attachments. Any file type can be sent.

- Type: write · Key: `extractMeta`
- Requires: file
- MCP tool: `cii_ubl_by_invoicexml_detect_e-invoice_type` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "extractMeta" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write extractMeta`

##### Get Account Credits
Returns your plan and how many API credits you have left. It does not use a credit, so it fits a Zap that alerts you when credits run low.

- Type: write · Key: `getAccount`
- Requires: nothing
- MCP tool: `cii_ubl_by_invoicexml_get_account_credits` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "getAccount" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write getAccount`

##### Render CII or UBL as PDF
Renders a CII or UBL XML invoice (XRechnung and Peppol included) into a human-readable PDF. The output is a visual PDF without embedded XML.

- Type: write · Key: `renderToPdf`
- Requires: file
- Optional: filename, language, logo, includeQrCode
- MCP tool: `cii_ubl_by_invoicexml_render_cii_or_ubl_as_pdf` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "renderToPdf" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write renderToPdf`

##### Transform PDF to CII
Reads an existing PDF invoice and produces a UN/CEFACT CII XML document using AI-powered data extraction. Ideal for digitising paper-based or scanned invoices into a structured CII format. Note: AI can make mistakes; review output before sending.

- Type: write · Key: `transformToCii`
- Requires: file
- Optional: filename, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_transform_pdf_to_cii` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "transformToCii" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write transformToCii`

##### Transform PDF to UBL
Reads an existing PDF invoice and produces a UBL 2.1 XML document using AI-powered data extraction. Useful for onboarding legacy invoices into structured e-invoicing workflows. Note: AI can make mistakes; review output before sending.

- Type: write · Key: `transformToUbl`
- Requires: file
- Optional: filename, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_transform_pdf_to_ubl` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "transformToUbl" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write transformToUbl`

##### Validate CII Invoice
Verifies a UN/CEFACT CII invoice XML against EN16931 semantic rules and XSD schema, returning a detailed compliance report including any rule failures or data inconsistencies.

- Type: write · Key: `validateCii`
- Requires: file
- Optional: filename, rules, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_validate_cii_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "validateCii" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write validateCii`

##### Create CII Validation Report
Checks a CII invoice like Validate CII Invoice and returns the result as a printable PDF compliance report, plus whether the invoice is valid.

- Type: write · Key: `validateCiiReport`
- Requires: file
- Optional: filename, rules, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_cii_validation_report` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "validateCiiReport" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write validateCiiReport`

##### Validate UBL Invoice
Checks a UBL 2.1 invoice XML against EN16931 business rules and schema constraints, returning a structured validation report with any rule violations or structural errors.

- Type: write · Key: `validateUbl`
- Requires: file
- Optional: filename, rules, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_validate_ubl_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "validateUbl" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write validateUbl`

##### Create UBL Validation Report
Checks a UBL invoice like Validate UBL Invoice and returns the result as a printable PDF compliance report, plus whether the invoice is valid.

- Type: write · Key: `validateUblReport`
- Requires: file
- Optional: filename, rules, validationLanguage
- MCP tool: `cii_ubl_by_invoicexml_create_ubl_validation_report` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "cii-ubl-by-invoicexml", actionType: "write", action: "validateUblReport" })`
- CLI: `npx zapier-sdk run-action cii-ubl-by-invoicexml write validateUblReport`

## Frequently asked questions about automating with Mobile Message and CII & UBL by InvoiceXML

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Mobile Message integrations: zapier.com/apps/mobile-message-ca21345/integrations.md
- CII & UBL by InvoiceXML integrations: zapier.com/apps/cii-ubl-by-invoicexml/integrations.md
- Full page: zapier.com/apps/mobile-message-ca21345/integrations/cii-ubl-by-invoicexml
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk