Skip to main content

SalesInvoicesPosting

Load Sales Invoices.

Overview

Urlapi/public/FluentisErp/SD/SalesInvoices/SalesInvoicesPosting
HTTP MethodPOST
Method TypeOperation
Fluentis ObjectFluentis.FluentisErp.Core.SD.SalesInvoices.FSSalesInvoice

Request parameters

ParameterTypeIs RequiredDefault ValueDescription
UseDocumentDateForRecordingboolNofalseIf present, use Sales invoice date value for posting date.
RecordingDatedate-timeNoTodaySales invoice posting date.
UseTheExchangeFromTheExchangeTableboolNofalseIf present, use known exchange rates for company currency.
UpdateExchangeOnDocumentboolNofalseIf both this and UseTheExchangeFromTheExchangeTable are present, update the exchange rate of Sales invoice.
AccrualDateEqualToVATDocumentDateboolNofalseIf present, use Sales invoice date value for VAT accrual date.
UseCustomerBranchToAssignDepartmentboolNofalseIf present, use Department value set in commercial settings.
AccountForGiveawaysReversalintNo0If present, execute gifts accounting.
ReplaceItemAccountboolNofalseIf present, use AccountForGiveawaysReversal value for journal entries for gifts accounting.
SalesTurnovershortNo0Sales turnover to use for gifts accounting.
VatCodeForGiftsInVatRegisterintNo0If both this and AccountForGiveawaysReversal are present, calculate VAT data for gifts.
AccountForVATReversalintNo0Account to use when calculating VAT data for gifts.
GroupAutomaticRowAccountsboolNofalseIf present, group automatic journal rows.
DetailAccountOfFinancialDiscountintNo0Account to use for financial discount.
SalesInvoicesarrayYesList of SalesInvoiceIdentification objects. Used to identify the Sales Invoices that must be unloaded.

SalesInvoiceIdentification properties

PropertyTypeDescription
IdintegerId of the Sales Invoice to unload
ExternalSystemstringReference to External System for Sales Invoice identification
ExternalIdstringReference to External System for Sales Invoice identification