金蝶云星空 icon

金蝶云星空

金蝶云星空 WebAPI 集成,支持多种金蝶业务功能

Actions133

收款单 → 提交

AI-generated

Summary

Submit (提交) Kingdee K/3 Cloud 收款单 (receipt bills) by their FNumber (编码) or FID (内码). The operation sends a submit request to the Kingdee WebAPI for each bill, optionally specifying creator/user organization IDs, network control, interaction‑flag handling, and can process items in batches with configurable size and interval. It returns the API response for each bill wrapped in n8n execution metadata. Authentication is via either the recommended app‑auth credential or the deprecated password credential.

Inputs

  • authentication (required) — Type of credential to use for the Kingdee API. Options: kingdeeAppAuthApi (应用授权,推荐) or kingdeePasswordApi (账户密码,已废弃). Default: kingdeeAppAuthApi.
  • queryType (required) — How to identify the bills to submit. Options: number (按编码提交, FNumber) or id (按内码提交, FID). Default: number.
  • numbers (required) — Comma‑separated list of FNumber values (e.g. No1,No2,No3). Required when queryType is 'number'. Default: empty string.
  • ids (required) — Comma‑separated list of FID values (e.g. 100001,100002,100003). Required when queryType is 'id'. Default: empty string.
  • createOrgId — Creator organization FID (optional). Default: 0.
  • useOrgId — User organization FID (optional). Default: 0.
  • networkCtrl — Enable network control. Default: false.
  • ignoreInterationFlag — Ignore interaction prompts. Default: true.
  • options.batching.batch.batchSize — Number of items per batch for concurrent processing. If batching is enabled, this controls parallelism; a value of 0 is treated as 1. Default: 50. Minimum: 1.
  • options.batching.batch.batchInterval — Delay in milliseconds between batches. 0 disables the delay. Default: 1000. Minimum: 0.
  • options.timeout — Request timeout in milliseconds for receiving response headers. 0 means no limit. Default: 0. Minimum: 0.

Output shape

Array of objects – each object corresponds to the processed bill and contains the Kingdee submit API response wrapped in n8n execution metadata. When batching is enabled, items are processed in parallel batches; when an error occurs and continueOnFail() is true, error objects are included in the output.

If the internal call returns a multiple‑output response (outputType: 'multiple'), the node will emit that output directly; otherwise it returns the constructed execution data.

Examples

Example 1: Submit two receipt bills by their FNumbers

Set resource to 收款单, operation to 提交, authentication to kingdeeAppAuthApi, queryType to number, numbers to 'R001,R002', leave ids empty, keep defaults for org IDs, networkCtrl false, ignoreInterationFlag true, batching disabled, timeout 0.

Links

Discussion