> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/service-management-and-contracts/submit-ready-application-for-payment.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Submit Ready Application for Payment

Validates submit readiness (sequence, vouchers, validations), submits an Approved AfP via SubmitApplication after approval, and verifies Submitted state.

| Business area                    | Action type                                |
| -------------------------------- | ------------------------------------------ |
| Service Management and Contracts | Updates IFS Cloud data after user approval |

## Overview

Submitting an application (Approved → Submitted) sends the valuation to the customer and creates the submission posting (application voucher). If the contract's invoice method is Invoice on Submit Application, IFS also creates (and optionally releases) the project invoice. The IFS client runs a chain of checks before calling SubmitApplication: indemnity validation, credit-blocked customer, default revenue activity (FetchDefaultValues.ActivitySeq), delivery address, voucher type validity, contract on hold, and ValidateSubmitApplication (payment term and due-date warnings).

The IFS Cloud integration submits approved applications for payment.

## How it works

{% stepper %}
{% step %}
Get Application Submit Context.
{% endstep %}

{% step %}
Check Previous Application Sequence.
{% endstep %}

{% step %}
Check Submit Readiness (S1-S7).
{% endstep %}

{% step %}
Submit Application.
{% endstep %}

{% step %}
Verify Application Submitted.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one application with state, invoice method, parties, dates, addresses and current amounts.
* Find the previous application in the same currency/project/supply-country/billing-sequence group and check it is Submitted, Certified, Partially Paid or Fully Paid.
* Check customer credit block, default revenue activity, delivery address, contract on-hold status.
* Resolve default user group and voucher types and validate them for the voucher date (AFP, and F when an invoice will be created).
* Run IFS ValidateSubmitApplication (payment term, due-date change warnings) and, where the INDEMN component is installed, ValidateIndemnities.
* Preview the submission including the invoice consequence of the invoice method.
* Submit exactly one application after explicit approval. Read back state and submission date.

{% hint style="info" %}
This skill keeps a human in the loop. It previews every change and updates IFS Cloud only after a user approves it.
{% endhint %}

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component                         | Projection                                  |
| --------------------------------- | ------------------------------------------- |
| APPPAY (APPLICATIONS FOR PAYMENT) | SalesContractApplicationsForPaymentHandling |

## Version compatibility

| Projection                                  | Supported IFS Cloud releases |
| ------------------------------------------- | ---------------------------- |
| SalesContractApplicationsForPaymentHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
