Defines the data structure required to initiate invoice creation, including billing cycles and currency details. Use this when processing billing requests or generating financial documents.
// Source: https://github.com/customeros/customeros | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
package dto
import "time"
type CreateInvoice struct {
Id string `json:"id"`
Number string `json:"number"`
Currency string `json:"currency"`
Postpaid bool `json:"postpaid"`
DryRun bool `json:"dryRun"`
Preview bool `json:"preview"`
OffCycle bool `json:"offCycle"`
Note string `json:"note"`
BillingCycleInMonths int64 `json:"billingCycleInMonths"`
InvoicePeriodStart time.Time `json:"invoicePeriodStart"`
InvoicePeriodEnd time.Time `json:"invoicePeriodEnd"`
Source string `json:"s
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key