Skip to main content

pushSupplierToAccounting

Sends a supplier’s endless-owned accounting vendor to the connected accounting provider.

Enqueues a background push, so completion is asynchronous. The vendor is created in the provider when it does not exist there, and updated when it does.

Business Rules​

  • The supplier must already have an accounting vendor; configuring one is a deliberate step before any provider write.
  • Fields Endless does not model are left as the provider holds them.
  • The response returns processId as soon as the job is queued. Follow processStatusUpdates(processId:) or query processStatus(processId:) for completion and failure reasons. Integration notifications are delivered separately.

Error Scenarios​

  • **VALIDATION**: the integration cannot hold accounting vendors.
  • **NOT_FOUND**: the integration does not exist for this company, or the supplier has no accounting vendor yet.

Permissions Required​

  • accounting:push_vendor permission.
pushSupplierToAccounting(
input: PushSupplierToAccountingInput!
): PushSupplierToAccountingPayload

Arguments​

pushSupplierToAccounting.input ● PushSupplierToAccountingInput! non-null input common​

Parameters for PushSupplierToAccounting

Type​

PushSupplierToAccountingPayload object common​

Autogenerated return type of PushSupplierToAccounting.