lockstep_rails 0.3.73 → 0.3.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/lockstep/invoice.rb +1 -1
  3. data/app/platform_api/schema/company_magic_link_summary.rb +2 -2
  4. data/app/platform_api/schema/credit_memo_applied.rb +4 -0
  5. data/app/platform_api/schema/credit_memo_applied_sync.rb +10 -0
  6. data/app/platform_api/schema/e_invoice_attachment.rb +26 -0
  7. data/app/platform_api/schema/error.rb +33 -0
  8. data/app/platform_api/schema/financial_account.rb +4 -0
  9. data/app/platform_api/schema/financial_account_sync.rb +4 -0
  10. data/app/platform_api/schema/inbound_company_sync.rb +151 -0
  11. data/app/platform_api/schema/inbound_invoice_sync.rb +147 -0
  12. data/app/platform_api/schema/inbound_payment_application.rb +50 -0
  13. data/app/platform_api/schema/inbound_payment_sync.rb +109 -0
  14. data/app/platform_api/schema/inbound_sync_invoice_lines.rb +67 -0
  15. data/app/platform_api/schema/inbound_sync_primary_contact.rb +123 -0
  16. data/app/platform_api/schema/inbound_sync_report_data.rb +25 -0
  17. data/app/platform_api/schema/inbound_sync_report_data_json_api_data.rb +13 -0
  18. data/app/platform_api/schema/inbound_sync_report_summary.rb +25 -0
  19. data/app/platform_api/schema/invoice.rb +4 -0
  20. data/app/platform_api/schema/invoice_line.rb +4 -0
  21. data/app/platform_api/schema/invoice_workflow_status_history.rb +4 -0
  22. data/app/platform_api/schema/journal_entry_line.rb +7 -0
  23. data/app/platform_api/schema/journal_entry_line_sync.rb +7 -0
  24. data/app/platform_api/schema/json_api_resource_head.rb +18 -0
  25. data/app/platform_api/schema/manifest_response.rb +19 -0
  26. data/app/platform_api/schema/meta.rb +18 -0
  27. data/app/platform_api/schema/payment.rb +4 -0
  28. data/app/platform_api/schema/payment_applied.rb +4 -0
  29. data/app/platform_api/schema/relationship.rb +19 -0
  30. data/app/platform_api/schema/relationship_detail.rb +11 -0
  31. data/app/platform_api/schema/source.rb +14 -0
  32. data/app/platform_api/schema/sync_payload.rb +13 -0
  33. data/app/platform_api/schema/sync_request.rb +3 -0
  34. data/app/platform_api/schema/workflow_status.rb +3 -0
  35. data/app/platform_api/swagger.json +9730 -12095
  36. data/lib/lockstep_rails/version.rb +1 -1
  37. metadata +20 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fcb46b4df1534d7fa736686ffbedf749a1a578aec9f7c187abf6217193ce772
4
- data.tar.gz: ba6d8d38b3ae0de5f5df13dcded545da3d97106aa8c8b8f6b86f21260ebf78cc
3
+ metadata.gz: 911c3903517344a7853c2bfb5c23857f4be16f6d8a6a96064ec6d5567cb5dfa3
4
+ data.tar.gz: 32831226db82f62df9f1943436e22204e793d221fd622f7df7d5d3bb4c72f8aa
5
5
  SHA512:
6
- metadata.gz: 7dfe1a0ff3b7404ab7b32434045ab8a0560aef807f31b2650054a6aa2d38d237983b153e9f12dc496efcf3769ec14772a07d755153c002d501b6ec600611f0ff
7
- data.tar.gz: 10712af1f384b8705373f2995f7faf31289f3914c488e0cf12eb71e46f31134dfa33a9389da2592b3e33aa468af1404fb5ecf454bd24674513025d269cedb440
6
+ metadata.gz: 8e13d83274513f7b1939243c66062f305fae374a2c6c1ab9bd6b113fabdaca6de71e1cd8fb7c82040e63b818c23c2aa0444210b79848d4b02f7086d8a270a2c7
7
+ data.tar.gz: 26cc1f14b52406d0a3630702539b6c8a9e4eb1ecdf8b0e957996fe83c755fe92a281c22a81ed81bc7b1e48eea34e2f0cce611aa89a382d3562c4380f1fab3d90
@@ -7,7 +7,7 @@ class Lockstep::Invoice < Lockstep::ApiRecord
7
7
 
