Skip to content

Commit

Permalink
BILL-9714: Update docs for added invoice_id field (#856)
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Dalbert <[email protected]>
  • Loading branch information
leodalbert and ldalbert authored Feb 27, 2024
1 parent 732bca7 commit a7cf342
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions specification/resources/billing/models/invoice_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ properties:
description: >-
The UUID of the invoice. The canonical reference for the invoice.
example: fdabb512-6faf-443c-ba2e-665452332a9e
invoice_id:
type: string
description: >-
ID of the invoice. Listed on the face of the invoice PDF as the "Invoice number".
example: "123456789"
amount:
type: string
description: >-
Expand Down
5 changes: 5 additions & 0 deletions specification/resources/billing/models/invoice_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ properties:
description: UUID of the invoice
example: 22737513-0ea7-4206-8ceb-98a575af7681

invoice_id:
type: string
description: ID of the invoice
example: '123456789'

billing_period:
type: string
description: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ content:
$ref: '../models/invoice_summary.yml'
example:
invoice_uuid: 22737513-0ea7-4206-8ceb-98a575af7681
invoice_id: '123456789'
billing_period: 2020-01
amount: '27.13'
user_name: Sammy Shark
Expand Down
3 changes: 3 additions & 0 deletions specification/resources/billing/responses/invoices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ content:
example:
invoices:
- invoice_uuid: 22737513-0ea7-4206-8ceb-98a575af7681
invoice_id: '12345678'
amount: '12.34'
invoice_period: 2019-12
- invoice_uuid: fdabb512-6faf-443c-ba2e-665452332a9e
invoice_id: '23456789'
amount: '23.45'
invoice_period: 2019-11
invoice_preview:
invoice_uuid: 1afe95e6-0958-4eb0-8d9a-9c5060d3ef03
invoice_id: '34567890'
amount: '34.56'
invoice_period: 2020-02
updated_at: '2020-02-23T06:31:50Z'
Expand Down

0 comments on commit a7cf342

Please sign in to comment.