BillImportRule
GET
4 endpoints
/api/v202604/billImportRule/reprocess/bill/{billId}/canReprocess
CanReprocessBillV202604
Check whether or not a bill can be reprocessed via the rules engine
/api/v202604/billImportRule/log/bill/{billId}
GetBillImportRuleLogsV202604
Retrieves logs of rules used to process a given bill, including information on what values each rule altered
/api/v202604/billImportRule
GetRulesV202604
Retrieves a paginated list of bill import rules, with optional filtering and ordering
/api/v202604/billImportRule/{billImportRuleId}
GetRuleV202604
Retrieves a single bill import rule by its unique identifier
POST
6 endpoints
/api/v202604/billImportRule
CreateRuleV202604
Creates a new bill import rule with optional vendor or account scope
/api/v202604/billImportRule/generate
GenerateRuleV202604
Generates a bill import rule definition from a natural language prompt using AI
/api/v202604/billImportRule/{billImportRuleId}/test
TestBillImportRuleAgainstBillDescriptorV202604
Tests an existing import rule against an inline bill object
/api/v202604/billImportRule/{billImportRuleId}/test/bill/{billId}
TestBillImportRuleAgainstBillV202604
Tests an existing import rule against an existing bill in the system
/api/v202604/billImportRule/test/inline
TestInlineBillImportRuleAgainstBillDescriptorV202604
Tests an inline rule definition against an inline bill object
/api/v202604/billImportRule/test/inline/bill/{billId}
TestInlineBillImportRuleAgainstBillV202604
Tests an inline rule definition against an existing bill in the system
PUT
2 endpoints
/api/v202604/billImportRule/{billImportRuleId}
EditRuleV202604
Updates an existing bill import rule's configuration
/api/v202604/billImportRule/reprocess/bill/{billId}
ReprocessBillV202604
Reprocesses a bill. This will rerun all appliciable rules against a bill.
The bill is re-imported, any edits will be lost.
Requires both BillProcessingRules:Manage and BillsAndBatches:Edit permission