Skip to content

[Due for payment 2026-01-16] [Due for payment 2026-01-15] Invoice - Invoice cannot be sent when user selects a category that requires attendees #79008

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.2.95-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #78315
Email or phone of affected tester (no customers): sjiodnjsoidnjisodjdsjsoi@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.1 / Chrome
App Component: Money Requests

Action Performed:

Preconditions:

  • Rules are enabled.
  • Enable Attendee tracking in Rules.
  • Make Advertising category require attendees in category settings.
  • Invoice is enabled.
  1. Go to staging.new.expensify.com
  2. Open FAB > Send invoice.
  3. Enter amount > Next.
  4. Select a user > Next.
  5. On confirm page, select Advertising category.
  6. Proceed to next page and enter company details (if this is the first time invoice is sent).
  7. Open FAB > Send invoice.
  8. Enter amount > Next.
  9. Select a user > Next.
  10. On confirm page, select Advertising category.
  11. Click Send invoice.

Expected Result:

Invoice can be sent.

Actual Result:

Invoice cannot be sent when user selects a category that requires attendees.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7042857_1767795199574.6.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @brianlee-expensify

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Jan 7, 2026
  2. melvin-bot commented on Jan 7, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #78315

  3. melvin-bot commented on Jan 7, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  4. melvin-bot commented on Jan 7, 2026

    @melvin-bot

    Triggered auto assignment to @brianlee-expensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  5. github-actions commented on Jan 7, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. twinkle-react commented on Jan 7, 2026

    @twinkle-react

    Proposal

    Please re-state the problem that we are trying to solve in this issue.
    Invoices cannot be sent when a category requires attendees because the SendInvoice API call does not include attendee information, and the backend validation prevents sending invoices without attendees.

    What is the root cause of that problem?
    The SendInvoiceParams and the SendInvoice API call do not include the attendees field, so when a category requires attendees, the backend rejects the request.

    What changes do you think we should make in order to solve the problem?
    Add the attendees field to SendInvoiceParams and include it in the SendInvoice API call when attendees exist.

    Exact changes:

    File: src/libs/API/parameters/SendInvoiceParams.ts
    SendInvoiceParams.ts Line 15

    category?: string;
    attendees?: string;
    invoiceRoomReportID?: string;

    File: src/libs/actions/IOU/SendInvoice.ts
    SendInvoice.ts Line 738

    description: parsedComment,
    attendees: transaction?.comment?.attendees ? JSON.stringify(transaction.comment.attendees) : undefined,
    ...(invoiceChatReport?.reportID ? {receiverInvoiceRoomID: invoiceChatReport.reportID} : {receiverEmail: receiver.login ?? ''}),
  7. added
    Reviewing
    on Jan 7, 2026
  8. 12 remaining items

  9. melvin-bot commented on Jan 8, 2026

    @melvin-bot

    @ikevin127 @brianlee-expensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  10. brianlee-expensify commented on Jan 8, 2026

    @brianlee-expensify
    Contributor

    @JS00001 confirming that no payment is required for this issue, and we can keep closed?

  11. ikevin127 commented on Jan 8, 2026

    @ikevin127
    Contributor

    @brianlee-expensify Nope, this was a regression caused by one of my PRs and was closed because PR was reverted and issue resolved.

  12. added
    Reviewing
    Weekly
    and removed
    Weekly
    on Jan 8, 2026
  13. changed the title [-][Due for payment 2026-01-15] Invoice - Invoice cannot be sent when user selects a category that requires attendees[/-] [+][Due for payment 2026-01-16] [Due for payment 2026-01-15] Invoice - Invoice cannot be sent when user selects a category that requires attendees[/+] on Jan 9, 2026
  14. removed
    Reviewing
    on Jan 9, 2026
  15. melvin-bot commented on Jan 9, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  16. melvin-bot commented on Jan 9, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.96-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-01-16. 🎊

    For reference, here are some details about the assignees on this issue:

    • @ikevin127 requires payment through NewDot Manual Requests
  17. melvin-bot commented on Jan 9, 2026

    @melvin-bot

    @ikevin127 @brianlee-expensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions