Agent "Alice" purchases invoices posting
The "Alice" agent automatically posts purchase invoices received electronically (inbound Italian electronic invoices). For each received e-invoice not yet processed, the agent creates the purchase document, releases it and posts it, without manual intervention.
Documents posted by the agent show +ALICE as the user, so they can be told apart from manually posted ones.
- Search for the Alice Agent Setup page to configure the agent.
- The agent runs through a job queue entry, which can be scheduled to run periodically.
| Field | Description |
|---|---|
| Partner Group Filter | Limits processing to e-invoices from vendors belonging to the specified partner groups. Standard filters can be used (e.g. GROUP1|GROUP2). If empty, all invoices are considered. |
In Purchases & Payables Setup, the Allow Posting From and Allow Posting To fields must be filled in: they define the date range in which the agent can post.
The agent considers e-invoices that:
- are inbound;
- already have the vendor identified;
- are not yet linked to a purchase document or a posted document;
- belong to a partner group included in the setup filter.
For each invoice the agent calculates the posting date:
- It starts from today's date, capped at Allow Posting To.
- If the invoice was received after that date, it is not processed.
- If the invoice was received in a previous year, December 31 of the receipt year is used.
- If it was received in a previous month of the same year, the last day of the receipt month is used, provided it is after the last VAT settlement.
- The invoice is not posted if the resulting date is before Allow Posting From or not after the last VAT settlement date.
- The document is created from the e-invoice, released and posted as a purchase invoice or credit memo.
- If the document has differences from the order, it is not posted.
- If posting fails for any reason, the created purchase document is deleted and the e-invoice remains to be processed (manually or in a later run).
- When the agent is started manually, after each posting it asks for confirmation before continuing with the next invoice.