Skip to content

Create docs work Merchant workspace rules release#84670

Closed
stephanieelliott wants to merge 1 commit intomainfrom
helpsite-workspace-merchant-rules-v2
Closed

Create docs work Merchant workspace rules release#84670
stephanieelliott wants to merge 1 commit intomainfrom
helpsite-workspace-merchant-rules-v2

Conversation

@stephanieelliott
Copy link
Contributor

Related product change PR: #83005
Un-does #82856

These files were already reviewed and approved in the original PR (later reverted) #82356

Comment on lines +11 to +12

NS0510: Your NetSuite role doesn’t have access to this record. Please ensure the Expensify bundle is up to date and that your role has the required token permissions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: The error message text on these lines is not visually distinguished from the surrounding prose. Consider wrapping it in a blockquote (>) or a code block so readers can immediately identify it as the literal error message they would see in the product.

For example:

Suggested change
NS0510: Your NetSuite role doesn’t have access to this record. Please ensure the Expensify bundle is up to date and that your role has the required token permissions.
> NS0510: Your NetSuite role doesn't have access to this record. Please ensure the Expensify bundle is up to date and that your role has the required token permissions.


**Update the Expensify Connect Bundle**

1. Log in to **NetSuite** as an Administrator.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heading level violation: This bold text acts as a sub-section heading but uses **bold** formatting instead of a proper Markdown heading (e.g., ### Update the Expensify Connect Bundle). Using actual heading levels improves scannability, accessibility, and AI discoverability. The same issue applies to "Update NetSuite Role Permissions" on line 56.

**Note:** Workspace Merchant Rules are only available after **Workspace Rules** are enabled for the workspace. If you don't see the Merchant Rules section, first [enable Workspace Rules](https://help.expensify.com/articles/new-expensify/workspaces/Workspace-Rules#enable-workspace-rules).

![Creating a Workspace Merchant Rule]({{site.url}}/assets/images/ExpensiHelp-MerchantRules-1.png){:width="100%"}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button label violation / Formatting: Two issues on this line:

  1. Per Expensify style guidelines, button labels at the end of flows should use "Confirm" rather than "Save". If the in-product button literally says "Save Rule", this is acceptable, but please verify the actual button label matches.
  2. This step is missing a period at the end, which is inconsistent with all other numbered steps in this section.
Suggested change
9. Select **Save Rule**.

internalScope: Audience is Workspace Admins on the Control plan. Covers enabling and using Workspace Merchant Rules to apply consistent expense coding based on merchant name. Does not cover personal expense rules, Category Rules, Tag Rules, or troubleshooting rule conflicts.
---

Enable Workspace Merchant Rules to help Workspace Admins standardize how expenses from common merchants are coded across the workspace. These rules automatically apply consistent categories, tags, and other expense fields based on the merchant name, reducing manual cleanup and improving reporting accuracy.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Readiness violation: The article body begins with a paragraph before any H1 heading. Articles should open with an H1 heading (e.g., # Workspace Merchant Rules) before the introductory paragraph to provide clear document structure for both readers and AI retrieval systems. The first # heading doesn't appear until line 14 ("# How to create Workspace Merchant Rules"), which means the opening two paragraphs are orphaned outside any heading hierarchy.


---

## How to use Workspace Merchant Rules
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Readiness violation: The heading "How to use Workspace Merchant Rules" is misleading -- the content below it covers best practices and testing tips, not actual usage instructions. A more descriptive heading would improve clarity and AI discoverability.

Suggested change
## How to use Workspace Merchant Rules
## Best practices for Workspace Merchant Rules

---

# FAQ

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: The FAQ question uses inconsistent title-casing ("Who Can Enable") compared to other FAQ questions in this section that use sentence-casing (e.g., "What fields can..."). Use consistent sentence-casing for all FAQ questions.

Suggested change
## Who can enable Workspace Merchant Rules?

Workspace Admins can create explicit [**Workspace Merchant Rules**](https://help.expensify.com/articles/new-expensify/workspaces/Workspace-Merchant-Rules) to apply consistent tags based on merchant name across all workspace expenses.

- Rules apply to all expenses across the entire workspace.
- Rules take precedence over learned suggestions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: This bullet point is missing a period at the end. All other bullets in this section and the corresponding section in Create-expense-categories.md end with periods.

Suggested change
- Rules take precedence over learned suggestions
- Rules take precedence over learned suggestions.

- **Merchant-based automation** – Automatically apply categories, tags, and other fields using Workspace Merchant Rules.

![Rules page showing all available workspace-level expense rules with Itemized Receipt flagged]({{site.url}}/assets/images/ExpensifyHelp-FlagExpensesMissing|temizedReceipts_01.png){:width="100%"}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markdown formatting violation: The image filename appears to contain a pipe character (|) which is likely a typo. The filename ExpensifyHelp-FlagExpensesMissing|temizedReceipts_01.png should probably be ExpensifyHelp-FlagExpensesMissingItemizedReceipts_01.png. The pipe character will break the image rendering in Markdown since | is a special character in Markdown table syntax.

Suggested change
![]({{site.url}}/assets/images/ExpensifyHelp-FlagExpensesMissingItemizedReceipts_01.png){:width="100%"}

- **Merchant** to update the merchant name.
- **Category** to update the expense category.
- **Tag** to update the expense tag.
- **Tax** to update the tax rate (Tax must be enabled on the workspace).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: The numbered step uses the word "update" for every field option, which becomes repetitive across 7 sub-bullets. Consider using "set" or "apply" instead to reduce the monotonous phrasing, e.g., "Category to set the expense category." This would also better match the article's own language elsewhere ("apply consistent categories, tags...").

---

**Update NetSuite Role Permissions**

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heading level violation: Same issue as line 36 -- this bold text acts as a sub-section heading under "## How to Fix the NS0510 Export Error" but uses **bold** instead of a proper heading level like ### Update NetSuite Role Permissions. Using real heading levels enables proper table-of-contents generation and improves AI discoverability.

Suggested change
### Update NetSuite Role Permissions

## Do Workspace Merchant Rules change how members submit expenses?

No. Employees submit expenses the same way as before. Workspace Merchant Rules run automatically in the background.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminology inconsistency: This answer uses "Employees" while the rest of the article consistently uses "members" (e.g., lines 9, 10, 66, 75, 86). For consistency and to match Expensify's preferred terminology, consider using "members" here as well.

Suggested change
No. Members submit expenses the same way as before. Workspace Merchant Rules run automatically in the background.

Workspace Merchant Rules:
- Apply when an expense is created
- Work at the workspace level (not per member)
- Don't change how employees submit expenses
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terminology inconsistency: This bullet uses "employees" while Expensify documentation for New Expensify consistently refers to "members." Consider updating for consistency.

Suggested change
- Don't change how employees submit expenses
- Don't change how members submit expenses

@github-actions
Copy link
Contributor

HelpDot Documentation Review

Overall Assessment

This PR introduces documentation for the new Workspace Merchant Rules feature across 7 files: one primary new article, one supporting new troubleshooting article (NS0510), and five cross-reference updates to existing documentation. The writing is clear, well-organized, and consistent in terminology. The primary new article (Workspace-Merchant-Rules.md) is thorough and well-structured with practical examples, step-by-step instructions, and a comprehensive FAQ. Cross-references are thoughtfully placed in related articles. A few minor issues were identified.

Scores Summary

  • Readability: 9/10 - The writing is clear, concise, and well-organized throughout all changed files. Sentences are at an appropriate reading level. The step-by-step instructions are easy to follow. The examples section in Workspace-Merchant-Rules.md is particularly effective at illustrating real-world use cases. One minor issue: a missing period at the end of a bullet point in Create-expense-tags.md ("Rules take precedence over learned suggestions" -- missing period). Step 9 in the main article ("Select Save Rule") is also missing a period.
  • AI Readiness: 9/10 - All new and modified files have well-structured YAML front matter with descriptive titles, comprehensive keywords, and properly formatted internalScope fields following the "Audience is... Covers... Does not cover..." pattern. Headings are descriptive and use full feature names (e.g., "How to create Workspace Merchant Rules", "When Workspace Merchant Rules apply to expenses"). Heading hierarchy is appropriate with # and ## only. One minor observation: the FAQ heading "Who Can Enable Workspace Merchant Rules?" uses title case, while other FAQ headings in the same file use sentence case -- this inconsistency is minor but worth noting for uniformity.
  • Style Compliance: 8/10 - The articles generally follow Expensify voice and tone. Terminology is consistent ("Workspace Admins", "workspace", "member", etc.). Button labels and UI elements are properly bolded. However, several style items to note: (1) The NS0510 article displays the error message as plain text rather than in a blockquote or code block, which would improve scannability. (2) In the Workspace-Merchant-Rules.md examples section, rule descriptions use a prose format ("If the merchant contains 'Uber', apply Category: Travel, Tag: Ground Transportation, Reimbursable: Yes") that mixes formatting conventions -- these could benefit from a more structured table or formatted list for readability. (3) The new "Merchant-based automation" bullet added to Workspace-Rules.md lacks the formatting dash pattern used by the other bullets in that list (other bullets use "Name -- Description" but this one omits the em-dash explanation format). (4) The word "Employees" appears in one FAQ answer ("Employees submit expenses the same way as before") -- the standard Expensify terminology is "members".

Key Findings

Strengths:

  • The primary Workspace-Merchant-Rules.md article is comprehensive and well-structured, covering creation steps, application behavior, best practices, examples, and troubleshooting in the FAQ
  • Cross-references are properly placed in all relevant related articles (Expense-Rules, Create-an-Expense, Create-expense-categories, Create-expense-tags, Workspace-Rules), creating a well-connected documentation network
  • The internalScope fields across all files are well-crafted and mutually consistent, properly excluding topics covered in sibling articles
  • The NS0510 troubleshooting article is clear and actionable with concrete steps for both bundle updates and role permission fixes
  • Image references point to files that exist in the repository

Issues to address:

  • Missing terminal punctuation: Step 9 in Workspace-Merchant-Rules.md ("Select Save Rule") and one bullet in Create-expense-tags.md ("Rules take precedence over learned suggestions") are both missing periods
  • The term "Employees" in the FAQ answer "Do Workspace Merchant Rules change how members submit expenses?" should be "Members" for consistency with Expensify terminology
  • The FAQ heading casing is inconsistent within Workspace-Merchant-Rules.md: "Who Can Enable Workspace Merchant Rules?" uses title case while others like "What fields can Workspace Merchant Rules update?" use sentence case
  • The "Merchant-based automation" bullet added to Workspace-Rules.md does not follow the same formatting pattern as sibling bullets (missing the em-dash and explanation structure like "Merchant-based automation -- Automatically apply...")
  • The NS0510 article error message block is displayed as plain text; consider using a blockquote (> prefix) for clearer visual separation
  • In the Workspace-Merchant-Rules.md FAQ, "How can I tell which Workspace Merchant Rule was applied?" references a Concierge message in the expense chat -- confirm this behavior matches the actual product implementation

Minor observations:

  • The cross-reference link in Expense-Rules.md points to the New Expensify Workspace Merchant Rules article from an Expensify Classic page -- this is intentional per the note "can only be configured in New Expensify" but worth confirming the cross-product linking is desired
  • The Workspace-Merchant-Rules.md article references a "Personal Expense Rules" page that does exist at the linked path, confirming the cross-reference is valid

Recommendations

  1. Fix missing punctuation -- Add periods to the end of step 9 in Workspace-Merchant-Rules.md and the bullet in Create-expense-tags.md for consistency
  2. Standardize terminology -- Replace "Employees" with "Members" in the FAQ answer within Workspace-Merchant-Rules.md
  3. Normalize FAQ heading casing -- Use consistent sentence case for all FAQ headings in Workspace-Merchant-Rules.md (change "Who Can Enable Workspace Merchant Rules?" to "Who can enable Workspace Merchant Rules?")
  4. Align bullet formatting -- Update the "Merchant-based automation" bullet in Workspace-Rules.md to match the em-dash pattern used by neighboring bullets
  5. Format error message -- Consider wrapping the NS0510 error message text in a blockquote for visual clarity
  6. Verify product behavior -- Confirm the Concierge message behavior described in the FAQ accurately reflects the shipped product

Files Reviewed

  • NS0510-Export-Error.md (NEW) -- Well-structured NetSuite troubleshooting article; minor formatting suggestion for the error message display
  • Expense-Rules.md (MODIFIED) -- Clean addition of cross-reference to Workspace Merchant Rules and updated internalScope
  • Create-an-Expense.md (MODIFIED) -- Appropriate placement of merchant rules note and cross-reference in the post-submission section
  • Create-expense-categories.md (MODIFIED) -- Good addition of Workspace Merchant Rules subsection with clear bullet points
  • Create-expense-tags.md (MODIFIED) -- Good addition of Workspace Merchant Rules subsection; missing period on one bullet
  • Workspace-Merchant-Rules.md (NEW) -- Strong primary article with comprehensive coverage; minor punctuation, terminology, and heading casing issues
  • Workspace-Rules.md (MODIFIED) -- Effective cross-references and new section addition; bullet formatting inconsistency in one added line

Note: Detailed line-by-line feedback has been provided as inline comments.

---

# FAQ

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: FAQ questions should use sentence case, not title case. "Does NS0510 Mean My Integration Is Broken?" should be written as "Does NS0510 mean my integration is broken?" The same issue applies to "Does Multi-Currency Affect Token Permissions?" on line 84.

Suggested change
## Does NS0510 mean my integration is broken?

## Does NS0510 Mean My Integration Is Broken?

No. This error indicates a permission or bundle configuration issue in NetSuite.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: FAQ question should use sentence case for consistency.

Suggested change
## Does Multi-Currency affect token permissions?

Comment on lines +69 to +74

1. In Expensify, go to **Settings**.
2. Select **Workspaces**.
3. Select your Workspace.
4. Click **Accounting**.
5. Click **Sync Now**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability violation: These six steps (lines 69-74) are an exact duplicate of lines 47-52. Consider extracting the shared "sync and retry" instructions into a single section at the end of the article (e.g., "## After updating, sync Expensify with NetSuite") and referencing it from both fix sections. This reduces redundancy and makes future edits easier.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 57262996ed

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- **eReceipts** – Enable automatic receipt generation for all USD card transactions up to $75 (requires USD as default currency).
- **Merchant-based automation** – Automatically apply categories, tags, and other fields using Workspace Merchant Rules.

![Rules page showing all available workspace-level expense rules with Itemized Receipt flagged]({{site.url}}/assets/images/ExpensifyHelp-FlagExpensesMissing|temizedReceipts_01.png){:width="100%"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Correct invalid screenshot filename in Workspace Rules doc

The newly added image link uses ExpensifyHelp-FlagExpensesMissing|temizedReceipts_01.png (with |temized), but the asset in assets/images is named ExpensifyHelp-FlagExpensesMissingItemizedReceipts_01.png. Because this filename does not exist, the screenshot will not render on the published help page.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant