openmeter / api /v3 /client /models_defaults.go
Leon4gr45's picture
Upload folder using huggingface_hub (part 3)
04f1444 verified
Raw
History Blame Contribute Delete
1.03 kB
// Code generated by @openmeter/typespec-go. DO NOT EDIT.
package openmeter
import "time"
// Organization-level default tax code references.
//
// Stores the default tax codes applied to specific billing contexts for this
// organization. Provisioned automatically when the organization is created.
type OrganizationDefaultTaxCodes struct {
// Default tax code for invoicing.
InvoicingTaxCode TaxCodeReference `json:"invoicing_tax_code"`
// Default tax code for credit grants.
CreditGrantTaxCode TaxCodeReference `json:"credit_grant_tax_code"`
// Timestamp of creation.
CreatedAt time.Time `json:"created_at"`
// Timestamp of last update.
UpdatedAt time.Time `json:"updated_at"`
}
// OrganizationDefaultTaxCodes update request.
type UpdateOrganizationDefaultTaxCodesRequest struct {
// Default tax code for invoicing.
InvoicingTaxCode *TaxCodeReference `json:"invoicing_tax_code,omitempty"`
// Default tax code for credit grants.
CreditGrantTaxCode *TaxCodeReference `json:"credit_grant_tax_code,omitempty"`
}