8
8
  belongs_to :connection, class_name: 'Lockstep::Connection', foreign_key: :customer_id
9
9
 
10
- scope :einvoices, -> { where(is_e_invoice: true).include_object(:customer, :lines) }
10
+ scope :einvoices, -> { where(is_e_invoice: true).include_object(:customer, :lines, :attachments) }
11
11
  scope :received_einvoices, -> { einvoices.where(invoice_type_code: 'AP Invoice') }
12
12
  scope :sent_einvoices, -> { einvoices.where(invoice_type_code: 'AR Invoice') }
13
13
  end
@@ -49,8 +49,8 @@ end
49
49
  field :point_of_contact
50
50
 
51
51
  # The total outstanding amount for this company
52
- # @type: integer
53
- # @format: int32
52
+ # @type: number
53
+ # @format: double
54
54
  field :outstanding_amount
55
55
 
56
56
  # The total number of open invoices for this company
@@ -104,6 +104,10 @@ end
104
104
  # @format: date-time
105
105
  field :source_modified_date, Types::Params::DateTime
106
106
 
107
+ # Additional attributes that may be required by the source system.
108
+ # @type: object
109
+ field :erp_system_attributes
110
+
107
111
  # The credit memo invoice associated with this applied credit memo
108
112
  field :credit_memo_invoice
109
113
 
@@ -8,6 +8,11 @@ end
8
8
  # Indicates what action to take when an existing object has been found during the sync process.
9
9
  field :on_match_action
10
10
 
11
+ # The unique identifier of this object in the Sage Network platform.
12
+ # @type: string
13
+ # @format: uuid
14
+ field :network_id
15
+
11
16
  # This is the primary key of the Credit Memo Application record. For this field, you should use whatever this
12
17
  # transaction's unique identifying number is in the originating system. Search for a unique, non-changing
13
18
  # number within the originating financial system for this record.
@@ -27,6 +32,11 @@ end
27
32
  # @type: string
28
33
  field :invoice_erp_key
29
34
 
35
+ # The network id of the parent Invoice.
36
+ # @type: string
37
+ # @format: uuid
38
+ field :invoice_network_id
39
+
30
40
  # This field indicates which Invoice is the original credit memo that was used to make this payment
31
41
  # application event. In this field, identify the original primary key or unique ID of the Invoice which
32
42
  # created the credit memo that was consumed in this event.
@@ -0,0 +1,26 @@
1
+ class Schema::EInvoiceAttachment < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique ID of this record, automatically assigned by Lockstep when this record is added to the platform.
9
+ # @type: string
10
+ field :attachment_id
11
+
12
+ # An Attachment represents a file that was uploaded to the Platform.This field contains the original name of the file on disk, without its extension.
13
+ # @type: string
14
+ field :file_name
15
+
16
+ # An Attachment represents a file that was uploaded to the Platform. This field contains the original extension name of the file on disk.
17
+ # @type: string
18
+ field :file_ext
19
+
20
+ # A text string describing the type of this Attachment.
21
+ # @type: string
22
+ field :attachment_type
23
+
24
+
25
+
26
+ end
@@ -0,0 +1,33 @@
1
+ class Schema::Error < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # Status of error
9
+ # @type: integer
10
+ # @format: int32
11
+ field :status
12
+
13
+ # Source of Error
14
+ field :source
15
+
16
+ # Error Detail
17
+ # @type: string
18
+ field :detail
19
+
20
+ # Errors Title
21
+ # @type: string
22
+ field :title
23
+
24
+ # Errors code
25
+ # @type: string
26
+ field :code
27
+
28
+ # Contains meta about entity
29
+ field :entity_meta
30
+
31
+
32
+
33
+ end
@@ -63,6 +63,10 @@ end
63
63
  # @type: string
