@@ -9245,7 +9245,6 @@ paths:
92459245 description: Apply credit payment to the outstanding balance on an existing
92469246 charge invoice from an account’s available balance from existing credit invoices.
92479247 parameters:
9248- - "$ref": "#/components/parameters/site_id"
92499248 - "$ref": "#/components/parameters/invoice_id"
92509249 responses:
92519250 '200':
@@ -18621,7 +18620,7 @@ components:
1862118620 type: string
1862218621 maxLength: 20
1862318622 description: Code that represents a geographic entity (location or object).
18624- Only returned for Sling Vertex Integration
18623+ Only returned when Vertex or Avalara for Communications is enabled.
1862518624 AddressWithName:
1862618625 allOf:
1862718626 - "$ref": "#/components/schemas/Address"
@@ -20195,6 +20194,19 @@ components:
2019520194 description: Any values that resemble a credit card number or security code
2019620195 (CVV/CVC) will be rejected.
2019720196 maxLength: 255
20197+ source_record_type:
20198+ type: string
20199+ title: Source record type
20200+ description: The type of record this custom field was automatically copied
20201+ from. Only present when the field was copied from another record.
20202+ readOnly: true
20203+ "$ref": "#/components/schemas/SourceRecordTypeEnum"
20204+ source_record_id:
20205+ type: string
20206+ title: Source record ID
20207+ description: The UUID of the record this custom field was automatically
20208+ copied from. Only present when the field was copied from another record.
20209+ readOnly: true
2019820210 required:
2019920211 - name
2020020212 - value
@@ -20206,6 +20218,15 @@ components:
2020620218 remove a field send the name with a null or empty value.
2020720219 items:
2020820220 "$ref": "#/components/schemas/CustomField"
20221+ InvoiceCustomFields:
20222+ type: array
20223+ title: Custom fields
20224+ description: A list of custom fields that were on the account at the time of
20225+ invoice creation and were marked to be displayed on invoices. Read-only; cannot
20226+ be set directly on the invoice.
20227+ readOnly: true
20228+ items:
20229+ "$ref": "#/components/schemas/CustomField"
2020920230 CustomFieldDefinition:
2021020231 type: object
2021120232 title: Custom field definition
@@ -21084,6 +21105,8 @@ components:
2108421105 title: Business Entity ID
2108521106 description: Unique ID to identify the business entity assigned to the invoice.
2108621107 Available when the `Multiple Business Entities` feature is enabled.
21108+ custom_fields:
21109+ "$ref": "#/components/schemas/InvoiceCustomFields"
2108721110 InvoiceCreate:
2108821111 type: object
2108921112 properties:
@@ -22735,7 +22758,7 @@ components:
2273522758 type: string
2273622759 maxLength: 20
2273722760 description: Code that represents a geographic entity (location or object).
22738- Only returned for Sling Vertex Integration
22761+ Only returned when Vertex or Avalara for Communications is enabled.
2273922762 created_at:
2274022763 type: string
2274122764 title: Created at
@@ -22823,7 +22846,7 @@ components:
2282322846 type: string
2282422847 maxLength: 20
2282522848 description: Code that represents a geographic entity (location or object).
22826- Only returned for Sling Vertex Integration
22849+ Only returned when Vertex or Avalara for Communications is enabled.
2282722850 country:
2282822851 type: string
2282922852 maxLength: 50
@@ -23154,7 +23177,7 @@ components:
2315423177 type: string
2315523178 maxLength: 20
2315623179 description: Code that represents a geographic entity (location or object).
23157- Only returned for Sling Vertex Integration
23180+ Only returned when Vertex or Avalara for Communications is enabled.
2315823181 Site:
2315923182 type: object
2316023183 properties:
@@ -28104,3 +28127,11 @@ components:
2810428127 enum:
2810528128 - customer
2810628129 - merchant
28130+ SourceRecordTypeEnum:
28131+ type: string
28132+ description: The type of record a custom field was automatically copied from.
28133+ enum:
28134+ - account
28135+ - plan
28136+ - product
28137+ - subscription
0 commit comments