create_material_out
Record stock sent to a job worker for processing in TallyPrime by creating a Material Out voucher that tracks the issue against the party's ledger without an accounting posting.
Instructions
Create a Material Out voucher in TallyPrime — records stock sent out to a job worker for processing, tracked against that party's ledger without a real accounting posting (job-work memorandum tracking, not a sale). Mirror of create_material_in. Same EXTRAPOLATED caveat and godown requirement apply. If creation fails with LINEERROR 'Voucher date is missing' even though the date field is set correctly, the date is outside Tally's active period (Alt+F2) — call set_period to cover it and retry (confirmed live).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Voucher date in DD-MM-YYYY format | |
| items | Yes | One or more stock items being sent out. | |
| narration | No | Narration / description for the voucher | |
| partyLedger | Yes | Exact name of the job worker/party ledger this material is being sent to | |
| voucherNumber | No | Explicit voucher number. Normally omit and let Tally auto-number — but some Tally configurations stop auto-numbering certain voucher types via the XML gateway (confirmed live for item-invoice types; unconfirmed either way for Material Out). If creation fails with a blank EXCEPTIONS:1, check get_vouchers for the highest existing number of this voucher type and retry with voucherNumber set to the next one. |