# Upsert Invoice Section Upsert Invoice Section Endpoint: PATCH /rest/2.0/INVOICE_GROUP Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.EntityFieldId` (integer) Custom/Collector Field - `brmObjects.ShowGroupingDetail` (integer) Show Duplicates - `brmObjects.InsertPageBreak` (integer) Start From New Page - `brmObjects.HideEmptyGroupFlag` (integer) Hide Empty Sections - `brmObjects.FilterLogic` (string) FilterLogic - `brmObjects.DetailPreviewRows` (string) Detail Rows in Preview - `brmObjects.GroupPreviewRows` (string) Sections in Preview - `brmObjects.InsertPageGroupBreak` (integer) Insert Page Break Inside Sections - `brmObjects.GroupOrder` (string) Group Order - `brmObjects.Description` (string) Description - `brmObjects.NamePrefix` (string) Header Prefix - `brmObjects.NameSuffix` (string) Header Suffix - `brmObjects.FieldLabel` (string) Header Label - `brmObjects.ParentInvoiceGroupId` (integer) Parent Invoice Group - `brmObjects.Type` (string) Type - `brmObjects.ExternalKey` (string) ExternalKey - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.Id` (string, required) Id: Primary key - `brmObjects.InvoiceTemplateId` (integer) InvoiceTemplateId - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.FieldName` (string) FieldName - `externalIDFieldName` (string) Enum: "ExternalKey" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)