Mauricio Araujo 2 лет назад
Родитель
Сommit
d45cb2dce0
1 измененных файлов с 1 добавлено и 7 удалено
  1. 1 7
      api/types/billing_metronome.go

+ 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"`
 }