2
0
Mauricio Araujo 2 жил өмнө
parent
commit
dd9d619b42

+ 1 - 7
api/types/billing_metronome.go

@@ -207,14 +207,8 @@ type ListCustomerInvoicesRequest struct {
 // Invoice represents a Metronome invoice.
 type Invoice struct {
 	ID              uuid.UUID       `json:"id"`
-	CustomerID      uuid.UUID       `json:"customer_id"`
-	CreditType      CreditType      `json:"credit_type"`
-	StartTimestamp  string          `json:"start_timestamp"`
-	EndTimestamp    string          `json:"end_timestamp"`
 	Status          string          `json:"status"`
-	Subtotal        float64         `json:"subtotal"`
-	Total           float64         `json:"total"`
-	Type            string          `json:"type"`
+	IssuedAt        string          `json:"issued_at"`
 	ExternalInvoice ExternalInvoice `json:"external_invoice"`
 }