File size: 1,026 Bytes
04f1444 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | // 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"`
}
|