Invoice NS-XPYT4-1 is 3 day(s) overdue, $180.00 unpaid

Status
Needs you
At risk
$180.00
Detected (detector clock)
2026-10-27 17:03

Diagnosis

AI agent (anthropic/claude-haiku-5.5)

Night Owl Coffee Roasters invoice NS-XPYT4-1 for $180.00 (wholesale espresso blend, 5kg) to Corner Cafe shows as unpaid and past its October 24 due date. The invoice record shows it was created and sent at 17:03 UTC today, the same moment the alert fired, and the recipient has not opened it, so the overdue status may be an artifact of a backdated due date rather than a real missed payment. Nothing is lost yet; the only risk is that the $180.00 is not collected if the invoice is wrong or the customer never sees it.

Decisions

The agent proposes, the policy gate decides, the executor calls PayPal.

Ask the owner

Waiting for you

Agent proposed

The invoice was only just sent and already shows as overdue, so the owner should confirm the due date before any reminder goes to the customer.

Note: Invoice NS-XPYT4-1 ($180.00 to orders@cafe.example.com) was created and sent today, but its due date is October 24, already in the past, and it has not been viewed. Did you intend to send it now with that due date? Should I change the due date and send a

Policy said

Needs approval
  • The agent asked for a human decision.

PayPal returned

No PayPal call for this action.

Evidence

Invoice NS-XPYT4-1 (INV2-L5ZX-WLCZ-NWZ2-SYN3) to orders@cafe.example.com was due 2026-10-24. Status SENT, $0.00 of $180.00 paid. No reminder sent yet.

invoice id
INV2-L5ZX-WLCZ-NWZ2-SYN3
invoice number
NS-XPYT4-1
status
SENT
recipient
orders@cafe.example.com
due date
2026-10-24
days overdue
3
total
$180.00
paid
$0.00
owed
$180.00
last reminder at
none
invoiceINV2-L5ZX-WLCZ-NWZ2-SYN3

All ids are real PayPal sandbox objects; GET them with your sandbox credentials to check.

Audit trail

Detected, diagnosed, decided, executed. Live.

Detected: Invoice NS-XPYT4-1 is 3 day(s) overdue, $180.00 unpaid
Detector
Invoice NS-XPYT4-1 (INV2-L5ZX-WLCZ-NWZ2-SYN3) to orders@cafe.example.com was due 2026-10-24. Status SENT, $0.00 of $180.00 paid. No reminder sent yet.
Agent started triage
Agent
Agent read get_invoice
Agent
get_invoicevia PayPal Agent Toolkitok
args { "invoice_id": "INV2-L5ZX-WLCZ-NWZ2-SYN3" }
Result
{"id":"INV2-L5ZX-WLCZ-NWZ2-SYN3","status":"SENT","detail":{"currency_code":"USD","note":"Wholesale order from Night Owl Coffee Roasters. Thank you!","category_code":"SHIPPABLE","invoice_number":"NS-XPYT4-1","invoice_date":"2026-10-10","payment_term":{"term_type":"DUE_ON_DATE_SPECIFIED","due_date":"2026-10-24"},"viewed_by_recipient":false,"group_draft":false,"metadata":{"create_time":"2026-10-27T17:03:42Z","last_update_time":"2026-10-27T17:03:42Z","first_sent_time":"2026-10-27T17:03:42Z","last_sent_time":"2026-10-27T17:03:42Z","created_by_flow":"REGULAR_SINGLE","recipient_view_url":"https://www.sandbox.paypal.com/invoice/p/#L5ZXWLCZNWZ2SYN3","invoicer_view_url":"https://www.sandbox.paypal.com/invoice/details/INV2-L5ZX-WLCZ-NWZ2-SYN3","caller_type":"API_V2_INVOICE","spam_info":{}},"archived":false},"invoicer":{"business_name":"Night Owl Coffee Roasters"},"primary_recipients":[{"billing_info":{"name":{"given_name":"Corner","surname":"Cafe","full_name":"Corner Cafe"},"email_address":"orders@cafe.example.com"}}],"items":[{"id":"ITEM-8NL188088T507625U","name":"Wholesale espresso blend, 5kg","quantity":"1","unit_amount":{"currency_code":"USD","value":"180.00"},"unit_of_measure":"QUANTITY"}],"configuration":{"tax_calculated_after_discount":false,"tax_inclusive":false,"allow_tip":false,"partial_payment":{"allow_partial_payment":true},"allow_only_pay_by_bank":false,"allow_vba_payments":false,"save_item_for_future":true,"template_id":"TEMP-64X047134N4806103"},"amount":{"breakdown":{"item_total":{"currency_code":"USD","value":"180.00"},"discount":{"invoice_discount":{"amount":{"currency_code":"USD","value":"0.00"}},"item_discount":{"currency_code":"USD","value":"0.00"}},"tax_total":{"currency_code":"USD","value":"0.00"}},"currency_code":"USD","value":"180.00"},"due_amount":{"currency_code":"USD","value":"180.00"},"links":[{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-L5ZX-WLCZ-NWZ2-SYN3","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-L5ZX-WLCZ-NWZ2-SYN3","rel":"replace","method":"PUT"},{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-L5ZX-WLCZ-NWZ2-SYN3/cancel","rel":"cancel","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-L5ZX-WLCZ-NWZ2-SYN3/remind","rel":"remind","method":"POST"},{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-L5ZX-WLCZ-NWZ2-SYN3/payments","rel":"record-payment","method":"POST"},{"href":"https://api.sandbox.p
Agent diagnosis
Agent
Night Owl Coffee Roasters invoice NS-XPYT4-1 for $180.00 (wholesale espresso blend, 5kg) to Corner Cafe shows as unpaid and past its October 24 due date. The invoice record shows it was created and sent at 17:03 UTC today, the same moment the alert fired, and the recipient has not opened it, so the overdue status may be an artifact of a backdated due date rather than a real missed payment. Nothing is lost yet; the only risk is that the $180.00 is not collected if the invoice is wrong or the customer never sees it.
Agent proposed: Ask the owner
Agent
The invoice was only just sent and already shows as overdue, so the owner should confirm the due date before any reminder goes to the customer.
Policy said: needs the owner's approval
Policy gate
  • The agent asked for a human decision.