Sala
Þetta á bara við um kaup:
In order to import fish market invoices, search for Import Fish Market Invoices in the search menu.
The process of reading fish market invoices is rather simple. The following process flow depicts how the user can import fish market invoices either by manually receiving a file - or receiving the file through an API webservice.
Download the XML file from RSF website
Customers of Reiknistofa Fiskmarkada (RSF) can go to their website and download an XML message. The XML files are saved to an accessible location on the user's computer.
This step is not needed if the webservice will be used.
Import XML file - or receive through API
Either way is used
Import Fish Market Invoice from an XML file from the location where it was downloaded to
File processing
After a file has been imported to the system, it needs to be processed. The system then reads each line in the XML file and checks if data warping is present. See chapter File Processing
Create invoice and error check
Finally, an invoice is generated and then neither this same XML file cannot be imported again nor contain an invoice with the same internal number from the seller. See chapter Create Invoice
If the action returns an error, the unput must be debugged with the Error Check action.