create_ap_invoice
Generate an accounts payable invoice from a Goods Receipt PO to record the vendor payable. Provide the GRPO document entry, and optionally set invoice date and days until due.
Instructions
Generate an A/P invoice from a Goods Receipt PO (GRPO) to record the vendor payable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docDate | No | YYYY-MM-DD | |
| dueInDays | No | Payment terms — days until due (default 30) | |
| grpoDocEntry | Yes | DocEntry of the source Goods Receipt PO |