invoice_status

package
v0.0.0-...-0e9d9cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvoiceStatus

type InvoiceStatus int

InvoiceStatus represents the status of an invoice.

const (
	// Draft is the status of an invoice that has been created but not yet sent to the customer.
	Draft InvoiceStatus = iota + 1
	// Active is the status of an invoice that has been sent to the customer and is awaiting payment.
	Active
	// Sent is the status of an invoice that has been sent to the customer.
	Sent
	// Disputed is the status of an invoice that has been disputed by the customer.
	Disputed
	// Overdue is the status of an invoice that has not been paid by the due date.
	Overdue
	// Partial is the status of an invoice that has been partially paid by the customer.
	Partial
	Paid
	// Void is the status of an invoice that has been voided by the user.
	Void
	// Debt is the status of an invoice that has been deemed uncollectible by the user.
	Debt
	// Reserved is the status of an invoice that has been reserved for future use.
	Reserved
)

func (InvoiceStatus) ID

func (s InvoiceStatus) ID() string

ID returns the ID of the invoice status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL