Skip to main content

PurchaseInvoicePostings

Load purchase invoices.

Overview

Urlapi/public/FluentisErp/Scm/PurchaseInvoices/PurchaseInvoicePostings
HTTP MethodPOST
Method TypeOperation
Fluentis ObjectFluentis.FluentisErp.Core.Scm.PurchaseInvoices.FSPurchaseInvoice

Request parameters

ParameterTypeIs RequiredDefault ValueDescription
RecordingDatedate-timeNoTodayPurchase invoice posting date.
AccrualDatedate-timeNoTodayAccrual date used for accounting.
RecordingDateEqualWithLastDateOfVATBookboolNofalseIf present, use last recording date value from VAT books.
AccrualDateEqualToRecDateboolNofalseIf present, value of accrual date will be equal to that of the recording date.
UseTheExchangeFromTheExchangeTableboolNofalseIf present, use known exchange rates for company currency.
UpdateExchangeOnDocumentboolNofalseIf both this and UseTheExchangeFromTheExchangeTable are present, update the exchange rate of Purchase invoice.
AccountForGiveawaysReversalintNo0If present, execute gifts accounting.
ReplaceItemAccountboolNofalseIf present, use AccountForGiveawaysReversal value for journal entries for gifts accounting.
VatCodeForGiftsInVatRegisterintNo0If both this and AccountForGiveawaysReversal are present, calculate VAT data for gifts.
AccountForVATReversalintNo0Account to use when calculating VAT data for gifts.
PurchaseInvoicesarrayYesList of PurchaseInvoiceIdentification objects. Used to identify the Purchase Invoices that must be loaded.

PurchaseInvoiceIdentification properties

PropertyTypeDescription
IdintegerId of the Purchase Invoice to load
ExternalSystemstringReference to External System for Purchase Invoice identification
ExternalIdstringReference to External System for Purchase Invoice identification