-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DE-736] Add enums for proforma invoice and invoice (#114)
- Add enums for proforma invoices and invoices properties: - Invoice Discount Source Type - Invoice Discount Type - Proforma Invoice Discount Source Type - Proforma Invoice Role - Proforma Invoice Status - Tax Source Type - Remove `ProformaTaxBreakout`, use `InvoiceTaxBreakout` instead - Make Proforma Invoice reuse `InvoiceConsolidationLevel` and `CollectionMethod` enums instead of strings
- Loading branch information
1 parent
50f34e6
commit 68b7d87
Showing
35 changed files
with
915 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Invoice Discount Source Type | ||
|
||
## Enumeration | ||
|
||
`InvoiceDiscountSourceType` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Coupon` | | ||
| `Referral` | | ||
| `EnumAdHocCoupon` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Invoice Discount Type | ||
|
||
## Enumeration | ||
|
||
`InvoiceDiscountType` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Percentage` | | ||
| `FlatAmount` | | ||
| `Rollover` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# Proforma Invoice Discount Source Type | ||
|
||
## Enumeration | ||
|
||
`ProformaInvoiceDiscountSourceType` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Coupon` | | ||
| `Referral` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# Proforma Invoice Role | ||
|
||
'proforma' value is deprecated in favor of proforma_adhoc and proforma_automatic | ||
|
||
## Enumeration | ||
|
||
`ProformaInvoiceRole` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Unset` | | ||
| `Proforma` | | ||
| `ProformaAdhoc` | | ||
| `ProformaAutomatic` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Proforma Invoice Status | ||
|
||
## Enumeration | ||
|
||
`ProformaInvoiceStatus` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Draft` | | ||
| `Voided` | | ||
| `Archived` | | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# Proforma Invoice Tax Source Type | ||
|
||
## Enumeration | ||
|
||
`ProformaInvoiceTaxSourceType` | ||
|
||
## Fields | ||
|
||
| Name | | ||
| --- | | ||
| `Tax` | | ||
| `Avalara` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.