Skip to content

Commit

Permalink
Merge pull request #180 from getlago/feat-dunning
Browse files Browse the repository at this point in the history
feat(dunning): Add payment_overdue to invoice
  • Loading branch information
rsempe authored Jun 18, 2024
2 parents ba07d56 + 9c915ef commit 9d7b9ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ type InvoiceListInput struct {
ExternalCustomerID string `json:"external_customer_id,omitempty"`
Status InvoiceStatus `json:"status,omitempty"`
PaymentStatus InvoicePaymentStatus `json:"payment_status,omitempty"`
PaymentOverdue bool `json:"payment_overdue,omitempty"`
}

type InvoiceCreditItem struct {
Expand Down Expand Up @@ -149,6 +150,7 @@ type Invoice struct {
IssuingDate string `json:"issuing_date,omitempty"`
PaymentDisputeLostAt time.Time `json:"payment_dispute_lost_at,omitempty"`
PaymentDueDate string `json:"payment_due_date,omitempty"`
PaymentOverdue bool `json:"payment_overdue,omitempty"`

InvoiceType InvoiceType `json:"invoice_type,omitempty"`
Status InvoiceStatus `json:"status,omitempty"`
Expand Down

0 comments on commit 9d7b9ab

Please sign in to comment.