Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoice | Add Update Invoice #27

Open
Tracked by #22
AntoineKM opened this issue Dec 12, 2022 · 0 comments
Open
Tracked by #22

Invoice | Add Update Invoice #27

AntoineKM opened this issue Dec 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AntoineKM
Copy link
Member

AntoineKM commented Dec 12, 2022

Endpoint:

/users/{userId}/invoices/{invoiceId}

Body:

{
  customer: User;
  issuedAt: Date;
  dueAt: Date;
  items: InvoiceItem[];
}

Return:

{
  success: boolean; // <-- If success is false message
  message?: string;
  data?: CustomerInvoice;
}

Permission:

admin, sales
@AntoineKM AntoineKM added the enhancement New feature or request label Dec 12, 2022
@MaximeCarville MaximeCarville self-assigned this Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants