Skip to content

Commit

Permalink
feat(dunning): Add payment_overdue to invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Jun 18, 2024
1 parent 9787ab8 commit e42362d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/fixtures/api/invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"issuing_date": "2022-06-02",
"payment_dispute_lost_at": "2022-04-29T08:59:51Z",
"payment_due_date": "2022-06-02",
"payment_overdue": false,
"invoice_type": "one_off",
"version_number": 2,
"status": "finalized",
Expand Down
1 change: 1 addition & 0 deletions spec/lago/api/resources/invoice_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
net_payment_term: 0,
payment_due_date: '2022-06-02',
payment_status: 'succeeded',
payment_overdue: false,
invoice_type: 'one_off'
)
expect(invoice.applied_taxes.first.tax_code).to eq('tax_code')
Expand Down

0 comments on commit e42362d

Please sign in to comment.