64
64
  field :subcategory
65
65
 
66
+ # The system account type of the Financial Account.
67
+ # @type: string
68
+ field :system_account_type
69
+
66
70
  # The date the FinancialAccount was created.
67
71
  # @type: string
68
72
  # @format: date-time
@@ -48,6 +48,10 @@ end
48
48
  # @type: string
49
49
  field :subcategory
50
50
 
51
+ # The system account type of the Financial Account.
52
+ # @type: string
53
+ field :system_account_type
54
+
51
55
 
52
56
 
53
57
  end
@@ -0,0 +1,151 @@
1
+ class Schema::InboundCompanySync < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique identifier of this object in the Sage Network platform.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :network_id
12
+
13
+ # Read or write operation for sync
14
+ # @type: string
15
+ field :operation_type
16
+
17
+ # The short name of the company.
18
+ # @type: string
19
+ field :company_name
20
+
21
+ # This field indicates the type of company. It can be one of a limited number of values:
22
+ # Company, Customer, Group, Vendor, or Third Party. A company that represents both a customer and a vendor
23
+ # is identified as a CustomerVendor.
24
+ #
25
+ # The following are the company types currently supported for Erp Writes
26
+ #
27
+ # * `Customer` - This record represents a business entity that purchases things from the account holder.
28
+ # * `Vendor` - This record represents a business entity that sells things to the account holder.
29
+ # * `CustomerVendor` - Both a customer and a vendor.
30
+ # @type: string
31
+ field :company_type
32
+
33
+ # If this business entity is part of an organization, this value is non-null and it is set
34
+ # to the `CompanyId` value of the parent company of this business entity.
35
+ #
36
+ # If this value is null, this business entity is a standalone.
37
+ # @type: string
38
+ # @format: uuid
39
+ field :parent_company_network_id
40
+
41
+ # The unique ID of the parent company as it was known in its originating financial system.
42
+ # @type: string
43
+ field :parent_company_erp_key
44
+
45
+ # The default currency code used by this business entity. This value can be overridden
46
+ # for invoices in a different currency code.
47
+ #
48
+ # For a list of defined currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies)
49
+ # @type: string
50
+ field :default_currency_code
51
+
52
+ # The external reference of the company.
53
+ #
54
+ # For Sage Intacct enrollments this field is required and must be a unique value to be used as the Vendor Id
55
+ # @type: string
56
+ field :external_reference
57
+
58
+ # Federal Tax ID
59
+ # @type: string
60
+ field :tax_id
61
+
62
+ # For convenience, this field indicates the top-level parent company. This can be used
63
+ # to jump directly to the top parent in complex organizational hierarchies.
64
+ # @type: string
65
+ # @format: uuid
66
+ field :enterprise_id
67
+
68
+ # The unique ID of the enterprise as it was known in its originating financial system.
69
+ # @type: string
70
+ field :enterprise_erp_key
71
+
72
+ # The first line of the address.
73
+ # @type: string
74
+ field :address1
75
+
76
+ # The second line of the address.
77
+ # @type: string
78
+ field :address2
79
+
80
+ # The third line of the address.
81
+ # @type: string
82
+ field :address3
83
+
84
+ # The city of the address.
85
+ # @type: string
86
+ field :city
87
+
88
+ # The state/region of the address.
89
+ # @type: string
90
+ field :state_region
91
+
92
+ # The postal/zip code of the address.
93
+ # @type: string
94
+ field :postal_code
95
+
96
+ # The two character country code of the address.
97
+ # @type: string
98
+ field :country
99
+
100
+ # Time zone
101
+ # @type: string
102
+ field :time_zone
103
+
104
+ # Phone number
105
+ # @type: string
106
+ field :phone_number
107
+
108
+ # Fax number
109
+ # @type: string
110
+ field :fax_number
111
+
112
+ # Company Email Address
113
+ # @type: string
114
+ field :email_address
115
+
116
+ # Dun & Bradstreet Number
117
+ # @type: string
118
+ field :duns_number
119
+
120
+ # Federal Tax ID
121
+ # @type: string
122
+ field :state_tax_id
123
+
124
+ # The state where the company was registered.
125
+ # @type: string
126
+ field :state_of_incorporation
127
+
128
+ # The primary contact for the company.
129
+ field :primary_contact
130
+
131
+ # Sync time
132
+ # @type: string
133
+ # @format: date-time
134
+ field :timestamp, Types::Params::DateTime
135
+
136
+ # Last Sync time
137
+ # @type: string
138
+ # @format: date-time
139
+ field :last_attempted, Types::Params::DateTime
140
+
141
+ # Erp write status
142
+ # @type: string
143
+ field :status
144
+
145
+ # Erp write status message
146
+ # @type: string
147
+ field :message
148
+
149
+
150
+
151
+ end
@@ -0,0 +1,147 @@
1
+ class Schema::InboundInvoiceSync < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # Sync operation type whether it is read or write
9
+ # @type: string
10
+ field :operation_type
11
+
12
+ # Required when submitting updates for an existing record.
13
+ # @type: string
14
+ # @format: uuid
15
+ field :network_id
16
+
17
+ # The id for this invoice supplied by the originating party.
18
+ # @type: string
19
+ field :invoice_reference_code
20
+
21
+ # A code identifying the type of this invoice.
22
+ #
23
+ # Recognized Invoice types are:
24
+ # * `AR Invoice` - Represents an invoice sent by Company to the Customer
25
+ # * `AP Invoice` - Represents an invoice sent by Vendor to the Company
26
+ # * `AR Credit Memo` - Represents a credit memo generated by Company given to Customer
27
+ # * `AP Credit Memo` - Represents a credit memo generated by Vendor given to Company
28
+ # @type: string
29
+ field :invoice_type
30
+
31
+ # This flag Indicates if this invoice is E-invoice.
32
+ # When True, all fields other than erpKey, companyERPKey, and customerERPKey become optional.
33
+ # Model most also contain at least one e-invoice file type.
34
+ # @type: boolean
35
+ field :is_e_invoice
36
+
37
+ # File Data model is child model for Invoice and InvoiceInboundSync model represents file name and file path.
38
+ # This model is use for EInvoice request.
39
+ # For more information on writing your own connector, see [Connector Data](https://developer.lockstep.io/docs/connector-data).
40
+ field :attachments
41
+
42
+ # The network id of the related Company.
43
+ # @type: string
44
+ # @format: uuid
45
+ field :customer_network_id
46
+
47
+ # The total value of this invoice, inclusive of all taxes and line items.
48
+ # @type: number
49
+ # @format: double
50
+ field :total_amount
51
+
52
+ # The three-character ISO 4217 currency code used for this invoice.
53
+ # @type: string
54
+ field :currency_code
55
+
56
+ # The reporting date for this invoice in "YYYY-MM-DD" format.
57
+ # @type: string
58
+ # @format: date-time
59
+ field :invoice_date, Types::Params::DateTime
60
+
61
+ # The date on which this invoice record was created.
62
+ # @type: string
63
+ # @format: date-time
64
+ field :created, Types::Params::DateTime
65
+
66
+ # Flags if this invoice request isto be posted as a draft
67
+ # @type: boolean
68
+ field :is_draft
69
+
70
+ # The department this line item belongs to.
71
+ # @type: string
72
+ field :department_erp_key
73
+
74
+ # Description of this invoice line.
75
+ # @type: string
76
+ field :description
77
+
78
+ # The total discounts given by the seller to the buyer on this invoice.
79
+ # @type: number
80
+ # @format: double
81
+ field :discount_amount
82
+
83
+ # The remaining balance value of this invoice.
84
+ # @type: number
85
+ # @format: double
86
+ field :outstanding_balance_amount
87
+
88
+ # The date when the remaining outstanding balance is due in "YYYY-MM-DD" format.
89
+ # @type: string
90
+ # @format: date-time
91
+ field :payment_due_date, Types::Params::DateTime
92
+
93
+ # The payment priority level for this invoice.
94
+ # @type: string
95
+ field :payment_priority
96
+
97
+ # The "Purchase Order Code" is a code that is sometimes used by companies to refer to the original PO
98
+ # that was sent that caused this invoice to be written. If a customer sends a purchase order to a vendor,
99
+ # the vendor can then create an invoice and refer back to the originating purchase order using this field.
100
+ # @type: string
101
+ field :purchase_order_code
102
+
103
+ # An additional reference code that is sometimes used to identify this invoice.
104
+ # The meaning of this field is specific to the ERP or accounting system used by the user.
105
+ # @type: string
106
+ field :reference_code
107
+
108
+ # A code identifying the salesperson responsible for writing this invoice.
109
+ # @type: string
110
+ field :sales_person_code
111
+
112
+ # The total sales (or transactional) tax calculated for this invoice.
113
+ # @type: number
114
+ # @format: double
115
+ field :sales_tax_amount
116
+
117
+ # The name of the billing terms for this invoice.
118
+ # @type: string
119
+ field :term_name
120
+
121
+ # Sync time
122
+ # @type: string
123
+ # @format: date-time
124
+ field :timestamp, Types::Params::DateTime
125
+
126
+ # Last Sync time
127
+ # @type: string
128
+ # @format: date-time
129
+ field :last_attempted, Types::Params::DateTime
130
+
131
+ # Erp write status
132
+ # @type: string
133
+ field :status
134
+
135
+ # Erp write status message
136
+ # @type: string
137
+ field :message
138
+
139
+ # When true, indicates that invoice should be immediately sent to customer via designated channel.
140
+ # Intended for use by e-Invoices.
141
+ # @type: boolean
142
+ field :send_immediately
143
+
144
+
145
+ has_many :lines, {:class_name=>"Schema::InboundSyncInvoiceLines", :included=>true}
146
+
147
+ end
@@ -0,0 +1,50 @@
1
+ class Schema::InboundPaymentApplication < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique identifier of this object in the Sage Network platform.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :network_id
12
+
13
+ # The network id of the related Payment.
14
+ # @type: string
15
+ # @format: uuid
16
+ field :payment_network_id
17
+
18
+ # This field indicates which Invoice had its balance reduced by applying this payment. In this field,
19
+ # identify the original primary key or unique ID of the Invoice which had its balance reduced.
20
+ #
21
+ # This information lets you track how an invoice was paid. You can identify what proportion of an invoice's
22
+ # balance was paid by which methods by joining this field to Invoices.
23
+ #
24
+ # This value should match the [Invoice ErpKey](https://developer.lockstep.io/docs/importing-invoices#erpkey)
25
+ # field on the [InvoiceSyncModel](https://developer.lockstep.io/docs/importing-invoices).
26
+ # @type: string
27
+ field :invoice_erp_key
28
+
29
+ # This is the primary key of the Payment Application record. For this field, you should use whatever this
30
+ # transaction's unique identifying number is in the originating system. Search for a unique, non-changing
31
+ # number within the originating financial system for this record.
32
+ #
33
+ # Since Payment Applications are often considered transactions, a typical value to look for will be
34
+ # the transaction ID number, the payment confirmation number, or some other record of this payment.
35
+ #
36
+ # For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
37
+ # @type: string
38
+ field :erp_key
39
+
40
+ # Nested invoice object
41
+ field :invoice
42
+
43
+ # The total amount that was applied to this Invoice from the Payment.
44
+ # @type: number
45
+ # @format: double
46
+ field :payment_applied_amount
47
+
48
+
49
+
50
+ end
@@ -0,0 +1,109 @@
1
+ class Schema::InboundPaymentSync < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # CUD operation type
9
+ # @type: string
10
+ field :operation_type
11
+
12
+ # Contains details to create an payment in the ERP
13
+ # @type: string
14
+ # @format: uuid
15
+ field :network_id
16
+
17
+ # The CompanyId of the connected Payment
18
+ # @type: string
19
+ # @format: uuid
20
+ field :company_network_id
21
+
22
+ # The CompanyErpKey of the connected Payment
23
+ # @type: string
24
+ field :company_erp_key
25
+
26
+ # The PaymentType of the connected Payment
27
+ # @type: string
28
+ field :payment_type
29
+
30
+ # Payment amount of the connected Payment
31
+ # @type: number
32
+ # @format: double
33
+ field :payment_amount
34
+
35
+ # The CurrencyCode of the connected Payment
36
+ # @type: string
37
+ field :currency_code
38
+
39
+ # The CurrencyRate of the connected Payment
40
+ # @type: number
41
+ # @format: double
42
+ field :currency_rate
43
+
44
+ # The BankAccountId of the connected Payment
45
+ # @type: string
46
+ field :bank_account_id
47
+
48
+ # The PostDate of the connected Payment
49
+ # @type: string
50
+ # @format: date-time
51
+ field :payment_date, Types::Params::DateTime
52
+
53
+ # The PostDate of the connected Payment
54
+ # @type: string
55
+ # @format: date-time
56
+ field :post_date, Types::Params::DateTime
57
+
58
+ # The ErpKey of the connected Payment
59
+ # @type: string
60
+ field :erp_key
61
+
62
+ # The TenderType of the connected Payment
63
+ # @type: string
64
+ field :tender_type
65
+
66
+ # The MemoText of the connected Payment
67
+ # @type: string
68
+ field :memo_text
69
+
70
+ # The UnappliedAmount of the connected Payment
71
+ # @type: number
72
+ # @format: double
73
+ field :unapplied_amount
74
+
75
+ # The BaseCurrencyPaymentAmount of the connected Payment
76
+ # @type: number
77
+ # @format: double
78
+ field :base_currency_payment_amount
79
+
80
+ # The BaseCurrencyUnappliedAmount of the connected Payment
81
+ # @type: number
82
+ # @format: double
83
+ field :base_currency_unapplied_amount
84
+
85
+ # Nested object of company object
86
+ field :company
87
+
88
+ # Sync time
89
+ # @type: string
90
+ # @format: date-time
91
+ field :timestamp, Types::Params::DateTime
92
+
93
+ # Last sync time
94
+ # @type: string
95
+ # @format: date-time
96
+ field :last_attempted, Types::Params::DateTime
97
+
98
+ # Sync status
99
+ # @type: string
100
+ field :status
101
+
102
+ # Sync status message
103
+ # @type: string
104
+ field :message
105
+
106
+
107
+ has_many :applications, {:class_name=>"Schema::InboundPaymentApplication", :included=>true}
108
+
109
+ end
@@ -0,0 +1,67 @@
1
+ class Schema::InboundSyncInvoiceLines < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique identifier of this object in the Sage Network platform.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :network_id
12
+
13
+ # The GL account no to associate this line item with
14
+ # @type: string
15
+ field :account_no
16
+
17
+ # The account label to associate this line item with
18
+ # @type: string
19
+ field :account_label
20
+
21
+ # The department this line item belongs to.
22
+ # @type: string
23
+ field :department_erp_key
24
+
25
+ # Description of this invoice line.
26
+ # @type: string
27
+ field :description
28
+
29
+ # The line number of this line.
30
+ # @type: string
31
+ field :line_number
32
+
33
+ # The location this line item belongs to.
34
+ # @type: string
35
+ field :location_erp_key
36
+
37
+ # Offset account for this line item.
38
+ # @type: string
39
+ field :offset_gl_account_no
40
+
41
+ # A code number identifying the product or service that is specified on this line.
42
+ # @type: string
43
+ field :product_code
44
+
45
+ # The quantity of items for ths line.
46
+ # @type: number
47
+ # @format: double
48
+ field :quantity
49
+
50
+ # For lines measured in a unit other than "quantity", this code indicates the measurement system for the quantity field.
51
+ # If the line is measured in quantity, this field is null.
52
+ # @type: string
53
+ field :unit_measure_code
54
+
55
+ # The price of a single unit for this line.
56
+ # @type: number
57
+ # @format: double
58
+ field :unit_price
59
+
60
+ # The total amount for this line.
61
+ # @type: number
62
+ # @format: double
63
+ field :total_amount
64
+
65
+
66
+
67
+ end