Skip to content

Commit

Permalink
feat: add skip zero invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto committed Sep 6, 2024
1 parent 0844f5c commit d1117ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/schemas/CustomerCreateInput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ properties:
description: |-
Specifies how invoices with a zero total amount should be handled:
- `inherit`: (Default) Follows the organization-level configuration.
- `finalize`: Invoices are issued and finalized even if the total amount is $0.
- `skip`: Invoices with a total amount of $0 are not finalized.
- `finalize`: Invoices are issued and finalized even if the total amount is zero.
- `skip`: Invoices with a total amount of zero are not finalized.
billing_configuration:
$ref: './CustomerBillingConfiguration.yaml'
shipping_address:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/OrganizationObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ properties:
finalize_zero_amount_invoice:
type: boolean
example: false
description: Indicates whether invoices with a zero total amount should be finalized. If set to true, zero-amount invoices will be finalized. If set to false, zero-amount invoices will not be finalized.
description: Indicates whether invoices with a zero total amount should be finalized. If set to true, zero amount invoices will be finalized. If set to false, zero amount invoices will not be finalized.
2 changes: 1 addition & 1 deletion src/schemas/OrganizationUpdateInput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ properties:
finalize_zero_amount_invoice:
type: boolean
example: false
description: Determines whether invoices with a zero total amount should be finalized. If set to true, zero-amount invoices will be finalized. If set to false, zero-amount invoices will not be finalized.
description: Determines whether invoices with a zero total amount should be finalized. If set to true, zero amount invoices will be finalized. If set to false, zero amount invoices will not be finalized.

0 comments on commit d1117ca

Please sign in to comment.