diff --git a/lib/VeresOneDriver.js b/lib/VeresOneDriver.js
index <HASH>..<HASH> 100644
--- a/lib/VeresOneDriver.js
+++ b/lib/VeresOneDriver.js
@@ -306,8 +306,8 @@ class VeresOneDriver {
     // wrap DID Document in a web ledger operation
     const operation = await this.client.wrap(
       {didDocument, operationType: 'create'});
-    await this.send(operation,
-      {accelerator, didDocument, keyPairs, authDoc, ...sendOptions});
+    await this.send(
+      operation, {accelerator, didDocument, keyPairs, authDoc, ...sendOptions});
 
     return didDocument;
   }
diff --git a/lib/attachProof.js b/lib/attachProof.js
index <HASH>..<HASH> 100644
--- a/lib/attachProof.js
+++ b/lib/attachProof.js
@@ -60,9 +60,11 @@ async function attachProofs(operation, {
 
   const controller = capabilityInvocationKeyPair.id || signer.id;
   // attach capability invocation proof
+  const capabilityAction = (operation.type === 'CreateWebLedgerRecord') ?
+    'create' : 'write';
   operation = await attachInvocationProof(operation, {
     capability: did,
-    capabilityAction: operation.type,
+    capabilityAction,
     controller,
     key: capabilityInvocationKeyPair,
     signer
Fix attachment of capabilityAction during invocation.