Field service to cash protocol

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Field service to cash protocol is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to orchestrate the field service to cash process (service to deliver) across Dynamics 365 Field Service and Dynamics 365 Finance, covering work order creation through service delivery, parts and inventory consumption, invoicing, and accounts receivable settlement. The skill defines st

How to use this skill

Skill file

Field Service to Cash Protocol

Purpose

This skill orchestrates the field service to cash process (referred to as "service to deliver" in the Microsoft Dynamics 365 business process catalog) in Dynamics 365 environments. It coordinates Dynamics 365 Field Service (work order management, scheduling, service delivery, and inventory consumption) with Dynamics 365 Finance (invoicing, accounts receivable, and cash application). The protocol ensures that service is verified as delivered before invoicing, that parts consumed are accurately recorded against inventory, and that revenue is recognized in the correct period. It does not give field service configuration or financial accounting advice; all recommendations are subject to human owner confirmation.

When to use

When NOT to use

Participating agents

Inputs required

Evidence required

Workflow

  1. Receive work order creation trigger; validate that customer account, service scope, and billing method are defined.
  2. Confirm that required parts are available in the assigned inventory location (warehouse or technician's truck stock).
  3. Schedule and dispatch field technician via Dynamics 365 Field Service scheduling board; record assignment.
  4. Monitor work order progress; flag overdue work orders to the field service owner.
  5. Upon service completion, verify that the technician has recorded all labor time and parts consumed on the work order.
  6. Work order verification gate: confirm the work order is marked as "Complete" in Dynamics 365 Field Service; if customer sign-off is required, confirm it is recorded.
  7. Trigger inventory adjustment for consumed parts; confirm inventory levels are updated in the system.
  8. Hand work order actuals (labor, parts, travel) to d365-finance-close-to-report-agent for invoice creation.
  9. Create invoice draft in Dynamics 365 Finance; validate against work order actuals and applicable service contract pricing.
  10. Invoice accuracy gate: surface discrepancies between invoice draft and work order actuals for human resolution before posting.
  11. Post the invoice; open an accounts receivable entry with the correct payment terms.
  12. Monitor payment due date; surface collection activities to the finance owner as needed.
  13. Apply cash receipt to the open invoice; close accounts receivable entry.

Decision gates

| Gate | Condition | Action if not met |

|---|---|---|

| Parts availability | Required parts in stock at assigned location | Notify d365-field-service-to-cash-agent; arrange parts transfer or order |

| Work order completion | Work order marked complete in Dynamics 365 Field Service | Do not proceed to invoicing; return to field service agent |

| Customer sign-off | Sign-off recorded if required by contract | Hold invoice; await confirmation |

| Inventory adjustment | Consumed parts reflected in inventory system | Hold invoice; resolve inventory discrepancy first |

| Invoice accuracy | Invoice matches work order actuals and contract pricing | Hold posting; flag for human resolution |

| Cash application | Payment matched to invoice | Do not auto-close AR entry on partial payment without finance owner approval |

Refusal triggers

Handoff rules

KPIs

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.