Merit Write Customers
merit_write_customersPreview and confirm creation or update of customers and vendors. Returns confirmation code for later execution.
Instructions
Preview-only write tool. Does not execute changes; returns intended operation details and a confirmation_code for merit_write_customers_confirm. Create or update customers and vendors. Actions: customer_upsert: Create or update a customer.; vendor_upsert: Create or update a vendor.; vendor_update: Update an existing vendor by Id. Only Id is required; all other fields are optional. Typical use: after receiving a new purchase invoice (e.g. as PDF), verify and sync the vendor's BankAccount (IBAN) and SWIFT_BIC so future payments require no manual lookup. Payload fields: Id (guid, required), Name, CountryCode, Address, City, PostalCode, PhoneNo, PhoneNo2, Email, RegNo, VatRegNo, SalesInvLang, VatAccountable, BankAccount, ReferenceNo, VendGrCode, VendGrId, PayerReceiverName, Dimensions ([{DimId, DimValueId, DimCode}]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| id | No | ||
| filters | No | ||
| payload | No | ||
| add_attachment | No | ||
| delivnote | No | ||
| bank_id | No | ||
| confirmation_code | No | ||
| confirmed | No |