-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathBilling.yaml
36 lines (36 loc) · 1.11 KB
/
Billing.yaml
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
30
31
32
33
34
35
36
description: Describes the billing details of an entity.<br>This has properties like name,organization,address,email,phone,time,tax_number, created_at,updated_at
type: object
properties:
name:
description: Name of the billable entity
type: string
organization:
description: Details of the organization being billed.
allOf:
- $ref: "./Organization.yaml"
address:
description: The address of the billable entity
allOf:
- $ref: "./Address.yaml"
state:
description: The state where the billable entity resides. This is important for state-level tax calculation
allOf:
- $ref: "./State.yaml"
city:
description: The city where the billable entity resides.
allOf:
- $ref: "./City.yaml"
email:
description: Email address where the bill is sent to
type: string
format: email
phone:
description: Phone number of the billable entity
type: string
time:
description: Details regarding the billing period
allOf:
- $ref: "./Time.yaml"
tax_id:
description: ID of the billable entity as recognized by the taxation authority
type: string