Practical guide
Using the FACTUSOL API for purchasing
Set up access in a test company
With hosted data and your integration developer registered with Software DELSOL, go to Archivo → Seguridad → Acceso por API → Nuevo in the Spanish FACTUSOL interface. Enter the developer code (código de fabricante) and its registered email address. Select the test company code and area. Start with read access to authorized data so you can check record references. Store credentials using your administrator’s approved process and remove test access when you finish.
List the checks for each record type. Identify the supplier by code, link the purchase order and its line number, and retrieve the invoice series and number alongside its company and fiscal year. Confirm which operations and permissions are available for each record type in your installation.
Trace a €624 invoice from source to destination
Supplier P-071 sends invoice FC-663 for €624.00 before tax. Order CP-406 has two lines of €312.00 each, and the receipt confirms the first line only. Retrieve the order in the test company and note which keys distinguish the two lines. Keep the second line open for receipt and record how the invoice will be held while you investigate.
Run the query again with the same reference in a different fiscal year or under another test supplier. If more than one record matches, add the missing identifier to the lookup key. If the line reference drops out, narrow the test until you establish where that reference comes from.
Prepare the invoice in Calitem
- Upload FC-663 and check the supplier, invoice series, amount and line references. Compare each line with authorized FACTUSOL data. Keep the receipt ID confirming the first line.
- Before either €312.00 route, have accounting verify the authorized disposition of FC-663. Check what was actually paid, whether any credit was applied and what remains open. Hold a separate invoice while the original, a partial payment, an unapplied credit or an uncertain submission remains unresolved. If the first replacement already posted, keep its ID. Check the new reference and link that bill and its accepted receipt to FC-663.
- Hold the full €624.00 invoice while the second item is outstanding. If the supplier issues a valid replacement for €312.00, check that the first receipt is available and that the original is out of the payment process after any payments and applications are resolved. Use the €624.00 original only if it is still valid and unpaid and both accepted receipts are available to match. If a valid €312.00 replacement for the first item was already posted, keep the original on hold. Process the remaining €312.00 only against an accepted second receipt. It must be available to match or reserved solely for this same case. Link the supporting receipt and the valid invoice for the second line.
- Before sending, look up the original and any replacement by company, supplier, fiscal year, series and invoice number. Continue an eligible draft by ID. If a posting or payment exists, check the existing record, its applications and its balance with accounting. Keep the bill on hold while an earlier submission is pending or its outcome is unknown. Verify the prior result before attempting another. For an authorized first write, verify that the destination has one record for the eligible branch, with the correct receipt and line reference. In the remaining-amount branch, verify one new €312.00 invoice with its own reference and the second receipt ID.
References
Frequently asked questions
Does enabling the API let you write to every purchasing record?
Confirm each operation and its permissions with the API provider. Start with read access and test the record creation or accounting handoff separately.
